public class BLAS$ extends Object implements scala.Serializable
Original code from the Apache Spark project: http://git.io/vfZUe
Modifier and Type | Field and Description |
---|---|
static BLAS$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
BLAS$() |
Modifier and Type | Method and Description |
---|---|
void |
axpy(double a,
Vector x,
Vector y)
y += a * x
|
void |
copy(Vector x,
Vector y)
y = x
|
double |
dot(Vector x,
Vector y)
dot(x, y)
|
void |
scal(double a,
Vector x)
x = a * x
|
void |
syr(double alpha,
Vector x,
DenseMatrix A)
A := alpha * x * x^T^ + A
|
public static final BLAS$ MODULE$
public void axpy(double a, Vector x, Vector y)
a
- (undocumented)x
- (undocumented)y
- (undocumented)public double dot(Vector x, Vector y)
x
- (undocumented)y
- (undocumented)public void scal(double a, Vector x)
a
- (undocumented)x
- (undocumented)public void syr(double alpha, Vector x, DenseMatrix A)
alpha
- a real scalar that will be multiplied to x * x^T^.x
- the vector x that contains the n elements.A
- the symmetric matrix A. Size of n x n.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.