8 #ifndef META_OCEAN_TEST_TESTMATH_LINEAR_ALGEBRA_H
9 #define META_OCEAN_TEST_TESTMATH_LINEAR_ALGEBRA_H
38 static bool test(
const double testDuration);
102 template <
typename T>
111 template <
typename T>
120 template <
typename T>
129 template <
typename T>
139 template <
typename T>
150 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:88
This class implements linear algebra tests.
Definition: TestLinearAlgebra.h:30
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 test(const double testDuration)
Tests all linear algebra functions.
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.
This class implements a vector with three elements.
Definition: Vector3.h:97
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15