8#ifndef META_OCEAN_TEST_TESTMATH_LINEAR_ALGEBRA_H
9#define META_OCEAN_TEST_TESTMATH_LINEAR_ALGEBRA_H
105 template <
typename T>
114 template <
typename T>
123 template <
typename T>
132 template <
typename T>
142 template <
typename T>
153 template <
typename T>
This class implements a matrix with arbitrary size.
Definition Matrix.h:63
This class implements a 3x3 square matrix.
Definition SquareMatrix3.h:89
This class implements linear algebra tests.
Definition TestLinearAlgebra.h:32
static bool testQrDecomposition(const double testDuration)
Tests the QR decomposition of a matrix.
static bool testQrDecompositionDynamic(const double testDuration)
Tests the QR decomposition of dynamic random matrices.
static bool testSingularValueDecompositionStatic(const double testDuration)
Tests the singular value decomposition of static and known matrix.
static bool testQrDecompositionStatic(const double testDuration)
Tests the QR decomposition of static and known matrix.
static bool testEigenSystemMatrix(const double testDuration)
Tests the Eigen system of the matrix.
static bool testSolve(const double testDuration)
Tests solving a system of linear equations.
static bool testEigenSystemSquareMatrix3(const double testDuration)
Tests the Eigen system of a 3x3 square matrix.
static bool validateSingularValueDecomposition(const MatrixT< T > &matrix, const MatrixT< T > &uMatrix, const MatrixT< T > &wVector, const MatrixT< T > &vMatrix)
Validate singular value decomposition of a matrix M = U * diag(W) * V^T.
static bool testCholeskyDecomposition(const double testDuration)
Tests the Cholesky decomposition of a square matrix.
static bool testSingularValueDecompositionDynamic(const double testDuration)
Tests the singular value decomposition of dynamic random matrices.
static bool testSingularValueDecomposition(const double testDuration)
Tests the singular value decomposition of a matrix.
static bool validateEigenSystem(const SquareMatrixT3< T > &matrix, const VectorT3< T > &expectedEigenValues)
Validates the Eigen system of a static and known 3x3 square matrix.
static bool test(const double testDuration, const TestSelector &selector)
Tests all linear algebra functions.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
This class implements a vector with three elements.
Definition Vector3.h:97
The namespace covering the entire Ocean framework.
Definition Accessor.h:15