| 程序包 | 说明 |
|---|---|
| org.meteoinfo.ndarray |
Multidimensional arrays of primitives and objects with data stored in memory.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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 © 2019. All rights reserved.