Package jdistlib.accelerator
Interface PreparedCsrMatrix
- All Superinterfaces:
AutoCloseable
Reusable FP64 CSR handle; capabilities report whether storage is provider-resident.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intcolumns()voidmultiply(double alpha, double[] x, double beta, double[] y) Performsy := alpha*A*x + beta*y.voidmultiply(double alpha, double[] right, int rightColumns, double beta, double[] result) PerformsC := alpha*A*B + beta*Cfor row-major dense matrices.intintrows()
-
Method Details
-
rows
int rows() -
columns
int columns() -
nonzeroCount
int nonzeroCount() -
multiply
void multiply(double alpha, double[] x, double beta, double[] y) Performsy := alpha*A*x + beta*y. -
multiply
void multiply(double alpha, double[] right, int rightColumns, double beta, double[] result) PerformsC := alpha*A*B + beta*Cfor row-major dense matrices. -
close
void close()- Specified by:
closein interfaceAutoCloseable
-