public final class Blas
extends java.lang.Object
| Constructor and Description |
|---|
Blas() |
| Modifier and Type | Method and Description |
|---|---|
static void |
daxpy(double da,
double[] dx,
double[] dy)
BLAS DAXPY function call.
|
static void |
dgemm(Order order,
Transpose transa,
Transpose transb,
int m,
int n,
int k,
double alpha,
double[] a,
double[] b,
double beta,
double[] c)
BLAS DGEMM function call.
|
public static void dgemm(Order order, Transpose transa, Transpose transb, int m, int n, int k, double alpha, double[] a, double[] b, double beta, double[] c)
order - array pack ordertransa - transpose state of matrix atransb - transpose state of matrix bm - row count of matrix a and cn - column count of matrix b and ck - column count of matrix a and row count of matrix balpha - scalar alphaa - matrix ab - matrix bbeta - scalar betac - matrix c, overwrittenpublic static void daxpy(double da,
double[] dx,
double[] dy)
da - scale Adx - input vector Xdy - input/out vector Y