]> OCCT Git - occt.git/commit
Foundation Classes, math_Matrix - Remove redundant checks and inline methods (#814)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 9 Nov 2025 15:27:10 +0000 (15:27 +0000)
committerGitHub <noreply@github.com>
Sun, 9 Nov 2025 15:27:10 +0000 (15:27 +0000)
commit989f00b9c4ed06a1a7327809b4ddec6820b2f8a5
tree7f23975f375c9392ad9361fbf7ffffad1e2bedef
parent27e61c089c5908dba54afae4ca7fe2bf793a2881
Foundation Classes, math_Matrix - Remove redundant checks and inline methods (#814)

- Eliminated redundant member variables (`LowerRowIndex`, `UpperRowIndex`, `LowerColIndex`, `UpperColIndex`) that duplicated information already tracked by the underlying `math_DoubleTab Array`
- Inlined most `math_Matrix` methods into the `.lxx` file for better performance
- Updated all access patterns to use the `Array` member's methods directly
- Added `noexcept` qualifiers to non-throwing methods
- Modernized operator implementations (e.g., `operator-()` now returns `const`)
src/FoundationClasses/TKMath/math/math_DoubleTab.hxx
src/FoundationClasses/TKMath/math/math_Matrix.cxx
src/FoundationClasses/TKMath/math/math_Matrix.hxx
src/FoundationClasses/TKMath/math/math_Matrix.lxx
src/FoundationClasses/TKMath/math/math_VectorBase.lxx