A class for linear algebra operations.
More...
#include <LinearAlgebraOps.hpp>
|
| static void | svd (JNIEnv *env, jobject thisObj, jdoubleArray srcV, jint srcStrideRow, jint srcStrideCol, jdoubleArray uV, jdoubleArray sV, jdoubleArray vV, jint nRows, jint nCols) |
| | Computes the singular value decomposition of a matrix. More...
|
| |
| static void | eigs (JNIEnv *env, jobject thisObj, jdoubleArray srcV, jdoubleArray vecV, jdoubleArray valV, jint size) |
| | Computes the eigenvectors and eigenvalues of a matrix. More...
|
| |
| static void | invert (JNIEnv *env, jobject thisObj, jdoubleArray srcV, jdoubleArray dstV, jint size) |
| | Computes the inverse of a matrix. More...
|
| |
A class for linear algebra operations.
| void LinearAlgebraOps::eigs |
( |
JNIEnv * |
env, |
|
|
jobject |
thisObj, |
|
|
jdoubleArray |
srcV, |
|
|
jdoubleArray |
vecV, |
|
|
jdoubleArray |
valV, |
|
|
jint |
size |
|
) |
| |
|
static |
Computes the eigenvectors and eigenvalues of a matrix.
- Parameters
-
| env | the JNI environment. |
| thisObj | this object. |
| srcV | the source values. |
| vecV | the eigenvectors. |
| valV | the eigenvalues. |
| size | the matrix size. |
| void LinearAlgebraOps::invert |
( |
JNIEnv * |
env, |
|
|
jobject |
thisObj, |
|
|
jdoubleArray |
srcV, |
|
|
jdoubleArray |
dstV, |
|
|
jint |
size |
|
) |
| |
|
static |
Computes the inverse of a matrix.
- Parameters
-
| env | the JNI environment. |
| thisObj | this object. |
| srcV | the source values. |
| dstV | the destination values. |
| size | the matrix size. |
| void LinearAlgebraOps::svd |
( |
JNIEnv * |
env, |
|
|
jobject |
thisObj, |
|
|
jdoubleArray |
srcV, |
|
|
jint |
srcStrideRow, |
|
|
jint |
srcStrideCol, |
|
|
jdoubleArray |
uV, |
|
|
jdoubleArray |
sV, |
|
|
jdoubleArray |
vV, |
|
|
jint |
nRows, |
|
|
jint |
nCols |
|
) |
| |
|
static |
Computes the singular value decomposition of a matrix.
- Parameters
-
| env | the JNI environment. |
| thisObj | this object. |
| srcV | the source values. |
| srcStrideRow | the source row stride. |
| srcStrideCol | the source column stride. |
| uV | the input vectors. |
| sV | the gain controls. |
| vV | the output vectors. |
| nRows | the number of rows. |
| nCols | the number of columns. |