Uses of Class
org.ejml.data.DMatrixSparseCSC
Packages that use DMatrixSparseCSC
Package
Description
-
Uses of DMatrixSparseCSC in org.ejml
Methods in org.ejml that return DMatrixSparseCSCModifier and TypeMethodDescriptionstatic DMatrixSparseCSCUtilEjml.parse_DSCC(String s, int numColumns) static DMatrixSparseCSCUtilEjml.reshapeOrDeclare(@Nullable DMatrixSparseCSC target, int rows, int cols, int nz_length) Methods in org.ejml with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic DMatrixSparseCSCUtilEjml.reshapeOrDeclare(@Nullable DMatrixSparseCSC target, int rows, int cols, int nz_length) -
Uses of DMatrixSparseCSC in org.ejml.data
Methods in org.ejml.data that return DMatrixSparseCSCModifier and TypeMethodDescriptionDMatrixSparseCSC.copy()DMatrixSparseCSC.create(int numRows, int numCols) DMatrixSparseCSC.createLike()Methods in org.ejml.data with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionvoidDMatrixSparseCSC.copyStructure(DMatrixSparseCSC orig) Copies the non-zero structure of orig into "this"Constructors in org.ejml.data with parameters of type DMatrixSparseCSC -
Uses of DMatrixSparseCSC in org.ejml.equation
Methods in org.ejml.equation with parameters of type DMatrixSparseCSC -
Uses of DMatrixSparseCSC in org.ejml.masks
Fields in org.ejml.masks declared as DMatrixSparseCSCMethods in org.ejml.masks with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic MaskBuilderDMaskFactory.builder(DMatrixSparseCSC matrix, boolean structural) Constructors in org.ejml.masks with parameters of type DMatrixSparseCSCModifierConstructorDescriptionBuilder(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
Methods in org.ejml.ops that return DMatrixSparseCSCModifier and TypeMethodDescriptionstatic DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixRMaj src, @Nullable DMatrixSparseCSC dst, double tol) Converts DMatrixRMaj into a DMatrixSparseCSCstatic DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst) static DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst, @Nullable IGrowArray histStorage) Converts DMatrixSparseTriplet into a DMatrixSparseCSC.Methods in org.ejml.ops with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic voidConvertMatrixData.convert(BMatrixRMaj input, DMatrixSparseCSC output) static DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixRMaj src, @Nullable DMatrixSparseCSC dst, double tol) Converts DMatrixRMaj into a DMatrixSparseCSCstatic DMatrixRMajDConvertMatrixStruct.convert(DMatrixSparseCSC src, @Nullable DMatrixRMaj dst) static DMatrixSparseTripletDConvertMatrixStruct.convert(DMatrixSparseCSC src, @Nullable DMatrixSparseTriplet dst) static DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst) static DMatrixSparseCSCDConvertMatrixStruct.convert(DMatrixSparseTriplet src, @Nullable DMatrixSparseCSC dst, @Nullable IGrowArray histStorage) Converts DMatrixSparseTriplet into a DMatrixSparseCSC.static voidMatrixIO.print(PrintStream out, DMatrixSparseCSC m, String format) Prints the matrix out in a text format.static voidMatrixIO.printFancy(PrintStream out, DMatrixSparseCSC m, int length) -
Uses of DMatrixSparseCSC in org.ejml.simple
Methods in org.ejml.simple that return DMatrixSparseCSCModifier and TypeMethodDescriptionSimpleBase.getDSCC()Returns a reference to the matrix that it uses internally if this is aDMatrixSparseCSC. -
Uses of DMatrixSparseCSC in org.ejml.simple.ops
Methods in org.ejml.simple.ops that return DMatrixSparseCSCMethods in org.ejml.simple.ops with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionvoidSimpleOperations_DSCC.changeSign(DMatrixSparseCSC a) doubleSimpleOperations_DSCC.conditionP2(DMatrixSparseCSC A) doubleSimpleOperations_DSCC.determinant(DMatrixSparseCSC A) SimpleOperations_DSCC.diag(DMatrixSparseCSC A) voidSimpleOperations_DSCC.divide(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) doubleSimpleOperations_DSCC.dot(DMatrixSparseCSC A, DMatrixSparseCSC v) voidSimpleOperations_DSCC.elementDiv(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementExp(DMatrixSparseCSC A, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementLog(DMatrixSparseCSC A, DMatrixSparseCSC output) doubleSimpleOperations_DSCC.elementMax(DMatrixSparseCSC A) doubleSimpleOperations_DSCC.elementMaxAbs(DMatrixSparseCSC A) doubleSimpleOperations_DSCC.elementMin(DMatrixSparseCSC A) doubleSimpleOperations_DSCC.elementMinAbs(DMatrixSparseCSC A) voidSimpleOperations_DSCC.elementMult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementOp(DMatrixSparseCSC A, SimpleOperations.ElementOpComplex op, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementOp(DMatrixSparseCSC A, SimpleOperations.ElementOpReal op, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementPower(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) voidSimpleOperations_DSCC.elementPower(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) doubleSimpleOperations_DSCC.elementSum(DMatrixSparseCSC A) voidSimpleOperations_DSCC.extract(DMatrixSparseCSC src, int srcY0, int srcY1, int srcX0, int srcX1, DMatrixSparseCSC dst, int dstY0, int dstX0) voidSimpleOperations_DSCC.extractDiag(DMatrixSparseCSC input, DMatrixRMaj output) voidSimpleOperations_DSCC.fill(DMatrixSparseCSC A, double value) doubleSimpleOperations_DSCC.get(DMatrixSparseCSC A, int row, int column) voidSimpleOperations_DSCC.get(DMatrixSparseCSC A, int row, int column, Complex_F64 value) double[]SimpleOperations_DSCC.getColumn(DMatrixSparseCSC A, int col, int row0, int row1) doubleSimpleOperations_DSCC.getImaginary(DMatrixSparseCSC A, int row, int column) doubleSimpleOperations_DSCC.getReal(DMatrixSparseCSC A, int row, int column) double[]SimpleOperations_DSCC.getRow(DMatrixSparseCSC A, int row, int col0, int col1) booleanSimpleOperations_DSCC.hasUncountable(DMatrixSparseCSC M) booleanSimpleOperations_DSCC.invert(DMatrixSparseCSC A, DMatrixSparseCSC output) booleanSimpleOperations_DSCC.isIdentical(DMatrixSparseCSC A, DMatrixSparseCSC B, double tol) voidSimpleOperations_DSCC.kron(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.minus(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) voidSimpleOperations_DSCC.minus(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) voidSimpleOperations_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output) voidSimpleOperations_DSCC.multTransA(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) doubleSimpleOperations_DSCC.normF(DMatrixSparseCSC A) voidSimpleOperations_DSCC.plus(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) voidSimpleOperations_DSCC.plus(DMatrixSparseCSC A, double b, DMatrixSparseCSC output) voidSimpleOperations_DSCC.plus(DMatrixSparseCSC A, double beta, DMatrixSparseCSC b, DMatrixSparseCSC output) voidSimpleOperations_DSCC.plus(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC output) voidSimpleOperations_DSCC.pseudoInverse(DMatrixSparseCSC A, DMatrixSparseCSC output) voidSimpleOperations_DSCC.scale(DMatrixSparseCSC A, double val, DMatrixSparseCSC output) voidSimpleOperations_DSCC.set(DMatrixSparseCSC A, int row, int column, double value) voidSimpleOperations_DSCC.set(DMatrixSparseCSC A, int row, int column, double real, double imaginary) voidSimpleOperations_DSCC.setColumn(DMatrixSparseCSC A, int column, int startRow, double... values) voidSimpleOperations_DSCC.setIdentity(DMatrixSparseCSC A) voidSimpleOperations_DSCC.setRow(DMatrixSparseCSC A, int row, int startColumn, double... values) booleanSimpleOperations_DSCC.solve(DMatrixSparseCSC A, DMatrixRMaj X, DMatrixRMaj B) booleanSimpleOperations_DSCC.solve(DMatrixSparseCSC A, DMatrixSparseCSC X, DMatrixSparseCSC B) doubleSimpleOperations_DSCC.trace(DMatrixSparseCSC A) voidSimpleOperations_DSCC.transpose(DMatrixSparseCSC input, DMatrixSparseCSC output) voidSimpleOperations_DSCC.zero(DMatrixSparseCSC A) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc
Methods in org.ejml.sparse.csc that return DMatrixSparseCSCModifier and TypeMethodDescriptionstatic DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOpsWithSemiRing_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 DMatrixSparseCSCCommonOps_DSCC.apply(DMatrixSparseCSC input, DOperatorUnary func) static DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_DSCC.concatColumns(DMatrixSparseCSC left, DMatrixSparseCSC right, @Nullable DMatrixSparseCSC out) Concats two matrices along their columns (horizontal).static DMatrixSparseCSCCommonOps_DSCC.concatRows(DMatrixSparseCSC top, DMatrixSparseCSC bottom, @Nullable DMatrixSparseCSC out) Concats two matrices along their rows (vertical).static DMatrixSparseCSCCommonOps_DSCC.diag(double... values) Returns a diagonal matrix with the specified diagonal elements.static DMatrixSparseCSCCommonOps_DSCC.diag(@Nullable DMatrixSparseCSC A, double[] values, int offset, int length) Creates a diagonal matrix from an array.static DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOpsWithSemiRing_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 DMatrixSparseCSCCommonOps_DSCC.extractColumn(DMatrixSparseCSC A, int column, @Nullable DMatrixSparseCSC out) Extracts a column from A and stores it into out.static DMatrixSparseCSCCommonOps_DSCC.extractRows(DMatrixSparseCSC A, int row0, int row1, @Nullable DMatrixSparseCSC out) Creates a submatrix by extracting the specified rows from A.static DMatrixSparseCSCRandomMatrices_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 DMatrixSparseCSCCommonOps_DSCC.identity(int length) static DMatrixSparseCSCCommonOps_DSCC.identity(int numRows, int numCols) static DMatrixSparseCSCCommonOps_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) static DMatrixSparseCSCCommonOps_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixSparseCSCCommonOps_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) Matrix multiplication C = A*B.static DMatrixSparseCSCCommonOps_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix multiplication.static DMatrixSparseCSCCommonOpsWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing) static DMatrixSparseCSCCommonOpsWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixSparseCSCCommonOps_DSCC.permutationMatrix(int[] p, boolean inverse, int N, @Nullable DMatrixSparseCSC P) Converts the permutation vector into a matrix.static DMatrixSparseCSCRandomMatrices_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 DMatrixSparseCSCstatic DMatrixSparseCSCCommonOps_DSCC.select(DMatrixSparseCSC A, IPredicateBinary selector, @Nullable DMatrixSparseCSC output) Select entries from A and save them in C.static DMatrixSparseCSCCreates a random symmetric matrix.static DMatrixSparseCSCRandomMatrices_DSCC.symmetricPosDef(int width, double probabilityZero, Random rand) Creates a random symmetric positive definite matrix with zero values.static DMatrixSparseCSCCommonOps_DSCC.transpose(DMatrixSparseCSC A, @Nullable DMatrixSparseCSC A_t, @Nullable IGrowArray gw) Perform matrix transposestatic DMatrixSparseCSCCreates a triangular matrix where the amount of fill is randomly selected too.static DMatrixSparseCSCRandomMatrices_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 DMatrixSparseCSCRandomMatrices_DSCC.triangleUpper(int dimen, int hessenberg, int nz_total, double min, double max, Random rand) Methods in org.ejml.sparse.csc with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOpsWithSemiRing_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 DMatrixSparseCSCCommonOps_DSCC.apply(DMatrixSparseCSC input, DOperatorUnary func) static DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOps_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 voidCommonOps_DSCC.changeSign(DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = -A.static booleanCommonOps_DSCC.checkDuplicateElements(DMatrixSparseCSC A) Checks for duplicate elements.static booleanCommonOps_DSCC.checkIndicesSorted(DMatrixSparseCSC A) Checks to see if row indicies are sorted into ascending order.static booleanCommonOps_DSCC.checkSortedFlag(DMatrixSparseCSC A) static booleanCommonOps_DSCC.checkStructure(DMatrixSparseCSC A) static DMatrixSparseCSCCommonOps_DSCC.concatColumns(DMatrixSparseCSC left, DMatrixSparseCSC right, @Nullable DMatrixSparseCSC out) Concats two matrices along their columns (horizontal).static DMatrixSparseCSCCommonOps_DSCC.concatRows(DMatrixSparseCSC top, DMatrixSparseCSC bottom, @Nullable DMatrixSparseCSC out) Concats two matrices along their rows (vertical).static doubleCommonOps_DSCC.det(DMatrixSparseCSC A) Returns the determinant of the matrix.static DMatrixSparseCSCCommonOps_DSCC.diag(@Nullable DMatrixSparseCSC A, double[] values, int offset, int length) Creates a diagonal matrix from an array.static voidCommonOps_DSCC.divide(double scalar, DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = scalar/A.static voidCommonOps_DSCC.divide(DMatrixSparseCSC A, double scalar, DMatrixSparseCSC outputB) B = A/scalar.static voidCommonOps_DSCC.divideColumns(DMatrixSparseCSC A, double[] values, int offset) Divides all elements of column 'i' by values[i].static voidCommonOps_DSCC.divideRows(double[] diag, int offset, DMatrixSparseCSC A) Divides all elements of row 'i' by value[i].static voidCommonOps_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 doubleCommonOps_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 voidCommonOps_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 doubleCommonOps_DSCC.elementMax(DMatrixSparseCSC A) Returns the value of the element with the largest valuestatic doubleCommonOps_DSCC.elementMaxAbs(DMatrixSparseCSC A) Returns the value of the element with the largest abs()static doubleCommonOps_DSCC.elementMin(DMatrixSparseCSC A) Returns the value of the element with the minimum valuestatic doubleCommonOps_DSCC.elementMinAbs(DMatrixSparseCSC A) Returns the value of the element with the smallest abs()static DMatrixSparseCSCCommonOps_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 DMatrixSparseCSCCommonOpsWithSemiRing_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 doubleCommonOps_DSCC.elementSum(DMatrixSparseCSC A) Sum of all elementsstatic voidRandomMatrices_DSCC.ensureNotSingular(DMatrixSparseCSC A, Random rand) Modies the matrix to make sure that at least one element in each column has a valuestatic voidCommonOps_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 DMatrixSparseCSCCommonOps_DSCC.extractColumn(DMatrixSparseCSC A, int column, @Nullable DMatrixSparseCSC out) Extracts a column from A and stores it into out.static voidCommonOps_DSCC.extractDiag(DMatrixSparseCSC A, DMatrixRMaj outputB) Extracts the diagonal elements 'src' write it to the 'dst' vector.static voidCommonOps_DSCC.extractDiag(DMatrixSparseCSC A, DMatrixSparseCSC outputB) Extracts the diagonal elements 'src' write it to the 'dst' vector.static DMatrixSparseCSCCommonOps_DSCC.extractRows(DMatrixSparseCSC A, int row0, int row1, @Nullable DMatrixSparseCSC out) Creates a submatrix by extracting the specified rows from A.static doubleNormOps_DSCC.fastNormF(DMatrixSparseCSC A) static voidCommonOps_DSCC.fill(DMatrixSparseCSC A, double value) Sets every element in the matrix to the specified value.static booleanMatrixFeatures_DSCC.hasUncountable(DMatrixSparseCSC A) static booleanCommonOps_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 booleanMatrixFeatures_DSCC.isEquals(DMatrixSparseCSC a, DMatrixSparseCSC b) static booleanMatrixFeatures_DSCC.isEquals(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static booleanMatrixFeatures_DSCC.isEqualsSort(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static booleanMatrixFeatures_DSCC.isIdenticalSort(DMatrixSparseCSC a, DMatrixSparseCSC b, double tol) static booleanMatrixFeatures_DSCC.isIdentity(DMatrixSparseCSC A, double tol) static booleanMatrixFeatures_DSCC.isLowerTriangle(DMatrixSparseCSC A, int hessenberg, double tol) Checks to see if a matrix is lower triangular or Hessenberg.static booleanMatrixFeatures_DSCC.isOrthogonal(DMatrixSparseCSC Q, double tol) Checks to see if a matrix is orthogonal or isometric.static booleanMatrixFeatures_DSCC.isPositiveDefinite(DMatrixSparseCSC A) Checks to see if the matrix is positive definite.static booleanMatrixFeatures_DSCC.isSameStructure(DMatrixSparseCSC a, DMatrixSparseCSC b) Checks to see if the two matrices have the same shape and same pattern of non-zero elementsstatic booleanMatrixFeatures_DSCC.isSymmetric(DMatrixSparseCSC A, double tol) Checks to see if the matrix is symmetric to within tolerance.static booleanMatrixFeatures_DSCC.isTranspose(DMatrixSparseCSC A, DMatrixSparseCSC B, double tol) static booleanMatrixFeatures_DSCC.isVector(DMatrixSparseCSC a) Returns true if the input is a vectorstatic booleanMatrixFeatures_DSCC.isZeros(DMatrixSparseCSC A, double tol) static voidCommonOps_DSCC.maxAbsCols(DMatrixSparseCSC A, @Nullable DMatrixRMaj outputB) Finds the maximum abs in each column of A and stores it into valuesstatic DMatrixRMajCommonOps_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 DMatrixRMajCommonOps_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 DMatrixRMajCommonOps_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 DMatrixRMajCommonOps_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 DMatrixRMajCommonOps_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixSparseCSCCommonOps_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) static DMatrixSparseCSCCommonOps_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static DMatrixRMajCommonOps_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixSparseCSCCommonOps_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC) Matrix multiplication C = A*B.static DMatrixSparseCSCCommonOps_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC outputC, @Nullable GrowArray<Workspace_MT_DSCC> workspace) Performs matrix multiplication.static DMatrixRMajCommonOpsWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixSparseCSCCommonOpsWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing) static DMatrixSparseCSCCommonOpsWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, @Nullable DMatrixSparseCSC output, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static voidCommonOps_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + A*Bstatic voidCommonOps_MT_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + AT*Bstatic voidCommonOpsWithSemiRing_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*Bstatic voidCommonOps_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable DGrowArray work) C = C + AT*Bstatic voidCommonOps_MT_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + AT*Bstatic voidCommonOpsWithSemiRing_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + AT*Bstatic voidCommonOps_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + AT*BTstatic voidCommonOps_MT_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) C = C + AT*BTstatic voidCommonOpsWithSemiRing_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) C = C + AT*BTstatic voidCommonOps_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable DGrowArray work) C = C + A*BTstatic voidCommonOps_MT_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) C = C + A*BTstatic voidCommonOpsWithSemiRing_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*BTstatic voidCommonOps_DSCC.multColumns(DMatrixSparseCSC A, double[] values, int offset) Multiply all elements of column 'i' by value[i].static voidCommonOps_DSCC.multRows(double[] diag, int offset, DMatrixSparseCSC A) Multiply all elements of row 'i' by value[i].static voidCommonOps_DSCC.multRowsCols(double[] diagA, int offsetA, DMatrixSparseCSC B, double[] diagC, int offsetC) Equivalent to multiplying a matrix B by two diagonal matrices.static DMatrixRMajCommonOps_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable DGrowArray work) Performs matrix multiplication.static DMatrixRMajCommonOps_MT_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixRMajCommonOpsWithSemiRing_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMajCommonOps_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixRMajCommonOps_MT_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj outputC) Performs matrix multiplication.static DMatrixRMajCommonOpsWithSemiRing_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMajCommonOps_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable DGrowArray work) Performs matrix multiplication.static DMatrixRMajCommonOps_MT_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj outputC, @Nullable GrowArray<DGrowArray> workspace) Performs matrix multiplication.static DMatrixRMajCommonOpsWithSemiRing_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static doubleNormOps_DSCC.normF(DMatrixSparseCSC A) static DMatrixSparseCSCCommonOps_DSCC.permutationMatrix(int[] p, boolean inverse, int N, @Nullable DMatrixSparseCSC P) Converts the permutation vector into a matrix.static voidCommonOps_DSCC.permutationVector(DMatrixSparseCSC P, int[] vector) Converts the permutation matrix into a vectorstatic voidCommonOps_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 voidCommonOps_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 voidCommonOps_DSCC.permuteSymmetric(DMatrixSparseCSC input, int[] permInv, DMatrixSparseCSC output, @Nullable IGrowArray gw) Applies the permutation to upper triangular symmetric matrices.static DMatrixRMajCommonOps_DSCC.reduceColumnWise(DMatrixSparseCSC input, double initValue, DOperatorBinary func, @Nullable DMatrixRMaj output, @Nullable Mask mask) This accumulates the values per column to a scalar valuestatic DMatrixRMajCommonOps_DSCC.reduceRowWise(DMatrixSparseCSC input, double initValue, DOperatorBinary func, @Nullable DMatrixRMaj output) This accumulates the values per row to a scalar valuestatic doubleCommonOps_DSCC.reduceScalar(DMatrixSparseCSC input, double initValue, DOperatorBinary func) This accumulates the matrix values to a scalar value.static doubleCommonOps_DSCC.reduceScalar(DMatrixSparseCSC input, DOperatorBinary func) static voidCommonOps_DSCC.removeZeros(DMatrixSparseCSC A, double tol) Removes all elements from the matrix that are > tol.static voidCommonOps_DSCC.removeZeros(DMatrixSparseCSC input, DMatrixSparseCSC output, double tol) Copies all elements from input into output which are > tol.static voidCommonOps_DSCC.scale(double scalar, DMatrixSparseCSC A, DMatrixSparseCSC outputB) B = scalar*A.static DMatrixSparseCSCCommonOps_DSCC.select(DMatrixSparseCSC A, IPredicateBinary selector, @Nullable DMatrixSparseCSC output) Select entries from A and save them in C.static voidCommonOps_DSCC.setIdentity(DMatrixSparseCSC A) static booleanCommonOps_DSCC.solve(DMatrixSparseCSC a, DMatrixRMaj b, DMatrixRMaj x) Solves for x in the following equation:
A*x = bstatic booleanCommonOps_DSCC.solve(DMatrixSparseCSC a, DMatrixSparseCSC b, DMatrixSparseCSC x) Solves for x in the following equation:
A*x = bstatic DMatrixRMajCommonOps_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 DMatrixRMajCommonOps_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 voidCommonOps_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 doubleCommonOps_DSCC.trace(DMatrixSparseCSC A) This computes the trace of the matrix:
trace = ∑i=1:n { aii }
where n = min(numRows,numCols)static DMatrixSparseCSCCommonOps_DSCC.transpose(DMatrixSparseCSC A, @Nullable DMatrixSparseCSC A_t, @Nullable IGrowArray gw) Perform matrix transposestatic voidCommonOps_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
Methods in org.ejml.sparse.csc.decomposition.chol that return DMatrixSparseCSCModifier and TypeMethodDescriptionCholeskyUpLooking_DSCC.getL()CholeskyUpLooking_DSCC.getT(@Nullable DMatrixSparseCSC T) Methods in org.ejml.sparse.csc.decomposition.chol with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionbooleanCholeskyUpLooking_DSCC.decompose(DMatrixSparseCSC orig) CholeskyUpLooking_DSCC.getT(@Nullable DMatrixSparseCSC T) voidCholeskyUpLooking_DSCC.performSymbolic(DMatrixSparseCSC A) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.decomposition.lu
Methods in org.ejml.sparse.csc.decomposition.lu that return DMatrixSparseCSCModifier 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) Methods in org.ejml.sparse.csc.decomposition.lu that return types with arguments of type DMatrixSparseCSCMethods in org.ejml.sparse.csc.decomposition.lu with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionbooleanLuUpLooking_DSCC.decompose(DMatrixSparseCSC A) LuUpLooking_DSCC.getLower(@Nullable DMatrixSparseCSC lower) LuUpLooking_DSCC.getRowPivot(@Nullable DMatrixSparseCSC pivot) LuUpLooking_DSCC.getUpper(@Nullable DMatrixSparseCSC upper) Constructor parameters in org.ejml.sparse.csc.decomposition.lu with type arguments of type DMatrixSparseCSCModifierConstructorDescriptionLuUpLooking_DSCC(@Nullable ComputePermutation<DMatrixSparseCSC> reduceFill) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.decomposition.qr
Methods in org.ejml.sparse.csc.decomposition.qr that return DMatrixSparseCSCModifier and TypeMethodDescriptionQrLeftLookingDecomposition_DSCC.getQ(@Nullable DMatrixSparseCSC Q, boolean compact) QrLeftLookingDecomposition_DSCC.getR()QrLeftLookingDecomposition_DSCC.getR(@Nullable DMatrixSparseCSC R, boolean compact) QrLeftLookingDecomposition_DSCC.getV()Methods in org.ejml.sparse.csc.decomposition.qr with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic voidQrHelperFunctions_DSCC.applyHouseholder(DMatrixSparseCSC V, int colV, double beta, double[] x) Applies a sparse Householder vector to a dense vector.booleanQrLeftLookingDecomposition_DSCC.decompose(DMatrixSparseCSC A) QrLeftLookingDecomposition_DSCC.getQ(@Nullable DMatrixSparseCSC Q, boolean compact) QrLeftLookingDecomposition_DSCC.getR(@Nullable DMatrixSparseCSC R, boolean compact) booleanQrStructuralCounts_DSCC.process(DMatrixSparseCSC A) Examins the structure of A for QR decompositionstatic voidQrHelperFunctions_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)*AConstructor parameters in org.ejml.sparse.csc.decomposition.qr with type arguments of type DMatrixSparseCSCModifierConstructorDescriptionQrLeftLookingDecomposition_DSCC(@Nullable ComputePermutation<DMatrixSparseCSC> permutation) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.factory
Methods in org.ejml.sparse.csc.factory that return types with arguments of type DMatrixSparseCSCModifier 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
Methods in org.ejml.sparse.csc.linsol.chol with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionbooleanLinearSolverCholesky_DSCC.setA(DMatrixSparseCSC A) voidLinearSolverCholesky_DSCC.solveSparse(DMatrixSparseCSC B, DMatrixSparseCSC X) Constructor parameters in org.ejml.sparse.csc.linsol.chol with type arguments of type DMatrixSparseCSCModifierConstructorDescriptionLinearSolverCholesky_DSCC(CholeskyUpLooking_DSCC cholesky, @Nullable ComputePermutation<DMatrixSparseCSC> fillReduce) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.linsol.lu
Methods in org.ejml.sparse.csc.linsol.lu with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionbooleanLinearSolverLu_DSCC.setA(DMatrixSparseCSC A) voidLinearSolverLu_DSCC.solveSparse(DMatrixSparseCSC B, DMatrixSparseCSC X) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.linsol.qr
Methods in org.ejml.sparse.csc.linsol.qr with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionbooleanLinearSolverQrLeftLooking_DSCC.setA(DMatrixSparseCSC A) voidLinearSolverQrLeftLooking_DSCC.solveSparse(DMatrixSparseCSC B, DMatrixSparseCSC X) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.misc
Methods in org.ejml.sparse.csc.misc that return DMatrixSparseCSCModifier and TypeMethodDescriptionApplyFillReductionPermutation_DSCC.apply(DMatrixSparseCSC A) Computes and applies the fill reduction permutation.Methods in org.ejml.sparse.csc.misc that return types with arguments of type DMatrixSparseCSCModifier and TypeMethodDescription@Nullable ComputePermutation<DMatrixSparseCSC>ApplyFillReductionPermutation_DSCC.getFillReduce()Methods in org.ejml.sparse.csc.misc with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic voidImplCommonOps_DSCC.add(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix addition:
C = αA + βBstatic voidImplCommonOps_MT_DSCC.add(double alpha, DMatrixSparseCSC A, double beta, DMatrixSparseCSC B, DMatrixSparseCSC C, GrowArray<Workspace_MT_DSCC> listWork) Performs matrix addition:
C = αA + βBstatic voidImplCommonOpsWithSemiRing_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 voidImplCommonOps_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 voidImplCommonOpsWithSemiRing_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 voidImplCommonOps_DSCC.duplicatesAdd(DMatrixSparseCSC A, @Nullable IGrowArray work) static voidImplCommonOps_DSCC.elementMult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs element-wise multiplication:
C_ij = A_ij * B_ijstatic voidImplCommonOpsWithSemiRing_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 voidTriangularSolver_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.voidColumnCounts_DSCC.process(DMatrixSparseCSC A, int[] parent, int[] post, int[] counts) Processes and computes column counts of Astatic doubleTriangularSolver_DSCC.qualityTriangular(DMatrixSparseCSC T) Computes the quality of a triangular matrix, where the quality of a matrix is defined inLinearSolver.quality().static voidImplCommonOps_DSCC.removeZeros(DMatrixSparseCSC A, double tol) static voidImplCommonOps_DSCC.removeZeros(DMatrixSparseCSC input, DMatrixSparseCSC output, double tol) static intTriangularSolver_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 intTriangularSolver_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 voidImplCommonOps_DSCC.select(DMatrixSparseCSC A, DMatrixSparseCSC output, IPredicateBinary selector) static voidTriangularSolver_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 intTriangularSolver_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 voidTriangularSolver_DSCC.solveL(DMatrixSparseCSC L, double[] x) Solves for a lower triangular matrix against a dense matrix.static voidTriangularSolver_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 voidTriangularSolver_DSCC.solveTranL(DMatrixSparseCSC L, double[] x) Solves for the transpose of a lower triangular matrix against a dense matrix.static voidTriangularSolver_DSCC.solveU(DMatrixSparseCSC U, double[] x) Solves for an upper triangular matrix against a dense vector.static voidImplCommonOps_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 voidImplCommonOps_DSCC.transpose(DMatrixSparseCSC A, DMatrixSparseCSC C, @Nullable IGrowArray gw) Performs a matrix transpose.Constructor parameters in org.ejml.sparse.csc.misc with type arguments of type DMatrixSparseCSCModifierConstructorDescriptionApplyFillReductionPermutation_DSCC(@Nullable ComputePermutation<DMatrixSparseCSC> fillReduce, boolean symmetric) -
Uses of DMatrixSparseCSC in org.ejml.sparse.csc.mult
Fields in org.ejml.sparse.csc.mult declared as DMatrixSparseCSCMethods in org.ejml.sparse.csc.mult with parameters of type DMatrixSparseCSCModifier and TypeMethodDescriptionstatic voidImplMultiplication_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 doubleImplMultiplication_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 doubleMatrixVectorMult_DSCC.innerProduct(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) scalar = AT*B*Cstatic doubleMatrixVectorMult_DSCC.innerProduct(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixSparseCSC C) scalar = AT*B*Cstatic doubleMatrixVectorMultWithSemiRing_DSCC.innerProduct(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC, DSemiRing semiRing) scalar = AT*B*Cstatic doubleMatrixVectorMult_DSCC.innerProductSelfSymmetrical(DMatrixSparseCSC A, DMatrixRMaj B) scalar = AT*B*Astatic voidImplMultiplication_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static voidImplMultiplication_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, boolean add, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplication_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplication_MT_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, GrowArray<Workspace_MT_DSCC> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplicationWithSemiRing_DSCC.mult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static voidMatrixVectorMult_DSCC.mult(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) c = aT*Bstatic voidMatrixVectorMult_DSCC.mult(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = A*bstatic voidMatrixVectorMultWithSemiRing_DSCC.mult(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = aT*Bstatic voidMatrixVectorMultWithSemiRing_DSCC.mult(double[] a, DMatrixSparseCSC B, double[] c, DSemiRing semiRing, @Nullable Mask mask) static voidMatrixVectorMultWithSemiRing_DSCC.mult(DMatrixSparseCSC A, double[] b, double[] c, DSemiRing semiRing, @Nullable Mask mask) static voidMatrixVectorMultWithSemiRing_DSCC.mult(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = A*bstatic voidImplMultiplication_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multAdd(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidMatrixVectorMult_DSCC.multAdd(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = c + A*bstatic voidMatrixVectorMultWithSemiRing_DSCC.multAdd(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = c + A*bstatic voidImplMultiplication_DSCC.multAddColA(DMatrixSparseCSC A, int colA, double alpha, DMatrixSparseCSC C, int mark, double[] x, int[] w) Performs the operation x = x + A(:,i)*alphastatic voidImplMultiplicationWithSemiRing_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 voidImplMultiplication_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray, DOperatorBinary op) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DGrowArray workArray) Invoke throughCommonOps_DSCCstatic voidImplMultiplication_MT_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, boolean add, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplication_MT_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, GrowArray<DGrowArray> listWork) Invoke throughCommonOps_MT_DSCCas it will manage the input contractstatic voidImplMultiplicationWithSemiRing_DSCC.multTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static voidImplMultiplication_MT_DSCC.stitchMatrix(DMatrixSparseCSC out, int numRows, int numCols, GrowArray<Workspace_MT_DSCC> listWork) Combines results from independent blocks into a single matrix