Class to represent a matrix (without owning the data, this just wraps a pointer).
More...
|
| | CMatrixView (T *ptr=nullptr, Index cols=0) |
| |
| template<class U > |
| | CMatrixView (const CMatrixView< U > &other) |
| |
| | CMatrixView (su2matrix< Scalar > &mat) |
| |
| template<class U = T, su2enable_if< std::is_const< U >::value > = 0> |
| | CMatrixView (const su2matrix< Scalar > &mat) |
| |
| const Scalar * | operator[] (Index i) const noexcept |
| |
| const Scalar & | operator() (Index i, Index j) const noexcept |
| |
| template<class StaticContainer > |
| StaticContainer | get (Index i, Index start=0) const noexcept |
| | Return copy of data in a static size container (see C2DContainer::get).
|
| |
| template<class StaticContainer , class U , size_t N> |
| StaticContainer | get (simd::Array< U, N > i, Index start=0) const noexcept |
| | SIMD gather version of get, one row per lane.
|
| |
| template<class U = T, su2enable_if<!std::is_const< U >::value > = 0> |
| Scalar * | operator[] (Index i) noexcept |
| |
| template<class U = T, su2enable_if<!std::is_const< U >::value > = 0> |
| Scalar & | operator() (Index i, Index j) noexcept |
| |
template<class T>
class CMatrixView< T >
Class to represent a matrix (without owning the data, this just wraps a pointer).