|
akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
|
Endomorphism operator CRTP base. More...
#include <endomorphism.hpp>
Public Types | |
| using | T = matrix_scalar_t< Mat > |
| alias helpers for types | |
| using | ScalarT = real_type_t< T > |
| using | ComplexT = std::complex< ScalarT > |
Public Member Functions | |
| constexpr const T & | operator() (std::size_t i, std::size_t j) const |
| get element at (i,j) index | |
| constexpr T & | operator() (std::size_t i, std::size_t j) |
| get element at (i,j) index | |
| constexpr Derived & | self () |
| self | |
| constexpr const Derived & | self () const |
| self | |
Static Public Attributes | |
| static constexpr std::size_t | N = mat_rows_v<Mat> |
| helper to extract N | |
Endomorphism operator CRTP base.
forward declaration for linear operator
Definition at line 16 of file endomorphism.hpp.
| using linalg::Endomorphism< Mat, Derived >::ComplexT = std::complex<ScalarT> |
Definition at line 20 of file endomorphism.hpp.
| using linalg::Endomorphism< Mat, Derived >::ScalarT = real_type_t<T> |
Definition at line 19 of file endomorphism.hpp.
| using linalg::Endomorphism< Mat, Derived >::T = matrix_scalar_t<Mat> |
alias helpers for types
Definition at line 18 of file endomorphism.hpp.
|
inlineconstexpr |
get element at (i,j) index
| row | index |
| col | index |
Definition at line 45 of file endomorphism.hpp.
References linalg::mat_rows_v, and linalg::Endomorphism< Mat, Derived >::self().
|
inlineconstexpr |
get element at (i,j) index
| row | index |
| col | index |
Definition at line 33 of file endomorphism.hpp.
References linalg::mat_rows_v, and linalg::Endomorphism< Mat, Derived >::self().
|
inlineconstexpr |
self
Definition at line 52 of file endomorphism.hpp.
References linalg::mat_rows_v.
Referenced by linalg::Endomorphism< Mat, Derived >::operator()(), and linalg::Endomorphism< Mat, Derived >::operator()().
|
inlineconstexpr |
self
Definition at line 59 of file endomorphism.hpp.
References linalg::mat_rows_v.
|
staticconstexpr |
helper to extract N
Definition at line 23 of file endomorphism.hpp.
Referenced by linalg::LDL< Mat >::apply().