Class RealComplexDenseSparseMatrixMultTranspose
java.lang.Object
org.flag4j.operations.dense_sparse.coo.real_complex.RealComplexDenseSparseMatrixMultTranspose
This class contains several low level methods for computing matrix-matrix multiplications with a transpose for
a real/complex sparse/dense
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 CNumber[]
multTranspose
(double[] dSrc, Shape dShape, CNumber[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a real dense matrix to the transpose of a complex sparse matrix.static CNumber[]
multTranspose
(CNumber[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a complex dense matrix to the transpose of a real sparse matrix.
-
Constructor Details
-
RealComplexDenseSparseMatrixMultTranspose
private RealComplexDenseSparseMatrixMultTranspose()
-
-
Method Details
-
multTranspose
public static CNumber[] multTranspose(double[] dSrc, Shape dShape, CNumber[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a real dense matrix to the transpose of a complex 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.
-
multTranspose
public static CNumber[] multTranspose(CNumber[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape) Multiplies a complex 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.
-