Class MatrixVectorMult_DSCC

java.lang.Object
org.ejml.sparse.csc.mult.MatrixVectorMult_DSCC

public class MatrixVectorMult_DSCC extends Object
  • Constructor Details

    • MatrixVectorMult_DSCC

      public MatrixVectorMult_DSCC()
  • Method Details

    • mult

      public static void mult(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC)
      c = A*b
      Parameters:
      A - (Input) Matrix
      b - (Input) vector
      offsetB - (Input) first index in vector b
      c - (Output) vector
      offsetC - (Output) first index in vector c
    • multAdd

      public static void multAdd(DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC)
      c = c + A*b
      Parameters:
      A - (Input) Matrix
      b - (Input) vector
      offsetB - (Input) first index in vector b
      c - (Output) vector
      offsetC - (Output) first index in vector c
    • mult

      public static void mult(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC)
      c = aT*B
      Parameters:
      a - (Input) vector
      offsetA - Input) first index in vector a
      B - (Input) Matrix
      c - (Output) vector
      offsetC - (Output) first index in vector c
    • innerProduct

      public static double innerProduct(double[] a, int offsetA, DMatrixSparseCSC B, double[] c, int offsetC)
      scalar = AT*B*C
      Parameters:
      a - (Input) vector
      offsetA - Input) first index in vector a
      B - (Input) Matrix
      c - (Output) vector
      offsetC - (Output) first index in vector c
    • innerProduct

      public static double innerProduct(DMatrixSparseCSC A, DMatrixRMaj B, DMatrixSparseCSC C)
      scalar = AT*B*C
      Parameters:
      A - (Input) A column vector that has length m.
      B - (Input) A matrix that is m by n.
      C - (Input) A column vector that has length n.
    • innerProductSelfSymmetrical

      public static double innerProductSelfSymmetrical(DMatrixSparseCSC A, DMatrixRMaj B)
      scalar = AT*B*A
      Parameters:
      A - (Input) A column vector that has length n.
      B - (Input) A matrix that is n by n and symmetrical.