shared
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends
Static Public Member Functions | List of all members
LinearAlgebraOps Class Reference

A class for linear algebra operations. More...

#include <LinearAlgebraOps.hpp>

Static Public Member Functions

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...
 

Detailed Description

A class for linear algebra operations.

Member Function Documentation

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
envthe JNI environment.
thisObjthis object.
srcVthe source values.
vecVthe eigenvectors.
valVthe eigenvalues.
sizethe matrix size.
void LinearAlgebraOps::invert ( JNIEnv *  env,
jobject  thisObj,
jdoubleArray  srcV,
jdoubleArray  dstV,
jint  size 
)
static

Computes the inverse of a matrix.

Parameters
envthe JNI environment.
thisObjthis object.
srcVthe source values.
dstVthe destination values.
sizethe 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
envthe JNI environment.
thisObjthis object.
srcVthe source values.
srcStrideRowthe source row stride.
srcStrideColthe source column stride.
uVthe input vectors.
sVthe gain controls.
vVthe output vectors.
nRowsthe number of rows.
nColsthe number of columns.