TRUSTArray#

#include <TRUSTArray.h>

Represents a an array of int/int64/double/… values.

How to cite this class in this doc#

:ref:`TRUSTArray <class-template-trustarray>`
[TRUSTArray](#class-template-trustarray)

Detailed description#

The two main members are mem_ and span_: We can have 3 states for the array: Finally, in case of a “XXTrav” array, the memory allocation is special: In the template parameters below, is the value type (what it contains), is the extent type (how many items).

Inherits from#

Inherited by#

List of Protected Methods#

List of Public Methods#

List of Private Methods#

Complete Member Function Documentation#

attach_array
void TRUSTArray<_TYPE_, _SIZE_>::attach_array(const TRUSTArray &a, _SIZE_ start=0, _SIZE_ size=-1)
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::attach_array(const TRUSTArray &a, _SIZE_ start=0, _SIZE_ size=-1) <protected-void-trustarray-type-size-attach-array-const-trustarray-ref-a-size-start-equal-0-size-size-equal-1>`
[void TRUSTArray<_TYPE_, _SIZE_>::attach_array(const TRUSTArray &a, _SIZE_ start=0, _SIZE_ size=-1)](#protected-void-trustarray-type-size-attach-array-const-trustarray-ref-a-size-start-equal-0-size-size-equal-1)
detach_array
bool TRUSTArray<_TYPE_, _SIZE_>::detach_array()
Referenced By
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::detach_array() <protected-bool-trustarray-type-size-detach-array>`
[bool TRUSTArray<_TYPE_, _SIZE_>::detach_array()](#protected-bool-trustarray-type-size-detach-array)
duplique
int TRUSTArray<_TYPE_, _SIZE_>::duplique() const override

Reimplements:

References
How to cite in this doc:
:ref:`int TRUSTArray<_TYPE_, _SIZE_>::duplique() const override <protected-int-trustarray-type-size-duplique-const-override>`
[int TRUSTArray<_TYPE_, _SIZE_>::duplique() const override](#protected-int-trustarray-type-size-duplique-const-override)
init_device_view
void TRUSTArray<_TYPE_, _SIZE_>::init_device_view() const
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::init_device_view() const <protected-void-trustarray-type-size-init-device-view-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::init_device_view() const](#protected-void-trustarray-type-size-init-device-view-const)
printOn
Sortie & TRUSTArray<_TYPE_, _SIZE_>::printOn(Sortie &os) const override

Ecriture de l’objet sur un flot de sortie Methode a surcharger.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`Sortie & TRUSTArray<_TYPE_, _SIZE_>::printOn(Sortie &os) const override <protected-sortie-ref-trustarray-type-size-printon-sortie-ref-os-const-override>`
[Sortie & TRUSTArray<_TYPE_, _SIZE_>::printOn(Sortie &os) const override](#protected-sortie-ref-trustarray-type-size-printon-sortie-ref-os-const-override)
readOn
Entree & TRUSTArray<_TYPE_, _SIZE_>::readOn(Entree &is) override

Lecture d’un Objet_U sur un flot d’entree Methode a surcharger.

Reimplements:

References
Referenced By
How to cite in this doc:
:ref:`Entree & TRUSTArray<_TYPE_, _SIZE_>::readOn(Entree &is) override <protected-entree-ref-trustarray-type-size-readon-entree-ref-is-override>`
[Entree & TRUSTArray<_TYPE_, _SIZE_>::readOn(Entree &is) override](#protected-entree-ref-trustarray-type-size-readon-entree-ref-is-override)
resize_array_
void TRUSTArray<_TYPE_, _SIZE_>::resize_array_(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)

Protected method for resize. Used by derived classes. Same as resize_array() with less checks. This is also where we deal with the STORAGE::TEMP_STORAGE capability, i.e. the Trav arrays. There memory is taken from a shared pool ( TRUSTTravPool ). This kind of array should never be used in 64bits, since Trav are meaningful when inside the timestepping (so the 32bit world after the Scatter isntruction).

Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::resize_array_(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) <protected-void-trustarray-type-size-resize-array-underscore-size-n-resize-options-opt-equal-resize-options-copy-init>`
[void TRUSTArray<_TYPE_, _SIZE_>::resize_array_(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)](#protected-void-trustarray-type-size-resize-array-underscore-size-n-resize-options-opt-equal-resize-options-copy-init)
taille_memoire
unsigned TRUSTArray<_TYPE_, _SIZE_>::taille_memoire() const override

Reimplements:

How to cite in this doc:
:ref:`unsigned TRUSTArray<_TYPE_, _SIZE_>::taille_memoire() const override <protected-unsigned-trustarray-type-size-taille-memoire-const-override>`
[unsigned TRUSTArray<_TYPE_, _SIZE_>::taille_memoire() const override](#protected-unsigned-trustarray-type-size-taille-memoire-const-override)
addr
_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr()
Referenced By
How to cite in this doc:
:ref:`_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr() <public-type-ptr-trustarray-type-size-addr>`
[_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr()](#public-type-ptr-trustarray-type-size-addr)
addr
const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr() const
How to cite in this doc:
:ref:`const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr() const <public-const-type-ptr-trustarray-type-size-addr-const>`
[const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::addr() const](#public-const-type-ptr-trustarray-type-size-addr-const)
append_array
void TRUSTArray<_TYPE_, _SIZE_>::append_array(_TYPE_ valeur)

Add a slot at the end of the array and store it valeur - > similar to vector<>::push_back

Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::append_array(_TYPE_ valeur) <public-void-trustarray-type-size-append-array-type-valeur>`
[void TRUSTArray<_TYPE_, _SIZE_>::append_array(_TYPE_ valeur)](#public-void-trustarray-type-size-append-array-type-valeur)
begin
Iterator_ TRUSTArray<_TYPE_, _SIZE_>::begin()
Referenced By
How to cite in this doc:
:ref:`Iterator_ TRUSTArray<_TYPE_, _SIZE_>::begin() <public-iterator-trustarray-type-size-begin>`
[Iterator_ TRUSTArray<_TYPE_, _SIZE_>::begin()](#public-iterator-trustarray-type-size-begin)
check_flattened
bool TRUSTArray<_TYPE_, _SIZE_>::check_flattened() const
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::check_flattened() const <public-bool-trustarray-type-size-check-flattened-const>`
[bool TRUSTArray<_TYPE_, _SIZE_>::check_flattened() const](#public-bool-trustarray-type-size-check-flattened-const)
checkDataOnDevice
bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice()
Referenced By
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice() <public-bool-trustarray-type-size-checkdataondevice>`
[bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice()](#public-bool-trustarray-type-size-checkdataondevice)
checkDataOnDevice
bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice() const
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice() const <public-bool-trustarray-type-size-checkdataondevice-const>`
[bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice() const](#public-bool-trustarray-type-size-checkdataondevice-const)
checkDataOnDevice
bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice(const TRUSTArray &arr)
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice(const TRUSTArray &arr) <public-bool-trustarray-type-size-checkdataondevice-const-trustarray-ref-arr>`
[bool TRUSTArray<_TYPE_, _SIZE_>::checkDataOnDevice(const TRUSTArray &arr)](#public-bool-trustarray-type-size-checkdataondevice-const-trustarray-ref-arr)
CleanMyView
void TRUSTArray<_TYPE_, _SIZE_>::CleanMyView()
References
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::CleanMyView() <public-void-trustarray-type-size-cleanmyview>`
[void TRUSTArray<_TYPE_, _SIZE_>::CleanMyView()](#public-void-trustarray-type-size-cleanmyview)
copy_array
TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::copy_array(const TRUSTArray &a)
References
Referenced By
How to cite in this doc:
:ref:`TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::copy_array(const TRUSTArray &a) <public-trustarray-ref-trustarray-type-size-copy-array-const-trustarray-ref-a>`
[TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::copy_array(const TRUSTArray &a)](#public-trustarray-ref-trustarray-type-size-copy-array-const-trustarray-ref-a)
data
_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data()
Referenced By
How to cite in this doc:
:ref:`_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data() <public-type-ptr-trustarray-type-size-data>`
[_TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data()](#public-type-ptr-trustarray-type-size-data)
data
const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data() const
How to cite in this doc:
:ref:`const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data() const <public-const-type-ptr-trustarray-type-size-data-const>`
[const _TYPE_ * TRUSTArray<_TYPE_, _SIZE_>::data() const](#public-const-type-ptr-trustarray-type-size-data-const)
dimension_tot
virtual _SIZE_ TRUSTArray<_TYPE_, _SIZE_>::dimension_tot(int) const
How to cite in this doc:
:ref:`virtual _SIZE_ TRUSTArray<_TYPE_, _SIZE_>::dimension_tot(int) const <public-virtual-size-trustarray-type-size-dimension-tot-int-const>`
[virtual _SIZE_ TRUSTArray<_TYPE_, _SIZE_>::dimension_tot(int) const](#public-virtual-size-trustarray-type-size-dimension-tot-int-const)
end
Iterator_ TRUSTArray<_TYPE_, _SIZE_>::end()
Referenced By
How to cite in this doc:
:ref:`Iterator_ TRUSTArray<_TYPE_, _SIZE_>::end() <public-iterator-trustarray-type-size-end>`
[Iterator_ TRUSTArray<_TYPE_, _SIZE_>::end()](#public-iterator-trustarray-type-size-end)
ensureDataOnHost
void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost()
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost() <public-void-trustarray-type-size-ensuredataonhost>`
[void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost()](#public-void-trustarray-type-size-ensuredataonhost)
ensureDataOnHost
void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost() const
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost() const <public-void-trustarray-type-size-ensuredataonhost-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::ensureDataOnHost() const](#public-void-trustarray-type-size-ensuredataonhost-const)
from_tid_to_int
void TRUSTArray<trustIdType, trustIdType>::from_tid_to_int(TRUSTArray< int, int > &out) const

Conversion from a BigArrOfTID to an ArrOfInt. Careful, it always does a copy! It is your responsibility to invoke it only when necessary (typically you should avoid this when trustIdType = = int …)

References
How to cite in this doc:
:ref:`void TRUSTArray<trustIdType, trustIdType>::from_tid_to_int(TRUSTArray< int, int > &out) const <public-void-trustarray-trustidtype-trustidtype-from-tid-to-int-trustarray-int-int-ref-out-const>`
[void TRUSTArray<trustIdType, trustIdType>::from_tid_to_int(TRUSTArray< int, int > &out) const](#public-void-trustarray-trustidtype-trustidtype-from-tid-to-int-trustarray-int-int-ref-out-const)
from_tid_to_int
void TRUSTArray<_TYPE_, _SIZE_>::from_tid_to_int(TRUSTArray< int, int > &out) const
References
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::from_tid_to_int(TRUSTArray< int, int > &out) const <public-void-trustarray-type-size-from-tid-to-int-trustarray-int-int-ref-out-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::from_tid_to_int(TRUSTArray< int, int > &out) const](#public-void-trustarray-type-size-from-tid-to-int-trustarray-int-int-ref-out-const)
get_data_location
DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location()
How to cite in this doc:
:ref:`DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location() <public-datalocation-trustarray-type-size-get-data-location>`
[DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location()](#public-datalocation-trustarray-type-size-get-data-location)
get_data_location
DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location() const
How to cite in this doc:
:ref:`DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location() const <public-datalocation-trustarray-type-size-get-data-location-const>`
[DataLocation TRUSTArray<_TYPE_, _SIZE_>::get_data_location() const](#public-datalocation-trustarray-type-size-get-data-location-const)
get_mem
std::shared_ptr<Vector_> TRUSTArray<_TYPE_, _SIZE_>::get_mem()
How to cite in this doc:
:ref:`std::shared_ptr<Vector_> TRUSTArray<_TYPE_, _SIZE_>::get_mem() <public-std-shared-ptr-vector-trustarray-type-size-get-mem>`
[std::shared_ptr<Vector_> TRUSTArray<_TYPE_, _SIZE_>::get_mem()](#public-std-shared-ptr-vector-trustarray-type-size-get-mem)
get_mem_storage
STORAGE TRUSTArray<_TYPE_, _SIZE_>::get_mem_storage() const
How to cite in this doc:
:ref:`STORAGE TRUSTArray<_TYPE_, _SIZE_>::get_mem_storage() const <public-storage-trustarray-type-size-get-mem-storage-const>`
[STORAGE TRUSTArray<_TYPE_, _SIZE_>::get_mem_storage() const](#public-storage-trustarray-type-size-get-mem-storage-const)
get_span
virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span()
How to cite in this doc:
:ref:`virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span() <public-virtual-span-trustarray-type-size-get-span>`
[virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span()](#public-virtual-span-trustarray-type-size-get-span)
get_span
virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span() const
How to cite in this doc:
:ref:`virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span() const <public-virtual-const-span-trustarray-type-size-get-span-const>`
[virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span() const](#public-virtual-const-span-trustarray-type-size-get-span-const)
get_span_tot
virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot()
How to cite in this doc:
:ref:`virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot() <public-virtual-span-trustarray-type-size-get-span-tot>`
[virtual Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot()](#public-virtual-span-trustarray-type-size-get-span-tot)
get_span_tot
virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot() const
How to cite in this doc:
:ref:`virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot() const <public-virtual-const-span-trustarray-type-size-get-span-tot-const>`
[virtual const Span_ TRUSTArray<_TYPE_, _SIZE_>::get_span_tot() const](#public-virtual-const-span-trustarray-type-size-get-span-tot-const)
getDims
std::array<_SIZE_, 4> TRUSTArray<_TYPE_, _SIZE_>::getDims() const
How to cite in this doc:
:ref:`std::array<_SIZE_, 4> TRUSTArray<_TYPE_, _SIZE_>::getDims() const <public-std-array-size-4-trustarray-type-size-getdims-const>`
[std::array<_SIZE_, 4> TRUSTArray<_TYPE_, _SIZE_>::getDims() const](#public-std-array-size-4-trustarray-type-size-getdims-const)
inject_array
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::inject_array(const TRUSTArray &source, _SIZE_ nb_elements=-1, _SIZE_ first_element_dest=0, _SIZE_ first_element_source=0)

Copie les elements source[first_element_source + i] dans les elements (*this)[first_element_dest + i] pour 0 < = i <nb_elements Les autres elements de (*this) sont inchanges.

References
Referenced By
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::inject_array(const TRUSTArray &source, _SIZE_ nb_elements=-1, _SIZE_ first_element_dest=0, _SIZE_ first_element_source=0) <public-trustarray-type-size-ref-trustarray-type-size-inject-array-const-trustarray-ref-source-size-nb-elements-equal-1-size-first-element-dest-equal-0-size-first-element-source-equal-0>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::inject_array(const TRUSTArray &source, _SIZE_ nb_elements=-1, _SIZE_ first_element_dest=0, _SIZE_ first_element_source=0)](#public-trustarray-type-size-ref-trustarray-type-size-inject-array-const-trustarray-ref-source-size-nb-elements-equal-1-size-first-element-dest-equal-0-size-first-element-source-equal-0)
isDataOnDevice
bool TRUSTArray<_TYPE_, _SIZE_>::isDataOnDevice() const
Referenced By
How to cite in this doc:
:ref:`bool TRUSTArray<_TYPE_, _SIZE_>::isDataOnDevice() const <public-bool-trustarray-type-size-isdataondevice-const>`
[bool TRUSTArray<_TYPE_, _SIZE_>::isDataOnDevice() const](#public-bool-trustarray-type-size-isdataondevice-const)
operator()
_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i)
References
How to cite in this doc:
:ref:`_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i) <public-type-ref-trustarray-type-size-operator-size-i>`
[_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i)](#public-type-ref-trustarray-type-size-operator-size-i)
operator()
const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i) const
References
How to cite in this doc:
:ref:`const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i) const <public-const-type-ref-trustarray-type-size-operator-size-i-const>`
[const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator()(_SIZE_ i) const](#public-const-type-ref-trustarray-type-size-operator-size-i-const)
operator* =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator*=(const _TYPE_ dy)

muliplie toutes les cases par dy

How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator*=(const _TYPE_ dy) <public-trustarray-type-size-ref-trustarray-type-size-operator-ptr-equal-const-type-dy>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator*=(const _TYPE_ dy)](#public-trustarray-type-size-ref-trustarray-type-size-operator-ptr-equal-const-type-dy)
operator + =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const _TYPE_ dy)

ajoute la meme valeur a toutes les cases du tableau Ajoute la meme valeur a toutes les cases du tableau

How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const _TYPE_ dy) <public-trustarray-type-size-ref-trustarray-type-size-operator+-equal-const-type-dy>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const _TYPE_ dy)](#public-trustarray-type-size-ref-trustarray-type-size-operator+-equal-const-type-dy)
operator + =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const TRUSTArray &y)

Addition case a case sur toutes les cases du tableau : la taille de y doit etre au moins egale a la taille de this

References
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const TRUSTArray &y) <public-trustarray-type-size-ref-trustarray-type-size-operator+-equal-const-trustarray-ref-y>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator+=(const TRUSTArray &y)](#public-trustarray-type-size-ref-trustarray-type-size-operator+-equal-const-trustarray-ref-y)
operator - =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const _TYPE_ dy)

soustrait la meme valeur a toutes les cases

How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const _TYPE_ dy) <public-trustarray-type-size-ref-trustarray-type-size-operator-equal-const-type-dy>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const _TYPE_ dy)](#public-trustarray-type-size-ref-trustarray-type-size-operator-equal-const-type-dy)
operator - =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const TRUSTArray &y)

Soustraction case a case sur toutes les cases du tableau : tableau de meme taille que *this

References
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const TRUSTArray &y) <public-trustarray-type-size-ref-trustarray-type-size-operator-equal-const-trustarray-ref-y>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator-=(const TRUSTArray &y)](#public-trustarray-type-size-ref-trustarray-type-size-operator-equal-const-trustarray-ref-y)
operator/ =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator/=(const _TYPE_ dy)

divise toutes les cases par dy (pas pour TRUSTArray<int> )

How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator/=(const _TYPE_ dy) <public-trustarray-type-size-ref-trustarray-type-size-operator/-equal-const-type-dy>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator/=(const _TYPE_ dy)](#public-trustarray-type-size-ref-trustarray-type-size-operator/-equal-const-type-dy)
operator =
TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator=(_TYPE_ x)

Assign ‘x’ to all slots in the array Remplit le tableau avec la x en parametre (x est affecte a toutes les cases du tableau)

How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator=(_TYPE_ x) <public-trustarray-type-size-ref-trustarray-type-size-operator-equal-type-x>`
[TRUSTArray<_TYPE_, _SIZE_> & TRUSTArray<_TYPE_, _SIZE_>::operator=(_TYPE_ x)](#public-trustarray-type-size-ref-trustarray-type-size-operator-equal-type-x)
operator =
TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::operator=(const TRUSTArray &)
Referenced By
How to cite in this doc:
:ref:`TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::operator=(const TRUSTArray &) <public-trustarray-ref-trustarray-type-size-operator-equal-const-trustarray-ref>`
[TRUSTArray & TRUSTArray<_TYPE_, _SIZE_>::operator=(const TRUSTArray &)](#public-trustarray-ref-trustarray-type-size-operator-equal-const-trustarray-ref)
operator[]
_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i)
Referenced By
How to cite in this doc:
:ref:`_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i) <public-type-ref-trustarray-type-size-operator[]-size-i>`
[_TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i)](#public-type-ref-trustarray-type-size-operator[]-size-i)
operator[]
const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i) const
How to cite in this doc:
:ref:`const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i) const <public-const-type-ref-trustarray-type-size-operator[]-size-i-const>`
[const _TYPE_ & TRUSTArray<_TYPE_, _SIZE_>::operator[](_SIZE_ i) const](#public-const-type-ref-trustarray-type-size-operator[]-size-i-const)
ordonne_array
void TRUSTArray<_TYPE_, _SIZE_>::ordonne_array()
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ordonne_array() <public-void-trustarray-type-size-ordonne-array>`
[void TRUSTArray<_TYPE_, _SIZE_>::ordonne_array()](#public-void-trustarray-type-size-ordonne-array)
ref_array
virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_array(TRUSTArray &, _SIZE_ start=0, _SIZE_ sz=-1)
Referenced By
How to cite in this doc:
:ref:`virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_array(TRUSTArray &, _SIZE_ start=0, _SIZE_ sz=-1) <public-virtual-void-trustarray-type-size-ref-array-trustarray-ref-size-start-equal-0-size-sz-equal-1>`
[virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_array(TRUSTArray &, _SIZE_ start=0, _SIZE_ sz=-1)](#public-virtual-void-trustarray-type-size-ref-array-trustarray-ref-size-start-equal-0-size-sz-equal-1)
ref_as_big
void TRUSTArray<_TYPE_, _SIZE_>::ref_as_big(TRUSTArray< _TYPE_, trustIdType > &out) const
References
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ref_as_big(TRUSTArray< _TYPE_, trustIdType > &out) const <public-void-trustarray-type-size-ref-as-big-trustarray-type-trustidtype-ref-out-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::ref_as_big(TRUSTArray< _TYPE_, trustIdType > &out) const](#public-void-trustarray-type-size-ref-as-big-trustarray-type-trustidtype-ref-out-const)
ref_as_small
void TRUSTArray<_TYPE_, _SIZE_>::ref_as_small(TRUSTArray< _TYPE_, int > &out) const
References
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ref_as_small(TRUSTArray< _TYPE_, int > &out) const <public-void-trustarray-type-size-ref-as-small-trustarray-type-int-ref-out-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::ref_as_small(TRUSTArray< _TYPE_, int > &out) const](#public-void-trustarray-type-size-ref-as-small-trustarray-type-int-ref-out-const)
ref_as_small
void TRUSTArray<float, trustIdType>::ref_as_small(TRUSTArray< float, int > &out) const

Conversion methods - from a big array ( = trustIdType), return a small one ( = int). Overflow is detected in debug if array is too big to be fit into = int. No data copied! This behaves somewhat like a ref_array. Used in LATA stuff and FT notably.

How to cite in this doc:
:ref:`void TRUSTArray<float, trustIdType>::ref_as_small(TRUSTArray< float, int > &out) const <public-void-trustarray-float-trustidtype-ref-as-small-trustarray-float-int-ref-out-const>`
[void TRUSTArray<float, trustIdType>::ref_as_small(TRUSTArray< float, int > &out) const](#public-void-trustarray-float-trustidtype-ref-as-small-trustarray-float-int-ref-out-const)
ref_as_small
void TRUSTArray<int, trustIdType>::ref_as_small(TRUSTArray< int, int > &out) const
How to cite in this doc:
:ref:`void TRUSTArray<int, trustIdType>::ref_as_small(TRUSTArray< int, int > &out) const <public-void-trustarray-int-trustidtype-ref-as-small-trustarray-int-int-ref-out-const>`
[void TRUSTArray<int, trustIdType>::ref_as_small(TRUSTArray< int, int > &out) const](#public-void-trustarray-int-trustidtype-ref-as-small-trustarray-int-int-ref-out-const)
ref_count
int TRUSTArray<_TYPE_, _SIZE_>::ref_count() const

Returns the number of owners of the data, i.e. the number of Arrays pointing to the same underlying data

How to cite in this doc:
:ref:`int TRUSTArray<_TYPE_, _SIZE_>::ref_count() const <public-int-trustarray-type-size-ref-count-const>`
[int TRUSTArray<_TYPE_, _SIZE_>::ref_count() const](#public-int-trustarray-type-size-ref-count-const)
ref_data
virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_data(_TYPE_ *ptr, _SIZE_ size)

Construction de tableaux qui pointent vers des donnees existantes !!! Utiliser ref_data avec precaution

Referenced By
How to cite in this doc:
:ref:`virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_data(_TYPE_ *ptr, _SIZE_ size) <public-virtual-void-trustarray-type-size-ref-data-type-ptr-ptr-size-size>`
[virtual void TRUSTArray<_TYPE_, _SIZE_>::ref_data(_TYPE_ *ptr, _SIZE_ size)](#public-virtual-void-trustarray-type-size-ref-data-type-ptr-ptr-size-size)
resize
void TRUSTArray<_TYPE_, _SIZE_>::resize(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::resize(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) <public-void-trustarray-type-size-resize-size-new-size-resize-options-opt-equal-resize-options-copy-init>`
[void TRUSTArray<_TYPE_, _SIZE_>::resize(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)](#public-void-trustarray-type-size-resize-size-new-size-resize-options-opt-equal-resize-options-copy-init)
resize_array
void TRUSTArray<_TYPE_, _SIZE_>::resize_array(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::resize_array(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) <public-void-trustarray-type-size-resize-array-size-new-size-resize-options-opt-equal-resize-options-copy-init>`
[void TRUSTArray<_TYPE_, _SIZE_>::resize_array(_SIZE_ new_size, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)](#public-void-trustarray-type-size-resize-array-size-new-size-resize-options-opt-equal-resize-options-copy-init)
resize_tab
virtual void TRUSTArray<_TYPE_, _SIZE_>::resize_tab(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)
Referenced By
How to cite in this doc:
:ref:`virtual void TRUSTArray<_TYPE_, _SIZE_>::resize_tab(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT) <public-virtual-void-trustarray-type-size-resize-tab-size-n-resize-options-opt-equal-resize-options-copy-init>`
[virtual void TRUSTArray<_TYPE_, _SIZE_>::resize_tab(_SIZE_ n, RESIZE_OPTIONS opt=RESIZE_OPTIONS::COPY_INIT)](#public-virtual-void-trustarray-type-size-resize-tab-size-n-resize-options-opt-equal-resize-options-copy-init)
set_data_location
void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag)
Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag) <public-void-trustarray-type-size-set-data-location-datalocation-flag>`
[void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag)](#public-void-trustarray-type-size-set-data-location-datalocation-flag)
set_data_location
void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag) const
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag) const <public-void-trustarray-type-size-set-data-location-datalocation-flag-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::set_data_location(DataLocation flag) const](#public-void-trustarray-type-size-set-data-location-datalocation-flag-const)
set_mem_storage
void TRUSTArray<_TYPE_, _SIZE_>::set_mem_storage(const STORAGE storage)

Memory allocation type-TEMP arrays (i.e. Trav) have a different allocation mechanism - see TRUSTTravPool.h)

Referenced By
How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::set_mem_storage(const STORAGE storage) <public-void-trustarray-type-size-set-mem-storage-const-storage-storage>`
[void TRUSTArray<_TYPE_, _SIZE_>::set_mem_storage(const STORAGE storage)](#public-void-trustarray-type-size-set-mem-storage-const-storage-storage)
size_array
_SIZE_ TRUSTArray<_TYPE_, _SIZE_>::size_array() const

Return the size of the span on the data (not the full underlying allocated size)

Referenced By
How to cite in this doc:
:ref:`_SIZE_ TRUSTArray<_TYPE_, _SIZE_>::size_array() const <public-size-trustarray-type-size-size-array-const>`
[_SIZE_ TRUSTArray<_TYPE_, _SIZE_>::size_array() const](#public-size-trustarray-type-size-size-array-const)
size_mem
int TRUSTArray<_TYPE_, _SIZE_>::size_mem()
How to cite in this doc:
:ref:`int TRUSTArray<_TYPE_, _SIZE_>::size_mem() <public-int-trustarray-type-size-size-mem>`
[int TRUSTArray<_TYPE_, _SIZE_>::size_mem()](#public-int-trustarray-type-size-size-mem)
TRUSTArray
TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray()
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray() <public-trustarray-type-size-trustarray>`
[TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray()](#public-trustarray-type-size-trustarray)
TRUSTArray
TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(_SIZE_ n)
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(_SIZE_ n) <public-trustarray-type-size-trustarray-size-n>`
[TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(_SIZE_ n)](#public-trustarray-type-size-trustarray-size-n)
TRUSTArray
TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(const TRUSTArray &A)

Copy ctor. Performs a deep copy. It is forbidden to deep copy a ref_data.

References
How to cite in this doc:
:ref:`TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(const TRUSTArray &A) <public-trustarray-type-size-trustarray-const-trustarray-ref-a>`
[TRUSTArray<_TYPE_, _SIZE_>::TRUSTArray(const TRUSTArray &A)](#public-trustarray-type-size-trustarray-const-trustarray-ref-a)
view_ro
std::enable_if_t<is_default_exec_space<EXEC_SPACE>, ConstView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const
Referenced By
How to cite in this doc:
:ref:`std::enable_if_t<is_default_exec_space<EXEC_SPACE>, ConstView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const <public-std-enable-if-t-is-default-exec-space-exec-space-constview-type-shape-trustarray-type-size-view-ro-const>`
[std::enable_if_t<is_default_exec_space<EXEC_SPACE>, ConstView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const](#public-std-enable-if-t-is-default-exec-space-exec-space-constview-type-shape-trustarray-type-size-view-ro-const)
view_ro
std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, ConstHostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const
How to cite in this doc:
:ref:`std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, ConstHostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const <public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-consthostview-type-shape-trustarray-type-size-view-ro-const>`
[std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, ConstHostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_ro() const](#public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-consthostview-type-shape-trustarray-type-size-view-ro-const)
view_rw
std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw()
Referenced By
How to cite in this doc:
:ref:`std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw() <public-std-enable-if-t-is-default-exec-space-exec-space-view-type-shape-trustarray-type-size-view-rw>`
[std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw()](#public-std-enable-if-t-is-default-exec-space-exec-space-view-type-shape-trustarray-type-size-view-rw)
view_rw
std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw()
How to cite in this doc:
:ref:`std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw() <public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-hostview-type-shape-trustarray-type-size-view-rw>`
[std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_rw()](#public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-hostview-type-shape-trustarray-type-size-view-rw)
view_wo
std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo()
Referenced By
How to cite in this doc:
:ref:`std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo() <public-std-enable-if-t-is-default-exec-space-exec-space-view-type-shape-trustarray-type-size-view-wo>`
[std::enable_if_t<is_default_exec_space<EXEC_SPACE>, View<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo()](#public-std-enable-if-t-is-default-exec-space-exec-space-view-type-shape-trustarray-type-size-view-wo)
view_wo
std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo()
How to cite in this doc:
:ref:`std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo() <public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-hostview-type-shape-trustarray-type-size-view-wo>`
[std::enable_if_t<gpu_enabled_is_host_exec_space<EXEC_SPACE>, HostView<_TYPE_, _SHAPE_>> TRUSTArray<_TYPE_, _SIZE_>::view_wo()](#public-std-enable-if-t-gpu-enabled-is-host-exec-space-exec-space-hostview-type-shape-trustarray-type-size-view-wo)
~TRUSTArray
virtual TRUSTArray<_TYPE_, _SIZE_>::~TRUSTArray()
How to cite in this doc:
:ref:`virtual TRUSTArray<_TYPE_, _SIZE_>::~TRUSTArray() <public-virtual-trustarray-type-size-dtor-trustarray>`
[virtual TRUSTArray<_TYPE_, _SIZE_>::~TRUSTArray()](#public-virtual-trustarray-type-size-dtor-trustarray)
get_device_view
std::enable_if<_SHAPE_==1, DeviceView<_TYPE_, 1>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const
How to cite in this doc:
:ref:`std::enable_if<_SHAPE_==1, DeviceView<_TYPE_, 1>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const <private-std-enable-if-shape-equal-equal-1-deviceview-type-1-type-ref-trustarray-type-size-get-device-view-const>`
[std::enable_if<_SHAPE_==1, DeviceView<_TYPE_, 1>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const](#private-std-enable-if-shape-equal-equal-1-deviceview-type-1-type-ref-trustarray-type-size-get-device-view-const)
get_device_view
std::enable_if<_SHAPE_==2, DeviceView<_TYPE_, 2>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const
How to cite in this doc:
:ref:`std::enable_if<_SHAPE_==2, DeviceView<_TYPE_, 2>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const <private-std-enable-if-shape-equal-equal-2-deviceview-type-2-type-ref-trustarray-type-size-get-device-view-const>`
[std::enable_if<_SHAPE_==2, DeviceView<_TYPE_, 2>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const](#private-std-enable-if-shape-equal-equal-2-deviceview-type-2-type-ref-trustarray-type-size-get-device-view-const)
get_device_view
std::enable_if<_SHAPE_==3, DeviceView<_TYPE_, 3>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const
How to cite in this doc:
:ref:`std::enable_if<_SHAPE_==3, DeviceView<_TYPE_, 3>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const <private-std-enable-if-shape-equal-equal-3-deviceview-type-3-type-ref-trustarray-type-size-get-device-view-const>`
[std::enable_if<_SHAPE_==3, DeviceView<_TYPE_, 3>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const](#private-std-enable-if-shape-equal-equal-3-deviceview-type-3-type-ref-trustarray-type-size-get-device-view-const)
get_device_view
std::enable_if<_SHAPE_==4, DeviceView<_TYPE_, 4>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const
How to cite in this doc:
:ref:`std::enable_if<_SHAPE_==4, DeviceView<_TYPE_, 4>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const <private-std-enable-if-shape-equal-equal-4-deviceview-type-4-type-ref-trustarray-type-size-get-device-view-const>`
[std::enable_if<_SHAPE_==4, DeviceView<_TYPE_, 4>>::type & TRUSTArray<_TYPE_, _SIZE_>::get_device_view() const](#private-std-enable-if-shape-equal-equal-4-deviceview-type-4-type-ref-trustarray-type-size-get-device-view-const)
ref_conv_helper_
void TRUSTArray<_TYPE_, _SIZE_>::ref_conv_helper_(_TAB_ &out) const

Debug

How to cite in this doc:
:ref:`void TRUSTArray<_TYPE_, _SIZE_>::ref_conv_helper_(_TAB_ &out) const <private-void-trustarray-type-size-ref-conv-helper-underscore-tab-ref-out-const>`
[void TRUSTArray<_TYPE_, _SIZE_>::ref_conv_helper_(_TAB_ &out) const](#private-void-trustarray-type-size-ref-conv-helper-underscore-tab-ref-out-const)

Attributes Documentation#

device_view_1_ (protected)
DeviceView<_TYPE_, 1> TRUSTArray<_TYPE_, _SIZE_>::device_view_1_
device_view_2_ (protected)
DeviceView<_TYPE_, 2> TRUSTArray<_TYPE_, _SIZE_>::device_view_2_
device_view_3_ (protected)
DeviceView<_TYPE_, 3> TRUSTArray<_TYPE_, _SIZE_>::device_view_3_
device_view_4_ (protected)
DeviceView<_TYPE_, 4> TRUSTArray<_TYPE_, _SIZE_>::device_view_4_
nb_dim_ (protected)
int TRUSTArray<_TYPE_, _SIZE_>::nb_dim_ = 1
data_location_ (private)
std::shared_ptr<DataLocation> TRUSTArray<_TYPE_, _SIZE_>::data_location_
mem_ (private)
std::shared_ptr<Vector_> TRUSTArray<_TYPE_, _SIZE_>::mem_

Shared pointer to the actual underlying memory block:

span_ (private)
Span_ TRUSTArray<_TYPE_, _SIZE_>::span_

Actual view on the data. See comments at the top of the class

storage_type_ (private)
STORAGE TRUSTArray<_TYPE_, _SIZE_>::storage_type_

Drapeau indiquant si l’allocation memoire a lieu avec un new classique ou dans le pool de memoire temporaire de TRUST

Friends#

  • friend class TRUSTArray

  • friend class TRUSTArrayKokkos