Class MatrixVectorMultWithSemiRing_FSCC

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

@Generated("org.ejml.sparse.csc.mult.MatrixVectorMultWithSemiRing_DSCC") public class MatrixVectorMultWithSemiRing_FSCC extends Object
based on MartrixVectorMult_FSCC
  • Constructor Details

    • MatrixVectorMultWithSemiRing_FSCC

      public MatrixVectorMultWithSemiRing_FSCC()
  • Method Details

    • mult

      public static void mult(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask)
      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
      semiRing - Semi-Ring to define + and *
      mask - Mask for specifying which entries should be overwritten
    • mult

      public static void mult(FMatrixSparseCSC A, float[] b, float[] c, FSemiRing semiRing, @Nullable @Nullable Mask mask)
    • multAdd

      public static void multAdd(FMatrixSparseCSC A, float[] b, int offsetB, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask)
      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
      semiRing - Semi-Ring to define + and *
      mask - Mask for specifying which entries should be overwritten
    • mult

      public static void mult(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing, @Nullable @Nullable Mask mask)
      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
      semiRing - Semi-Ring to define + and *
      mask - Mask for specifying which entries should be overwritten
    • mult

      public static void mult(float[] a, FMatrixSparseCSC B, float[] c, FSemiRing semiRing, @Nullable @Nullable Mask mask)
    • innerProduct

      public static float innerProduct(float[] a, int offsetA, FMatrixSparseCSC B, float[] c, int offsetC, FSemiRing semiRing)
      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
      semiRing - Semi-Ring to define + and *