tfel
Loading...
Searching...
No Matches
tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N > Struct Template Reference

a fixed size array class with storage on the stack. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/GenericFixedSizeArray.hxx>

Inheritance diagram for tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >:
tfel::math::MutableFixedSizeArrayBase< Child, ArrayPolicyType > tfel::math::MutableArrayCommonMethods< Child, ArrayPolicyType > tfel::math::MutableArraySTLCompatibilityLayer< Child, ArrayPolicyType > tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType > tfel::math::st2tost2< N, typename ScalarTypes< T, true >::real > tfel::math::st2tost2< N, typename ScalarTypes< T, true >::compliance > tfel::math::st2tost2< N, typename ScalarTypes< T, true >::viscosity > tfel::math::st2tost2< N, typename ScalarTypes< T, true >::viscouscompliance > tfel::math::st2tost2< N, typename ScalarTypes< T, true >::stress > tfel::math::st2tost2< N, T > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), BarlatBaseType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), BarlatInvertStressType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), Cazacu2001InvertStressType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), Cazacu2004InvertStressType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), Drucker1949InvertStressType< StressStensor > > tfel::math::st2tost2< N, StressType > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), GursonTvergaardNeedleman1982InvertStressType< StressStensor > > tfel::math::st2tost2< N, real > tfel::math::st2tost2< 2u, real > tfel::math::st2tost2< 3u, real > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), HosfordInvertStressType< StressStensor > > tfel::math::st2tost2< 1u, stress > tfel::math::st2tost2< 2u, stress > tfel::math::st2tost2< 3u, stress > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), MichelAndSuquet1992HollowSphereInvertStressType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), MohrCoulombInvertStressType< StressStensor > > tfel::math::st2tost2< tfel::math::getSpaceDimension< StressStensor >(), RousselierTanguyBesson2002InvertStressType< StressStensor > > tfel::math::st2tost2< getSpaceDimension< ST2toST2Type >(), derivative_type< numeric_type< ST2toST2Type >, ScalarType > > tfel::math::st2tost2< getSpaceDimension< ST2toST2Type >(), derivative_type< ScalarType, numeric_type< ST2toST2Type > > > tfel::math::st2tost2< getSpaceDimension< StensorType1 >(), derivative_type< numeric_type< StensorType1 >, numeric_type< StensorType2 > > > tfel::math::st2tot2< getSpaceDimension< ST2toT2Type >(), derivative_type< numeric_type< ST2toT2Type >, ScalarType > > tfel::math::st2tot2< getSpaceDimension< ST2toT2Type >(), derivative_type< ScalarType, numeric_type< ST2toT2Type > > > tfel::math::st2tot2< getSpaceDimension< TensorType1 >(), derivative_type< numeric_type< TensorType1 >, numeric_type< StensorType2 > > > tfel::math::stensor< N, typename ScalarTypes< T, true >::real > tfel::math::stensor< N, typename ScalarTypes< T, true >::frequency > tfel::math::stensor< N, typename ScalarTypes< T, true >::stress > tfel::math::stensor< N, typename ScalarTypes< T, true >::stressrate > tfel::math::stensor< N, tfel::math::qt< tfel::math::unit::NoUnit, T > > tfel::math::stensor< N, tfel::math::qt< tfel::math::unit::Frequency, T > > tfel::math::stensor< N, typename ScalarTypes< T, true >::thermalexpansion > tfel::math::stensor< N, T > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), BarlatBaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), Cazacu2001BaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), Cazacu2004BaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensorType >(), ChuNeedleman1980StressBasedNucleationModelInverseStressType< StressStensorType > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), Drucker1949BaseType< StressStensor > > tfel::math::stensor< N, stress > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), GursonTvergaardNeedleman1982BaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), HosfordBaseType< StressStensor > > tfel::math::stensor< 1u, real > tfel::math::stensor< 1u, stress > tfel::math::stensor< 2u, real > tfel::math::stensor< 2u, stress > tfel::math::stensor< 3u, real > tfel::math::stensor< 3u, stress > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), MichelAndSuquet1992HollowSphereBaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), MohrCoulombBaseType< StressStensor > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensorType >(), PowerLawStressBasedNucleationModelInverseStressType< StressStensorType > > tfel::math::stensor< tfel::math::getSpaceDimension< StressStensor >(), RousselierTanguyBesson2002BaseType< StressStensor > > tfel::math::stensor< getSpaceDimension< StensorType >(), derivative_type< numeric_type< StensorType >, ScalarType > > tfel::math::stensor< getSpaceDimension< StensorType >(), derivative_type< ScalarType, numeric_type< StensorType > > > tfel::math::t2tost2< N, StressType > tfel::math::t2tost2< getSpaceDimension< T2toST2Type >(), derivative_type< numeric_type< T2toST2Type >, ScalarType > > tfel::math::t2tost2< getSpaceDimension< T2toST2Type >(), derivative_type< ScalarType, numeric_type< T2toST2Type > > > tfel::math::t2tost2< getSpaceDimension< StensorType1 >(), derivative_type< numeric_type< StensorType1 >, numeric_type< TensorType2 > > > tfel::math::t2tot2< N, StressType > tfel::math::t2tot2< getSpaceDimension< T2toT2Type >(), derivative_type< numeric_type< T2toT2Type >, ScalarType > > tfel::math::t2tot2< getSpaceDimension< T2toT2Type >(), derivative_type< ScalarType, numeric_type< T2toT2Type > > > tfel::math::t2tot2< getSpaceDimension< TensorType1 >(), derivative_type< numeric_type< TensorType1 >, numeric_type< TensorType2 > > > tfel::math::tensor< N, tfel::math::qt< tfel::math::unit::NoUnit, T > > tfel::math::tensor< N, typename ScalarTypes< T, true >::frequency > tfel::math::tensor< N, typename ScalarTypes< T, true >::stress > tfel::math::tensor< N, tfel::math::qt< tfel::math::unit::Frequency, T > > tfel::math::tensor< N, T > tfel::math::tensor< N, base_type< stress > > tfel::math::tensor< 1u, real > tfel::math::tensor< 2u, real > tfel::math::tensor< 3u, real > tfel::math::tensor< getSpaceDimension< TensorType >(), derivative_type< numeric_type< TensorType >, ScalarType > > tfel::math::tensor< getSpaceDimension< TensorType >(), derivative_type< ScalarType, numeric_type< TensorType > > > tfel::math::tmatrix< N, N, tfel::math::qt< tfel::math::unit::NoUnit, T > > tfel::math::tmatrix< N, N, T > tfel::math::tmatrix< 3, 3, base_type< T > > tfel::math::tmatrix< N, M, derivative_type< TMatrixNumericType, ScalarType > > tfel::math::tmatrix< N, M, derivative_type< ScalarType, TMatrixNumericType > > tfel::math::tmatrix< N1, N2, derivative_type< TVectorNumericTypeType1, TVectorNumericTypeType2 > > tfel::math::tvector< N, tfel::math::qt< tfel::math::unit::Length, T > > tfel::math::tvector< N, T > tfel::math::tvector< N, tfel::math::qt< tfel::math::unit::InvLength, T > > tfel::math::tvector< N, typename ScalarTypes< T, true >::real > tfel::math::tvector< N, typename ScalarTypes< T, true >::force > tfel::math::tvector< N, typename ScalarTypes< T, true >::length > tfel::math::tvector< 6u, tfel::math::base_type< StensorType > > tfel::math::tvector< 11u, tfel::math::base_type< StensorType > > tfel::math::tvector< M, T > tfel::math::tvector< N, derivative_type< TVectorNumericType, ScalarType > > tfel::math::tvector< N, derivative_type< ScalarType, TVectorNumericType > > tfel::math::tvector< 2, T >

Public Types

using value_type
Public Types inherited from tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >
using array_policy = ArrayPolicyType
 exposing the array policy
using indexing_policy = typename ArrayPolicyType::IndexingPolicy
 exposing the indexing policy

Public Member Functions

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
template<typename ValueType>
requires (isAssignableTo<ValueType, value_type>())
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const ValueType &) noexcept
 constructor from a value
template<typename ValueType2>
requires (isAssignableTo<ValueType2, value_type>())
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const std::initializer_list< ValueType2 > &values) noexcept
 constructor from an initializer list
template<typename InputIterator>
requires (std::is_same_v< typename std::iterator_traits<InputIterator>::value_type, base_type<value_type>>)
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const InputIterator) noexcept
 default donstructor.
template<typename OtherArray>
requires ((isAssignableTo<OtherArray, Child>()) && (!std::is_same_v<OtherArray, Child>))
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const OtherArray &) noexcept
 copy constructor from an object assignable to the Child class.
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::size_type getContainerSize () const noexcept
template<typename OtherArray>
requires (isAssignableTo<OtherArray, Child>())
TFEL_HOST_DEVICE constexpr Child & operator= (const OtherArray &) noexcept
 assign values values from an other array
template<typename OtherArray>
requires (isAssignableTo<OtherArray, Child>())
TFEL_HOST_DEVICE constexpr Child & operator+= (const OtherArray &) noexcept
template<typename OtherArray>
requires (isAssignableTo<OtherArray, Child>())
TFEL_HOST_DEVICE constexpr Child & operator-= (const OtherArray &) noexcept
template<typename ValueType2>
requires (isAssignableTo< BinaryOperationResult<ValueType2, value_type, OpMult>, value_type>())
TFEL_HOST_DEVICE constexpr Child & operator*= (const ValueType2 &) noexcept
template<typename ValueType2>
requires ( isAssignableTo<BinaryOperationResult<value_type, ValueType2, OpDiv>, value_type>())
TFEL_HOST_DEVICE constexpr Child & operator/= (const ValueType2 &) noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::pointer data () noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::const_pointer data () const noexcept
template<typename ValueType>
requires (isAssignableTo<ValueType, value_type>())
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const std::initializer_list< ValueType > &values) noexcept
Public Member Functions inherited from tfel::math::MutableFixedSizeArrayBase< Child, ArrayPolicyType >
constexpr const auto & getIndexingPolicy () const
template<typename Functor>
TFEL_HOST_DEVICE constexpr void iterate (const Functor &)
 apply a multi-indices functor
template<typename Functor>
constexpr void iterate (const Functor &f)
Public Member Functions inherited from tfel::math::MutableArrayCommonMethods< Child, ArrayPolicyType >
TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference operator[] (const typename ArrayPolicyType::IndexingPolicy::size_type) noexcept
 access operator
TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference operator[] (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) noexcept
 access operator
template<typename... Indices>
TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference operator() (const Indices...) noexcept
 access operator
TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference operator() (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) noexcept
 access operator
template<typename ValueType>
requires ( isAssignableTo<ValueType, typename ArrayPolicyType::value_type>())
TFEL_HOST_DEVICE constexpr Child & operator= (const std::initializer_list< ValueType > &) noexcept
 assign values values from an initializer list
template<typename ImportIndexingPolicy, typename InputIterator>
TFEL_HOST_DEVICE constexpr void import (const ImportIndexingPolicy &, const InputIterator, const InputIterator)
 import array values from a sequence
template<typename ValueType2>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>())
TFEL_HOST_DEVICE constexpr void fill (const ValueType2 &)
 fill the array with the given value
template<typename ValueType2, typename ValueType3>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>() && isAssignableTo<ValueType3, typename ArrayPolicyType::value_type>())
TFEL_HOST_DEVICE constexpr void clamp (const ValueType2 &, const ValueType3 &)
 clamp all the values between the given bounds
template<typename... Indices>
constexpr ArrayPolicyType::reference operator() (const Indices... i) noexcept
template<typename OtherArray>
constexpr void assign (const OtherArray &src) noexcept
template<typename OtherArray>
constexpr void addAndAssign (const OtherArray &src) noexcept
template<typename OtherArray>
constexpr void substractAndAssign (const OtherArray &src) noexcept
template<typename ValueType>
requires ( isAssignableTo<ValueType, typename ArrayPolicyType::value_type>())
constexpr Child & operator= (const std::initializer_list< ValueType > &values) noexcept
template<typename ImportIndexingPolicy, typename InputIterator>
constexpr void import (const ImportIndexingPolicy &policy, const InputIterator p, const InputIterator pe)
template<typename ValueType2>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>())
constexpr void fill (const ValueType2 &v)
template<typename ValueType2, typename ValueType3>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>() && isAssignableTo<ValueType3, typename ArrayPolicyType::value_type>())
constexpr void clamp (const ValueType2 &lower_bound, const ValueType3 &upper_bound)
template<typename ValueType2>
requires (isAssignableTo< BinaryOperationResult<ValueType2, typename ArrayPolicyType::value_type, OpMult>, typename ArrayPolicyType::value_type>())
constexpr void multiplyByScalar (const ValueType2 &s)
template<typename ValueType2>
requires (isAssignableTo< BinaryOperationResult<typename ArrayPolicyType::value_type, ValueType2, OpDiv>, typename ArrayPolicyType::value_type>())
constexpr void divideByScalar (const ValueType2 &s)
Public Member Functions inherited from tfel::math::ConstArrayCommonMethods< Child, ArrayPolicyType >
TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference operator[] (const typename ArrayPolicyType::IndexingPolicy::size_type) const noexcept
 access operator
TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference operator[] (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept
 access operator
template<typename... Indices>
TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference operator() (const Indices...) const noexcept
 access operator
TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference operator() (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept
 access operator
template<typename... Indices>
constexpr ArrayPolicyType::const_reference operator() (const Indices... i) const noexcept

Static Public Member Functions

static TFEL_HOST_DEVICE constexpr Child zero ()

Protected Member Functions

TFEL_HOST_DEVICE constexpr GenericFixedSizeArray & operator= (const GenericFixedSizeArray &) noexcept
 assignement operator
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray & operator= (GenericFixedSizeArray &&) noexcept
 move assigment
Protected Member Functions inherited from tfel::math::MutableArrayCommonMethods< Child, ArrayPolicyType >
template<typename OtherArray>
TFEL_HOST_DEVICE constexpr void assign (const OtherArray &) noexcept
 assign the values of the given array to the values of this array.
template<typename OtherArray>
TFEL_HOST_DEVICE constexpr void addAndAssign (const OtherArray &) noexcept
 add the values of the given array to the values of this array.
template<typename OtherArray>
TFEL_HOST_DEVICE constexpr void substractAndAssign (const OtherArray &) noexcept
 substract the values of the given array to the values of this array.
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<ValueType2, typename ArrayPolicyType::value_type, OpMult>, typename ArrayPolicyType::value_type>())
TFEL_HOST_DEVICE constexpr void multiplyByScalar (const ValueType2 &)
 multiplication by a scalar
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<typename ArrayPolicyType::value_type, ValueType2, OpDiv>, typename ArrayPolicyType::value_type>())
TFEL_HOST_DEVICE constexpr void divideByScalar (const ValueType2 &)
 division by a scalar

Protected Attributes

ArrayPolicy::value_type v [N]
 values holded

Detailed Description

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N = getArrayPolicySize<ArrayPolicy>()>
struct tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >

a fixed size array class with storage on the stack.

Template Parameters
Ncontainer size
ArrayPolicyarray policy

Member Typedef Documentation

◆ value_type

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N = getArrayPolicySize<ArrayPolicy>()>
using tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::value_type
Initial value:
ArrayPolicy>::value_type
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray() noexcept
default constructor
Definition GenericFixedSizeArray.ixx:34
a base class for mutable fixed size arrays.
Definition MutableFixedSizeArrayBase.hxx:31

Constructor & Destructor Documentation

◆ GenericFixedSizeArray() [1/4]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
requires (isAssignableTo<ValueType, value_type>())
template<typename ValueType>
requires (isAssignableTo<ValueType, value_type>())
TFEL_HOST_DEVICE constexpr tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::GenericFixedSizeArray ( const ValueType & value)
explicitconstexprnoexcept

constructor from a value

Parameters
[in]valuevalue used to initialize the array

◆ GenericFixedSizeArray() [2/4]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N = getArrayPolicySize<ArrayPolicy>()>
template<typename ValueType2>
requires (isAssignableTo<ValueType2, value_type>())
TFEL_HOST_DEVICE constexpr tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::GenericFixedSizeArray ( const std::initializer_list< ValueType2 > & values)
constexprnoexcept

constructor from an initializer list

Parameters
[in]valuesvalues

◆ GenericFixedSizeArray() [3/4]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
requires (std::is_same_v< typename std::iterator_traits<InputIterator>::value_type, base_type<value_type>>)
template<typename InputIterator>
requires (std::is_same_v< typename std::iterator_traits<InputIterator>::value_type, base_type<value_type>>)
TFEL_HOST_DEVICE constexpr tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::GenericFixedSizeArray ( const InputIterator p)
explicitconstexprnoexcept

default donstructor.

Parameters
ppointer to an array used to initialise the components of the stensor. This array is left unchanged.

◆ GenericFixedSizeArray() [4/4]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
requires ((isAssignableTo<OtherArray, Child>()) && (!std::is_same_v<OtherArray, Child>))
template<typename OtherArray>
requires ((isAssignableTo<OtherArray, Child>()) && (!std::is_same_v<OtherArray, Child>))
TFEL_HOST_DEVICE constexpr tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::GenericFixedSizeArray ( const OtherArray & src)
constexprnoexcept

copy constructor from an object assignable to the Child class.

Parameters
[in]srcsource

This is mostly used by expression objects and views.

Member Function Documentation

◆ data() [1/2]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::const_pointer tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::data ( ) const
nodiscardconstexprnoexcept
Returns
a pointer to the underlying array serving as element storage.

◆ data() [2/2]

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::pointer tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::data ( )
nodiscardconstexprnoexcept
Returns
a pointer to the underlying array serving as element storage.

◆ getContainerSize()

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< Child, ArrayPolicy, N >::size_type tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::getContainerSize ( ) const
nodiscardconstexprnoexcept
Returns
the physical size used by the underlying array. This size must be greater than than the logical number of elements contained in the array which is returned by IndexingPolicy::size.

◆ operator=()

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
requires (isAssignableTo<OtherArray, Child>())
template<typename OtherArray>
requires (isAssignableTo<OtherArray, Child>())
TFEL_HOST_DEVICE constexpr Child & tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::operator= ( const OtherArray & src)
constexprnoexcept

assign values values from an other array

Parameters
[in]srcarray to be assigned

◆ zero()

template<typename Child, typename ArrayPolicy, typename ArrayPolicy::IndexingPolicy::size_type N>
TFEL_HOST_DEVICE constexpr Child tfel::math::GenericFixedSizeArray< Child, ArrayPolicy, N >::zero ( )
staticconstexpr
Returns
a new instance of the Child class filled with null values

The documentation for this struct was generated from the following files: