Package org.apache.spark.ml.ann
Class BreezeUtil
Object
org.apache.spark.ml.ann.BreezeUtil
In-place DGEMM and DGEMV for Breeze
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
dgemm
(double alpha, breeze.linalg.DenseMatrix<Object> A, breeze.linalg.DenseMatrix<Object> B, double beta, breeze.linalg.DenseMatrix<Object> C) DGEMM: C := alpha * A * B + beta * Cstatic void
dgemv
(double alpha, breeze.linalg.DenseMatrix<Object> A, breeze.linalg.DenseVector<Object> x, double beta, breeze.linalg.DenseVector<Object> y) DGEMV: y := alpha * A * x + beta * y
-
Constructor Details
-
BreezeUtil
public BreezeUtil()
-
-
Method Details
-
dgemm
public static void dgemm(double alpha, breeze.linalg.DenseMatrix<Object> A, breeze.linalg.DenseMatrix<Object> B, double beta, breeze.linalg.DenseMatrix<Object> C) DGEMM: C := alpha * A * B + beta * C- Parameters:
alpha
- alphaA
- AB
- Bbeta
- betaC
- C
-
dgemv
public static void dgemv(double alpha, breeze.linalg.DenseMatrix<Object> A, breeze.linalg.DenseVector<Object> x, double beta, breeze.linalg.DenseVector<Object> y) DGEMV: y := alpha * A * x + beta * y- Parameters:
alpha
- alphaA
- Ax
- xbeta
- betay
- y
-