Class MatrixVectorMult_DSCC

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

public class MatrixVectorMult_DSCC extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    innerProduct(double[] a, int offsetA, org.ejml.data.DMatrixSparseCSC B, double[] c, int offsetC)
    scalar = AT*B*C
    static double
    innerProduct(org.ejml.data.DMatrixSparseCSC A, org.ejml.data.DMatrixRMaj B, org.ejml.data.DMatrixSparseCSC C)
    scalar = AT*B*C
    static double
    innerProductSelfSymmetrical(org.ejml.data.DMatrixSparseCSC A, org.ejml.data.DMatrixRMaj B)
    scalar = AT*B*A
    static void
    mult(double[] a, int offsetA, org.ejml.data.DMatrixSparseCSC B, double[] c, int offsetC)
    c = aT*B
    static void
    mult(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC)
    c = A*b
    static void
    multAdd(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC)
    c = c + A*b

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MatrixVectorMult_DSCC

      public MatrixVectorMult_DSCC()
  • Method Details

    • mult

      public static void mult(org.ejml.data.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(org.ejml.data.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, org.ejml.data.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, org.ejml.data.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(org.ejml.data.DMatrixSparseCSC A, org.ejml.data.DMatrixRMaj B, org.ejml.data.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(org.ejml.data.DMatrixSparseCSC A, org.ejml.data.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.