Package org.ejml.sparse.csc.mult
Class MatrixVectorMult_DSCC
java.lang.Object
org.ejml.sparse.csc.mult.MatrixVectorMult_DSCC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleinnerProduct(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) scalar = AT*B*Cstatic doublescalar = AT*B*Cstatic doublescalar = AT*B*Astatic voidmult(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) c = aT*Bstatic voidmult(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = A*bstatic voidmultAdd(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC) c = c + A*b
-
Constructor Details
-
MatrixVectorMult_DSCC
public MatrixVectorMult_DSCC()
-
-
Method Details
-
mult
c = A*b- Parameters:
A- (Input) Matrixb- (Input) vectoroffsetB- (Input) first index in vector bc- (Output) vectoroffsetC- (Output) first index in vector c
-
multAdd
c = c + A*b- Parameters:
A- (Input) Matrixb- (Input) vectoroffsetB- (Input) first index in vector bc- (Output) vectoroffsetC- (Output) first index in vector c
-
mult
c = aT*B- Parameters:
a- (Input) vectoroffsetA- Input) first index in vector aB- (Input) Matrixc- (Output) vectoroffsetC- (Output) first index in vector c
-
innerProduct
public static double innerProduct(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC) scalar = AT*B*C- Parameters:
a- (Input) vectoroffsetA- Input) first index in vector aB- (Input) Matrixc- (Output) vectoroffsetC- (Output) first index in vector c
-
innerProduct
scalar = AT*B*C- Parameters:
A- (Input) A column vector that has length m.B- (Input) A matrix that is m by n.C- (Input) A column vector that has length n.
-
innerProductSelfSymmetrical
scalar = AT*B*A- Parameters:
A- (Input) A column vector that has length n.B- (Input) A matrix that is n by n and symmetrical.
-