Package | Description |
---|---|
ucar.ma2 |
Multidimensional arrays of primitives and objects with data stored in memory.
|
Modifier and Type | Method and Description |
---|---|
MAVector |
MAMatrix.column(int j)
Get the jth column, return as a MAVector: same backing store.
|
MAVector |
MAVector.copy()
Create a new MAVector that is the same as this one, with a copy of the backing store.
|
MAVector |
MAMatrix.dot(MAVector v)
Dot product of matrix and vector: return M dot v
|
MAVector |
MAMatrix.row(int i)
Get the ith row, return as a MAVector: same backing store.
|
Modifier and Type | Method and Description |
---|---|
double |
MAVector.cos(MAVector v)
Cos between two vectors = dot(v) / norm() * norm(v)
|
MAVector |
MAMatrix.dot(MAVector v)
Dot product of matrix and vector: return M dot v
|
double |
MAVector.dot(MAVector v)
Dot product of 2 vectors
|
void |
MAMatrix.postMultiplyDiagonal(MAVector diag)
Matrix multiply by a diagonal matrix, store result in this: this = this * diag
|
void |
MAMatrix.preMultiplyDiagonal(MAVector diag)
Matrix multiply by a diagonal matrix, store result in this: this = diag * this
|
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.