|
|
constexpr | ConstRowVectorView (ConstRowVectorView< T, N, MN > const &)=default |
| |
|
constexpr | ConstRowVectorView (ConstRowVectorView< T, N, MN > &&)=default |
| |
|
constexpr ConstRowVectorView< T, N, MN > & | operator= (ConstRowVectorView< T, N, MN > const &)=default |
| |
|
constexpr ConstRowVectorView< T, N, MN > & | operator= (ConstRowVectorView< T, N, MN > &&)=default |
| |
| constexpr | ConstRowVectorView (typename Traits::elem_t const *elems, size_t n) |
| | Constructs a vector view with the provided backing array and requested length. More...
|
| |
| constexpr void | resize (size_t n) |
| | Resizes the row vector view's length. More...
|
| |
|
constexpr | ConstTensorView (ConstTensorView< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr | ConstTensorView (ConstTensorView< ConstRowVectorView< T, N, MN > > &&)=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< ConstRowVectorView< T, N, MN > > & | operator= (ConstTensorView< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr ConstTensorView< ConstRowVectorView< T, N, MN > > & | operator= (ConstTensorView< ConstRowVectorView< T, N, MN > > &&)=default |
| |
| constexpr Traits::elem_t const * | data () const |
| | Retrives a constant pointer to the element backing array. More...
|
| |
|
constexpr | ConstBase (ConstBase< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr | ConstBase (ConstBase< ConstRowVectorView< T, N, MN > > &&)=default |
| |
|
constexpr ConstBase< ConstRowVectorView< T, N, MN > > & | operator= (ConstBase< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr ConstBase< ConstRowVectorView< T, N, MN > > & | operator= (ConstBase< ConstRowVectorView< T, N, MN > > &&)=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< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr | Stream (Stream< ConstRowVectorView< T, N, MN > > &&)=default |
| |
|
constexpr Stream< ConstRowVectorView< T, N, MN > > & | operator= (Stream< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr Stream< ConstRowVectorView< T, N, MN > > & | operator= (Stream< ConstRowVectorView< 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< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr | Dimensions (Dimensions< ConstRowVectorView< T, N, MN > > &&)=default |
| |
|
constexpr Dimensions< ConstRowVectorView< T, N, MN > > & | operator= (Dimensions< ConstRowVectorView< T, N, MN > > const &)=default |
| |
|
constexpr Dimensions< ConstRowVectorView< T, N, MN > > & | operator= (Dimensions< ConstRowVectorView< 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::internal::ConstRowVectorView< T, N, MN >
Generic constant row vector view.
- Template Parameters
-
| T | Constant row vector view 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 views's traits. The traits must qualify this type as a row vector.
- See also
- internal::traits
-
internal::is_row_vector