|
|
TFEL_HOST_DEVICE constexpr | View (const data_pointer_type p) noexcept |
| | default constructor
|
|
TFEL_HOST_DEVICE constexpr | View (const data_pointer_type p, const IndexingPolicyType &i) noexcept |
| | default constructor
|
|
constexpr | View (const View &) noexcept=default |
| | copy constructor
|
|
constexpr | View (View &&) noexcept=default |
| | move constructor
|
|
TFEL_HOST_DEVICE constexpr View & | operator= (const View &src) noexcept |
| | assignement operator
|
|
TFEL_HOST_DEVICE constexpr View & | operator= (View &&src) noexcept |
| | move assigment
|
| TFEL_HOST_DEVICE constexpr data_pointer_type | data () noexcept |
| TFEL_HOST_DEVICE constexpr const_data_pointer_type | data () const noexcept |
template<typename OtherArray>
requires ( isAssignableTo<OtherArray, MappedType>()) |
| TFEL_HOST_DEVICE constexpr View & | operator= (const OtherArray &src) |
| | assign values values from an other array
|
template<typename OtherArray>
requires ( isAssignableTo<OtherArray, MappedType>()) |
| TFEL_HOST_DEVICE constexpr View & | operator+= (const OtherArray &src) |
template<typename OtherArray>
requires ( isAssignableTo<OtherArray, MappedType>()) |
| TFEL_HOST_DEVICE constexpr View & | operator-= (const OtherArray &src) |
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<ValueType2, numeric_type<MappedType>, OpMult>, numeric_type<MappedType>>()) |
| TFEL_HOST_DEVICE constexpr View & | operator*= (const ValueType2 &s) noexcept |
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<numeric_type<MappedType>, ValueType2, OpDiv>, numeric_type<MappedType>>()) |
| TFEL_HOST_DEVICE constexpr View & | operator/= (const ValueType2 &s) noexcept |
|
| ~View () noexcept=default |
| | destructor
|
template<typename MappedType, typename IndexingPolicyType>
struct tfel::math::View< MappedType, IndexingPolicyType >
view of an object from a continuous memory area
- Template Parameters
-
| MappedType | type of the object mapped to the memory area |