Implement Matrix3x3 missing members and documentation
All checks were successful
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 1m7s
All checks were successful
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 1m7s
This commit is contained in:
@@ -124,7 +124,7 @@ namespace J3ML::LinearAlgebra {
|
||||
return a*(e*i - f*h) + b*(f*g - d*i) + c*(d*h - e*g);
|
||||
}
|
||||
|
||||
Matrix3x3 Matrix3x3::Inverse() const {
|
||||
Matrix3x3 Matrix3x3::Inverted() const {
|
||||
// Compute the inverse directly using Cramer's rule
|
||||
// Warning: This method is numerically very unstable!
|
||||
float d = Determinant();
|
||||
@@ -148,7 +148,7 @@ namespace J3ML::LinearAlgebra {
|
||||
return i;
|
||||
}
|
||||
|
||||
Matrix3x3 Matrix3x3::Transpose() const {
|
||||
Matrix3x3 Matrix3x3::Transposed() const {
|
||||
auto m00 = this->elems[0][0];
|
||||
auto m01 = this->elems[0][1];
|
||||
auto m02 = this->elems[0][2];
|
||||
|
Reference in New Issue
Block a user