Class RealDenseSparseMatrixMultTranspose
java.lang.Object
org.flag4j.operations.dense_sparse.coo.real.RealDenseSparseMatrixMultTranspose
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for
a real dense matrix and a real sparse matrix.
WARNING: These methods do not perform any sanity checks.
WARNING: These methods do not perform any sanity checks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]
multTranspose
(double[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a real dense matrix to the transpose of a real sparse matrix.
-
Constructor Details
-
RealDenseSparseMatrixMultTranspose
private RealDenseSparseMatrixMultTranspose()
-
-
Method Details
-
multTranspose
public static double[] multTranspose(double[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a real dense matrix to the transpose of a real sparse matrix.- Parameters:
dSrc
- Entries of dense matrix.dShape
- Shape of dense matrix.spSrc
- Non-zero entries of sparse matrix.rowIndices
- Row indices of non-zero entries in the sparse matrix.colIndices
- Column indices of non-zero entries in the sparse matrix.spShape
- Shape of the sparse matrix.- Returns:
- The entries of the matrix resulting from multiplying the first matrix by the transpose of the second matrix.
-