Uses of Class
org.ejml.ops.DSemiRing
Package
Description
-
Uses of DSemiRing in org.ejml.ops
Modifier and TypeFieldDescriptionstatic final DSemiRing
DSemiRings.AND_OR
static final DSemiRing
DSemiRings.MAX_FIRST
static final DSemiRing
DSemiRings.MAX_MIN
static final DSemiRing
DSemiRings.MAX_PLUS
static final DSemiRing
DSemiRings.MAX_SECOND
static final DSemiRing
DSemiRings.MAX_TIMES
static final DSemiRing
DSemiRings.MIN_FIRST
static final DSemiRing
DSemiRings.MIN_MAX
static final DSemiRing
DSemiRings.MIN_PLUS
static final DSemiRing
DSemiRings.MIN_SECOND
static final DSemiRing
DSemiRings.MIN_TIMES
static final DSemiRing
DSemiRings.OR_AND
static final DSemiRing
DSemiRings.PLUS_MIN
static final DSemiRing
DSemiRings.PLUS_TIMES
static final DSemiRing
DSemiRings.XNOR_OR
static final DSemiRing
DSemiRings.XOR_AND
-
Uses of DSemiRing in org.ejml.sparse.csc
Modifier and TypeMethodDescriptionstatic 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
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 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
CommonOpsWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*Bstatic void
CommonOpsWithSemiRing_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + AT*Bstatic void
CommonOpsWithSemiRing_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) C = C + AT*BTstatic void
CommonOpsWithSemiRing_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) output = output + A*BTstatic DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication.static DMatrixRMaj
CommonOpsWithSemiRing_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, @Nullable DMatrixRMaj output, DSemiRing semiRing) Performs matrix multiplication. -
Uses of DSemiRing in org.ejml.sparse.csc.misc
Modifier and TypeMethodDescriptionstatic 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
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)static 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_ij -
Uses of DSemiRing in org.ejml.sparse.csc.mult
Modifier and TypeMethodDescriptionstatic double
MatrixVectorMultWithSemiRing_DSCC.innerProduct
(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC, DSemiRing semiRing) scalar = AT*B*Cstatic 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
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
ImplMultiplicationWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
MatrixVectorMultWithSemiRing_DSCC.multAdd
(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, DSemiRing semiRing, @Nullable Mask mask) c = c + A*bstatic 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
ImplMultiplicationWithSemiRing_DSCC.multAddTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.multAddTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.multAddTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.multTransA
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.multTransAB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing) static void
ImplMultiplicationWithSemiRing_DSCC.multTransB
(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixRMaj C, DSemiRing semiRing)