Class RealDenseSparseMatrixMultTranspose

java.lang.Object
org.flag4j.linalg.ops.dense_sparse.coo.real.RealDenseSparseMatrixMultTranspose

public class RealDenseSparseMatrixMultTranspose extends Object
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.
  • 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 data of sparse matrix.
      rowIndices - Row indices of non-zero data in the sparse matrix.
      colIndices - Column indices of non-zero data in the sparse matrix.
      spShape - Shape of the sparse matrix.
      Returns:
      The data of the matrix resulting from multiplying the first matrix by the transpose of the second matrix.