|
|
| TFEL_MATH_FIXED_SIZE_ARRAY_DEFAULT_METHODS (t2tost2, GenericFixedSizeArrayBase) |
template<std::size_t... d>
requires ((sizeof...(d) == StensorDimeToSize<N>::value) && ((d == TensorDimeToSize<N>::value) && ...)) |
| TFEL_HOST_DEVICE constexpr | t2tost2 (ValueType const (&... arrays)[d]) |
| | constructors from arrays to implement class template argument deduction.
|
|
TFEL_HOST_DEVICE constexpr void | import (const base_type< ValueType > *const) noexcept |
| | import values
|
|
TFEL_HOST_DEVICE constexpr void | copy (const auto) noexcept |
| | copy from a range
|
template<TensorConcept TensorType>
requires (getSpaceDimension<TensorType>() == N && isAssignableTo<numeric_type<TensorType>, T>()) |
| TFEL_HOST_DEVICE constexpr auto | dCdF (const TensorType &F) noexcept |
template<TensorConcept TensorType>
requires (getSpaceDimension<TensorType>() == N && isAssignableTo<numeric_type<TensorType>, T>()) |
| TFEL_HOST_DEVICE constexpr auto | dBdF (const TensorType &F) noexcept |
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray () noexcept |
| | default constructor
|
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const GenericFixedSizeArray &) noexcept |
| | copy constructor
|
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (GenericFixedSizeArray &&) noexcept |
| | move constructor
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const ValueType &) noexcept |
| | constructor from a value
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const std::initializer_list< ValueType2 > &values) noexcept |
| | constructor from an initializer list
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const InputIterator) noexcept |
| | default donstructor.
|
| TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const OtherArray &) noexcept |
| | copy constructor from an object assignable to the Child class.
|
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< t2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType > >() >::size_type | getContainerSize () const noexcept |
| TFEL_HOST_DEVICE constexpr t2tost2< N, ValueType > & | operator= (const OtherArray &) noexcept |
| | assign values values from an other array
|
|
TFEL_HOST_DEVICE constexpr t2tost2< N, ValueType > & | operator+= (const OtherArray &) noexcept |
|
TFEL_HOST_DEVICE constexpr t2tost2< N, ValueType > & | operator-= (const OtherArray &) noexcept |
|
TFEL_HOST_DEVICE constexpr t2tost2< N, ValueType > & | operator*= (const ValueType2 &) noexcept |
|
TFEL_HOST_DEVICE constexpr t2tost2< N, ValueType > & | operator/= (const ValueType2 &) noexcept |
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< t2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType > >() >::pointer | data () noexcept |
| TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< t2tost2< N, ValueType >, FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType >, getArrayPolicySize< FixedSizeRowMajorMatrixPolicy< StensorDimeToSize< N >::value, TensorDimeToSize< N >::value, ValueType > >() >::const_pointer | data () const noexcept |
|
TFEL_HOST_DEVICE constexpr | GenericFixedSizeArray (const std::initializer_list< ValueType > &values) noexcept |
template<unsigned short N, typename ValueType>
class tfel::math::t2tost2< N, ValueType >
linear operator which turns an unsymmetric tensor to symmetric tensor.
- Template Parameters
-
- Precondition
- This class is only defined for N=1u,2u and 3u.
- See also
- StensorDimeToSize and StensorSizeToDime.