Skip to content

FCT (tensors): complete full API for second-order tensor classes - #53

Merged
itchinda merged 1 commit into
masterfrom
VersionAnterieur
May 12, 2026
Merged

FCT (tensors): complete full API for second-order tensor classes#53
itchinda merged 1 commit into
masterfrom
VersionAnterieur

Conversation

@itchinda

Copy link
Copy Markdown
Owner
  • Refactored component access to use namespace indices (idTO2, idSTO2, idSSTO2) instead of magic numbers for improved readability and safety.
  • Implemented global arithmetic operators (+, -, *) between TensorO2, SymTensorO2, and SkewSymTensorO2.
  • Added advanced algebraic methods to SymTensorO2 (determinant, inverse, eigenvalues via Cardan, deviatoric, outer product).
  • Added rotation and axial methods to SkewSymTensorO2 (axialVector, fromAxialVector, Rodrigues' exp formula).
  • Enforced [[nodiscard]], constexpr, and noexcept qualifiers across the API for maximum compile-time evaluation and performance.
  • Added comprehensive Google Test suite to validate SkewSymTensorO2 behavior and mathematical properties.

- Refactored component access to use namespace indices (idTO2, idSTO2, idSSTO2) instead of magic numbers for improved readability and safety.
- Implemented global arithmetic operators (+, -, *) between TensorO2, SymTensorO2, and SkewSymTensorO2.
- Added advanced algebraic methods to SymTensorO2 (determinant, inverse, eigenvalues via Cardan, deviatoric, outer product).
- Added rotation and axial methods to SkewSymTensorO2 (axialVector, fromAxialVector, Rodrigues' exp formula).
- Enforced [[nodiscard]], constexpr, and noexcept qualifiers across the API for maximum compile-time evaluation and performance.
- Added comprehensive Google Test suite to validate SkewSymTensorO2 behavior and mathematical properties.
@itchinda
itchinda merged commit 382e053 into master May 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant