Class SparseLinearOperator

java.lang.Object
de.labathome.trustconstr.sparse.SparseLinearOperator

public final class SparseLinearOperator extends Object
Adapter from a CSRMatrix or CSCMatrix to the existing LinearOperator interface used throughout the algorithm. Mirrors the role of scipy.sparse.linalg.LinearOperator produced from a sparse matrix via aslinearoperator(A).

The LinearOperator contract is typed in terms of Matrix, so this adapter does the double[] ↔ Matrix conversion at the boundary on each apply.