|
MiniTensor Version of the Day
|
Vectors, second- to fourth-order tensors, and general matrices, with static (compile-time) or dynamic storage. More...
Namespaces | |
| namespace | minitensor |
Functions | |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Matrix< T, M, N >::get_order () |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix () |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Index const rows, Index const cols) |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Index const rows, Index cols, Filler const value) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Source const source, Index const rows, Index const cols, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Index const rows, Index cols, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::Matrix (Matrix< T, M, N > const &A) |
| virtual KOKKOS_INLINE_FUNCTION | minitensor::Matrix< T, M, N >::~Matrix () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Matrix< T, M, N >::operator() (Index const i, Index const j) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Matrix< T, M, N >::operator() (Index const i, Index const j) |
| std::pair< Index, Index > | minitensor::Matrix< T, M, N >::get_dimensions () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Matrix< T, M, N >::get_num_rows () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Matrix< T, M, N >::get_num_cols () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Matrix< T, M, N >::set_dimensions (Index const rows, Index const cols) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator+ (Matrix< S, M, N > const &A, Matrix< T, M, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator- (Matrix< S, M, N > const &A, Matrix< T, M, N > const &B) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > | minitensor::operator- (Matrix< T, M, N > const &A) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator== (Matrix< T, M, N > const &A, Matrix< T, M, N > const &B) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator!= (Matrix< T, M, N > const &A, Matrix< T, M, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, M > | minitensor::operator* (Matrix< T, M, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator* (Vector< S, M > const &u, Matrix< T, M, N > const &A) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator* (Matrix< T, M, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator* (Tensor< S, M > const &A, Matrix< T, M, N > const &B) |
| template<typename S , typename T , Index M, Index P, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator* (Matrix< S, M, P > const &A, Matrix< T, P, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_matrix< Promote< S, T >, M, N > >::type | minitensor::operator* (S const &s, Matrix< T, M, N > const &A) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_matrix< Promote< S, T >, M, N > >::type | minitensor::operator* (Matrix< T, M, N > const &A, S const &s) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator/ (Matrix< T, M, N > const &A, S const &s) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::operator/ (S const &s, Matrix< T, M, N > const &A) |
| template<typename T , Index M, Index N> | |
| std::istream & | minitensor::operator>> (std::istream &is, Matrix< T, M, N > &A) |
| template<typename T , Index M, Index N> | |
| std::ostream & | minitensor::operator<< (std::ostream &os, Matrix< T, M, N > const &A) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::row (Matrix< T, M, N > const &A, Index const i) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, M > | minitensor::col (Matrix< T, M, N > const &A, Index const j) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, M > | minitensor::dot (Matrix< T, M, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::dot (Vector< S, M > const &u, Matrix< T, M, N > const &A) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::dot (Matrix< T, M, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::dot (Tensor< S, M > const &A, Matrix< T, M, N > const &B) |
| template<typename S , typename T , Index M, Index P, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::dot (Matrix< S, M, P > const &A, Matrix< T, P, N > const &B) |
| template<typename S , typename T , Index M, Index P, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::t_dot (Matrix< S, P, M > const &A, Matrix< T, P, N > const &B) |
| template<typename S , typename T , Index M, Index P, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::dot_t (Matrix< S, M, P > const &A, Matrix< T, N, P > const &B) |
| template<typename S , typename T , Index M, Index P, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::t_dot_t (Matrix< S, P, M > const &A, Matrix< T, N, P > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type | minitensor::dotdot (Matrix< S, M, N > const &A, Matrix< T, M, N > const &B) |
| template<typename S , typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > | minitensor::matrix (Vector< S, M > const &u, Vector< T, N > const &v) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > | minitensor::transpose (Matrix< T, N, M > const &A) |
| template<typename T , Index M, Index N> | |
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > | minitensor::adjoint (Matrix< T, N, M > const &A) |
| template<typename Store > | |
| void | minitensor::check_dynamic (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, N >::Storage () |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, N >::Storage (Index const number_entries) |
| minitensor::Storage< T, N >::Storage (Storage< T, N > const &s)=delete | |
| Storage< T, N > & | minitensor::Storage< T, N >::operator= (Storage< T, N > const &s)=delete |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, N >::~Storage () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Storage< T, N >::operator[] (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Storage< T, N >::operator[] (Index const i) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Storage< T, N >::size () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Storage< T, N >::resize (Index const number_entries) |
| KOKKOS_INLINE_FUNCTION void | minitensor::Storage< T, N >::clear () |
| KOKKOS_INLINE_FUNCTION pointer_type | minitensor::Storage< T, N >::get_pointer () |
| KOKKOS_INLINE_FUNCTION const_pointer_type | minitensor::Storage< T, N >::get_const_pointer () const |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Storage< T, N >::static_size () |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, DYNAMIC >::Storage () |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, DYNAMIC >::Storage (Index const number_entries) |
| minitensor::Storage< T, DYNAMIC >::Storage (Storage< T, DYNAMIC > const &s)=delete | |
| Storage< T, DYNAMIC > & | minitensor::Storage< T, DYNAMIC >::operator= (Storage< T, DYNAMIC > const &s)=delete |
| KOKKOS_INLINE_FUNCTION | minitensor::Storage< T, DYNAMIC >::~Storage () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Storage< T, DYNAMIC >::operator[] (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Storage< T, DYNAMIC >::operator[] (Index const i) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Storage< T, DYNAMIC >::size () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Storage< T, DYNAMIC >::resize (Index const number_entries) |
| KOKKOS_INLINE_FUNCTION void | minitensor::Storage< T, DYNAMIC >::clear () |
| KOKKOS_INLINE_FUNCTION pointer_type | minitensor::Storage< T, DYNAMIC >::get_pointer () |
| KOKKOS_INLINE_FUNCTION const_pointer_type | minitensor::Storage< T, DYNAMIC >::get_const_pointer () const |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Storage< T, DYNAMIC >::static_size () |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Tensor< T, N >::get_order () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Index const dimension, Filler const value) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Index const dimension, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Tensor< T, N > const &A) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Tensor4< T, dimension_sqrt< N >::value > const &A) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (T const &s00, T const &s01, T const &s10, T const &s11) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (T const &s00, T const &s01, T const &s02, T const &s10, T const &s11, T const &s12, T const &s20, T const &s21, T const &s22) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (T const *data_ptr, ComponentOrder const component_order) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::Tensor (Index const dimension, T const *data_ptr, ComponentOrder const component_order) |
| virtual KOKKOS_INLINE_FUNCTION | minitensor::Tensor< T, N >::~Tensor () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Tensor< T, N >::operator() (Index const i, Index const j) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Tensor< T, N >::operator() (Index const i, Index const j) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Tensor< T, N >::get_dimension () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Tensor< T, N >::get_num_rows () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Tensor< T, N >::get_num_cols () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Tensor< T, N >::set_dimension (Index const dimension) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::operator+ (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::operator- (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::operator- (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator== (Tensor< T, N > const &A, Tensor< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator!= (Tensor< T, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator* (Tensor< T, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator* (Vector< S, N > const &u, Tensor< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::operator* (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor< Promote< S, T >, N > >::type | minitensor::operator* (S const &s, Tensor< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor< Promote< S, T >, N > >::type | minitensor::operator* (Tensor< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::operator/ (Tensor< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::operator/ (S const &s, Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| std::istream & | minitensor::operator>> (std::istream &is, Tensor< T, N > &A) |
| template<typename T , Index N> | |
| std::ostream & | minitensor::operator<< (std::ostream &os, Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::row (Tensor< T, N > const &A, Index const i) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::col (Tensor< T, N > const &A, Index const j) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::dot (Tensor< T, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::dot (Vector< S, N > const &u, Tensor< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::t_dot (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N, Index P> | |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, N, P > | minitensor::t_dot (Tensor< S, N > const &A, Matrix< T, N, P > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::t_dot (Tensor< S, N > const &A, Vector< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot_t (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::t_dot_t (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type | minitensor::dotdot (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dyad (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::bun (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::tensor (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::diag (Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::diag (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::zero () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::zero (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::zero (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::identity () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::identity (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::identity (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::eye () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::eye (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::eye (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::levi_civita_2 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::levi_civita_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::levi_civita_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::permutation_2 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::permutation_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::permutation_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::alternator_2 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const | minitensor::alternator_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const | minitensor::alternator_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::transpose (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::adjoint (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::sym (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::skew (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::skew (Vector< T, N > const &u) |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Tensor3< T, N >::get_order () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (Index const dimension, Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (Index const dimension, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::Tensor3 (Tensor3< T, N > const &A) |
| virtual KOKKOS_INLINE_FUNCTION | minitensor::Tensor3< T, N >::~Tensor3 () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Tensor3< T, N >::operator() (Index const i, Index const j, Index const k) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Tensor3< T, N >::operator() (Index const i, Index const j, Index const k) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Tensor3< T, N >::get_dimension () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Tensor3< T, N >::set_dimension (Index const dimension) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::operator+ (Tensor3< S, N > const &A, Tensor3< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::operator- (Tensor3< S, N > const &A, Tensor3< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > | minitensor::operator- (Tensor3< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator== (Tensor3< T, N > const &A, Tensor3< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator!= (Tensor3< T, N > const &A, Tensor3< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor3< Promote< S, T >, N > >::type | minitensor::operator* (S const &s, Tensor3< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor3< Promote< S, T >, N > >::type | minitensor::operator* (Tensor3< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::operator/ (Tensor3< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::operator/ (S const &s, Tensor3< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::dotdot (Tensor3< T, N > const &A, Tensor< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot (Tensor3< T, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot (Vector< S, N > const &u, Tensor3< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor3< T, N > const &A, Vector< S > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot2 (Vector< S, N > const &u, Tensor3< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot (Tensor3< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot (Tensor< S, N > const &A, Tensor3< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor3< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor< S, N > const &A, Tensor3< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::levi_civita_3 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const | minitensor::levi_civita_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::levi_civita_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::permutation_3 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const | minitensor::permutation_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::permutation_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::alternator_3 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const | minitensor::alternator_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const | minitensor::alternator_3 (Index const dimension) |
| template<typename T , Index N> | |
| std::istream & | minitensor::operator>> (std::istream &is, Tensor3< T, N > &A) |
| template<typename T , Index N> | |
| std::ostream & | minitensor::operator<< (std::ostream &os, Tensor3< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor3< T, N > const &A, Vector< S, N > const &u) |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Tensor4< T, N >::get_order () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 () |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Index const dimension, Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Index const dimension, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Tensor4< T, N > const &A) |
| KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::Tensor4 (Tensor< T, dimension_square< N >::value > const &A) |
| virtual KOKKOS_INLINE_FUNCTION | minitensor::Tensor4< T, N >::~Tensor4 () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Tensor4< T, N >::operator() (Index const i, Index const j, Index const k, Index const l) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Tensor4< T, N >::operator() (Index const i, Index const j, Index const k, Index const l) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Tensor4< T, N >::get_dimension () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Tensor4< T, N >::set_dimension (Index const dimension) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::operator+ (Tensor4< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::operator- (Tensor4< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > | minitensor::operator- (Tensor4< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator== (Tensor4< T, N > const &A, Tensor4< T, N > const &B) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator!= (Tensor4< T, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor4< Promote< S, T >, N > >::type | minitensor::operator* (S const &s, Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor4< Promote< S, T >, N > >::type | minitensor::operator* (Tensor4< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::operator/ (Tensor4< T, N > const &A, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::operator/ (S const &s, Tensor4< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > | minitensor::transpose (Tensor4< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_1 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::identity_1 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_1 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_2 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::identity_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_2 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_3 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::identity_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::identity_3 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::levi_civita_4 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::levi_civita_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::levi_civita_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::permutation_4 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::permutation_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::permutation_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::alternator_4 () |
| template<typename T > | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const | minitensor::alternator_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const | minitensor::alternator_4 (Index const dimension) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > | minitensor::inverse (Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot (Tensor4< T, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot (Vector< S, N > const &u, Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor4< T, N > const &A, Vector< S, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > | minitensor::dot2 (Vector< S, N > const &u, Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dotdot (Tensor4< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > | minitensor::dotdot (Tensor< S, N > const &B, Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dotdot (Tensor4< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::tensor (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::tensor2 (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::tensor3 (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot (Tensor4< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot_t (Tensor4< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot (Tensor< S > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::t_dot (Tensor< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor4< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot2_t (Tensor4< T, N > const &A, Tensor< S, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot2 (Tensor< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::t_dot2 (Tensor< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::odot (Tensor< S, N > const &A, Tensor< T, N > const &B) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::kronecker (Tensor< S, N > const &A, Tensor4< T, N > const &B) |
| template<typename T , Index N> | |
| std::istream & | minitensor::operator>> (std::istream &is, Tensor4< T, N > &A) |
| template<typename T , Index N> | |
| std::ostream & | minitensor::operator<< (std::ostream &os, Tensor4< T, N > const &A) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > | minitensor::dot (Tensor< S, N > const &A, Tensor4< T, N > const &B) |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase () |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order) |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, T const &s) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::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 | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (Index const dimension, Index const order, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::TensorBase< T, ST >::TensorBase (TensorBase< T, ST > const &X) |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | minitensor::TensorBase< T, ST >::operator= (TensorBase< T, ST > const &X) |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::TensorBase< T, ST >::operator[] (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::TensorBase< T, ST >::operator[] (Index const i) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::TensorBase< T, ST >::get_number_components () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (Filler const value) |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (T const &s) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::fill (T const *data_ptr, ComponentOrder const component_order) |
| template<typename S , typename SS > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | minitensor::TensorBase< T, ST >::operator+= (TensorBase< S, SS > const &X) |
| template<typename S , typename SS > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | minitensor::TensorBase< T, ST >::operator-= (TensorBase< S, SS > const &X) |
| template<typename S > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | minitensor::TensorBase< T, ST >::operator*= (S const &X) |
| template<typename S > | |
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & | minitensor::TensorBase< T, ST >::operator/= (S const &X) |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::clear () |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::set_number_components (Index const number_components) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::TensorBase< T, ST >::get_dimension (Index const order) const |
| KOKKOS_INLINE_FUNCTION void | minitensor::TensorBase< T, ST >::set_dimension (Index const dimension, Index const order) |
| template<typename T , typename ST > | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_f (TensorBase< T, ST > const &X) |
| template<typename T , typename ST > | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_f_square (TensorBase< T, ST > const &X) |
| template<typename R , typename S , typename T , typename SR , typename SS , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::add (TensorBase< R, SR > const &A, TensorBase< S, SS > const &B, TensorBase< T, ST > &C) |
| template<typename R , typename S , typename T , typename SR , typename SS , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::subtract (TensorBase< R, SR > const &A, TensorBase< S, SS > const &B, TensorBase< T, ST > &C) |
| template<typename T , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::minus (TensorBase< T, ST > const &A, TensorBase< T, ST > &B) |
| template<typename T , typename ST > | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::equal (TensorBase< T, ST > const &A, TensorBase< T, ST > const &B) |
| template<typename T , typename ST > | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::not_equal (TensorBase< T, ST > const &A, TensorBase< T, ST > const &B) |
| template<typename R , typename S , typename T , typename SR , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::scale (TensorBase< R, SR > const &A, S const &s, TensorBase< T, ST > &B) |
| template<typename R , typename S , typename T , typename SR , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::divide (TensorBase< R, SR > const &A, S const &s, TensorBase< T, ST > &B) |
| template<typename R , typename S , typename T , typename SR , typename ST > | |
| KOKKOS_INLINE_FUNCTION void | minitensor::split (TensorBase< R, SR > const &A, S const &s, TensorBase< T, ST > &B) |
| static KOKKOS_INLINE_FUNCTION constexpr Index | minitensor::Vector< T, N >::get_order () |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector () |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Index const dimension) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Filler const value) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Index const dimension, Filler const value) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, Index const dimension, ArrayT &data, Index index1) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4) |
| template<class ArrayT > | |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::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 | minitensor::Vector< T, N >::Vector (Source const source, Index const dimension, ArrayT &data, Index index1, Index index2, Index index3, Index index4, Index index5, Index index6) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Index const dimension, T const *data_ptr) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (Vector< T, N > const &v) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (T const &s0, T const &s1) |
| KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::Vector (T const &s0, T const &s1, T const &s2) |
| virtual KOKKOS_INLINE_FUNCTION | minitensor::Vector< T, N >::~Vector () |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Vector< T, N >::operator() (Index const i) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Vector< T, N >::operator() (Index const i) |
| KOKKOS_INLINE_FUNCTION T const & | minitensor::Vector< T, N >::operator() (Index const i, Index const) const |
| KOKKOS_INLINE_FUNCTION T & | minitensor::Vector< T, N >::operator() (Index const i, Index const) |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Vector< T, N >::get_dimension () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Vector< T, N >::get_num_rows () const |
| KOKKOS_INLINE_FUNCTION Index | minitensor::Vector< T, N >::get_num_cols () const |
| KOKKOS_INLINE_FUNCTION void | minitensor::Vector< T, N >::set_dimension (Index const dimension) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator+ (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator- (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::operator- (Vector< T, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type | minitensor::operator* (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator== (Vector< T, N > const &u, Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION bool | minitensor::operator!= (Vector< T, N > const &u, Vector< T, N > const &v) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type | minitensor::operator* (S const &s, Vector< T, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type | minitensor::operator* (Vector< T, N > const &u, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator/ (Vector< T, N > const &u, S const &s) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::operator/ (S const &s, Vector< T, N > const &u) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type | minitensor::dot (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename S , typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > | minitensor::cross (Vector< S, N > const &u, Vector< T, N > const &v) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm (Vector< T, N > const &u) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_square (Vector< T, N > const &u) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_1 (Vector< T, N > const &u) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_infinity (Vector< T, N > const &u) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Vector< T, N > | minitensor::unit (Vector< T, N > const &u) |
| template<typename T , Index N> | |
| std::pair< Vector< T, N >, T > | minitensor::house (Vector< T, N > const &x) |
| template<typename T , Index N> | |
| std::istream & | minitensor::operator>> (std::istream &is, Vector< T, N > &u) |
| template<typename T , Index N> | |
| std::ostream & | minitensor::operator<< (std::ostream &os, Vector< T, N > const &u) |
Vectors, second- to fourth-order tensors, and general matrices, with static (compile-time) or dynamic storage.
| using minitensor::matrix_store = typedef Storage<T, dimension_product<M, N>::value> |
Storage type alias for Matrix.
Definition at line 31 of file MiniTensor_Matrix.h.
| using minitensor::Matrix< T, M, N >::Store = matrix_store<T, M, N> |
Storage type
Definition at line 58 of file MiniTensor_Matrix.h.
| using minitensor::Storage< T, N >::value_type = T |
Type of the stored entries.
Definition at line 327 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, N >::pointer_type = T * |
Pointer to an entry.
Definition at line 331 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, N >::reference_type = T & |
Reference to an entry.
Definition at line 335 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, N >::const_pointer_type = T const * |
Pointer to a constant entry.
Definition at line 339 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, N >::const_reference_type = T const & |
Reference to a constant entry.
Definition at line 343 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, DYNAMIC >::value_type = T |
Type of the stored entries.
Definition at line 492 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, DYNAMIC >::pointer_type = T * |
Pointer to an entry.
Definition at line 496 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, DYNAMIC >::reference_type = T & |
Reference to an entry.
Definition at line 500 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, DYNAMIC >::const_pointer_type = T const * |
Pointer to a constant entry.
Definition at line 504 of file MiniTensor_Storage.h.
| using minitensor::Storage< T, DYNAMIC >::const_reference_type = T const & |
Reference to a constant entry.
Definition at line 508 of file MiniTensor_Storage.h.
| using minitensor::tensor_store = typedef Storage<T, dimension_power<N, 2>::value> |
Storage type alias for Tensor.
Definition at line 31 of file MiniTensor_Tensor.h.
| using minitensor::Tensor< T, N >::Store = tensor_store<T, N> |
Storage type
Definition at line 58 of file MiniTensor_Tensor.h.
| using minitensor::tensor3_store = typedef Storage<T, dimension_power<N, 3>::value> |
Storage type alias for Tensor3.
Definition at line 26 of file MiniTensor_Tensor3.h.
| using minitensor::Tensor3< T, N >::Store = tensor3_store<T, N> |
Storage type
Definition at line 53 of file MiniTensor_Tensor3.h.
| using minitensor::tensor4_store = typedef Storage<T, dimension_power<N, 4>::value> |
Storage type alias for Tensor4.
Definition at line 26 of file MiniTensor_Tensor4.h.
| using minitensor::Tensor4< T, N >::Store = tensor4_store<T, N> |
Storage type
Definition at line 53 of file MiniTensor_Tensor4.h.
| using minitensor::TensorBase< T, ST >::value_type = T |
Component type
Definition at line 68 of file MiniTensor_TensorBase.h.
| using minitensor::TensorBase< T, ST >::storage_type = ST |
Storage type
Definition at line 73 of file MiniTensor_TensorBase.h.
| using minitensor::vector_store = typedef Storage<T, dimension_power<N, 1>::value> |
Storage type alias for Vector.
Definition at line 30 of file MiniTensor_Vector.h.
| using minitensor::Vector< T, N >::Store = vector_store<T, N> |
Storage type
Definition at line 57 of file MiniTensor_Vector.h.
|
strong |
Type for setting components all at once
| Enumerator | |
|---|---|
| ZEROS | |
| ONES | |
| SEQUENCE | |
| RANDOM | |
| RANDOM_UNIFORM | |
| RANDOM_NORMAL | |
| NANS | |
Definition at line 29 of file MiniTensor_TensorBase.h.
|
strong |
Component ordering convention
| Enumerator | |
|---|---|
| CANONICAL | |
| SIERRA_FULL | |
| SIERRA_SYMMETRIC | |
Definition at line 42 of file MiniTensor_TensorBase.h.
|
strong |
|
inlinestaticconstexpr |
Matrix order
Definition at line 66 of file MiniTensor_Matrix.h.
|
explicit |
Constructor that initializes to NaNs
Definition at line 759 of file MiniTensor_Matrix.h.
|
explicit |
Constructor that initializes to NaNs.
| rows | Number of rows |
| cols | Number of columns |
Definition at line 768 of file MiniTensor_Matrix.h.
|
explicit |
Create tensor from a specified value
| value | all components are set equal to this |
Definition at line 780 of file MiniTensor_Matrix.h.
|
explicit |
Create matrix from a specified value.
| rows | Number of rows |
| cols | Number of columns |
| value | all components are set equal to this |
Definition at line 788 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1 | ||
| ) |
Create tensor from array
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
Definition at line 805 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
Definition at line 817 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
Definition at line 830 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
Definition at line 844 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
Definition at line 866 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
| index6 | sixth index into the array |
Definition at line 890 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
Definition at line 916 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
Definition at line 931 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
Definition at line 947 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
Definition at line 970 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
Definition at line 995 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Source const | source, |
| Index const | rows, | ||
| Index const | cols, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Create matrix from array.
| source | kind of data source (Source::ARRAY) |
| rows | Number of rows |
| cols | Number of columns |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
| index6 | sixth index into the array |
Definition at line 1022 of file MiniTensor_Matrix.h.
|
explicit |
Create matrix from array defined by pointer.
| data_ptr | pointer into the array |
Definition at line 1050 of file MiniTensor_Matrix.h.
|
explicit |
Create matrix from array defined by pointer.
| rows | Number of rows |
| cols | Number of columns |
| data_ptr | pointer into the array |
Definition at line 1058 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION minitensor::Matrix< T, M, N >::Matrix | ( | Matrix< T, M, N > const & | A | ) |
Copy constructor
Definition at line 1073 of file MiniTensor_Matrix.h.
|
virtual |
Simple destructor
Definition at line 1085 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::Matrix< T, M, N >::operator() | ( | Index const | i, |
| Index const | j | ||
| ) | const |
Indexing for constant tensor
| i | index |
| j | index |
Definition at line 1144 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Matrix< T, M, N >::operator() | ( | Index const | i, |
| Index const | j | ||
| ) |
|
inline |
Definition at line 1096 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Matrix< T, M, N >::get_num_rows | ( | ) | const |
Definition at line 1107 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Matrix< T, M, N >::get_num_cols | ( | ) | const |
Definition at line 1118 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION void minitensor::Matrix< T, M, N >::set_dimensions | ( | Index const | rows, |
| Index const | cols | ||
| ) |
| rows | Number of rows |
| cols | Number of columns |
Definition at line 1129 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator+ | ( | Matrix< S, M, N > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator- | ( | Matrix< S, M, N > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > minitensor::operator- | ( | Matrix< T, M, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION bool minitensor::operator== | ( | Matrix< T, M, N > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
Matrix equality Tested by components
Definition at line 1298 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::operator!= | ( | Matrix< T, M, N > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
Matrix inequality Tested by components
Definition at line 1309 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, M > minitensor::operator* | ( | Matrix< T, M, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
Matrix vector product v = A u
| A | matrix |
| u | vector |
Definition at line 1386 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator* | ( | Vector< S, M > const & | u, |
| Matrix< T, M, N > const & | A | ||
| ) |
Vector matrix product v = u A
| A | matrix |
| u | vector |
Definition at line 1397 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator* | ( | Matrix< T, M, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
Matrix tensor product C = A B
| A | matrix |
| B | tensor |
Definition at line 1408 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator* | ( | Tensor< S, M > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
Tensor matrix product C = A B
| A | tensor |
| B | matrix |
Definition at line 1419 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator* | ( | Matrix< S, M, P > const & | A, |
| Matrix< T, P, N > const & | B | ||
| ) |
Matrix dot product C = A B
Definition at line 1430 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_matrix< Promote< S, T >, M, N > >::type minitensor::operator* | ( | S const & | s, |
| Matrix< T, M, N > const & | A | ||
| ) |
Scalar matrix product
| s | scalar |
| A | matrix |
Definition at line 1321 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_matrix< Promote< S, T >, M, N > >::type minitensor::operator* | ( | Matrix< T, M, N > const & | A, |
| S const & | s | ||
| ) |
Matrix scalar product
| A | matrix |
| s | scalar |
Definition at line 1338 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator/ | ( | Matrix< T, M, N > const & | A, |
| S const & | s | ||
| ) |
Matrix scalar division
| A | matrix |
| s | scalar |
Definition at line 1354 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::operator/ | ( | S const & | s, |
| Matrix< T, M, N > const & | A | ||
| ) |
Scalar matrix division
| s | scalar |
| A | matrix that divides scalar with each component |
Definition at line 1370 of file MiniTensor_Matrix.h.
| std::istream & minitensor::operator>> | ( | std::istream & | is, |
| Matrix< T, M, N > & | A | ||
| ) |
Matrix input
| A | matrix |
| is | input stream |
Definition at line 1819 of file MiniTensor_Matrix.h.
| std::ostream & minitensor::operator<< | ( | std::ostream & | os, |
| Matrix< T, M, N > const & | A | ||
| ) |
Matrix output
| A | matrix |
| os | output stream |
Definition at line 1840 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::row | ( | Matrix< T, M, N > const & | A, |
| Index const | i | ||
| ) |
Extract a row as a vector
| A | matrix |
| i | index of row |
Definition at line 1178 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< T, M > minitensor::col | ( | Matrix< T, M, N > const & | A, |
| Index const | j | ||
| ) |
Extract a column as a vector
| A | matrix |
| j | index of column |
Definition at line 1214 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, M > minitensor::dot | ( | Matrix< T, M, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
Matrix vector product v = A u
| A | matrix |
| u | vector |
Definition at line 1441 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::dot | ( | Vector< S, M > const & | u, |
| Matrix< T, M, N > const & | A | ||
| ) |
Vector matrix product v = u A
| A | matrix |
| u | vector |
Definition at line 1474 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::dot | ( | Matrix< T, M, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
Matrix tensor product C = A B
| A | matrix |
| B | tensor |
Definition at line 1507 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::dot | ( | Tensor< S, M > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
Tensor matrix product C = A B
| A | tensor |
| B | matrix |
Definition at line 1542 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::dot | ( | Matrix< S, M, P > const & | A, |
| Matrix< T, P, N > const & | B | ||
| ) |
Matrix matrix product C = A B
| A | matrix |
| B | matrix |
Definition at line 1577 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::t_dot | ( | Matrix< S, P, M > const & | A, |
| Matrix< T, P, N > const & | B | ||
| ) |
Matrix matrix product C = A^T B
| A | matrix |
| B | matrix |
Definition at line 1615 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::dot_t | ( | Matrix< S, M, P > const & | A, |
| Matrix< T, N, P > const & | B | ||
| ) |
Matrix matrix product C = A B^T
| A | matrix |
| B | matrix |
Definition at line 1653 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::t_dot_t | ( | Matrix< S, P, M > const & | A, |
| Matrix< T, N, P > const & | B | ||
| ) |
Matrix matrix product C = A^T B^T
| A | matrix |
| B | matrix |
Definition at line 1694 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::dotdot | ( | Matrix< S, M, N > const & | A, |
| Matrix< T, M, N > const & | B | ||
| ) |
Matrix matrix double dot product (contraction)
| A | matrix |
| B | matrix |
Definition at line 1732 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, M, N > minitensor::matrix | ( | Vector< S, M > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
exterior matrix product
| u | vector |
| v | vector |
Definition at line 1761 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > minitensor::transpose | ( | Matrix< T, N, M > const & | A | ) |
matrix transpose
Definition at line 1791 of file MiniTensor_Matrix.h.
| KOKKOS_INLINE_FUNCTION Matrix< T, M, N > minitensor::adjoint | ( | Matrix< T, N, M > const & | A | ) |
matrix adjoint
|
inline |
Validate a run-time dimension for dynamic storage.
Definition at line 69 of file MiniTensor_Storage.h.
|
inline |
Definition at line 360 of file MiniTensor_Storage.h.
|
inlineexplicit |
Create storage with the given number of entries (at most N).
Definition at line 367 of file MiniTensor_Storage.h.
|
delete |
|
delete |
|
inline |
Definition at line 377 of file MiniTensor_Storage.h.
|
inline |
Constant read access to entry i.
Definition at line 386 of file MiniTensor_Storage.h.
|
inline |
Read-write access to entry i.
Definition at line 400 of file MiniTensor_Storage.h.
|
inline |
Number of entries currently in use.
Definition at line 414 of file MiniTensor_Storage.h.
|
inline |
Set the number of entries in use; must not exceed N.
Definition at line 424 of file MiniTensor_Storage.h.
|
inline |
No-op: static storage cannot be deallocated.
Definition at line 435 of file MiniTensor_Storage.h.
|
inline |
Raw pointer to the underlying array.
Definition at line 444 of file MiniTensor_Storage.h.
|
inline |
Raw pointer to the constant underlying array.
Definition at line 454 of file MiniTensor_Storage.h.
|
inlinestaticconstexpr |
Compile-time capacity N of the storage.
Definition at line 462 of file MiniTensor_Storage.h.
|
inline |
Definition at line 525 of file MiniTensor_Storage.h.
|
inlineexplicit |
Create heap-allocated storage with the given number of entries.
Definition at line 532 of file MiniTensor_Storage.h.
|
delete |
|
delete |
|
inline |
Definition at line 542 of file MiniTensor_Storage.h.
|
inline |
Constant read access to entry i.
Definition at line 552 of file MiniTensor_Storage.h.
|
inline |
Read-write access to entry i.
Definition at line 563 of file MiniTensor_Storage.h.
|
inline |
Number of entries currently allocated.
Definition at line 574 of file MiniTensor_Storage.h.
|
inline |
Reallocate to hold number_entries entries; prior data are lost.
Definition at line 584 of file MiniTensor_Storage.h.
|
inline |
Free the heap storage and reset the size to zero.
Definition at line 598 of file MiniTensor_Storage.h.
|
inline |
Raw pointer to the underlying array.
Definition at line 612 of file MiniTensor_Storage.h.
|
inline |
Raw pointer to the constant underlying array.
Definition at line 622 of file MiniTensor_Storage.h.
|
inlinestaticconstexpr |
Compile-time size: 0, since the size is set at run time.
Definition at line 630 of file MiniTensor_Storage.h.
|
inlinestaticconstexpr |
Tensor order
Definition at line 66 of file MiniTensor_Tensor.h.
|
explicit |
Constructor that initializes to NaNs
Definition at line 958 of file MiniTensor_Tensor.h.
|
explicit |
Constructor that initializes to NaNs
| dimension | the space dimension |
Definition at line 967 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from a specified value
| value | all components are set equal to this |
Definition at line 978 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 986 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
Definition at line 999 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
Definition at line 1011 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
Definition at line 1024 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
Definition at line 1038 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
Definition at line 1060 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
| index6 | sixth fixed index into the array |
Definition at line 1084 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
Definition at line 1110 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
Definition at line 1123 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
Definition at line 1137 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
Definition at line 1158 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
Definition at line 1181 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| source | the array source (Source::ARRAY) |
| dimension | the space dimension |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
| index6 | sixth fixed index into the array |
Definition at line 1206 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| data_ptr | pointer into the array |
Definition at line 1232 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 1240 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION minitensor::Tensor< T, N >::Tensor | ( | Tensor< T, N > const & | A | ) |
Copy constructor
Definition at line 1250 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION minitensor::Tensor< T, N >::Tensor | ( | Tensor4< T, dimension_sqrt< N >::value > const & | A | ) |
2nd-order tensor from 4th-order tensor
Definition at line 1351 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor specifying components
| s00 | s01 ... components in the R^2 canonical basis |
| s01 | component in the R^2 canonical basis |
| s10 | component in the R^2 canonical basis |
| s11 | component in the R^2 canonical basis |
Definition at line 1262 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor specifying components
| s00 | s01 ... components in the R^3 canonical basis |
| s01 | component in the R^3 canonical basis |
| s02 | component in the R^3 canonical basis |
| s10 | component in the R^3 canonical basis |
| s11 | component in the R^3 canonical basis |
| s12 | component in the R^3 canonical basis |
| s20 | component in the R^3 canonical basis |
| s21 | component in the R^3 canonical basis |
| s22 | component in the R^3 canonical basis |
Definition at line 1286 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| data_ptr | pointer into the array |
| component_order | component convention (3D only) |
Definition at line 1316 of file MiniTensor_Tensor.h.
|
explicit |
Create tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
| component_order | component convention (3D only) |
Definition at line 1329 of file MiniTensor_Tensor.h.
|
virtual |
Simple destructor
Definition at line 1379 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::Tensor< T, N >::operator() | ( | Index const | i, |
| Index const | j | ||
| ) | const |
Indexing for constant tensor
| i | index |
| j | index |
Definition at line 1435 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Tensor< T, N >::operator() | ( | Index const | i, |
| Index const | j | ||
| ) |
| KOKKOS_INLINE_FUNCTION Index minitensor::Tensor< T, N >::get_dimension | ( | ) | const |
Definition at line 1390 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Tensor< T, N >::get_num_rows | ( | ) | const |
Definition at line 1401 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Tensor< T, N >::get_num_cols | ( | ) | const |
Definition at line 1412 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION void minitensor::Tensor< T, N >::set_dimension | ( | Index const | dimension | ) |
| dimension | of vector |
Definition at line 1423 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::operator+ | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::operator- | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::operator- | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION bool minitensor::operator== | ( | Tensor< T, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor equality Tested by components
Definition at line 1601 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::operator!= | ( | Tensor< T, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor inequality Tested by components
Definition at line 1612 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator* | ( | Tensor< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
Tensor vector product v = A u
| A | tensor |
| u | vector |
Definition at line 1689 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator* | ( | Vector< S, N > const & | u, |
| Tensor< T, N > const & | A | ||
| ) |
Vector tensor product v = u A
| A | tensor |
| u | vector |
Definition at line 1700 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::operator* | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor dot product C = A B
Definition at line 1711 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor< Promote< S, T >, N > >::type minitensor::operator* | ( | S const & | s, |
| Tensor< T, N > const & | A | ||
| ) |
Scalar tensor product
| s | scalar |
| A | tensor |
Definition at line 1624 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor< Promote< S, T >, N > >::type minitensor::operator* | ( | Tensor< T, N > const & | A, |
| S const & | s | ||
| ) |
Tensor scalar product
| A | tensor |
| s | scalar |
Definition at line 1641 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::operator/ | ( | Tensor< T, N > const & | A, |
| S const & | s | ||
| ) |
Tensor scalar division
| A | tensor |
| s | scalar |
Definition at line 1657 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::operator/ | ( | S const & | s, |
| Tensor< T, N > const & | A | ||
| ) |
Scalar tensor division
| s | scalar |
| A | tensor that divides scalar with each component |
Definition at line 1673 of file MiniTensor_Tensor.h.
| std::istream & minitensor::operator>> | ( | std::istream & | is, |
| Tensor< T, N > & | A | ||
| ) |
Tensor input
| A | tensor |
| is | input stream |
Definition at line 2785 of file MiniTensor_Tensor.h.
| std::ostream & minitensor::operator<< | ( | std::ostream & | os, |
| Tensor< T, N > const & | A | ||
| ) |
Tensor output
| A | tensor |
| os | output stream |
Definition at line 2804 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::row | ( | Tensor< T, N > const & | A, |
| Index const | i | ||
| ) |
Extract a row as a vector
| A | tensor |
| i | index of row |
Definition at line 1481 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::col | ( | Tensor< T, N > const & | A, |
| Index const | j | ||
| ) |
Extract a column as a vector
| A | tensor |
| j | index of column |
Definition at line 1517 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
Tensor vector product v = A u
| A | tensor |
| u | vector |
Definition at line 1722 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::dot | ( | Vector< S, N > const & | u, |
| Tensor< T, N > const & | A | ||
| ) |
Vector tensor product v = u A
| A | tensor |
| u | vector |
Definition at line 1769 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor tensor product C = A B
| A | tensor |
| B | tensor |
Definition at line 1816 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::t_dot | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor tensor product C = A^T B
| A | tensor |
| B | tensor |
Definition at line 1876 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Matrix< typename Promote< S, T >::type, N, P > minitensor::t_dot | ( | Tensor< S, N > const & | A, |
| Matrix< T, N, P > const & | B | ||
| ) |
Tensor matrix product C = A^T B
| A | tensor |
| B | matrix |
Definition at line 1936 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::t_dot | ( | Tensor< S, N > const & | A, |
| Vector< T, N > const & | B | ||
| ) |
Tensor vector product C = A^T B
| A | tensor |
| B | vector |
Definition at line 1971 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot_t | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor tensor product C = A B^T
| A | tensor |
| B | tensor |
Definition at line 1982 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::t_dot_t | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor tensor product C = A^T B^T
| A | tensor |
| B | tensor |
Definition at line 2042 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::dotdot | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
Tensor tensor double dot product (contraction)
| A | tensor |
| B | tensor |
Definition at line 2102 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dyad | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Dyad
| u | vector |
| v | vector |
Definition at line 2144 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::bun | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Bun operator, just for Jay, and now Reese too.
| u | vector |
| v | vector |
Definition at line 2201 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::tensor | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Tensor product
| u | vector |
| v | vector |
Definition at line 2212 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::diag | ( | Vector< T, N > const & | v | ) |
Diagonal tensor from vector
| v | vector |
Definition at line 2223 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::diag | ( | Tensor< T, N > const & | A | ) |
Diagonal of tensor in a vector
| A | tensor |
Definition at line 2261 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::zero | ( | ) |
Zero 2nd-order tensor All components are zero
Definition at line 2300 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::zero | ( | Index const | dimension | ) |
Zero 2nd-order tensor.
Definition at line 2311 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::zero | ( | Index const | dimension | ) |
Zero 2nd-order tensor.
Definition at line 2322 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::identity | ( | ) |
2nd-order identity tensor
Definition at line 2385 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::identity | ( | Index const | dimension | ) |
Identity 2nd-order tensor.
Definition at line 2401 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::identity | ( | Index const | dimension | ) |
Identity 2nd-order tensor.
Definition at line 2417 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::eye | ( | ) |
2nd-order identity tensor, Ã la Matlab
Definition at line 2434 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::eye | ( | Index const | dimension | ) |
Identity 2nd-order tensor; alias of identity.
Definition at line 2445 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::eye | ( | Index const | dimension | ) |
Identity 2nd-order tensor; alias of identity.
Definition at line 2456 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::levi_civita_2 | ( | ) |
Levi-Civita symbol
Definition at line 2467 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::levi_civita_2 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 2nd-order tensor.
Definition at line 2483 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::levi_civita_2 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 2nd-order tensor.
Definition at line 2499 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::permutation_2 | ( | ) |
Permutation symbol
Definition at line 2516 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::permutation_2 | ( | Index const | dimension | ) |
Permutation symbol as a 2nd-order tensor; alias of levi_civita_2.
Definition at line 2527 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::permutation_2 | ( | Index const | dimension | ) |
Permutation symbol as a 2nd-order tensor; alias of levi_civita_2.
Definition at line 2539 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::alternator_2 | ( | ) |
Alternating symbol
Definition at line 2550 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, DYNAMIC > const minitensor::alternator_2 | ( | Index const | dimension | ) |
Alternator as a 2nd-order tensor; alias of levi_civita_2.
Definition at line 2561 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > const minitensor::alternator_2 | ( | Index const | dimension | ) |
Alternator as a 2nd-order tensor; alias of levi_civita_2.
Definition at line 2572 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::transpose | ( | Tensor< T, N > const & | A | ) |
2nd-order tensor transpose
Definition at line 2583 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::adjoint | ( | Tensor< T, N > const & | A | ) |
C^N 2nd-order tensor adjoint
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::sym | ( | Tensor< T, N > const & | A | ) |
Symmetric part of 2nd-order tensor
Definition at line 2621 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::skew | ( | Tensor< T, N > const & | A | ) |
Skew symmetric part of 2nd-order tensor
Definition at line 2686 of file MiniTensor_Tensor.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::skew | ( | Vector< T, N > const & | u | ) |
Skew symmetric 2nd-order tensor from vector valid for R^3 only. R^N with N != 3 will produce an error
| u | vector |
Definition at line 2745 of file MiniTensor_Tensor.h.
|
inlinestaticconstexpr |
Tensor order
Definition at line 61 of file MiniTensor_Tensor3.h.
|
explicit |
3rd-order tensor constructor with NaNs
Definition at line 440 of file MiniTensor_Tensor3.h.
|
explicit |
3rd-order tensor constructor with NaNs
| dimension | the space dimension |
Definition at line 449 of file MiniTensor_Tensor3.h.
|
explicit |
Create 3rd-order tensor from a specified value
| value | all components are set equal to this |
Definition at line 460 of file MiniTensor_Tensor3.h.
|
explicit |
Create 3rd-order tensor from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 468 of file MiniTensor_Tensor3.h.
|
explicit |
Create 3rd-order tensor from array
| data_ptr | pointer into the array |
Definition at line 479 of file MiniTensor_Tensor3.h.
|
explicit |
Create 3rd-order tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 487 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION minitensor::Tensor3< T, N >::Tensor3 | ( | Tensor3< T, N > const & | A | ) |
Copy constructor 3rd-order tensor constructor from 3rd-order tensor
Definition at line 498 of file MiniTensor_Tensor3.h.
|
virtual |
3rd-order tensor simple destructor
Definition at line 509 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::Tensor3< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k | ||
| ) | const |
Indexing for constant 3rd-order tensor
| i | index |
| j | index |
| k | index |
Definition at line 677 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Tensor3< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k | ||
| ) |
3rd-order tensor indexing
| i | index |
| j | index |
| k | index |
Definition at line 694 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Tensor3< T, N >::get_dimension | ( | ) | const |
Definition at line 520 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION void minitensor::Tensor3< T, N >::set_dimension | ( | Index const | dimension | ) |
| dimension | of vector |
Definition at line 531 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::operator+ | ( | Tensor3< S, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
3rd-order tensor addition
| A | 3rd-order tensor |
| B | 3rd-order tensor |
Definition at line 543 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::operator- | ( | Tensor3< S, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
3rd-order tensor substraction
| A | 3rd-order tensor |
| B | 3rd-order tensor |
Definition at line 559 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > minitensor::operator- | ( | Tensor3< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION bool minitensor::operator== | ( | Tensor3< T, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
3rd-order tensor equality Tested by components
Definition at line 591 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::operator!= | ( | Tensor3< T, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
3rd-order tensor inequality Tested by components
Definition at line 602 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor3< Promote< S, T >, N > >::type minitensor::operator* | ( | S const & | s, |
| Tensor3< T, N > const & | A | ||
| ) |
Scalar 3rd-order tensor product
| s | scalar |
| A | 3rd-order tensor |
Definition at line 613 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor3< Promote< S, T >, N > >::type minitensor::operator* | ( | Tensor3< T, N > const & | A, |
| S const & | s | ||
| ) |
3rd-order tensor scalar product
| A | 3rd-order tensor |
| s | scalar |
Definition at line 629 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::operator/ | ( | Tensor3< T, N > const & | A, |
| S const & | s | ||
| ) |
3rd-order tensor scalar division
| A | 3rd-order tensor |
| s | scalar |
Definition at line 645 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::operator/ | ( | S const & | s, |
| Tensor3< T, N > const & | A | ||
| ) |
3rd-order scalar tensor division
| s | scalar |
| A | 3rd-order tensor |
Definition at line 661 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::dotdot | ( | Tensor3< T, N > const & | A, |
| Tensor< S, N > const & | u | ||
| ) |
3rd-order tensor 2nd-order tensor double dot product
| A | 3rd-order tensor |
| u | 2nd-order tensor |
Definition at line 882 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor3< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
3rd-order tensor vector product
| A | 3rd-order tensor |
| u | vector |
Definition at line 914 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot | ( | Vector< S, N > const & | u, |
| Tensor3< T, N > const & | A | ||
| ) |
vector 3rd-order tensor product
| A | 3rd-order tensor |
| u | vector |
Definition at line 946 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor3< T, N > const & | A, |
| Vector< S > const & | u | ||
| ) |
3rd-order tensor vector product
| A | 3rd-order tensor |
| u | vector |
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Vector< S, N > const & | u, |
| Tensor3< T, N > const & | A | ||
| ) |
vector 3rd-order tensor product
| u | vector |
| A | 3rd-order tensor |
Definition at line 1015 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor3< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
3rd-order tensor 2nd-order tensor product
| A | 3rd-order tensor |
| B | 2nd-order tensor |
Definition at line 1026 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor< S, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
2nd-order tensor 3rd-order tensor product
| A | 2nd-order tensor |
| B | 3rd-order tensor |
Definition at line 1060 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor3< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
3rd-order tensor 2nd-order tensor product
| A | 3rd-order tensor |
| B | 2nd-order tensor |
Definition at line 1094 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor< S, N > const & | A, |
| Tensor3< T, N > const & | B | ||
| ) |
2nd-order tensor 3rd-order tensor product
| A | 2nd-order tensor |
| B | 3rd-order tensor |
Definition at line 1129 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::levi_civita_3 | ( | ) |
Levi-Civita symbol
Definition at line 765 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const minitensor::levi_civita_3 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 3rd-order tensor.
Definition at line 781 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::levi_civita_3 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 3rd-order tensor.
Definition at line 797 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::permutation_3 | ( | ) |
Permutation symbol
Definition at line 813 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const minitensor::permutation_3 | ( | Index const | dimension | ) |
Permutation symbol as a 3rd-order tensor; alias of levi_civita_3.
Definition at line 824 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::permutation_3 | ( | Index const | dimension | ) |
Permutation symbol as a 3rd-order tensor; alias of levi_civita_3.
Definition at line 835 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::alternator_3 | ( | ) |
Alternating symbol
Definition at line 846 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, DYNAMIC > const minitensor::alternator_3 | ( | Index const | dimension | ) |
Alternator as a 3rd-order tensor; alias of levi_civita_3.
Definition at line 857 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor3< T, N > const minitensor::alternator_3 | ( | Index const | dimension | ) |
Alternator as a 3rd-order tensor; alias of levi_civita_3.
Definition at line 868 of file MiniTensor_Tensor3.h.
| std::istream & minitensor::operator>> | ( | std::istream & | is, |
| Tensor3< T, N > & | A | ||
| ) |
3rd-order tensor input
| A | 3rd-order tensor |
| is | input stream |
Definition at line 1166 of file MiniTensor_Tensor3.h.
| std::ostream & minitensor::operator<< | ( | std::ostream & | os, |
| Tensor3< T, N > const & | A | ||
| ) |
3rd-order tensor output
| A | 3rd-order tensor |
| os | output stream |
Definition at line 1189 of file MiniTensor_Tensor3.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor3< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
Contraction of a vector with the middle index of a 3rd-order tensor.
Definition at line 983 of file MiniTensor_Tensor3.h.
|
inlinestaticconstexpr |
Tensor order
Definition at line 61 of file MiniTensor_Tensor4.h.
|
explicit |
4th-order tensor constructor with NaNs
Definition at line 663 of file MiniTensor_Tensor4.h.
|
explicit |
4th-order tensor constructor with NaNs
| dimension | the space dimension |
Definition at line 672 of file MiniTensor_Tensor4.h.
|
explicit |
Create 4th-order tensor from a specified value
| value | all components are set equal to this |
Definition at line 683 of file MiniTensor_Tensor4.h.
|
explicit |
Create 4th-order tensor from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 691 of file MiniTensor_Tensor4.h.
|
explicit |
Create 4th-order tensor from array
| data_ptr | pointer into the array |
Definition at line 702 of file MiniTensor_Tensor4.h.
|
explicit |
Create 4th-order tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 710 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION minitensor::Tensor4< T, N >::Tensor4 | ( | Tensor4< T, N > const & | A | ) |
Copy constructor 4th-order tensor constructor with 4th-order tensor
Definition at line 721 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION minitensor::Tensor4< T, N >::Tensor4 | ( | Tensor< T, dimension_square< N >::value > const & | A | ) |
4th-order tensor from 2nd-order tensor
Definition at line 771 of file MiniTensor_Tensor4.h.
|
virtual |
4th-order tensor simple destructor
Definition at line 798 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::Tensor4< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k, | ||
| Index const | l | ||
| ) | const |
Indexing for constant 4th-order tensor
| i | index |
| j | index |
| k | index |
| l | index |
Definition at line 970 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Tensor4< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k, | ||
| Index const | l | ||
| ) |
4th-order tensor indexing
| i | index |
| j | index |
| k | index |
| l | index |
Definition at line 992 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Tensor4< T, N >::get_dimension | ( | ) | const |
Definition at line 809 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION void minitensor::Tensor4< T, N >::set_dimension | ( | Index const | dimension | ) |
| dimension | of vector |
Definition at line 820 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::operator+ | ( | Tensor4< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order tensor addition
| A | 4th-order tensor |
| B | 4th-order tensor |
Definition at line 832 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::operator- | ( | Tensor4< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order tensor substraction
| A | 4th-order tensor |
| B | 4th-order tensor |
Definition at line 848 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > minitensor::operator- | ( | Tensor4< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION bool minitensor::operator== | ( | Tensor4< T, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order equality Tested by components
Definition at line 880 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::operator!= | ( | Tensor4< T, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order inequality Tested by components
Definition at line 891 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor4< Promote< S, T >, N > >::type minitensor::operator* | ( | S const & | s, |
| Tensor4< T, N > const & | A | ||
| ) |
Scalar 4th-order tensor product
| s | scalar |
| A | 4th-order tensor |
Definition at line 902 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_tensor4< Promote< S, T >, N > >::type minitensor::operator* | ( | Tensor4< T, N > const & | A, |
| S const & | s | ||
| ) |
4th-order tensor scalar product
| A | 4th-order tensor |
| s | scalar |
Definition at line 918 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::operator/ | ( | Tensor4< T, N > const & | A, |
| S const & | s | ||
| ) |
4th-order tensor scalar division
| A | 4th-order tensor |
| s | scalar |
Definition at line 934 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::operator/ | ( | S const & | s, |
| Tensor4< T, N > const & | A | ||
| ) |
4th-order scalar tensor division
| s | scalar |
| A | 4th-order tensor |
Definition at line 950 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > minitensor::transpose | ( | Tensor4< T, N > const & | A | ) |
4th-order tensor transpose
Definition at line 1350 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_1 | ( | ) |
4th-order identity I1
Definition at line 1118 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::identity_1 | ( | Index const | dimension | ) |
4th-order identity I1: \( \delta_{ik} \delta_{jl} \) such that \( A = I_1 A \).
Definition at line 1128 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_1 | ( | Index const | dimension | ) |
4th-order identity I1: \( \delta_{ik} \delta_{jl} \) such that \( A = I_1 A \).
Definition at line 1141 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_2 | ( | ) |
4th-order identity I2
Definition at line 1157 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::identity_2 | ( | Index const | dimension | ) |
4th-order identity I2: \( \delta_{il} \delta_{jk} \) such that \( A^T = I_2 A \).
Definition at line 1167 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_2 | ( | Index const | dimension | ) |
4th-order identity I2: \( \delta_{il} \delta_{jk} \) such that \( A^T = I_2 A \).
Definition at line 1180 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_3 | ( | ) |
4th-order identity I3
Definition at line 1196 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::identity_3 | ( | Index const | dimension | ) |
4th-order identity I3: \( \delta_{ij} \delta_{kl} \) such that \( I_A I = I_3 A \).
Definition at line 1206 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::identity_3 | ( | Index const | dimension | ) |
4th-order identity I3: \( \delta_{ij} \delta_{kl} \) such that \( I_A I = I_3 A \).
Definition at line 1219 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::levi_civita_4 | ( | ) |
Levi-Civita symbol
Definition at line 1232 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::levi_civita_4 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 4th-order tensor.
Definition at line 1248 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::levi_civita_4 | ( | Index const | dimension | ) |
Levi-Civita symbol as a 4th-order tensor.
Definition at line 1264 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::permutation_4 | ( | ) |
Permutation symbol
Definition at line 1282 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::permutation_4 | ( | Index const | dimension | ) |
Permutation symbol as a 4th-order tensor; alias of levi_civita_4.
Definition at line 1293 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::permutation_4 | ( | Index const | dimension | ) |
Permutation symbol as a 4th-order tensor; alias of levi_civita_4.
Definition at line 1304 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::alternator_4 | ( | ) |
Alternating symbol
Definition at line 1315 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, DYNAMIC > const minitensor::alternator_4 | ( | Index const | dimension | ) |
Alternator as a 4th-order tensor; alias of levi_civita_4.
Definition at line 1326 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > const minitensor::alternator_4 | ( | Index const | dimension | ) |
Alternator as a 4th-order tensor; alias of levi_civita_4.
Definition at line 1338 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< T, N > minitensor::inverse | ( | Tensor4< T, N > const & | A | ) |
4th-order inverse
Definition at line 1010 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor4< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
4th-order tensor vector dot product
| A | 4th-order tensor |
| u | vector |
Definition at line 1380 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot | ( | Vector< S, N > const & | u, |
| Tensor4< T, N > const & | A | ||
| ) |
vector 4th-order tensor dot product
| A | 4th-order tensor |
| u | vector |
Definition at line 1417 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor4< T, N > const & | A, |
| Vector< S, N > const & | u | ||
| ) |
4th-order tensor vector dot2 product
| A | 4th-order tensor |
| u | vector |
Definition at line 1454 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor3< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Vector< S, N > const & | u, |
| Tensor4< T, N > const & | A | ||
| ) |
vector 4th-order tensor dot2 product
| A | 4th-order tensor |
| u | vector |
Definition at line 1491 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dotdot | ( | Tensor4< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
4th-order tensor 2nd-order tensor double dot product
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 1525 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor< typename Promote< S, T >::type, N > minitensor::dotdot | ( | Tensor< S, N > const & | B, |
| Tensor4< T, N > const & | A | ||
| ) |
2nd-order tensor 4th-order tensor double dot product
| B | 2nd-order tensor |
| A | 4th-order tensor |
Definition at line 1559 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dotdot | ( | Tensor4< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order tensor 4th-order tensor double dot product
| A | 4th-order tensor |
| B | 4th-order tensor |
Definition at line 1593 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::tensor | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
2nd-order tensor 2nd-order tensor tensor product
| A | 2nd-order tensor |
| B | 2nd-order tensor |
Definition at line 1631 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::tensor2 | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
2nd-order tensor 2nd-order tensor tensor product
| A | 2nd-order tensor |
| B | 2nd-order tensor |
Definition at line 1660 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::tensor3 | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
2nd-order tensor 2nd-order tensor tensor product
| A | 2nd-order tensor |
| B | 2nd-order tensor |
Definition at line 1689 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor4< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
4th-order tensor 2nd-order tensor dot product
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 1718 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot_t | ( | Tensor4< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
4th-order tensor 2nd-order tensor transpose dot product
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 1754 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor< S > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
2nd-order tensor 4th-order tensor dot product
| A | 2nd-order tensor |
| B | 4th-order tensor |
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::t_dot | ( | Tensor< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
2nd-order tensor transpose 4th-order tensor dot product
| A | 2nd-order tensor |
| B | 4th-order tensor |
Definition at line 1830 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor4< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
4th-order tensor 2nd-order tensor dot product
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 1866 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot2_t | ( | Tensor4< T, N > const & | A, |
| Tensor< S, N > const & | B | ||
| ) |
4th-order tensor 2nd-order tensor transpose dot product
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 1902 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot2 | ( | Tensor< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
2nd-order tensor 4th-order tensor dot product
| A | 2nd-order tensor |
| B | 4th-order tensor |
Definition at line 1938 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::t_dot2 | ( | Tensor< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
2nd-order tensor transpose 4th-order tensor dot product
| A | 2nd-order tensor |
| B | 4th-order tensor |
Definition at line 1974 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::odot | ( | Tensor< S, N > const & | A, |
| Tensor< T, N > const & | B | ||
| ) |
odot operator useful for \( \frac{\partial A^{-1}}{\partial A} \) see Holzapfel eqn 6.165
| A | 2nd-order tensor |
| B | 2nd-order tensor |
Definition at line 2015 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::kronecker | ( | Tensor< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
4th-order input
| A | 4th-order tensor |
| B | 2nd-order tensor |
Definition at line 2044 of file MiniTensor_Tensor4.h.
| std::istream & minitensor::operator>> | ( | std::istream & | is, |
| Tensor4< T, N > & | A | ||
| ) |
4th-order input
| A | 4th-order tensor |
| is | input stream |
Definition at line 2091 of file MiniTensor_Tensor4.h.
| std::ostream & minitensor::operator<< | ( | std::ostream & | os, |
| Tensor4< T, N > const & | A | ||
| ) |
4th-order output
| A | 4th-order tensor |
| os | output stream |
Definition at line 2116 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION Tensor4< typename Promote< S, T >::type, N > minitensor::dot | ( | Tensor< S, N > const & | A, |
| Tensor4< T, N > const & | B | ||
| ) |
2nd-order by 4th-order dot product.
Definition at line 1794 of file MiniTensor_Tensor4.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | ) |
Default constructor
Definition at line 589 of file MiniTensor_TensorBase.h.
|
explicit |
Constructor that initializes to NaNs
| dimension | the space dimension |
| order | the tensor order |
Definition at line 605 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| Filler const | value | ||
| ) |
Create with specified value
| dimension | the space dimension |
| order | the tensor order |
| value | all components are set equal to this |
Definition at line 617 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| T const & | s | ||
| ) |
Create from a scalar
| dimension | the space dimension |
| order | the tensor order |
| s | all components are set equal to this value |
Definition at line 632 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
Definition at line 648 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
Definition at line 662 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
Definition at line 677 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
Definition at line 693 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
Definition at line 710 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Create from array
| dimension | the space dimension |
| order | the tensor order |
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
| index6 | sixth fixed index into the array |
Definition at line 728 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | Index const | dimension, |
| Index const | order, | ||
| T const * | data_ptr | ||
| ) |
Create from array defined by pointer.
| dimension | the space dimension |
| order | the tensor order |
| data_ptr | pointer into the array |
Definition at line 746 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION minitensor::TensorBase< T, ST >::TensorBase | ( | TensorBase< T, ST > const & | X | ) |
Copy constructor
| X | the values of its components are copied to the new tensor |
Definition at line 761 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & minitensor::TensorBase< T, ST >::operator= | ( | TensorBase< T, ST > const & | X | ) |
Copy assignment
| X | the values of its components are copied to this tensor |
Definition at line 782 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::TensorBase< T, ST >::operator[] | ( | Index const | i | ) | const |
Linear access to components
| i | the index |
Definition at line 835 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::TensorBase< T, ST >::operator[] | ( | Index const | i | ) |
Linear access to components
| i | the index |
Definition at line 846 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::TensorBase< T, ST >::get_number_components | ( | ) | const |
Definition at line 857 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | Filler const | value | ) |
Fill components with value
| value | all components are set equal to this specification |
Definition at line 905 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | T const & | s | ) |
Fill components with value
| s | all components are set equal to this value |
Definition at line 1000 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1 | ||
| ) |
Fill components from array defined by pointer.
| data | array to copy components from |
| index1 | first fixed index into the array |
Definition at line 1023 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1, | ||
| Index | index2 | ||
| ) |
Fill components from array.
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
Definition at line 1055 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Fill components from array.
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
Definition at line 1111 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Fill components from array.
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
Definition at line 1178 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Fill components from array.
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
Definition at line 1259 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | ArrayT & | data, |
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Fill components from array.
| data | array to copy components from |
| index1 | first fixed index into the array |
| index2 | second fixed index into the array |
| index3 | third fixed index into the array |
| index4 | fourth fixed index into the array |
| index5 | fifth fixed index into the array |
| index6 | sixth fixed index into the array |
Definition at line 1356 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | T const * | data_ptr | ) |
Fill components from array defined by pointer.
| data_ptr | pointer into array for filling components |
Definition at line 1470 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::fill | ( | T const * | data_ptr, |
| ComponentOrder const | component_order | ||
| ) |
Fill components from array defined by pointer.
| data_ptr | pointer into array for filling components |
| component_order | component convention (3D only) |
Definition at line 1490 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & minitensor::TensorBase< T, ST >::operator+= | ( | TensorBase< S, SS > const & | X | ) |
Component increment
| X | components are added to current components |
Definition at line 1566 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & minitensor::TensorBase< T, ST >::operator-= | ( | TensorBase< S, SS > const & | X | ) |
Component decrement
| X | components are subtracted to current components |
Definition at line 1587 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & minitensor::TensorBase< T, ST >::operator*= | ( | S const & | X | ) |
Component scale
| X | components are scaled by the parameter |
Definition at line 1608 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION TensorBase< T, ST > & minitensor::TensorBase< T, ST >::operator/= | ( | S const & | X | ) |
Component divide
| X | components are divided by the parameter |
Definition at line 1626 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::TensorBase< T, ST >::clear | ( | ) |
Fill with zeros
Definition at line 1643 of file MiniTensor_TensorBase.h.
|
protected |
| number_components | set storage for this number of components |
Definition at line 868 of file MiniTensor_TensorBase.h.
|
protected |
Definition at line 806 of file MiniTensor_TensorBase.h.
|
protected |
| dimension | |
| order |
Definition at line 817 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION T minitensor::norm_f | ( | TensorBase< T, ST > const & | X | ) |
Frobenius norm
Definition at line 1673 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION T minitensor::norm_f_square | ( | TensorBase< T, ST > const & | X | ) |
Square of Frobenius norm
Definition at line 1655 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::add | ( | TensorBase< R, SR > const & | A, |
| TensorBase< S, SS > const & | B, | ||
| TensorBase< T, ST > & | C | ||
| ) |
Base addition
Definition at line 1690 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::subtract | ( | TensorBase< R, SR > const & | A, |
| TensorBase< S, SS > const & | B, | ||
| TensorBase< T, ST > & | C | ||
| ) |
Base subtraction
Definition at line 1716 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::minus | ( | TensorBase< T, ST > const & | A, |
| TensorBase< T, ST > & | B | ||
| ) |
Base minus
Definition at line 1740 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::equal | ( | TensorBase< T, ST > const & | A, |
| TensorBase< T, ST > const & | B | ||
| ) |
Base equality
Definition at line 1760 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::not_equal | ( | TensorBase< T, ST > const & | A, |
| TensorBase< T, ST > const & | B | ||
| ) |
Base not equality
Definition at line 1780 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::scale | ( | TensorBase< R, SR > const & | A, |
| S const & | s, | ||
| TensorBase< T, ST > & | B | ||
| ) |
Base scaling
Definition at line 1791 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::divide | ( | TensorBase< R, SR > const & | A, |
| S const & | s, | ||
| TensorBase< T, ST > & | B | ||
| ) |
Base division
Definition at line 1811 of file MiniTensor_TensorBase.h.
| KOKKOS_INLINE_FUNCTION void minitensor::split | ( | TensorBase< R, SR > const & | A, |
| S const & | s, | ||
| TensorBase< T, ST > & | B | ||
| ) |
Base split (scalar divided by tensor)
Definition at line 1831 of file MiniTensor_TensorBase.h.
|
inlinestaticconstexpr |
Vector order
Definition at line 65 of file MiniTensor_Vector.h.
|
explicit |
Construction that initializes to NaNs
Definition at line 640 of file MiniTensor_Vector.h.
|
explicit |
Construction that initializes to NaNs.
| dimension | the space dimension |
Definition at line 652 of file MiniTensor_Vector.h.
|
explicit |
Create vector from a specified value
| value | all components are set equal to this |
Definition at line 671 of file MiniTensor_Vector.h.
|
explicit |
Create vector from a specified value.
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 663 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
Definition at line 683 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
Definition at line 695 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
Definition at line 708 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
Definition at line 722 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
Definition at line 744 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
| index6 | sixth index into the array |
Definition at line 768 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
Definition at line 794 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
Definition at line 807 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
Definition at line 821 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
Definition at line 842 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
Definition at line 865 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Source const | source, |
| Index const | dimension, | ||
| ArrayT & | data, | ||
| Index | index1, | ||
| Index | index2, | ||
| Index | index3, | ||
| Index | index4, | ||
| Index | index5, | ||
| Index | index6 | ||
| ) |
Create vector from array.
| source | kind of data source (Source::ARRAY) |
| dimension | the space dimension |
| data | array with source components |
| index1 | first index into the array |
| index2 | second index into the array |
| index3 | third index into the array |
| index4 | fourth index into the array |
| index5 | fifth index into the array |
| index6 | sixth index into the array |
Definition at line 890 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | T const * | data_ptr | ) |
Create vector from array defined by pointer.
| data_ptr | pointer into the array |
Definition at line 925 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Index const | dimension, |
| T const * | data_ptr | ||
| ) |
Create vector from array defined by pointer.
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 917 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | Vector< T, N > const & | v | ) |
Copy constructor
Definition at line 936 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | T const & | s0, |
| T const & | s1 | ||
| ) |
Create vector specifying components
| s0 | s1 are the vector components in the R^2 canonical basis |
| s1 | second vector component in the R^2 canonical basis |
Definition at line 947 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION minitensor::Vector< T, N >::Vector | ( | T const & | s0, |
| T const & | s1, | ||
| T const & | s2 | ||
| ) |
Create vector specifying components the vector components in the R^3 canonical basis
| s0 | s1 s2 are the vector components in the R^3 canonical basis |
| s1 | second vector component in the R^3 canonical basis |
| s2 | third vector component in the R^3 canonical basis |
Definition at line 965 of file MiniTensor_Vector.h.
|
virtual |
Simple destructor
Definition at line 984 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION T const & minitensor::Vector< T, N >::operator() | ( | Index const | i | ) | const |
Indexing for constant vector
| i | the index |
Definition at line 1040 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Vector< T, N >::operator() | ( | Index const | i | ) |
| KOKKOS_INLINE_FUNCTION T const & minitensor::Vector< T, N >::operator() | ( | Index const | i, |
| Index const | |||
| ) | const |
const Vector indexing convenience operator for some algorithms
| i | the index |
Definition at line 1062 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION T & minitensor::Vector< T, N >::operator() | ( | Index const | i, |
| Index const | |||
| ) |
Vector indexing convenience operator for some algorithms
| i | the index |
Definition at line 1073 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Vector< T, N >::get_dimension | ( | ) | const |
Definition at line 995 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Vector< T, N >::get_num_rows | ( | ) | const |
Definition at line 1006 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Index minitensor::Vector< T, N >::get_num_cols | ( | ) | const |
Definition at line 1017 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION void minitensor::Vector< T, N >::set_dimension | ( | Index const | dimension | ) |
| dimension | of vector |
Definition at line 1028 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator+ | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator- | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::operator- | ( | Vector< T, N > const & | u | ) |
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::operator* | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
| KOKKOS_INLINE_FUNCTION bool minitensor::operator== | ( | Vector< T, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Vector equality tested by components
Definition at line 1144 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION bool minitensor::operator!= | ( | Vector< T, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Vector inequality tested by components
Definition at line 1156 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type minitensor::operator* | ( | S const & | s, |
| Vector< T, N > const & | u | ||
| ) |
Scalar vector product
| s | scalar factor |
| u | vector factor |
Definition at line 1168 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION lazy_disable_if< order_1234< S >, apply_vector< Promote< S, T >, N > >::type minitensor::operator* | ( | Vector< T, N > const & | u, |
| S const & | s | ||
| ) |
Vector scalar product
| u | vector factor |
| s | scalar factor |
Definition at line 1185 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator/ | ( | Vector< T, N > const & | u, |
| S const & | s | ||
| ) |
Vector scalar division
| u | vector |
| s | scalar that divides each component of vector |
Definition at line 1201 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::operator/ | ( | S const & | s, |
| Vector< T, N > const & | u | ||
| ) |
Scalar vector division
| s | scalar |
| u | vector that divides scalar with each component |
Definition at line 1217 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Promote< S, T >::type minitensor::dot | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
| KOKKOS_INLINE_FUNCTION Vector< typename Promote< S, T >::type, N > minitensor::cross | ( | Vector< S, N > const & | u, |
| Vector< T, N > const & | v | ||
| ) |
Cross product only valid for R^3. R^N with N != 3 will produce an error.
Definition at line 1270 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION T minitensor::norm | ( | Vector< T, N > const & | u | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::norm_square | ( | Vector< T, N > const & | u | ) |
Vector 2-norm square. Used for fast distance calculation.
Definition at line 1321 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION T minitensor::norm_1 | ( | Vector< T, N > const & | u | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::norm_infinity | ( | Vector< T, N > const & | u | ) |
Vector infinity-norm
Definition at line 1390 of file MiniTensor_Vector.h.
| KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::unit | ( | Vector< T, N > const & | u | ) |
Definition at line 1424 of file MiniTensor_Vector.h.
| std::pair< Vector< T, N >, T > minitensor::house | ( | Vector< T, N > const & | x | ) |
Compute Householder vector See algorithm 5.1.1, Matrix Computations 3rd ed, Golub - Van Loan \( Px = |X|e_1, P := I - \beta v v^T\)
Definition at line 1433 of file MiniTensor_Vector.h.
| std::istream & minitensor::operator>> | ( | std::istream & | is, |
| Vector< T, N > & | u | ||
| ) |
Vector input
| u | vector |
| is | input stream |
Definition at line 1474 of file MiniTensor_Vector.h.
| std::ostream & minitensor::operator<< | ( | std::ostream & | os, |
| Vector< T, N > const & | u | ||
| ) |
Vector output
| u | vector |
| os | output stream |
Definition at line 1493 of file MiniTensor_Vector.h.
|
staticconstexpr |
Order
Definition at line 46 of file MiniTensor_Matrix.h.
|
staticconstexpr |
Static or dynamic
Definition at line 53 of file MiniTensor_Matrix.h.
|
private |
Number of rows.
Definition at line 428 of file MiniTensor_Matrix.h.
|
private |
Number of columns.
Definition at line 434 of file MiniTensor_Matrix.h.
|
staticconstexpr |
Resulting dimension: the constant C.
Definition at line 27 of file MiniTensor_Storage.h.
|
staticconstexpr |
Resulting dimension: DYNAMIC.
Definition at line 38 of file MiniTensor_Storage.h.
|
staticconstexpr |
Largest dimension allowed for static storage.
Definition at line 51 of file MiniTensor_Storage.h.
|
staticconstexpr |
The validated dimension D.
Definition at line 60 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 0 for orders without a specialization below.
Definition at line 87 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: D.
Definition at line 98 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: D * D.
Definition at line 109 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: D * D * D.
Definition at line 120 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: D * D * D * D.
Definition at line 131 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 0 for dimensions without a specialization below.
Definition at line 140 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 151 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 1.
Definition at line 157 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 4.
Definition at line 164 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 9.
Definition at line 171 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 16.
Definition at line 178 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 0 for dimensions without a specialization below.
Definition at line 185 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 197 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 1.
Definition at line 203 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 2.
Definition at line 210 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 3.
Definition at line 217 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: 4.
Definition at line 224 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: N + P.
Definition at line 234 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 245 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: N - P.
Definition at line 256 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 267 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: N * P.
Definition at line 278 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 289 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 300 of file MiniTensor_Storage.h.
|
staticconstexpr |
Result: DYNAMIC.
Definition at line 311 of file MiniTensor_Storage.h.
|
staticconstexpr |
Storage policy flag: this is static storage.
Definition at line 350 of file MiniTensor_Storage.h.
|
staticconstexpr |
Storage policy flag: this is not dynamic storage.
Definition at line 357 of file MiniTensor_Storage.h.
|
private |
Fixed-size array that holds the entries.
Definition at line 470 of file MiniTensor_Storage.h.
|
private |
Number of entries in use; defaults to the capacity N.
Definition at line 476 of file MiniTensor_Storage.h.
|
staticconstexpr |
Storage policy flag: this is dynamic storage.
Definition at line 515 of file MiniTensor_Storage.h.
|
staticconstexpr |
Storage policy flag: this is not static storage.
Definition at line 522 of file MiniTensor_Storage.h.
|
private |
Pointer to the heap-allocated entries.
Definition at line 638 of file MiniTensor_Storage.h.
|
private |
Number of entries currently allocated.
Definition at line 644 of file MiniTensor_Storage.h.
|
staticconstexpr |
Order
Definition at line 46 of file MiniTensor_Tensor.h.
|
staticconstexpr |
Static or dynamic
Definition at line 53 of file MiniTensor_Tensor.h.
|
staticconstexpr |
Order
Definition at line 41 of file MiniTensor_Tensor3.h.
|
staticconstexpr |
Static or dynamic
Definition at line 48 of file MiniTensor_Tensor3.h.
|
staticconstexpr |
Order
Definition at line 41 of file MiniTensor_Tensor4.h.
|
staticconstexpr |
Static or dynamic
Definition at line 48 of file MiniTensor_Tensor4.h.
|
protected |
TensorBase components
Definition at line 482 of file MiniTensor_TensorBase.h.
|
protected |
dimension
Definition at line 488 of file MiniTensor_TensorBase.h.
|
staticconstexpr |
Order
Definition at line 45 of file MiniTensor_Vector.h.
|
staticconstexpr |
Static or dynamic
Definition at line 52 of file MiniTensor_Vector.h.