Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::VectorElementT< T, Indexer > Class Template Reference

Tool to manipulate a vector entry while building a vector. More...

#include <core/alien/data/utils/VectorElement.h>

Public Member Functions

 VectorElementT (Arccore::ArrayView< T > values, Arccore::ConstArrayView< Arccore::Integer > indexes, Arccore::Integer local_offset)
 Constructor.
void operator= (Arccore::ConstArrayView< T > values)
 Operator equal.
void operator+= (Arccore::ConstArrayView< T > values)
 Plus equal operator.
void operator-= (Arccore::ConstArrayView< T > values)
 Minus equal operator.

Detailed Description

template<typename T, typename Indexer>
class Alien::VectorElementT< T, Indexer >

Tool to manipulate a vector entry while building a vector.

Template Parameters
TThe data type of the vector
IndexerThe indexer

Definition at line 47 of file VectorElement.h.

Constructor & Destructor Documentation

◆ VectorElementT()

template<typename T, typename Indexer>
Alien::VectorElementT< T, Indexer >::VectorElementT ( Arccore::ArrayView< T > values,
Arccore::ConstArrayView< Arccore::Integer > indexes,
Arccore::Integer local_offset )

Constructor.

Parameters
[in]valuesThe array values
[in]indexesThe indexes to work on
[in]local_offsetThe offset

Definition at line 36 of file VectorElementT.h.

Member Function Documentation

◆ operator+=()

template<typename T, typename Indexer>
void Alien::VectorElementT< T, Indexer >::operator+= ( Arccore::ConstArrayView< T > values)

Plus equal operator.

Parameters
[in]valuesThe values to add

Definition at line 61 of file VectorElementT.h.

◆ operator-=()

template<typename T, typename Indexer>
void Alien::VectorElementT< T, Indexer >::operator-= ( Arccore::ConstArrayView< T > values)

Minus equal operator.

Parameters
[in]valuesThe values to substract

Definition at line 74 of file VectorElementT.h.

◆ operator=()

template<typename T, typename Indexer>
void Alien::VectorElementT< T, Indexer >::operator= ( Arccore::ConstArrayView< T > values)

Operator equal.

Parameters
[in]valuesThe values to set

Definition at line 48 of file VectorElementT.h.


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