Package org.ejml.sparse.csc.mult
Class MatrixVectorMultWithSemiRing_FSCC
java.lang.Object
org.ejml.sparse.csc.mult.MatrixVectorMultWithSemiRing_FSCC
@Generated("org.ejml.sparse.csc.mult.MatrixVectorMultWithSemiRing_DSCC")
public class MatrixVectorMultWithSemiRing_FSCC
extends Object
based on MartrixVectorMult_FSCC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
innerProduct
(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing) scalar = AT*B*Cstatic void
mult
(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing, @Nullable Mask mask) c = aT*Bstatic void
mult
(float[] a, FMatrixSparseCSC B, float[] c, FSemiRing semiRing, @Nullable Mask mask) static void
mult
(FMatrixSparseCSC A, float[] b, float[] c, FSemiRing semiRing, @Nullable Mask mask) static void
mult
(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable Mask mask) c = A*bstatic void
multAdd
(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable Mask mask) c = c + A*b
-
Constructor Details
-
MatrixVectorMultWithSemiRing_FSCC
public MatrixVectorMultWithSemiRing_FSCC()
-
-
Method Details
-
mult
public static void mult(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask) c = A*b- Parameters:
A
- (Input) Matrixb
- (Input) vectoroffsetB
- (Input) first index in vector bc
- (Output) vectoroffsetC
- (Output) first index in vector csemiRing
- Semi-Ring to define + and *mask
- Mask for specifying which entries should be overwritten
-
mult
public static void mult(FMatrixSparseCSC A, float[] b, float[] c, FSemiRing semiRing, @Nullable @Nullable Mask mask) -
multAdd
public static void multAdd(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask) c = c + A*b- Parameters:
A
- (Input) Matrixb
- (Input) vectoroffsetB
- (Input) first index in vector bc
- (Output) vectoroffsetC
- (Output) first index in vector csemiRing
- Semi-Ring to define + and *mask
- Mask for specifying which entries should be overwritten
-
mult
public static void mult(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask) c = aT*B- Parameters:
a
- (Input) vectoroffsetA
- Input) first index in vector aB
- (Input) Matrixc
- (Output) vectoroffsetC
- (Output) first index in vector csemiRing
- Semi-Ring to define + and *mask
- Mask for specifying which entries should be overwritten
-
mult
public static void mult(float[] a, FMatrixSparseCSC B, float[] c, FSemiRing semiRing, @Nullable @Nullable Mask mask) -
innerProduct
public static float innerProduct(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing) scalar = AT*B*C- Parameters:
a
- (Input) vectoroffsetA
- Input) first index in vector aB
- (Input) Matrixc
- (Output) vectoroffsetC
- (Output) first index in vector csemiRing
- Semi-Ring to define + and *
-