Function quantized_to_linear_operator
Source pub fn quantized_to_linear_operator<F>(
op: &QuantizedMatrixFreeOp<F>,
) -> LinearOperator<F>
Expand description
Convert a QuantizedMatrixFreeOp to a generic LinearOperator
This is useful when you want to use the quantized operator with
algorithms that expect a LinearOperator.
§Arguments
op
- The quantized matrix-free operator
§Returns
A LinearOperator that wraps the quantized operator