public class DenseMatrixMultiplicationByBlock extends Object implements DenseMatrixMultiplication
Modifier and Type | Class and Description |
---|---|
static interface |
DenseMatrixMultiplicationByBlock.BlockAlgorithm |
Constructor and Description |
---|
DenseMatrixMultiplicationByBlock() |
DenseMatrixMultiplicationByBlock(DenseMatrixMultiplicationByBlock.BlockAlgorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
void |
multiply(double[] A,
double[] B,
double[] C,
int m,
int n,
int p)
Multiplies two matrices, C = A %*% B.
|
public DenseMatrixMultiplicationByBlock()
public DenseMatrixMultiplicationByBlock(DenseMatrixMultiplicationByBlock.BlockAlgorithm algorithm)
public void multiply(double[] A, double[] B, double[] C, int m, int n, int p)
DenseMatrixMultiplication
multiply
in interface DenseMatrixMultiplication
A
- the left operand, the multiplicand matrix, in row-major representationB
- the right operand, the multiplier matrix, in column-major representation, i.e., row-major representation of transposed BC
- the allocated memory space for storing the result, in row-major representationm
- the number of rows of the multiplicand matrixn
- the number of columns (rows) of the multiplicand (multiplier) matrixp
- the number of columns of the multiplier matrixCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.