Class MatrixVectorMult_FSCC


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static float innerProduct​(float[] a, int offsetA, org.ejml.data.FMatrixSparseCSC B, float[] c, int offsetC)
      scalar = AT*B*C
      static void mult​(float[] a, int offsetA, org.ejml.data.FMatrixSparseCSC B, float[] c, int offsetC)
      c = aT*B
      static void mult​(org.ejml.data.FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC)
      c = A*b
      static void multAdd​(org.ejml.data.FMatrixSparseCSC A, float[] b, int offsetB, float[] 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_FSCC

        public MatrixVectorMult_FSCC()
    • Method Detail

      • mult

        public static void mult​(org.ejml.data.FMatrixSparseCSC A,
                                float[] b,
                                int offsetB,
                                float[] 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.FMatrixSparseCSC A,
                                   float[] b,
                                   int offsetB,
                                   float[] 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​(float[] a,
                                int offsetA,
                                org.ejml.data.FMatrixSparseCSC B,
                                float[] 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 float innerProduct​(float[] a,
                                         int offsetA,
                                         org.ejml.data.FMatrixSparseCSC B,
                                         float[] 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