Marsyas
0.6.0-alpha
|
Assorted Numerical Routines. More...
#include <NumericLib.h>
Public Member Functions | |
mrs_real | determinant (realvec matrix) |
NumericLib () | |
bool | polyRoots (std::vector< mrs_complex > coefs, bool complexCoefs, mrs_natural order, std::vector< mrs_complex > &roots) |
~NumericLib () | |
Static Public Member Functions | |
static mrs_real | bhattacharyyaShape (const realvec &Ci, const realvec &Cj, const realvec &dummy=realvec()) |
static mrs_real | cityblockDistance (const realvec &Vi, const realvec &Vj, const realvec &dummy=realvec()) |
static mrs_real | correlationDistance (const realvec &Vi, const realvec &Vj, const realvec &dummy=realvec()) |
static mrs_real | cosineDistance (const realvec &Vi, const realvec &Vj, const realvec &dummy=realvec()) |
static mrs_real | divergenceShape (const realvec &Ci, const realvec &Cj, const realvec &dummy=realvec()) |
static mrs_real | euclideanDistance (const realvec &Vi, const realvec &Vj, const realvec &covMatrix) |
static mrs_real | gaussian (mrs_real x, mrs_real var, mrs_real mean) |
static mrs_real | hungarianAssignment (realvec &matrixdist, realvec &matrixAssign) |
static mrs_real | machp (const char *cmach) |
static mrs_real | mahalanobisDistance (const realvec &Vi, const realvec &Vj, const realvec &covMatrix) |
static void | svd (mrs_natural m, mrs_natural n, realvec &A, realvec &U, realvec &V, realvec &s) |
static void | tqli (realvec &d, realvec &e, mrs_natural n, realvec &z) |
static void | tred2 (realvec &a, mrs_natural n, realvec &d, realvec &e) |
Assorted Numerical Routines.
Numerical routines ported and adapted from several sources (indicated where appropriated). Code adapted by <lmartins@inescporto.pt> - 16.06.2006
Definition at line 69 of file NumericLib.h.
NumericLib | ( | ) |
Definition at line 110 of file NumericLib.cpp.
~NumericLib | ( | ) |
Definition at line 115 of file NumericLib.cpp.
mrs_real bhattacharyyaShape | ( | const realvec & | Ci, |
const realvec & | Cj, | ||
const realvec & | dummy = realvec() |
||
) | [static] |
matrices should be square and equal sized
Definition at line 2047 of file NumericLib.cpp.
mrs_real cityblockDistance | ( | const realvec & | Vi, |
const realvec & | Vj, | ||
const realvec & | dummy = realvec() |
||
) | [static] |
Definition at line 1966 of file NumericLib.cpp.
mrs_real correlationDistance | ( | const realvec & | Vi, |
const realvec & | Vj, | ||
const realvec & | dummy = realvec() |
||
) | [static] |
Definition at line 1973 of file NumericLib.cpp.
mrs_real cosineDistance | ( | const realvec & | Vi, |
const realvec & | Vj, | ||
const realvec & | dummy = realvec() |
||
) | [static] |
Definition at line 1931 of file NumericLib.cpp.
mrs_real determinant | ( | realvec | matrix | ) |
Definition at line 145 of file NumericLib.cpp.
mrs_real divergenceShape | ( | const realvec & | Ci, |
const realvec & | Cj, | ||
const realvec & | dummy = realvec() |
||
) | [static] |
matrices should be square and equal sized
Definition at line 1980 of file NumericLib.cpp.
mrs_real euclideanDistance | ( | const realvec & | Vi, |
const realvec & | Vj, | ||
const realvec & | covMatrix | ||
) | [static] |
Definition at line 1883 of file NumericLib.cpp.
Definition at line 280 of file NumericLib.h.
mrs_real hungarianAssignment | ( | realvec & | matrixdist, |
realvec & | matrixAssign | ||
) | [static] |
Definition at line 2086 of file NumericLib.cpp.
Definition at line 1102 of file NumericLib.cpp.
mrs_real mahalanobisDistance | ( | const realvec & | Vi, |
const realvec & | Vj, | ||
const realvec & | covMatrix | ||
) | [static] |
Definition at line 1917 of file NumericLib.cpp.
bool polyRoots | ( | std::vector< mrs_complex > | coefs, |
bool | complexCoefs, | ||
mrs_natural | order, | ||
std::vector< mrs_complex > & | roots | ||
) |
Definition at line 121 of file NumericLib.cpp.
void svd | ( | mrs_natural | m, |
mrs_natural | n, | ||
realvec & | A, | ||
realvec & | U, | ||
realvec & | V, | ||
realvec & | s | ||
) | [static] |
Definition at line 1441 of file NumericLib.cpp.
void tqli | ( | realvec & | d, |
realvec & | e, | ||
mrs_natural | n, | ||
realvec & | z | ||
) | [static] |
Definition at line 1338 of file NumericLib.cpp.
void tred2 | ( | realvec & | a, |
mrs_natural | n, | ||
realvec & | d, | ||
realvec & | e | ||
) | [static] |
Definition at line 1248 of file NumericLib.cpp.