sbrt.kernel.math.algebra
Class MatrixMultiplier
java.lang.Object
sbrt.kernel.math.algebra.MatrixMultiplier
public class MatrixMultiplier
- extends java.lang.Object
This class is used to multiply matrices.
- Author:
- This class was written and documented by Jeremiah Wright
while in the Wagner lab.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatrixMultiplier
public MatrixMultiplier()
multiply
public <R,C,T> void multiply(SparseDoubleMatrix<R,C> matrixA,
SparseDoubleMatrix<C,T> matrixB,
DoubleMatrixBuilder<R,T> product)
- Fills
product
with matrixA
* matrixB
.
- Type Parameters:
R
- the row type of matrixA
.C
- the column type of matrixA
and row type of matrixB
.T
- the column type of matrixB
.- Parameters:
matrixA
- a matrix.matrixB
- a matrix.product
- an empty matrix.