|
MiniTensor Version of the Day
|
The classes. More...
#include <MiniTensor_Vector.h>
Public Types | |
| using | Store = vector_store< T, N > |
Public Types inherited from minitensor::TensorBase< T, ST > | |
| using | value_type = T |
| using | storage_type = ST |
Public Member Functions | |
| KOKKOS_INLINE_FUNCTION | Vector () |
| KOKKOS_INLINE_FUNCTION | Vector (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | Vector (Filler const value) |
| KOKKOS_INLINE_FUNCTION | Vector (Index const dimension, Filler const value) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | Vector (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | Vector (Index const dimension, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | Vector (Vector< T, N > const &v) |
| KOKKOS_INLINE_FUNCTION | Vector (T const &s0, T const &s1) |
| KOKKOS_INLINE_FUNCTION | Vector (T const &s0, T const &s1, T const &s2) |
| virtual KOKKOS_INLINE_FUNCTION | ~Vector () |
| KOKKOS_INLINE_FUNCTION T const & | operator() (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | operator() (Index const i) |
| KOKKOS_INLINE_FUNCTION T const & | operator() (Index const i, Index const) const |
| KOKKOS_INLINE_FUNCTION T & | operator() (Index const i, Index const) |
| KOKKOS_INLINE_FUNCTION Index | get_dimension () const |
| KOKKOS_INLINE_FUNCTION Index | get_num_rows () const |
| KOKKOS_INLINE_FUNCTION Index | get_num_cols () const |
| KOKKOS_INLINE_FUNCTION void | set_dimension (Index const dimension) |
Public Member Functions inherited from minitensor::TensorBase< T, ST > | |
| KOKKOS_INLINE_FUNCTION | TensorBase () |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order) |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, Filler const value) |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, T const &s) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | TensorBase (Index const dimension, Index const order, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | TensorBase (TensorBase< T, ST > const &X) |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | operator= (TensorBase< T, ST > const &X) |
| KOKKOS_INLINE_FUNCTION T const & | operator[] (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | operator[] (Index const i) |
| KOKKOS_INLINE_FUNCTION Index | get_number_components () const |
| KOKKOS_INLINE_FUNCTION void | fill (Filler const value) |
| KOKKOS_INLINE_FUNCTION void | fill (T const &s) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION void | fill (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION void | fill (T const *data_ptr, ComponentOrder const component_order) |
| template<typename S , typename SS > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | operator+= (TensorBase< S, SS > const &X) |
| template<typename S , typename SS > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | operator-= (TensorBase< S, SS > const &X) |
| template<typename S > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | operator*= (S const &X) |
| template<typename S > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | operator/= (S const &X) |
| KOKKOS_INLINE_FUNCTION void | clear () |
Static Public Member Functions | |
| static KOKKOS_INLINE_FUNCTION constexpr Index | get_order () |
Static Public Attributes | |
| static constexpr Index | ORDER = 1 |
| static constexpr bool | IS_DYNAMIC = N == DYNAMIC |
Additional Inherited Members | |
Protected Member Functions inherited from minitensor::TensorBase< T, ST > | |
| KOKKOS_INLINE_FUNCTION void | set_number_components (Index const number_components) |
| KOKKOS_INLINE_FUNCTION Index | get_dimension (Index const order) const |
| KOKKOS_INLINE_FUNCTION void | set_dimension (Index const dimension, Index const order) |
Protected Attributes inherited from minitensor::TensorBase< T, ST > | |
| ST | components_ |
| Index | dimension_ {0} |
The classes.
Vector class.
Definition at line 36 of file MiniTensor_Vector.h.