Package org.ejml.sparse.csc.mult
Class ImplMultiplicationWithSemiRing_DSCC
java.lang.Object
org.ejml.sparse.csc.mult.ImplMultiplicationWithSemiRing_DSCC
based on ImplSparseSparseGraphMult_DSCC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
mult
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
mult
(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable Mask mask, @Nullable IGrowArray gw, @Nullable DGrowArray gx) Performs matrix multiplication.static void
multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
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
multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing)
-
Constructor Details
-
ImplMultiplicationWithSemiRing_DSCC
public ImplMultiplicationWithSemiRing_DSCC()
-
-
Method Details
-
mult
public static void mult(DMatrixSparseCSC A, DMatrixSparseCSC B, DMatrixSparseCSC C, DSemiRing semiRing, @Nullable @Nullable Mask mask, @Nullable @Nullable IGrowArray gw, @Nullable @Nullable DGrowArray gx) Performs matrix multiplication. C = A*B- Parameters:
A
- MatrixB
- MatrixC
- Storage for results. Data length is increased if increased if insufficient.mask
- (Optional) Mask for specifying which entries should be overwrittengw
- (Optional) Storage for internal workspace. Can be null.gx
- (Optional) Storage for internal workspace. Can be null.
-
multAddColA
public static void multAddColA(DMatrixSparseCSC A, int colA, double alpha, DMatrixSparseCSC C, int mark, DSemiRing semiRing, @Nullable @Nullable Mask mask, double[] x, int[] w) Performs the operation x = x + A(:,i)*alphaNOTE: This is the same as cs_scatter() in csparse.
-
mult
-
multAdd
-
multTransA
-
multAddTransA
public static void multAddTransA(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) -
multTransB
-
multAddTransB
public static void multAddTransB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) -
multTransAB
public static void multTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) -
multAddTransAB
public static void multAddTransAB(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing)
-