public class BlockMultiplication
extends java.lang.Object
Matrix multiplication for BlockMatrix64F. All sub-matrices must be
block aligned.
| Constructor and Description |
|---|
BlockMultiplication() |
| Modifier and Type | Method and Description |
|---|---|
static void |
mult(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on
BlockMatrix64F submatrices.c = a * b |
static void |
multMinus(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on
BlockMatrix64F submatrices.c = c - a * b |
static void |
multMinusTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C) |
static void |
multPlus(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on
BlockMatrix64F submatrices.c = c + a * b |
static void |
multPlusTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C) |
static void |
multTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication with a transpose on
BlockMatrix64F submatrices.c = aT * b |
static void |
multTransB(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication with a transpose on
BlockMatrix64F submatrices.c = a * b T |
public static void mult(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on BlockMatrix64F 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.
blockLength - Size of the blocks in the submatrix.A - A submatrix. Not modified.B - A submatrix. Not modified.C - Result of the operation. Modified,public static void multPlus(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on BlockMatrix64F 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.
blockLength - Size of the blocks in the submatrix.A - A submatrix. Not modified.B - A submatrix. Not modified.C - Result of the operation. Modified,public static void multMinus(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication on BlockMatrix64F 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.
blockLength - Size of the blocks in the submatrix.A - A submatrix. Not modified.B - A submatrix. Not modified.C - Result of the operation. Modified,public static void multTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication with a transpose on BlockMatrix64F 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.
blockLength - Size of the blocks in the submatrix.A - A submatrix. Not modified.B - A submatrix. Not modified.C - Result of the operation. Modified,public static void multPlusTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
public static void multMinusTransA(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
public static void multTransB(int blockLength,
org.ejml.data.D1Submatrix64F A,
org.ejml.data.D1Submatrix64F B,
org.ejml.data.D1Submatrix64F C)
Performs a matrix multiplication with a transpose on BlockMatrix64F 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.
blockLength - Length of the blocks in the submatrix.A - A submatrix. Not modified.B - A submatrix. Not modified.C - Result of the operation. Modified,