|
lin
|
Proxy to a lazily evalutated transpose operation. More...
#include <lin/core/operations/mapping_transpose.hpp>
Public Types | |
| typedef traits< MappingTranspose< C > > | Traits |
| Traits information for this type. More... | |
Public Types inherited from lin::internal::Mapping< MappingTranspose< C > > | |
| typedef traits< MappingTranspose< C > > | Traits |
| Traits information for this type. More... | |
Public Types inherited from lin::internal::Stream< MappingTranspose< C > > | |
| typedef traits< MappingTranspose< C > > | Traits |
| Traits information for this type. More... | |
Public Member Functions | |
| constexpr | MappingTranspose (MappingTranspose< C > const &)=default |
| constexpr | MappingTranspose (MappingTranspose< C > &&)=default |
| constexpr MappingTranspose< C > & | operator= (MappingTranspose< C > const &)=default |
| constexpr MappingTranspose< C > & | operator= (MappingTranspose< C > &&)=default |
| constexpr | MappingTranspose (Mapping< C > &c) |
| Constructs a proxy to a tensor transpose operation. More... | |
| constexpr size_t | rows () const |
| constexpr size_t | cols () const |
| constexpr Traits::elem_t & | operator() (size_t i, size_t j) |
| Read write access to the requested tensor element. More... | |
| constexpr Traits::elem_t & | operator() (size_t i) |
| Read write access to the requested tensor element. More... | |
Public Member Functions inherited from lin::internal::Mapping< MappingTranspose< C > > | |
| constexpr | Mapping (Mapping< MappingTranspose< C > > const &)=default |
| constexpr | Mapping (Mapping< MappingTranspose< C > > &&)=default |
| constexpr Mapping< MappingTranspose< C > > & | operator= (Mapping< MappingTranspose< C > > const &)=default |
| constexpr Mapping< MappingTranspose< C > > & | operator= (Mapping< MappingTranspose< C > > &&)=default |
| constexpr MappingTranspose< C > & | operator= (std::initializer_list< T > const &list) |
| Copy an initializer list's elements into the tensor's elements. More... | |
| constexpr MappingTranspose< C > & | operator= (Stream< C > const &s) |
| Copy another tensor's elements into this tenosr's elements. More... | |
| constexpr Traits::elem_t & | operator() (size_t i, size_t j) |
| Provides read and write access to tensor elements. More... | |
| 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) |
| Provides read and write 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) |
| Provides read and write access to tensor elements. More... | |
| constexpr Traits::elem_t | operator[] (size_t i) const |
| Provides read only access to tensor elements. More... | |
Public Member Functions inherited from lin::internal::Stream< MappingTranspose< C > > | |
| constexpr | Stream (Stream< MappingTranspose< C > > const &)=default |
| constexpr | Stream (Stream< MappingTranspose< C > > &&)=default |
| constexpr Stream< MappingTranspose< C > > & | operator= (Stream< MappingTranspose< C > > const &)=default |
| constexpr Stream< MappingTranspose< C > > & | operator= (Stream< MappingTranspose< C > > &&)=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... | |
Private Attributes | |
| Mapping< C > & | c |
| Mapping reference. | |
Additional Inherited Members | |
Protected Member Functions inherited from lin::internal::Stream< MappingTranspose< C > > | |
| constexpr MappingTranspose< C > & | derived () |
| constexpr MappingTranspose< C >const & | derived () const |
Proxy to a lazily evalutated transpose operation.
| Cs | Tensor type. |
Details to come...
| typedef traits<MappingTranspose<C> > lin::internal::MappingTranspose< C >::Traits |
Traits information for this type.
|
inline |
Constructs a proxy to a tensor transpose operation.
| c | Tensor mapping. |
|
inline |
|
inline |
|
inline |
Read write access to the requested tensor element.
| i | Row index. |
| j | Column index. |
|
inline |
Read write access to the requested tensor element.
| i | Index. |
Element access proceeds as if all the elements of the tensor stream were flattened into an array in row major order.
1.8.11