Class MatrixVectorMultWithSemiRing_DSCC

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

public class MatrixVectorMultWithSemiRing_DSCC extends Object
based on MartrixVectorMult_DSCC
  • 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, org.ejml.ops.DSemiRing semiRing)
    scalar = AT*B*C
    static void
    mult(double[] a, int offsetA, org.ejml.data.DMatrixSparseCSC B, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable org.ejml.masks.Mask mask)
    c = aT*B
    static void
    mult(double[] a, org.ejml.data.DMatrixSparseCSC B, double[] c, org.ejml.ops.DSemiRing semiRing, @Nullable org.ejml.masks.Mask mask)
     
    static void
    mult(org.ejml.data.DMatrixSparseCSC A, double[] b, double[] c, org.ejml.ops.DSemiRing semiRing, @Nullable org.ejml.masks.Mask mask)
     
    static void
    mult(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable org.ejml.masks.Mask mask)
    c = A*b
    static void
    multAdd(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable org.ejml.masks.Mask mask)
    c = c + A*b

    Methods inherited from class java.lang.Object

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

    • MatrixVectorMultWithSemiRing_DSCC

      public MatrixVectorMultWithSemiRing_DSCC()
  • Method Details

    • mult

      public static void mult(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable @Nullable org.ejml.masks.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(org.ejml.data.DMatrixSparseCSC A, double[] b, double[] c, org.ejml.ops.DSemiRing semiRing, @Nullable @Nullable org.ejml.masks.Mask mask)
    • multAdd

      public static void multAdd(org.ejml.data.DMatrixSparseCSC A, double[] b, int offsetB, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable @Nullable org.ejml.masks.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(double[] a, int offsetA, org.ejml.data.DMatrixSparseCSC B, double[] c, int offsetC, org.ejml.ops.DSemiRing semiRing, @Nullable @Nullable org.ejml.masks.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(double[] a, org.ejml.data.DMatrixSparseCSC B, double[] c, org.ejml.ops.DSemiRing semiRing, @Nullable @Nullable org.ejml.masks.Mask mask)
    • innerProduct

      public static double innerProduct(double[] a, int offsetA, org.ejml.data.DMatrixSparseCSC B, double[] c, int offsetC, org.ejml.ops.DSemiRing 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 *