- Tested Functions:
- Construct
- two ways of constructing a 3x3 matrix
- Identity
- set a 3x3 matrix to identity matrix
- Zero
- set all elements of a 3x3 matrix to zero
- Det
- calculate the determinant of 3x3 matrix
- Transpose
- do the transpose of 3x3 matrix
- Inverse
- do the inverse of 3x3 matrix
- Assignment
- overload assignment operator "=" for 3x3 matrix
- AddEqual
- overload operator "+=" for 3x3 matrix
- MinusEqual
- overload operator "-=" for 3x3 matrix
- MultiplyEqual
- overload operator "*=" for (3x3 matrix) * scalar
- OverEqual
- overload operator "/=" for (3x3 matrix) / scaler
- Print
- MaddM
- overload operator "+" for two 3x3 matrices
- MminusM
- overload operator "-" for two 3x3 matrices
- MoverNum
- overload operator "/" for a (3x3 matrix)/(scalar)
- MmultiplyM
- overload operator "*" for (3x3 matrix)*(3x3 matrix)
- MmultiplyNum
- overload operator "*" for (3x3 matrix)*(scalar)
- and (scalar)*(3x3 matrix)
- MmultiplyV
- overload operator "*" for (3x3 matrix)*(Vector3)
- VmultiplyM
- overload operator "*" for (Vector3)*(3x3 matrix)
- MeqM
- overload operator "==" to assert
- the equality between two 3x3 matrices
- MneM
- overload operator "!=" to assert
- the inequality between two 3x3 matrices
- ToMatrix
- change the form of a 3x3 matrix from that of class Matrix3
- to that of class matrix -Template V Multiply M -tamplate classes for (Vector3)*(3x3 matrix)
◆ get_random_matrix3()
◆ matrix_a
◆ matrix_a1
◆ matrix_b
◆ output
std::string Matrix3Test::output |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/test/matrix3_test.cpp