lin
|
Generic constant matrix view. More...
#include <lin/views/const_matrix_view.hpp>
Public Types | |
typedef traits< ConstMatrixView< T, R, C, MR, MC > > | Traits |
Traits information for this type. More... | |
![]() | |
typedef traits< ConstMatrixView< T, R, C, MR, MC > > | Traits |
Traits information for this type. More... | |
![]() | |
typedef traits< ConstMatrixView< T, R, C, MR, MC > > | Traits |
Traits information for this type. More... | |
![]() | |
typedef traits< ConstMatrixView< T, R, C, MR, MC > > | Traits |
Traits information for this type. More... | |
Public Member Functions | |
constexpr | ConstMatrixView (ConstMatrixView< T, R, C, MR, MC > const &)=default |
constexpr | ConstMatrixView (ConstMatrixView< T, R, C, MR, MC > &&)=default |
constexpr ConstMatrixView< T, R, C, MR, MC > & | operator= (ConstMatrixView< T, R, C, MR, MC > const &)=default |
constexpr ConstMatrixView< T, R, C, MR, MC > & | operator= (ConstMatrixView< T, R, C, MR, MC > &&)=default |
![]() | |
constexpr | ConstTensorView (ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr | ConstTensorView (ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr | ConstTensorView (typename Traits::elem_t const *elems) |
Constructs a new constant tensor tensor view with the provided backing array. More... | |
constexpr | ConstTensorView (typename Traits::elem_t const *elems, size_t r, size_t c) |
Constructs a new constant tensor tensor view with the provided backing array and requested dimensions. More... | |
constexpr ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > & | operator= (ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > & | operator= (ConstTensorView< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr Traits::elem_t const * | data () const |
Retrives a constant pointer to the element backing array. More... | |
![]() | |
constexpr | ConstBase (ConstBase< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr | ConstBase (ConstBase< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr ConstBase< ConstMatrixView< T, R, C, MR, MC > > & | operator= (ConstBase< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr ConstBase< ConstMatrixView< T, R, C, MR, MC > > & | operator= (ConstBase< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr Traits::elem_t const * | data () const |
Retrives a constant pointer to the element backing array. More... | |
constexpr Traits::elem_t const & | operator() (size_t i, size_t j) const |
Provides read only access to tensor elements. More... | |
constexpr Traits::elem_t const & | operator() (size_t i) |
Provides read only access to tensor elements. More... | |
![]() | |
constexpr | Stream (Stream< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr | Stream (Stream< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr Stream< ConstMatrixView< T, R, C, MR, MC > > & | operator= (Stream< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr Stream< ConstMatrixView< T, R, C, MR, MC > > & | operator= (Stream< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr size_t | rows () const |
constexpr size_t | cols () const |
constexpr size_t | size () const |
constexpr Traits::elem_t | operator() (size_t i, size_t j) const |
Provides read only access to tensor elements. More... | |
constexpr Traits::elem_t | operator() (size_t i) const |
Provides read only access to tensor elements. More... | |
constexpr Traits::elem_t | operator[] (size_t i) const |
Provides read only access to tensor elements. More... | |
constexpr Traits::eval_t | eval () const |
Forces evaluation of this stream to a value backed type. More... | |
![]() | |
constexpr | Dimensions (Dimensions< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr | Dimensions (Dimensions< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr Dimensions< ConstMatrixView< T, R, C, MR, MC > > & | operator= (Dimensions< ConstMatrixView< T, R, C, MR, MC > > const &)=default |
constexpr Dimensions< ConstMatrixView< T, R, C, MR, MC > > & | operator= (Dimensions< ConstMatrixView< T, R, C, MR, MC > > &&)=default |
constexpr size_t | rows () const |
constexpr size_t | cols () const |
constexpr void | resize (size_t r, size_t c) |
Resizes a tensor's dimensions. More... | |
Additional Inherited Members | |
![]() | |
constexpr ConstMatrixView< T, R, C, MR, MC > & | derived () |
constexpr ConstMatrixView< T, R, C, MR, MC >const & | derived () const |
Generic constant matrix view.
T | Constant matrix view element type. |
R | Rows at compile time. |
C | Columns at compile time. |
MR | Maximum rows at compile time. |
MC | Maximum columns at compile time. |
The template parameters specify the matrix view's traits. The traits must qualify this type as a matrix.
typedef traits<ConstMatrixView<T, R, C, MR, MC> > lin::internal::ConstMatrixView< T, R, C, MR, MC >::Traits |
Traits information for this type.