Uses of Class
org.ejml.data.DMatrixSparseCSC
Package
Description
-
Uses of DMatrixSparseCSC in org.ejml
Modifier and TypeMethodDescriptionstatic DMatrixSparseCSC
UtilEjml.parse_DSCC
(String s, int numColumns) static DMatrixSparseCSC
UtilEjml.reshapeOrDeclare
(@Nullable DMatrixSparseCSC target, int rows, int cols, int nz_length) Modifier and TypeMethodDescriptionstatic DMatrixSparseCSC
UtilEjml.reshapeOrDeclare
(@Nullable DMatrixSparseCSC target, int rows, int cols, int nz_length) -
Uses of DMatrixSparseCSC in org.ejml.data
Modifier and TypeMethodDescriptionDMatrixSparseCSC.copy()
DMatrixSparseCSC.create
(int numRows, int numCols) DMatrixSparseCSC.createLike()
Modifier and TypeMethodDescriptionvoid
DMatrixSparseCSC.copyStructure
(DMatrixSparseCSC orig) Copies the non-zero structure of orig into "this" -
Uses of DMatrixSparseCSC in org.ejml.equation
-
Uses of DMatrixSparseCSC in org.ejml.masks
Modifier and TypeMethodDescriptionstatic MaskBuilder
DMaskFactory.builder
(DMatrixSparseCSC matrix, boolean structural) ModifierConstructorDescriptionBuilder
(DMatrixSparseCSC matrix) Builder
(DMatrixSparseCSC matrix) DMaskSparse
(DMatrixSparseCSC matrix, boolean negated, double zeroElement, @Nullable IGrowArray gw, boolean indexFirstColumn) DMaskSparseStructural
(DMatrixSparseCSC matrix, boolean negated, @Nullable IGrowArray gw, boolean indexFirstColumn) -
Uses of DMatrixSparseCSC in org.ejml.ops
Modifier and TypeMethodDescriptionstatic DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixRMaj src, @Nullable DMatrixSparseCSC dst, double tol) Converts DMatrixRMaj into a DMatrixSparseCSCstatic DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst) static DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst, @Nullable IGrowArray histStorage) Converts DMatrixSparseTriplet into a DMatrixSparseCSC.Modifier and TypeMethodDescriptionstatic void
ConvertMatrixData.convert
(BMatrixRMaj input, DMatrixSparseCSC output) static DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixRMaj src, @Nullable DMatrixSparseCSC dst, double tol) Converts DMatrixRMaj into a DMatrixSparseCSCstatic DMatrixRMaj
DConvertMatrixStruct.convert
(DMatrixSparseCSC src, @Nullable DMatrixRMaj dst) static DMatrixSparseTriplet
DConvertMatrixStruct.convert
(DMatrixSparseCSC src, @Nullable DMatrixSparseTriplet dst) static DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst) static DMatrixSparseCSC
DConvertMatrixStruct.convert
(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst, @Nullable IGrowArray histStorage) Converts DMatrixSparseTriplet into a DMatrixSparseCSC.static void
MatrixIO.print
(PrintStream out, DMatrixSparseCSC m, String format) Prints the matrix out in a text format.static void
MatrixIO.printFancy
(PrintStream out, DMatrixSparseCSC m, int length) -
Uses of DMatrixSparseCSC in org.ejml.simple
-
Uses of DMatrixSparseCSC in org.ejml.simple.ops
Modifier and TypeMethodDescriptionvoid
SimpleOperations_DSCC.changeSign
(DMatrixSparseCSC a) double
SimpleOperations_DSCC.conditionP2
(DMatrixSparseCSC A) double
SimpleOperations_DSCC.determinant
(DMatrixSparseCSC A) SimpleOperations_DSCC.diag
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.divide
(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) double
SimpleOperations_DSCC.dot
(DMatrixSparseCSC A, DMatrixSparseCSC v) void
SimpleOperations_DSCC.elementDiv
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementExp
(DMatrixSparseCSC A, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementLog
(DMatrixSparseCSC A, DMatrixSparseCSC output) double
SimpleOperations_DSCC.elementMax
(DMatrixSparseCSC A) double
SimpleOperations_DSCC.elementMaxAbs
(DMatrixSparseCSC A) double
SimpleOperations_DSCC.elementMin
(DMatrixSparseCSC A) double
SimpleOperations_DSCC.elementMinAbs
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementOp
(DMatrixSparseCSC A, SimpleOperations.ElementOpComplex op, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementOp
(DMatrixSparseCSC A, SimpleOperations.ElementOpReal op, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementPower
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) void
SimpleOperations_DSCC.elementPower
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) double
SimpleOperations_DSCC.elementSum
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.extract
(DMatrixSparseCSC src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixSparseCSC dst, int dstY0, int dstX0) void
SimpleOperations_DSCC.extractDiag
(DMatrixSparseCSC input, DMatrixRMaj output) void
SimpleOperations_DSCC.fill
(DMatrixSparseCSC A, double value) double
SimpleOperations_DSCC.get
(DMatrixSparseCSC A, int row, int column) void
SimpleOperations_DSCC.get
(DMatrixSparseCSC A, int row, int column, Complex_F64 value) double[]
SimpleOperations_DSCC.getColumn
(DMatrixSparseCSC A, int col, int row0, int row1) double
SimpleOperations_DSCC.getImaginary
(DMatrixSparseCSC A, int row, int column) double
SimpleOperations_DSCC.getReal
(DMatrixSparseCSC A, int row, int column) double[]
SimpleOperations_DSCC.getRow
(DMatrixSparseCSC A, int row, int col0, int col1) boolean
SimpleOperations_DSCC.hasUncountable
(DMatrixSparseCSC M) boolean
SimpleOperations_DSCC.invert
(DMatrixSparseCSC A, DMatrixSparseCSC output) boolean
SimpleOperations_DSCC.isIdentical
(DMatrixSparseCSC A, DMatrixSparseCSC B, double tol) void
SimpleOperations_DSCC.kron
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.minus
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) void
SimpleOperations_DSCC.minus
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) void
SimpleOperations_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) void
SimpleOperations_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) double
SimpleOperations_DSCC.normF
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.plus
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) void
SimpleOperations_DSCC.plus
(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) void
SimpleOperations_DSCC.plus
(DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) void
SimpleOperations_DSCC.plus
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) void
SimpleOperations_DSCC.pseudoInverse
(DMatrixSparseCSC A, DMatrixSparseCSC output) void
SimpleOperations_DSCC.scale
(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) void
SimpleOperations_DSCC.set
(DMatrixSparseCSC A, int row, int column, double value) void
SimpleOperations_DSCC.set
(DMatrixSparseCSC A, int row, int column, double real, double imaginary) void
SimpleOperations_DSCC.setColumn
(DMatrixSparseCSC A, int column, int startRow, double... values) void
SimpleOperations_DSCC.setIdentity
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.setRow
(DMatrixSparseCSC A, int row, int startColumn, double... values) boolean
SimpleOperations_DSCC.solve
(DMatrixSparseCSC A, DMatrixRMaj X, DMatrixRMaj B) boolean
SimpleOperations_DSCC.solve
(DMatrixSparseCSC A, DMatrixSparseCSC X, DMatrixSparseCSC B) double
SimpleOperations_DSCC.trace
(DMatrixSparseCSC A) void
SimpleOperations_DSCC.transpose
(DMatrixSparseCSC input, DMatrixSparseCSC output) void
SimpleOperations_DSCC.zero
(DMatrixSparseCSC A) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc
Modifier and TypeMethodDescriptionstatic DMatrixSparseCSC
CommonOps_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
C = αA + βBstatic DMatrixSparseCSC
CommonOps_MT_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix addition:
C = αA + βBstatic DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
output = αA + βBstatic DMatrixSparseCSC
CommonOps_DSCC.apply
(DMatrixSparseCSC input, DOperatorUnary func) static DMatrixSparseCSC
CommonOps_DSCC.apply
(DMatrixSparseCSC input, DOperatorUnary func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every value stored in the matrix B = f(A).static DMatrixSparseCSC
CommonOps_DSCC.applyColumnIdx
(DMatrixSparseCSC input, DOperatorBinaryIdx func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every non-zero column, value stored in the matrix B = f(A).static DMatrixSparseCSC
CommonOps_DSCC.applyRowIdx
(DMatrixSparseCSC input, DOperatorBinaryIdx func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every nz row,value stored in the matrix B = f(A).static DMatrixSparseCSC
CommonOps_DSCC.concatColumns
(DMatrixSparseCSC left, DMatrixSparseCSC right, @Nullable DMatrixSparseCSC out) Concats two matrices along their columns (horizontal).static DMatrixSparseCSC
CommonOps_DSCC.concatRows
(DMatrixSparseCSC top, DMatrixSparseCSC bottom, @Nullable DMatrixSparseCSC out) Concats two matrices along their rows (vertical).static DMatrixSparseCSC
CommonOps_DSCC.diag
(double... values) Returns a diagonal matrix with the specified diagonal elements.static DMatrixSparseCSC
CommonOps_DSCC.diag
(@Nullable DMatrixSparseCSC A, double[] values, int offset, int length) Creates a diagonal matrix from an array.static DMatrixSparseCSC
CommonOps_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs an element-wise multiplication.
output[i,j] = A[i,j]*B[i,j]
All matrices must have the same shape.static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs an element-wise multiplication.
output[i,j] = A[i,j]*B[i,j]
All matrices must have the same shape.static DMatrixSparseCSC
CommonOps_DSCC.extractColumn
(DMatrixSparseCSC A, int column, @Nullable DMatrixSparseCSC out) Extracts a column from A and stores it into out.static DMatrixSparseCSC
CommonOps_DSCC.extractRows
(DMatrixSparseCSC A, int row0, int row1, @Nullable DMatrixSparseCSC out) Creates a submatrix by extracting the specified rows from A.static DMatrixSparseCSC
RandomMatrices_DSCC.generateUniform
(int numRows, int numCols, int nzEntriesPerColumn, double min, double max, Random rand) Creates a random matrix where each column has exactly `nzEntriesPerColumn` non-zero entries.static DMatrixSparseCSC
CommonOps_DSCC.identity
(int length) static DMatrixSparseCSC
CommonOps_DSCC.identity
(int numRows, int numCols) static DMatrixSparseCSC
CommonOps_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) static DMatrixSparseCSC
CommonOps_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixSparseCSC
CommonOps_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) Matrix multiplication C = A*B.static DMatrixSparseCSC
CommonOps_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix multiplication.static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing) static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixSparseCSC
CommonOps_DSCC.permutationMatrix
(int[] p, boolean inverse, int N, @Nullable DMatrixSparseCSC P) Converts the permutation vector into a matrix.static DMatrixSparseCSC
RandomMatrices_DSCC.rectangle
(int numRows, int numCols, int nz_total, double min, double max, Random rand) Randomly generates matrix with the specified number of non-zero elements filled with values from min to max.static DMatrixSparseCSC
static DMatrixSparseCSC
CommonOps_DSCC.select
(DMatrixSparseCSC A, IPredicateBinary selector, @Nullable DMatrixSparseCSC output) Select entries from A and save them in C.static DMatrixSparseCSC
Creates a random symmetric matrix.static DMatrixSparseCSC
RandomMatrices_DSCC.symmetricPosDef
(int width, double probabilityZero, Random rand) Creates a random symmetric positive definite matrix with zero values.static DMatrixSparseCSC
CommonOps_DSCC.transpose
(DMatrixSparseCSC A, @Nullable DMatrixSparseCSC A_t, @Nullable IGrowArray gw) Perform matrix transposestatic DMatrixSparseCSC
Creates a triangular matrix where the amount of fill is randomly selected too.static DMatrixSparseCSC
RandomMatrices_DSCC.triangleLower
(int dimen, int hessenberg, int nz_total, double min, double max, Random rand) Randomly generates lower triangular (or hessenberg) matrix with the specified number of of non-zero elements.static DMatrixSparseCSC
RandomMatrices_DSCC.triangleUpper
(int dimen, int hessenberg, int nz_total, double min, double max, Random rand) Modifier and TypeMethodDescriptionstatic DMatrixSparseCSC
CommonOps_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
C = αA + βBstatic DMatrixSparseCSC
CommonOps_MT_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix addition:
C = αA + βBstatic DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
output = αA + βBstatic DMatrixSparseCSC
CommonOps_DSCC.apply
(DMatrixSparseCSC input, DOperatorUnary func) static DMatrixSparseCSC
CommonOps_DSCC.apply
(DMatrixSparseCSC input, DOperatorUnary func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every value stored in the matrix B = f(A).static DMatrixSparseCSC
CommonOps_DSCC.applyColumnIdx
(DMatrixSparseCSC input, DOperatorBinaryIdx func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every non-zero column, value stored in the matrix B = f(A).static DMatrixSparseCSC
CommonOps_DSCC.applyRowIdx
(DMatrixSparseCSC input, DOperatorBinaryIdx func, @Nullable DMatrixSparseCSC output) This applies a given unary function on every nz row,value stored in the matrix B = f(A).static void
CommonOps_DSCC.changeSign
(DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = -A.static boolean
CommonOps_DSCC.checkDuplicateElements
(DMatrixSparseCSC A) Checks for duplicate elements.static boolean
CommonOps_DSCC.checkIndicesSorted
(DMatrixSparseCSC A) Checks to see if row indicies are sorted into ascending order.static boolean
CommonOps_DSCC.checkSortedFlag
(DMatrixSparseCSC A) static boolean
CommonOps_DSCC.checkStructure
(DMatrixSparseCSC A) static DMatrixSparseCSC
CommonOps_DSCC.concatColumns
(DMatrixSparseCSC left, DMatrixSparseCSC right, @Nullable DMatrixSparseCSC out) Concats two matrices along their columns (horizontal).static DMatrixSparseCSC
CommonOps_DSCC.concatRows
(DMatrixSparseCSC top, DMatrixSparseCSC bottom, @Nullable DMatrixSparseCSC out) Concats two matrices along their rows (vertical).static double
CommonOps_DSCC.det
(DMatrixSparseCSC A) Returns the determinant of the matrix.static DMatrixSparseCSC
CommonOps_DSCC.diag
(@Nullable DMatrixSparseCSC A, double[] values, int offset, int length) Creates a diagonal matrix from an array.static void
CommonOps_DSCC.divide
(double scalar, DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = scalar/A.static void
CommonOps_DSCC.divide
(DMatrixSparseCSC A, double scalar, DMatrixSparseCSC outputB) B = A/scalar.static void
CommonOps_DSCC.divideColumns
(DMatrixSparseCSC A, double[] values, int offset) Divides all elements of column 'i' by values[i].static void
CommonOps_DSCC.divideRows
(double[] diag, int offset, DMatrixSparseCSC A) Divides all elements of row 'i' by value[i].static void
CommonOps_DSCC.divideRowsCols
(double[] diagA, int offsetA, DMatrixSparseCSC B, double[] diagC, int offsetC) Equivalent to multiplying a matrix B by the inverse of two diagonal matrices.static double
CommonOps_DSCC.dotInnerColumns
(DMatrixSparseCSC A, int colA, DMatrixSparseCSC B, int colB, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Computes the inner product of two column vectors taken from the input matrices.static void
CommonOps_DSCC.duplicatesAdd
(DMatrixSparseCSC A, @Nullable IGrowArray work) For each duplicate element in the matrix it will remove the duplicates and replace them with a single element that is the sum of all the duplicates.static double
CommonOps_DSCC.elementMax
(DMatrixSparseCSC A) Returns the value of the element with the largest valuestatic double
CommonOps_DSCC.elementMaxAbs
(DMatrixSparseCSC A) Returns the value of the element with the largest abs()static double
CommonOps_DSCC.elementMin
(DMatrixSparseCSC A) Returns the value of the element with the minimum valuestatic double
CommonOps_DSCC.elementMinAbs
(DMatrixSparseCSC A) Returns the value of the element with the smallest abs()static DMatrixSparseCSC
CommonOps_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs an element-wise multiplication.
output[i,j] = A[i,j]*B[i,j]
All matrices must have the same shape.static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs an element-wise multiplication.
output[i,j] = A[i,j]*B[i,j]
All matrices must have the same shape.static double
CommonOps_DSCC.elementSum
(DMatrixSparseCSC A) Sum of all elementsstatic void
RandomMatrices_DSCC.ensureNotSingular
(DMatrixSparseCSC A, Random rand) Modies the matrix to make sure that at least one element in each column has a valuestatic void
CommonOps_DSCC.extract
(DMatrixSparseCSC src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixSparseCSC dst, int dstY0, int dstX0) Extracts a submatrix from 'src' and inserts it in a submatrix in 'dst'.static DMatrixSparseCSC
CommonOps_DSCC.extractColumn
(DMatrixSparseCSC A, int column, @Nullable DMatrixSparseCSC out) Extracts a column from A and stores it into out.static void
CommonOps_DSCC.extractDiag
(DMatrixSparseCSC A, DMatrixRMaj outputB) Extracts the diagonal elements 'src' write it to the 'dst' vector.static void
CommonOps_DSCC.extractDiag
(DMatrixSparseCSC A, DMatrixSparseCSC outputB) Extracts the diagonal elements 'src' write it to the 'dst' vector.static DMatrixSparseCSC
CommonOps_DSCC.extractRows
(DMatrixSparseCSC A, int row0, int row1, @Nullable DMatrixSparseCSC out) Creates a submatrix by extracting the specified rows from A.static double
NormOps_DSCC.fastNormF
(DMatrixSparseCSC A) static void
CommonOps_DSCC.fill
(DMatrixSparseCSC A, double value) Sets every element in the matrix to the specified value.static boolean
MatrixFeatures_DSCC.hasUncountable
(DMatrixSparseCSC A) static boolean
CommonOps_DSCC.invert
(DMatrixSparseCSC A, DMatrixRMaj inverse) Performs a matrix inversion operation that does not modify the original and stores the results in another matrix.static boolean
MatrixFeatures_DSCC.isEquals
(DMatrixSparseCSC a, DMatrixSparseCSC b) static boolean
MatrixFeatures_DSCC.isEquals
(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static boolean
MatrixFeatures_DSCC.isEqualsSort
(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static boolean
MatrixFeatures_DSCC.isIdenticalSort
(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static boolean
MatrixFeatures_DSCC.isIdentity
(DMatrixSparseCSC A, double tol) static boolean
MatrixFeatures_DSCC.isLowerTriangle
(DMatrixSparseCSC A, int hessenberg, double tol) Checks to see if a matrix is lower triangular or Hessenberg.static boolean
MatrixFeatures_DSCC.isOrthogonal
(DMatrixSparseCSC Q, double tol) Checks to see if a matrix is orthogonal or isometric.static boolean
MatrixFeatures_DSCC.isPositiveDefinite
(DMatrixSparseCSC A) Checks to see if the matrix is positive definite.static boolean
MatrixFeatures_DSCC.isSameStructure
(DMatrixSparseCSC a, DMatrixSparseCSC b) Checks to see if the two matrices have the same shape and same pattern of non-zero elementsstatic boolean
MatrixFeatures_DSCC.isSymmetric
(DMatrixSparseCSC A, double tol) Checks to see if the matrix is symmetric to within tolerance.static boolean
MatrixFeatures_DSCC.isTranspose
(DMatrixSparseCSC A, DMatrixSparseCSC B, double tol) static boolean
MatrixFeatures_DSCC.isVector
(DMatrixSparseCSC a) Returns true if the input is a vectorstatic boolean
MatrixFeatures_DSCC.isZeros
(DMatrixSparseCSC A, double tol) static void
CommonOps_DSCC.maxAbsCols
(DMatrixSparseCSC A, @Nullable DMatrixRMaj outputB) Finds the maximum abs in each column of A and stores it into valuesstatic DMatrixRMaj
CommonOps_DSCC.maxCols
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output) Computes the maximums of each column in the input matrix and returns the results in a vector:
bj = max(i=1:m ; aij)static DMatrixRMaj
CommonOps_DSCC.maxRows
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output, @Nullable IGrowArray gw) Computes the maximum of each row in the input matrix and returns the results in a vector:
bj = max(i=1:n ; aji)static DMatrixRMaj
CommonOps_DSCC.minCols
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output) Computes the minimum of each column in the input matrix and returns the results in a vector:
bj = min(i=1:m ; aij)static DMatrixRMaj
CommonOps_DSCC.minRows
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output, @Nullable IGrowArray gw) Computes the minimum of each row in the input matrix and returns the results in a vector:
bj = min(i=1:n ; aji)static DMatrixRMaj
CommonOps_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixSparseCSC
CommonOps_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) static DMatrixSparseCSC
CommonOps_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixRMaj
CommonOps_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixSparseCSC
CommonOps_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) Matrix multiplication C = A*B.static DMatrixSparseCSC
CommonOps_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing) static DMatrixSparseCSC
CommonOpsWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static void
CommonOps_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + A*Bstatic void
CommonOps_MT_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + AT*Bstatic void
CommonOpsWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*Bstatic void
CommonOps_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable DGrowArray work) C = C + AT*Bstatic void
CommonOps_MT_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + AT*Bstatic void
CommonOpsWithSemiRing_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + AT*Bstatic void
CommonOps_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + AT*BTstatic void
CommonOps_MT_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + AT*BTstatic void
CommonOpsWithSemiRing_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) C = C + AT*BTstatic void
CommonOps_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable DGrowArray work) C = C + A*BTstatic void
CommonOps_MT_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + A*BTstatic void
CommonOpsWithSemiRing_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*BTstatic void
CommonOps_DSCC.multColumns
(DMatrixSparseCSC A, double[] values, int offset) Multiply all elements of column 'i' by value[i].static void
CommonOps_DSCC.multRows
(double[] diag, int offset, DMatrixSparseCSC A) Multiply all elements of row 'i' by value[i].static void
CommonOps_DSCC.multRowsCols
(double[] diagA, int offsetA, DMatrixSparseCSC B, double[] diagC, int offsetC) Equivalent to multiplying a matrix B by two diagonal matrices.static DMatrixRMaj
CommonOps_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable DGrowArray work) Performs matrix multiplication.static DMatrixRMaj
CommonOps_MT_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMaj
CommonOps_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixRMaj
CommonOps_MT_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMaj
CommonOps_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable DGrowArray work) Performs matrix multiplication.static DMatrixRMaj
CommonOps_MT_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static double
NormOps_DSCC.normF
(DMatrixSparseCSC A) static DMatrixSparseCSC
CommonOps_DSCC.permutationMatrix
(int[] p, boolean inverse, int N, @Nullable DMatrixSparseCSC P) Converts the permutation vector into a matrix.static void
CommonOps_DSCC.permutationVector
(DMatrixSparseCSC P, int[] vector) Converts the permutation matrix into a vectorstatic void
CommonOps_DSCC.permute
(@org.jetbrains.annotations.Nullable int[] permRowInv, DMatrixSparseCSC input, @org.jetbrains.annotations.Nullable int[] permCol, DMatrixSparseCSC output) Applies the forward column and inverse row permutation specified by the two vector to the input matrix and save the results in the output matrix.static void
CommonOps_DSCC.permuteRowInv
(int[] permInv, DMatrixSparseCSC input, DMatrixSparseCSC output) Applies the row permutation specified by the vector to the input matrix and save the results in the output matrix.static void
CommonOps_DSCC.permuteSymmetric
(DMatrixSparseCSC input, int[] permInv, DMatrixSparseCSC output, @Nullable IGrowArray gw) Applies the permutation to upper triangular symmetric matrices.static DMatrixRMaj
CommonOps_DSCC.reduceColumnWise
(DMatrixSparseCSC input, double initValue, DOperatorBinary func, @Nullable DMatrixRMaj output, @Nullable Mask mask) This accumulates the values per column to a scalar valuestatic DMatrixRMaj
CommonOps_DSCC.reduceRowWise
(DMatrixSparseCSC input, double initValue, DOperatorBinary func, @Nullable DMatrixRMaj output) This accumulates the values per row to a scalar valuestatic double
CommonOps_DSCC.reduceScalar
(DMatrixSparseCSC input, double initValue, DOperatorBinary func) This accumulates the matrix values to a scalar value.static double
CommonOps_DSCC.reduceScalar
(DMatrixSparseCSC input, DOperatorBinary func) static void
CommonOps_DSCC.removeZeros
(DMatrixSparseCSC A, double tol) Removes all elements from the matrix that are > tol.static void
CommonOps_DSCC.removeZeros
(DMatrixSparseCSC input, DMatrixSparseCSC output, double tol) Copies all elements from input into output which are > tol.static void
CommonOps_DSCC.scale
(double scalar, DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = scalar*A.static DMatrixSparseCSC
CommonOps_DSCC.select
(DMatrixSparseCSC A, IPredicateBinary selector, @Nullable DMatrixSparseCSC output) Select entries from A and save them in C.static void
CommonOps_DSCC.setIdentity
(DMatrixSparseCSC A) static boolean
CommonOps_DSCC.solve
(DMatrixSparseCSC a, DMatrixRMaj b, DMatrixRMaj x) Solves for x in the following equation:
A*x = bstatic boolean
CommonOps_DSCC.solve
(DMatrixSparseCSC a, DMatrixSparseCSC b, DMatrixSparseCSC x) Solves for x in the following equation:
A*x = bstatic DMatrixRMaj
CommonOps_DSCC.sumCols
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output) Computes the sum of each column in the input matrix and returns the results in a vector:
bj = sum(i=1:m ; aij)static DMatrixRMaj
CommonOps_DSCC.sumRows
(DMatrixSparseCSC input, @Nullable DMatrixRMaj output) Computes the sum of each row in the input matrix and returns the results in a vector:
bj = sum(i=1:n ; aji)static void
CommonOps_DSCC.symmLowerToFull
(DMatrixSparseCSC A, DMatrixSparseCSC outputB, @Nullable IGrowArray gw) Given a symmetric matrix, which is represented by a lower triangular matrix, convert it back into a full symmetric matrixstatic double
CommonOps_DSCC.trace
(DMatrixSparseCSC A) This computes the trace of the matrix:
trace = ∑i=1:n { aii }
where n = min(numRows,numCols)static DMatrixSparseCSC
CommonOps_DSCC.transpose
(DMatrixSparseCSC A, @Nullable DMatrixSparseCSC A_t, @Nullable IGrowArray gw) Perform matrix transposestatic void
CommonOps_DSCC.zero
(DMatrixSparseCSC A, int row0, int row1, int col0, int col1) Zeros an inner rectangle inside the matrix. -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.decomposition.chol
Modifier and TypeMethodDescriptionCholeskyUpLooking_DSCC.getL()
CholeskyUpLooking_DSCC.getT
(@Nullable DMatrixSparseCSC T) Modifier and TypeMethodDescriptionboolean
CholeskyUpLooking_DSCC.decompose
(DMatrixSparseCSC orig) CholeskyUpLooking_DSCC.getT
(@Nullable DMatrixSparseCSC T) void
CholeskyUpLooking_DSCC.performSymbolic
(DMatrixSparseCSC A) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.decomposition.lu
Modifier and TypeMethodDescriptionLuUpLooking_DSCC.getL()
LuUpLooking_DSCC.getLower
(@Nullable DMatrixSparseCSC lower) LuUpLooking_DSCC.getRowPivot
(@Nullable DMatrixSparseCSC pivot) LuUpLooking_DSCC.getU()
LuUpLooking_DSCC.getUpper
(@Nullable DMatrixSparseCSC upper) Modifier and TypeMethodDescriptionboolean
LuUpLooking_DSCC.decompose
(DMatrixSparseCSC A) LuUpLooking_DSCC.getLower
(@Nullable DMatrixSparseCSC lower) LuUpLooking_DSCC.getRowPivot
(@Nullable DMatrixSparseCSC pivot) LuUpLooking_DSCC.getUpper
(@Nullable DMatrixSparseCSC upper) ModifierConstructorDescriptionLuUpLooking_DSCC
(@Nullable ComputePermutation<DMatrixSparseCSC> reduceFill) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.decomposition.qr
Modifier and TypeMethodDescriptionQrLeftLookingDecomposition_DSCC.getQ
(@Nullable DMatrixSparseCSC Q, boolean compact) QrLeftLookingDecomposition_DSCC.getR()
QrLeftLookingDecomposition_DSCC.getR
(@Nullable DMatrixSparseCSC R, boolean compact) QrLeftLookingDecomposition_DSCC.getV()
Modifier and TypeMethodDescriptionstatic void
QrHelperFunctions_DSCC.applyHouseholder
(DMatrixSparseCSC V, int colV, double beta, double[] x) Applies a sparse Householder vector to a dense vector.boolean
QrLeftLookingDecomposition_DSCC.decompose
(DMatrixSparseCSC A) QrLeftLookingDecomposition_DSCC.getQ
(@Nullable DMatrixSparseCSC Q, boolean compact) QrLeftLookingDecomposition_DSCC.getR
(@Nullable DMatrixSparseCSC R, boolean compact) boolean
QrStructuralCounts_DSCC.process
(DMatrixSparseCSC A) Examins the structure of A for QR decompositionstatic void
QrHelperFunctions_DSCC.rank1UpdateMultR
(DMatrixSparseCSC V, int colV, double gamma, DMatrixSparseCSC A, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs a rank-1 update operation on the submatrix specified by V with the multiply on the right.
C = (I - γ*v*vT)*AModifierConstructorDescriptionQrLeftLookingDecomposition_DSCC
(@Nullable ComputePermutation<DMatrixSparseCSC> permutation) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.factory
Modifier and TypeMethodDescriptionLinearSolverFactory_DSCC.cholesky
(FillReducing permutation) static @Nullable ComputePermutation<DMatrixSparseCSC>
FillReductionFactory_DSCC.create
(FillReducing type) Returns a method for computing the fill reduce permutations.DecompositionFactory_DSCC.lu
(FillReducing permutation) LinearSolverFactory_DSCC.lu
(FillReducing permutation) DecompositionFactory_DSCC.qr
(FillReducing permutation) LinearSolverFactory_DSCC.qr
(FillReducing permutation) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.linsol.chol
Modifier and TypeMethodDescriptionboolean
LinearSolverCholesky_DSCC.setA
(DMatrixSparseCSC A) void
LinearSolverCholesky_DSCC.solveSparse
(DMatrixSparseCSC B, DMatrixSparseCSC X) ModifierConstructorDescriptionLinearSolverCholesky_DSCC
(CholeskyUpLooking_DSCC cholesky, @Nullable ComputePermutation<DMatrixSparseCSC> fillReduce) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.linsol.lu
Modifier and TypeMethodDescriptionboolean
LinearSolverLu_DSCC.setA
(DMatrixSparseCSC A) void
LinearSolverLu_DSCC.solveSparse
(DMatrixSparseCSC B, DMatrixSparseCSC X) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.linsol.qr
Modifier and TypeMethodDescriptionboolean
LinearSolverQrLeftLooking_DSCC.setA
(DMatrixSparseCSC A) void
LinearSolverQrLeftLooking_DSCC.solveSparse
(DMatrixSparseCSC B, DMatrixSparseCSC X) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.misc
Modifier and TypeMethodDescriptionApplyFillReductionPermutation_DSCC.apply
(DMatrixSparseCSC A) Computes and applies the fill reduction permutation.Modifier and TypeMethodDescription@Nullable ComputePermutation<DMatrixSparseCSC>
ApplyFillReductionPermutation_DSCC.getFillReduce()
Modifier and TypeMethodDescriptionstatic void
ImplCommonOps_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
C = αA + βBstatic void
ImplCommonOps_MT_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, DMatrixSparseCSC C, GrowArray<Workspace_MT_DSCC> listWork) Performs matrix addition:
C = αA + βBstatic void
ImplCommonOpsWithSemiRing_DSCC.add
(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
C = A + Bstatic void
ImplCommonOps_DSCC.addColAppend
(double alpha, DMatrixSparseCSC A, int colA, double beta, DMatrixSparseCSC B, int colB, DMatrixSparseCSC C, @Nullable IGrowArray gw) Adds the results of adding a column in A and B as a new column in C.
C(:,end+1) = α*A(:,colA) + β*B(:,colB)static void
ImplCommonOpsWithSemiRing_DSCC.addColAppend
(DMatrixSparseCSC A, int colA, DMatrixSparseCSC B, int colB, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable IGrowArray gw) Adds the results of adding a column in A and B as a new column in C.
C(:,end+1) = A(:,colA) + B(:,colB)ApplyFillReductionPermutation_DSCC.apply
(DMatrixSparseCSC A) Computes and applies the fill reduction permutation.static void
ImplCommonOps_DSCC.duplicatesAdd
(DMatrixSparseCSC A, @Nullable IGrowArray work) static void
ImplCommonOps_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs element-wise multiplication:
C_ij = A_ij * B_ijstatic void
ImplCommonOpsWithSemiRing_DSCC.elementMult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs element-wise multiplication:
C_ij = A_ij * B_ijstatic void
TriangularSolver_DSCC.eliminationTree
(DMatrixSparseCSC A, boolean ata, int[] parent, @Nullable IGrowArray gwork) If ata=false then it computes the elimination tree for sparse lower triangular square matrix generated from Cholesky decomposition.void
ColumnCounts_DSCC.process
(DMatrixSparseCSC A, int[] parent, int[] post, int[] counts) Processes and computes column counts of Astatic double
TriangularSolver_DSCC.qualityTriangular
(DMatrixSparseCSC T) Computes the quality of a triangular matrix, where the quality of a matrix is defined inLinearSolver.quality()
.static void
ImplCommonOps_DSCC.removeZeros
(DMatrixSparseCSC A, double tol) static void
ImplCommonOps_DSCC.removeZeros
(DMatrixSparseCSC input, DMatrixSparseCSC output, double tol) static int
TriangularSolver_DSCC.searchNzRowsElim
(DMatrixSparseCSC A, int k, int[] parent, int[] s, int[] w) Given an elimination tree compute the non-zero elements in the specified row of L given the symmetric A matrix.static int
TriangularSolver_DSCC.searchNzRowsInX
(DMatrixSparseCSC G, DMatrixSparseCSC B, int colB, @org.jetbrains.annotations.Nullable int[] pinv, int[] xi, int[] w) Determines which elements in 'X' will be non-zero when the system below is solved for.static void
ImplCommonOps_DSCC.select
(DMatrixSparseCSC A, DMatrixSparseCSC output, IPredicateBinary selector) static void
TriangularSolver_DSCC.solve
(DMatrixSparseCSC G, boolean lower, DMatrixSparseCSC B, DMatrixSparseCSC X, @org.jetbrains.annotations.Nullable int[] pinv, @Nullable DGrowArray g_x, @Nullable IGrowArray g_xi, @Nullable IGrowArray g_w) Computes the solution to the triangular system.static int
TriangularSolver_DSCC.solveColB
(DMatrixSparseCSC G, boolean lower, DMatrixSparseCSC B, int colB, double[] x, @org.jetbrains.annotations.Nullable int[] pinv, @Nullable IGrowArray g_xi, int[] w) Computes the solution to a triangular system with (optional) pivots.static void
TriangularSolver_DSCC.solveL
(DMatrixSparseCSC L, double[] x) Solves for a lower triangular matrix against a dense matrix.static void
TriangularSolver_DSCC.solveTran
(DMatrixSparseCSC G, boolean lower, DMatrixSparseCSC B, DMatrixSparseCSC X, @org.jetbrains.annotations.Nullable int[] pinv, @Nullable DGrowArray g_x, @Nullable IGrowArray g_xi, @Nullable IGrowArray g_w) Solution to a sparse transposed triangular system with sparse B and sparse Xstatic void
TriangularSolver_DSCC.solveTranL
(DMatrixSparseCSC L, double[] x) Solves for the transpose of a lower triangular matrix against a dense matrix.static void
TriangularSolver_DSCC.solveU
(DMatrixSparseCSC U, double[] x) Solves for an upper triangular matrix against a dense vector.static void
ImplCommonOps_DSCC.symmLowerToFull
(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable IGrowArray gw) Given a symmetric matrix which is represented by a lower triangular matrix convert it back into a full symmetric matrixstatic void
ImplCommonOps_DSCC.transpose
(DMatrixSparseCSC A, DMatrixSparseCSC C, @Nullable IGrowArray gw) Performs a matrix transpose.ModifierConstructorDescriptionApplyFillReductionPermutation_DSCC
(@Nullable ComputePermutation<DMatrixSparseCSC> fillReduce, boolean symmetric) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.mult
Modifier and TypeMethodDescriptionstatic void
ImplMultiplication_DSCC.addRowsInAInToC
(DMatrixSparseCSC A, int colA, DMatrixSparseCSC C, int colC, int[] w) Adds rows to C[*,colC] that are in A[*,colA] as long as they are marked in w.static double
ImplMultiplication_DSCC.dotInnerColumns
(DMatrixSparseCSC A, int colA, DMatrixSparseCSC B, int colB, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Computes the inner product of two column vectors taken from the input matrices.static double
MatrixVectorMult_DSCC.innerProduct
(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) scalar = AT*B*Cstatic double
MatrixVectorMult_DSCC.innerProduct
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixSparseCSC C) scalar = AT*B*Cstatic double
MatrixVectorMultWithSemiRing_DSCC.innerProduct
(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC, DSemiRing semiRing) scalar = AT*B*Cstatic double
MatrixVectorMult_DSCC.innerProductSelfSymmetrical
(DMatrixSparseCSC A, DMatrixRMaj B) scalar = AT*B*Astatic void
ImplMultiplication_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static void
ImplMultiplication_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, boolean add, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplication_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplication_MT_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, GrowArray<Workspace_MT_DSCC> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static void
MatrixVectorMult_DSCC.mult
(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) c = aT*Bstatic void
MatrixVectorMult_DSCC.mult
(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = A*bstatic void
MatrixVectorMultWithSemiRing_DSCC.mult
(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = aT*Bstatic void
MatrixVectorMultWithSemiRing_DSCC.mult
(double[] a, DMatrixSparseCSC B, double[] c, DSemiRing semiRing, @Nullable Mask mask) static void
MatrixVectorMultWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, double[] b, double[] c, DSemiRing semiRing, @Nullable Mask mask) static void
MatrixVectorMultWithSemiRing_DSCC.mult
(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = A*bstatic void
ImplMultiplication_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
MatrixVectorMult_DSCC.multAdd
(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = c + A*bstatic void
MatrixVectorMultWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = c + A*bstatic void
ImplMultiplication_DSCC.multAddColA
(DMatrixSparseCSC A, int colA, double alpha, DMatrixSparseCSC C, int mark, double[] x, int[] w) Performs the operation x = x + A(:,i)*alphastatic void
ImplMultiplicationWithSemiRing_DSCC.multAddColA
(DMatrixSparseCSC A, int colA, double alpha, DMatrixSparseCSC C, int mark, DSemiRing semiRing, @Nullable Mask mask, double[] x, int[] w) Performs the operation x = x + A(:,i)*alphastatic void
ImplMultiplication_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray, DOperatorBinary op) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCC
static void
ImplMultiplication_MT_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, boolean add, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplication_MT_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCC
as it will manage the input contractstatic void
ImplMultiplicationWithSemiRing_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplication_MT_DSCC.stitchMatrix
(DMatrixSparseCSC out, int numRows, int numCols, GrowArray<Workspace_MT_DSCC> listWork) Combines results from independent blocks into a single matrix