OpenWalnut
1.4.0
|
#include <WLinearAlgebraFunctions_test.h>
Public Member Functions | |
void | testMatrixVectorMultiply (void) |
The vector multiplied with the matrix is just a new vector where each component is the dot product of the corresponding row with the vector. | |
void | test3x3MatrixInversion (void) |
If the matrix is not singular then an inverse should exist and be definite. | |
void | test3x3MatrixInversionOnSingularMatrix (void) |
On singular matrices no inverse exists! | |
void | test4x4Inverse () |
Test the inversion of 4x4 matrices. | |
void | testLinearIndependeceOfTwoVectors (void) |
Two vectors are linear independent if the are not parallel. | |
void | testLinearIndependeceOfTheNullVector (void) |
Two vectors are linear independent if the are not parallel. | |
void | testLinearIndependenceOnNumericalStability (void) |
Small changes should nothing do to correctness. | |
void | testComputeSVD (void) |
Test SVD calculation. | |
void | testPseudoInverse (void) |
Test pseudoInverse calculation. |
Tests for WMatrix.
Definition at line 42 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::test3x3MatrixInversion | ( | void | ) | [inline] |
If the matrix is not singular then an inverse should exist and be definite.
Definition at line 69 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::test3x3MatrixInversionOnSingularMatrix | ( | void | ) | [inline] |
On singular matrices no inverse exists!
Definition at line 97 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::test4x4Inverse | ( | ) | [inline] |
Test the inversion of 4x4 matrices.
Definition at line 116 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::testComputeSVD | ( | void | ) | [inline] |
Test SVD calculation.
Definition at line 182 of file WLinearAlgebraFunctions_test.h.
References WMatrix< T >::getNbCols(), and WMatrix< T >::getNbRows().
void WLinearAlgebraFunctionsTest::testLinearIndependeceOfTheNullVector | ( | void | ) | [inline] |
Two vectors are linear independent if the are not parallel.
Definition at line 154 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::testLinearIndependeceOfTwoVectors | ( | void | ) | [inline] |
Two vectors are linear independent if the are not parallel.
Definition at line 142 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::testLinearIndependenceOnNumericalStability | ( | void | ) | [inline] |
Small changes should nothing do to correctness.
Definition at line 166 of file WLinearAlgebraFunctions_test.h.
References wlimits::DBL_EPS.
void WLinearAlgebraFunctionsTest::testMatrixVectorMultiply | ( | void | ) | [inline] |
The vector multiplied with the matrix is just a new vector where each component is the dot product of the corresponding row with the vector.
Definition at line 49 of file WLinearAlgebraFunctions_test.h.
void WLinearAlgebraFunctionsTest::testPseudoInverse | ( | void | ) | [inline] |
Test pseudoInverse calculation.
Definition at line 223 of file WLinearAlgebraFunctions_test.h.
References WMatrix< T >::getNbCols(), and WMatrix< T >::getNbRows().