8#ifndef META_OCEAN_TEST_TESTMATH_TEST_STATIC_MATRIX_H
9#define META_OCEAN_TEST_TESTMATH_TEST_STATIC_MATRIX_H
125 template <
size_t tRows,
size_t tColumns>
134 template <
size_t tRows,
size_t tColumns>
143 template <
size_t tRows,
size_t tColumns>
152 template <
size_t tRows,
size_t tColumns>
161 template <
size_t tRows,
size_t tColumns>
171 template <
typename T,
size_t tSize>
181 template <
size_t tRows,
size_t tColumns,
size_t tColumns2>
190 template <
size_t tRows,
size_t tColumns>
199 template <
size_t tRows,
size_t tColumns>
210 template <
typename T>
221 template <
typename T>
222 static bool isNullMatrix(
const T& matrix,
const size_t rows,
const size_t columns);
230 template <
size_t tSize>
This class implements the test of the StaticMatrix class.
Definition TestStaticMatrix.h:29
static bool testTranspose(const double testDuration)
Tests the transpose function.
static bool testConstructorData()
Tests the constructor creating a matrix from a given buffer.
static bool testScalarMultiplication()
Tests the scalar multiplication operator.
static bool testTranspose()
Tests the transpose function.
static bool testMatrixAddTransposed()
Tests the add function for transposed matrices.
static bool testMatrixMultiplication()
Tests the matrix multiplication operator.
static bool testMatrixMultiplicationTransposedRight()
Tests the matrix multiplication between the non-transposed and transposed matrix.
static bool testSolveCholeskyMatrix(double testDuration)
Tests the linear solver by application of the cholesky decomposition.
static bool testVectorMultiplication(const double testDuration)
Tests the vector multiplication operator.
static bool testMatrixMultiplicationTransposedLeft(const double testDuration)
Tests the matrix multiplication between the transposed and non-transposed matrix.
static bool testVectorMultiplication(const double testDuration)
Tests the vector multiplication.
static bool testMatrixAdd()
Tests the matrix add operator.
static bool testMatrixMultiplicationTransposedLeft()
Tests the matrix multiplication between the transposed and non-transposed matrix.
static bool testMatrixAdd(const double testDuration)
Tests the add operator.
static bool isIdentityMatrix(const T &matrix, const size_t rows, const size_t columns)
Returns whether the provided matrix is a identity matrix.
static bool testConstructorData()
Tests the constructor creating a matrix from a given buffer.
static bool testMatrixAddTransposed(const double testDuration)
Tests the matrix add function for transposed matrices.
static bool testSolveCholesky(const double testDuration)
Tests the linear solver by application of the cholesky decomposition.
static bool testConstructorIdentity()
Tests the constructor creating a identity or null matrix.
static bool testScalarMultiplication(const double testDuration)
Tests the scalar multiplication operator.
static bool test(const double testDuration, const TestSelector &selector)
Tests all matrix functions.
static bool isNullMatrix(const T &matrix, const size_t rows, const size_t columns)
Returns whether all elements of the provided matrix are zero.
static bool testMatrixMultiplication(const double testDuration)
Tests the matrix multiplication operator.
static bool testMatrixMultiplicationTransposedRight(const double testDuration)
Tests the matrix multiplication between the non-transposed and transposed matrix.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
The namespace covering the entire Ocean framework.
Definition Accessor.h:15