Class MatrixMult_FDRB
Matrix multiplication for FMatrixRBlock
. All sub-matrices must be block aligned.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
mult
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multMinus
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multMinusTransA
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multPlus
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multPlusTransA
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multTransA
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C) static void
multTransB
(int blockLength, FSubmatrixD1 A, FSubmatrixD1 B, FSubmatrixD1 C)
-
Constructor Details
-
MatrixMult_FDRB
public MatrixMult_FDRB()
-
-
Method Details
-
mult
Performs a matrix multiplication on
FMatrixRBlock
submatrices.
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
Performs a matrix multiplication on
FMatrixRBlock
submatrices.
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
Performs a matrix multiplication on
FMatrixRBlock
submatrices.
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
Performs a matrix multiplication with a transpose on
FMatrixRBlock
submatrices.
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
-
multMinusTransA
-
multTransB
Performs a matrix multiplication with a transpose on
FMatrixRBlock
submatrices.
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,
-