![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/assert.hpp"#include "shambackends/sycl.hpp"#include "shammath/matrix_op.hpp"#include <experimental/mdspan>#include <array>
Include dependency graph for matrix.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | shammath::mat< T, m, n > |
| Matrix class based on std::array storage and mdspan. More... | |
| class | shammath::vec< T, n > |
| Vector class based on std::array storage and mdspan. More... | |
| struct | sham::VectorProperties< shammath::mat< T, m, n > > |
Namespaces | |
| namespace | shammath |
| namespace for math utility | |
Typedefs | |
| using | f32_3x3 = shammath::mat< f32, 3, 3 > |
| Alias for 3x3 float matrix. | |
| using | f32_4x4 = shammath::mat< f32, 4, 4 > |
| Alias for 4x4 float matrix. | |
| using | f64_3x3 = shammath::mat< f64, 3, 3 > |
| Alias for 3x3 double matrix. | |
| using | f64_4x4 = shammath::mat< f64, 4, 4 > |
| Alias for 4x4 double matrix. | |
Functions | |
| template<class T , int n> | |
| constexpr mat< T, n, n > | shammath::mat_identity () |
| Returns the identity matrix of size n. | |
Definition in file matrix.hpp.
| using f32_3x3 = shammath::mat<f32, 3, 3> |
Alias for 3x3 float matrix.
Definition at line 154 of file matrix.hpp.
| using f32_4x4 = shammath::mat<f32, 4, 4> |
Alias for 4x4 float matrix.
Definition at line 155 of file matrix.hpp.
| using f64_3x3 = shammath::mat<f64, 3, 3> |
Alias for 3x3 double matrix.
Definition at line 156 of file matrix.hpp.
| using f64_4x4 = shammath::mat<f64, 4, 4> |
Alias for 4x4 double matrix.
Definition at line 157 of file matrix.hpp.