lin
|
Proxy to a lazily evalutated transpose operation. More...
#include <lin/core/operations/stream_transpose.hpp>
Public Types | |
typedef traits< StreamTranspose< C > > | Traits |
Traits information for this type. More... | |
![]() | |
typedef traits< StreamTranspose< C > > | Traits |
Traits information for this type. More... | |
Public Member Functions | |
constexpr | StreamTranspose (StreamTranspose< C > const &)=default |
constexpr | StreamTranspose (StreamTranspose< C > &&)=default |
constexpr StreamTranspose< C > & | operator= (StreamTranspose< C > const &)=default |
constexpr StreamTranspose< C > & | operator= (StreamTranspose< C > &&)=default |
constexpr | StreamTranspose (Stream< C > const &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) const |
Lazily evaluates the requested tensor element. More... | |
constexpr Traits::elem_t | operator() (size_t i) const |
Lazily evaluates the requested tensor element. More... | |
![]() | |
constexpr | Stream (Stream< StreamTranspose< C > > const &)=default |
constexpr | Stream (Stream< StreamTranspose< C > > &&)=default |
constexpr Stream< StreamTranspose< C > > & | operator= (Stream< StreamTranspose< C > > const &)=default |
constexpr Stream< StreamTranspose< C > > & | operator= (Stream< StreamTranspose< 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 | |
Stream< C > const & | c |
Stream reference. | |
Additional Inherited Members | |
![]() | |
constexpr StreamTranspose< C > & | derived () |
constexpr StreamTranspose< C >const & | derived () const |
Proxy to a lazily evalutated transpose operation.
Cs | Tensor type. |
Details to come...
typedef traits<StreamTranspose<C> > lin::internal::StreamTranspose< C >::Traits |
Traits information for this type.
|
inline |
Constructs a proxy to a tensor transpose operation.
c | Tensor stream. |
|
inline |
|
inline |
|
inline |
Lazily evaluates the requested tensor element.
i | Row index. |
j | Column index. |
|
inline |
Lazily evaluates 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.