8 #ifndef META_OCEAN_TEST_TESTMATH_TEST_SQUARE_MATRIX_3_H
9 #define META_OCEAN_TEST_TESTMATH_TEST_SQUARE_MATRIX_3_H
41 static bool test(
const double testDuration,
Worker& worker);
114 template <
typename T>
123 static bool testSolve(
const bool containsSignular,
const double testDuration);
133 template <
typename T>
137 template <
typename T>
140 return VectorT3<T>(matrix[0] * vector[0] + matrix[3] * vector[1] + matrix[6] * vector[2],
141 matrix[1] * vector[0] + matrix[4] * vector[1] + matrix[7] * vector[2],
142 matrix[2] * vector[0] + matrix[5] * vector[1] + matrix[8] * vector[2]);
This class implements a 3x3 square matrix.
Definition: SquareMatrix3.h:88
This class implements a test for 3x3 square matrices.
Definition: TestSquareMatrix3.h:32
static bool testSolve(const bool containsSignular, const double testDuration)
Test for solver of linear systems of equations.
static bool solveGauss(const SquareMatrixT3< T > &A, const VectorT3< T > &b, VectorT3< T > &x)
Gauss algorithm for 3x3 systems of linear equations, Ax = b.
static bool testVectorMultiplication3(const double testDuration, Worker &worker)
Tests the 3D vector multiplication operator.
static bool test(const double testDuration, Worker &worker)
Tests all square matrix 3x3 functions.
static bool testVectorMultiplication2(const double testDuration)
Tests the 2D vector multiplication operator and function.
static bool testWriteToMessenger()
Tests the messenger function.
static bool testMatrixConversion(const double testDuration)
Tests the matrix conversion functions.
static OCEAN_FORCE_INLINE VectorT3< T > standardVectorMultiplication(const SquareMatrixT3< T > &matrix, const VectorT3< T > &vector)
Standard implementation of a multiplication between a 4x4 matrix and a 4x1 vector.
Definition: TestSquareMatrix3.h:138
static bool testSolve(const double testDuration)
Test for solver of linear systems of equations.
static bool testInvert(const double testDuration)
Tests the invert functions.
static bool testElementConstructor(const double testDuration)
Tests the element-based constructor.
static bool testQuaternionConstructor(const double testDuration)
Tests the quaternion-based constructor.
This class implements a vector with three elements.
Definition: Vector3.h:97
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15