Uses of Class
de.labathome.trustconstr.sparse.CSRMatrix
Packages that use CSRMatrix
Package
Description
-
Uses of CSRMatrix in de.labathome.trustconstr
Methods in de.labathome.trustconstr that return CSRMatrixModifier and TypeMethodDescriptionLinearConstraint.jacEqCSR()Sparse Jacobian for equality rows: aCSRMatrixbuilt directly from the row-selected non-zeros ofA, without going through a dense intermediate.LinearConstraint.jacIneqCSR()Sparse Jacobian for inequality rows: aCSRMatrix(with the appropriate per-row sign flips for one-sided lower-bound rows). -
Uses of CSRMatrix in de.labathome.trustconstr.matrix
Methods in de.labathome.trustconstr.matrix that return CSRMatrix -
Uses of CSRMatrix in de.labathome.trustconstr.sparse
Methods in de.labathome.trustconstr.sparse that return CSRMatrixModifier and TypeMethodDescriptionstatic CSRMatrixSparseAssembly.assembleJacobianWithSlacks(CSRMatrix jEq, CSRMatrix jIneq, double[] s) Build the augmented Jacobian used inside the interior-point method:static CSRMatrixSparseAssembly.blockArray(CSRMatrix[][] blocks) 2D block assembly.CSRMatrix.Builder.build()Compress the DOK contents into a canonical CSR representation (column indices sorted within each row, no duplicates, no explicit zeros).static CSRMatrixCSRMatrix.eye(int n) n x nidentity in CSR.static CSRMatrixCSRMatrix.fromDense(double[][] dense) Build a CSR matrix from a row-major densedouble[][].static CSRMatrixCSRMatrix.fromMatrix(Matrix m) Build from anyMatrix.static CSRMatrixHorizontal stack of CSR matrices: columns are concatenated, rows must agree.CSRMatrix.multiply(double s) Element-wise scalar multiply (allocates a new matrix).CSCMatrix.toCSR()Convert to CSR of the same matrix (not the transpose).CSCMatrix.transpose()Transpose.static CSRMatrixVertical stack of CSR matrices: rows are concatenated, columns must agree.static CSRMatrixSparseAssembly.zeros(int rows, int cols) Methods in de.labathome.trustconstr.sparse with parameters of type CSRMatrixModifier and TypeMethodDescriptionstatic CSRMatrixSparseAssembly.assembleJacobianWithSlacks(CSRMatrix jEq, CSRMatrix jIneq, double[] s) Build the augmented Jacobian used inside the interior-point method:static CSRMatrixSparseAssembly.blockArray(CSRMatrix[][] blocks) 2D block assembly.static LinearOperatorstatic LinearOperatorSparseLinearOperator.forRmatvec(CSRMatrix a) static CSRMatrixHorizontal stack of CSR matrices: columns are concatenated, rows must agree.static CSRMatrixVertical stack of CSR matrices: rows are concatenated, columns must agree.