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