Class MatrixVectorMult_DSCC


  • public class MatrixVectorMult_DSCC
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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 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 Detail

      • MatrixVectorMult_DSCC

        public MatrixVectorMult_DSCC()
    • Method Detail

      • 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