Interface PreparedCsrMatrix

All Superinterfaces:
AutoCloseable

public interface PreparedCsrMatrix extends AutoCloseable
Reusable FP64 CSR handle; capabilities report whether storage is provider-resident.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    void
    multiply(double alpha, double[] x, double beta, double[] y)
    Performs y := alpha*A*x + beta*y.
    void
    multiply(double alpha, double[] right, int rightColumns, double beta, double[] result)
    Performs C := alpha*A*B + beta*C for row-major dense matrices.
    int
     
    int
     
  • Method Details

    • rows

      int rows()
    • columns

      int columns()
    • nonzeroCount

      int nonzeroCount()
    • multiply

      void multiply(double alpha, double[] x, double beta, double[] y)
      Performs y := alpha*A*x + beta*y.
    • multiply

      void multiply(double alpha, double[] right, int rightColumns, double beta, double[] result)
      Performs C := alpha*A*B + beta*C for row-major dense matrices.
    • close

      void close()
      Specified by:
      close in interface AutoCloseable