tfel
Loading...
Searching...
No Matches
tfel::math::fsarray< N, ValueType > Struct Template Reference

a class representing tiny vectors of fixed size. More...

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

Inheritance diagram for tfel::math::fsarray< N, ValueType >:
tfel::math::GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double > > tfel::math::ArrayConceptBase< fsarray< N, double > >

Public Member Functions

constexpr fsarray () noexcept=default
 default constructor
constexpr fsarray (fsarray &&) noexcept=default
 move constructor
constexpr fsarray (const fsarray &) noexcept=default
 copy constructor
constexpr fsarray & operator= (fsarray &&) noexcept=default
 move assignement
constexpr fsarray & operator= (const fsarray &) noexcept=default
 standard assignement
Public Member Functions inherited from tfel::math::GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double > >
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray (const std::initializer_list< ValueType > &values) noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double >, getArrayPolicySize< FixedSizeVectorPolicy< N, double > >() >::size_type getContainerSize () const noexcept
TFEL_HOST_DEVICE constexpr fsarray< N, double > & operator= (const OtherArray &) noexcept
 assign values values from an other array
TFEL_HOST_DEVICE constexpr fsarray< N, double > & operator+= (const OtherArray &) noexcept
TFEL_HOST_DEVICE constexpr fsarray< N, double > & operator-= (const OtherArray &) noexcept
TFEL_HOST_DEVICE constexpr fsarray< N, double > & operator*= (const ValueType2 &) noexcept
TFEL_HOST_DEVICE constexpr fsarray< N, double > & operator/= (const ValueType2 &) noexcept
TFEL_HOST_DEVICE constexpr GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double >, getArrayPolicySize< FixedSizeVectorPolicy< N, double > >() >::pointer data () noexcept

Additional Inherited Members

Public Types inherited from tfel::math::GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double > >
using value_type
Public Types inherited from tfel::math::ArrayConceptBase< fsarray< N, double > >
using ConceptTag
Static Public Member Functions inherited from tfel::math::GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double > >
static TFEL_HOST_DEVICE constexpr fsarray< N, double > zero ()
Protected Attributes inherited from tfel::math::GenericFixedSizeArray< fsarray< N, double >, FixedSizeVectorPolicy< N, double > >
FixedSizeVectorPolicy< N, double >::value_type v [getArrayPolicySize< FixedSizeVectorPolicy< N, double > >()]
 values holded

Detailed Description

template<unsigned short N, typename ValueType = double>
struct tfel::math::fsarray< N, ValueType >

a class representing tiny vectors of fixed size.

a class representing a fixed sized array

Template Parameters
Nnumber of values hold
ValueTypetype of the values

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