|
|
constexpr | RowVector (RowVector< T, N, MN > const &)=default |
| |
|
constexpr | RowVector (RowVector< T, N, MN > &&)=default |
| |
|
constexpr RowVector< T, N, MN > & | operator= (RowVector< T, N, MN > const &)=default |
| |
|
constexpr RowVector< T, N, MN > & | operator= (RowVector< T, N, MN > &&)=default |
| |
| constexpr | RowVector (size_t n) |
| | Constructs a row vector with zero initialized elements are the requested length. More...
|
| |
| template<typename U > |
| constexpr | RowVector (size_t n, std::initializer_list< U > const &list) |
| | Constructs a row vector with elements initialized from an initializer list and the requested length. More...
|
| |
| constexpr void | resize (size_t n) |
| | Resizes the row vector's length. More...
|
| |
|
constexpr | Tensor (Tensor< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr | Tensor (Tensor< RowVector< T, N, MN > > &&)=default |
| |
| constexpr | Tensor () |
| | Constructs a new tensor with zeros initialized elements and the largest allowable dimensions. More...
|
| |
| constexpr | Tensor (size_t r, size_t c) |
| | Constructs a tensor with zeros initialized elements and the requested dimensions. More...
|
| |
| constexpr | Tensor (std::initializer_list< T > const &list) |
| | Constructs a tensor with elements initialized from an initializer list. More...
|
| |
| constexpr | Tensor (size_t r, size_t c, std::initializer_list< T > const &list) |
| | Constructs a tensor with elements initialized from an initializer list and the requested dimensions. More...
|
| |
| constexpr | Tensor (Stream< C > const &s) |
| | Constructs a tensor by copying in dimensions and elements from another tensor stream. More...
|
| |
|
constexpr Tensor< RowVector< T, N, MN > > & | operator= (Tensor< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr Tensor< RowVector< T, N, MN > > & | operator= (Tensor< RowVector< T, N, MN > > &&)=default |
| |
| constexpr Traits::elem_t * | data () |
| | Retrives a pointer to the element backing array. More...
|
| |
|
constexpr | Base (Base< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr | Base (Base< RowVector< T, N, MN > > &&)=default |
| |
|
constexpr Base< RowVector< T, N, MN > > & | operator= (Base< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr Base< RowVector< T, N, MN > > & | operator= (Base< RowVector< T, N, MN > > &&)=default |
| |
| constexpr Traits::elem_t * | data () |
| | Retrives a pointer to the element backing array. More...
|
| |
| constexpr Traits::elem_t const * | data () const |
| | Retrives a constant pointer to the element backing array. 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) |
| | Provides read and write access to tensor elements. More...
|
| |
|
constexpr | Mapping (Mapping< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr | Mapping (Mapping< RowVector< T, N, MN > > &&)=default |
| |
|
constexpr Mapping< RowVector< T, N, MN > > & | operator= (Mapping< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr Mapping< RowVector< T, N, MN > > & | operator= (Mapping< RowVector< T, N, MN > > &&)=default |
| |
| constexpr RowVector< T, N, MN > & | operator= (std::initializer_list< T > const &list) |
| | Copy an initializer list's elements into the tensor's elements. More...
|
| |
| constexpr RowVector< T, N, MN > & | 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...
|
| |
|
constexpr | Stream (Stream< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr | Stream (Stream< RowVector< T, N, MN > > &&)=default |
| |
|
constexpr Stream< RowVector< T, N, MN > > & | operator= (Stream< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr Stream< RowVector< T, N, MN > > & | operator= (Stream< RowVector< T, N, MN > > &&)=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< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr | Dimensions (Dimensions< RowVector< T, N, MN > > &&)=default |
| |
|
constexpr Dimensions< RowVector< T, N, MN > > & | operator= (Dimensions< RowVector< T, N, MN > > const &)=default |
| |
|
constexpr Dimensions< RowVector< T, N, MN > > & | operator= (Dimensions< RowVector< T, N, MN > > &&)=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...
|
| |
template<typename T, size_t N, size_t MN = N>
class lin::RowVector< T, N, MN >
Generic row vector.
- Template Parameters
-
| T | Row vector element type. |
| N | Number of elements at compile time (i.e. number of rows). |
| MN | Maximum number of elements (i.e. maximum number of rows). |
The template parameters specify the row vector's traits. The traits must qualify this type as a row vector.
- See also
- internal::traits
-
internal::is_row_vector