Class MatrixMult_MT_FDRB
Matrix multiplication for FMatrixRBlock. All sub-matrices must be block aligned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmult(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication onFMatrixRBlocksubmatrices.
c = a * b
static voidmultMinus(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication onFMatrixRBlocksubmatrices.
c = c - a * b
static voidmultMinusTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) static voidmultPlus(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication onFMatrixRBlocksubmatrices.
c = c + a * b
static voidmultPlusTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) static voidmultTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication with a transpose onFMatrixRBlocksubmatrices.
c = aT * b
static voidmultTransB(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication with a transpose onFMatrixRBlocksubmatrices.
c = a * b T
-
Constructor Details
-
MatrixMult_MT_FDRB
public MatrixMult_MT_FDRB()
-
-
Method Details
-
mult
public static void mult(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication on
FMatrixRBlocksubmatrices.
c = a * b
It is assumed that all submatrices start at the beginning of a block and end at the end of a block.
- Parameters:
blockLength- Size of the blocks in the submatrix.A- A submatrix. Not modified.B- A submatrix. Not modified.C- Result of the operation. Modified,
-
multPlus
public static void multPlus(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication on
FMatrixRBlocksubmatrices.
c = c + a * b
It is assumed that all submatrices start at the beginning of a block and end at the end of a block.
- Parameters:
blockLength- Size of the blocks in the submatrix.A- A submatrix. Not modified.B- A submatrix. Not modified.C- Result of the operation. Modified,
-
multMinus
public static void multMinus(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication on
FMatrixRBlocksubmatrices.
c = c - a * b
It is assumed that all submatrices start at the beginning of a block and end at the end of a block.
- Parameters:
blockLength- Size of the blocks in the submatrix.A- A submatrix. Not modified.B- A submatrix. Not modified.C- Result of the operation. Modified,
-
multTransA
public static void multTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication with a transpose on
FMatrixRBlocksubmatrices.
c = aT * b
It is assumed that all submatrices start at the beginning of a block and end at the end of a block.
- Parameters:
blockLength- Size of the blocks in the submatrix.A- A submatrix. Not modified.B- A submatrix. Not modified.C- Result of the operation. Modified,
-
multPlusTransA
public static void multPlusTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) -
multMinusTransA
public static void multMinusTransA(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) -
multTransB
public static void multTransB(int blockLength, org.ejml.data.FSubmatrixD1 A, org.ejml.data.FSubmatrixD1 B, org.ejml.data.FSubmatrixD1 C) Performs a matrix multiplication with a transpose on
FMatrixRBlocksubmatrices.
c = a * b T
It is assumed that all submatrices start at the beginning of a block and end at the end of a block.
- Parameters:
blockLength- Length of the blocks in the submatrix.A- A submatrix. Not modified.B- A submatrix. Not modified.C- Result of the operation. Modified,
-