KADATH
Kadath::Array< T > Class Template Reference

Template class for arrays. More...

#include <array.hpp>

Inheritance diagram for Kadath::Array< T >:

Public Types

using reference = T &
 Sylvain's stuff. More...
 
using const_reference = T const &
 Sylvain's stuff. More...
 
using pointer = T *
 Sylvain's stuff
More...
 
using const_pointer = T const *
 Sylvain's stuff
More...
 

Public Member Functions

 Array (const Dim_array &res)
 Constructor from a Dim_array. More...
 
 Array (int i)
 Constructor for a 1d-array. More...
 
 Array (int i, int j)
 Constructor for a 2d-array. More...
 
 Array (int i, int j, int k)
 Constructor for a 3d-array. More...
 
 Array (FILE *fd, Array_ordering order=last_index)
 Constructor from a file. More...
 
void swap (Array< T > &so)
 Swaps contents between the two arrays (beware when using it with arrays of allocated pointers). More...
 
void delete_data ()
 Logical destructor (kills the data) More...
 
void resize (Dim_array const &new_dim)
 Resize the array by reallocating its ressource. More...
 
void resize (int new_size)
 Resize overload for the one-dimension array case. More...
 
void save (FILE *fd, Array_ordering order=last_index) const
 Save in a file. More...
 
Arrayoperator= (T xx)
 Assigns the same value to all the elements. More...
 
reference set (const Index &pos)
 Read/write of an element. More...
 
reference set (const Array_iterator &pos)
 Read/write of an element. More...
 
reference set (int i)
 Read/write of an element for a 1d-array. More...
 
reference set (int i, int j)
 Read/write of an element for a 2d-array. More...
 
reference set (int i, int j, int k)
 Read/write of an element for a 3d-array. More...
 
operator() (const Index &pos) const
 Read only of an element. More...
 
operator() (Array_iterator const &pos) const
 Read only of an element. More...
 
operator() (int i) const
 Read only of an element for a 1d-array. More...
 
operator() (int i, int j) const
 Read only of an element for a 2d-array. More...
 
operator() (int i, int j, int k) const
 Read only of an element for a 3d-array. More...
 
const_pointer get_data () const
 Direct accessor to the data, read only version. More...
 
pointer set_data ()
 Direct accessor to the data, read/write version. More...
 
int get_ndim () const
 Returns the number of dimensions. More...
 
int get_nbr () const
 Returns the total number of elements. More...
 
int get_size (int i) const
 Returns the size of a given dimension. More...
 
const Dim_arrayget_dimensions () const
 Returns the Dim_array of the Array. More...
 
bool is_increasing () const
 Checks if a 1D array is increasing. More...
 
Array< T > & operator+= (const Array< T > &so)
 Operator +. More...
 
Array< T > & operator-= (const Array< T > &so)
 Operator -=. More...
 
Array< T > & operator*= (const Array< T > &so)
 Operator *=. More...
 
Array< T > & operator/= (const Array< T > &so)
 Operator /=. More...
 
Array< T > & operator+= (const T xx)
 Operator +=. More...
 
Array< T > & operator-= (const T xx)
 Operator -=. More...
 
Array< T > & operator*= (const T xx)
 Operator *=. More...
 
Array< T > & operator/= (const T xx)
 Operator /=. More...
 
int to_last_dim_major_index (int i_first_dim_major) const
 Index formulae to change major dimension indexation from first dimension to the last. More...
 
int to_first_dim_major_index (int i_last_dim_major) const
 Index formulae to change major dimension indexation from last dimension to first. More...
 

Public Attributes

Dim_array dimensions
 Dimensions of the Array. More...
 
int nbr
 Total number of elements. More...
 
Memory_mapped_array< T > data
 Elements of the Array. More...
 

Friends

class Matrice
 
ostream & operator<< (ostream &, const Array< T > &)
 Output operator. More...
 
Array< T > sin (const Array< T > &)
 sine operator More...
 
Array< T > cos (const Array< T > &)
 cosine operator More...
 
Array< T > sinh (const Array< T > &)
 Hyperbolic sine operator. More...
 
Array< T > cosh (const Array< T > &)
 Hyperbolic sine operator. More...
 
Array< T > operator+ (const Array< T > &)
 Unitary operator +. More...
 
Array< T > operator- (const Array< T > &)
 Unitary operator -. More...
 
Array< T > operator+ (const Array< T > &, const Array< T > &)
 Operator + (two arrays) More...
 
Array< T > operator+ (const Array< T > &, T)
 Operator + (one array and one value) More...
 
Array< T > operator+ (T, const Array< T > &)
 Operator + (one value and one array) More...
 
Array< T > operator- (const Array< T > &, const Array< T > &)
 Operator - (two arrays) More...
 
Array< T > operator- (const Array< T > &, T)
 Operator - (one array and one value) More...
 
Array< T > operator- (T, const Array< T > &)
 Operator - (one value and one array) More...
 
Array< T > operator* (const Array< T > &, const Array< T > &)
 Operator * (two arrays) More...
 
Array< T > operator* (const Array< T > &, T)
 Operator * (one array and one value) More...
 
Array< T > operator* (T, const Array< T > &)
 Operator * (one value and one array) More...
 
Array< T > operator/ (const Array< T > &, const Array< T > &)
 Operator / (two arrays) More...
 
Array< T > operator/ (const Array< T > &, T)
 Operator / (one array and one value) More...
 
Array< T > operator/ (T, const Array< T > &)
 Operator / (one value and one array) More...
 
Array< T > pow (const Array< T > &, int)
 Operator power (integer version) More...
 
Array< T > pow (const Array< T > &, double)
 Operator power (double version) More...
 
Array< T > sqrt (const Array< T > &)
 Operator square root. More...
 
Array< T > exp (const Array< T > &)
 Operator exponential. More...
 
Array< T > log (const Array< T > &)
 Operator logarithm. More...
 
Array< T > atanh (const Array< T > &)
 Operator hyperbolic argtan. More...
 
Array< T > fabs (const Array< T > &)
 Operator absolute value. More...
 
scal (const Array< T > &, const Array< T > &)
 Scalar product of two arrays. More...
 
diffmax (const Array< T > &, const Array< T > &)
 Maximal difference between two arrays. More...
 
max (const Array< T > &)
 Maximal value. More...
 
min (const Array< T > &)
 Minimal value. More...
 
sum (const Array< T > &)
 Summation of all the elements. More...
 
Array< T > atan (const Array< T > &)
 Operator arctan. More...
 

Detailed Description

template<typename T>
class Kadath::Array< T >

Template class for arrays.

It is designed mainly to handle multi-dimensional arrays of int and double.

Definition at line 86 of file array.hpp.

Member Typedef Documentation

◆ const_pointer

template<typename T >
using Kadath::Array< T >::const_pointer = T const *

Sylvain's stuff

Definition at line 102 of file array.hpp.

◆ const_reference

template<typename T >
using Kadath::Array< T >::const_reference = T const &

Sylvain's stuff.

Definition at line 98 of file array.hpp.

◆ pointer

template<typename T >
using Kadath::Array< T >::pointer = T*

Sylvain's stuff

Definition at line 100 of file array.hpp.

◆ reference

template<typename T >
using Kadath::Array< T >::reference = T&

Sylvain's stuff.

Definition at line 96 of file array.hpp.

Constructor & Destructor Documentation

◆ Array() [1/5]

template<typename T >
Kadath::Array< T >::Array ( const Dim_array res)
inlineexplicit

Constructor from a Dim_array.

The elements are not initialized.

Definition at line 107 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Dim_array::get_ndim(), and Kadath::Array< T >::nbr.

◆ Array() [2/5]

template<typename T >
Kadath::Array< T >::Array ( int  i)
inlineexplicit

Constructor for a 1d-array.

Parameters
i[input] : size of the only dimension. The elements are not initialized.

Definition at line 116 of file array.hpp.

References Kadath::Array< T >::dimensions, and Kadath::Dim_array::set().

◆ Array() [3/5]

template<typename T >
Kadath::Array< T >::Array ( int  i,
int  j 
)
inlineexplicit

Constructor for a 2d-array.

Parameters
i[input] : size of the first dimension.
j[input] : size of the second dimension. The elements are not initialized.

Definition at line 125 of file array.hpp.

References Kadath::Array< T >::dimensions, and Kadath::Dim_array::set().

◆ Array() [4/5]

template<typename T >
Kadath::Array< T >::Array ( int  i,
int  j,
int  k 
)
inlineexplicit

Constructor for a 3d-array.

Parameters
i[input] : size of the first dimension.
j[input] : size of the second dimension.
k[input] : size of the third dimension. The elements are not initialized.

Definition at line 137 of file array.hpp.

References Kadath::Array< T >::dimensions, and Kadath::Dim_array::set().

◆ Array() [5/5]

template<typename T >
Kadath::Array< T >::Array ( FILE *  fd,
Array_ordering  order = last_index 
)
explicit

Constructor from a file.

The file should have been generated by the save function.

Parameters
fdthe file.
orderspecifies the type of index ordering used to write the array about to be read.

Definition at line 490 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::nbr, and Kadath::Array< T >::to_last_dim_major_index().

Member Function Documentation

◆ delete_data()

template<typename T >
void Kadath::Array< T >::delete_data ( )
inline

Logical destructor (kills the data)

Definition at line 154 of file array.hpp.

References Kadath::Array< T >::data.

◆ get_data()

template<typename T >
const_pointer Kadath::Array< T >::get_data ( ) const
inline

Direct accessor to the data, read only version.

Definition at line 313 of file array.hpp.

References Kadath::Array< T >::data.

◆ get_dimensions()

template<typename T >
const Dim_array& Kadath::Array< T >::get_dimensions ( ) const
inline

Returns the Dim_array of the Array.

Definition at line 335 of file array.hpp.

References Kadath::Array< T >::dimensions.

◆ get_nbr()

template<typename T >
int Kadath::Array< T >::get_nbr ( ) const
inline

Returns the total number of elements.

Definition at line 327 of file array.hpp.

References Kadath::Array< T >::nbr.

◆ get_ndim()

template<typename T >
int Kadath::Array< T >::get_ndim ( ) const
inline

Returns the number of dimensions.

Definition at line 323 of file array.hpp.

References Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ get_size()

template<typename T >
int Kadath::Array< T >::get_size ( int  i) const
inline

Returns the size of a given dimension.

Definition at line 331 of file array.hpp.

References Kadath::Array< T >::dimensions.

◆ is_increasing()

template<typename T >
bool Kadath::Array< T >::is_increasing

Checks if a 1D array is increasing.

Definition at line 444 of file array.hpp.

◆ operator()() [1/5]

template<typename T >
T Kadath::Array< T >::operator() ( Array_iterator const &  pos) const
inline

Read only of an element.

Parameters
pos[input] : position of the element.

Definition at line 274 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array_iterator::position.

◆ operator()() [2/5]

template<typename T >
T Kadath::Array< T >::operator() ( const Index pos) const
inline

Read only of an element.

Parameters
pos[input] : position of the element.

Definition at line 250 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, Kadath::Dim_array::get_ndim(), and Kadath::Index::sizes.

◆ operator()() [3/5]

template<typename T >
T Kadath::Array< T >::operator() ( int  i) const
inline

Read only of an element for a 1d-array.

Parameters
i[input] : position of the element.

Definition at line 279 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ operator()() [4/5]

template<typename T >
T Kadath::Array< T >::operator() ( int  i,
int  j 
) const
inline

Read only of an element for a 2d-array.

Parameters
i[input] : first index of the element.
j[input] : second index of the element.

Definition at line 289 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ operator()() [5/5]

template<typename T >
T Kadath::Array< T >::operator() ( int  i,
int  j,
int  k 
) const
inline

Read only of an element for a 3d-array.

Parameters
i[input] : first index of the element.
j[input] : second index of the element.
k[input] : third index of the element.

Definition at line 302 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ operator*=() [1/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator*= ( const Array< T > &  so)
inline

Operator *=.

Definition at line 349 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator*=() [2/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator*= ( const T  xx)
inline

Operator *=.

Definition at line 359 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator+=() [1/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator+= ( const Array< T > &  so)
inline

Operator +.

Definition at line 343 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator+=() [2/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator+= ( const T  xx)
inline

Operator +=.

Definition at line 355 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator-=() [1/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator-= ( const Array< T > &  so)
inline

Operator -=.

Definition at line 346 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator-=() [2/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator-= ( const T  xx)
inline

Operator -=.

Definition at line 357 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator/=() [1/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator/= ( const Array< T > &  so)
inline

Operator /=.

Definition at line 352 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator/=() [2/2]

template<typename T >
Array<T>& Kadath::Array< T >::operator/= ( const T  xx)
inline

Operator /=.

Definition at line 361 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ operator=()

template<typename T >
Array& Kadath::Array< T >::operator= ( xx)
inline

Assigns the same value to all the elements.

Parameters
xx[input] : value to be assigned.

Definition at line 181 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array< T >::nbr.

◆ resize() [1/2]

template<typename T >
void Kadath::Array< T >::resize ( Dim_array const &  new_dim)
inline

Resize the array by reallocating its ressource.

All values are invalidated.

Parameters
new_dimnew Dim_array object enumerating dimensions.

Definition at line 160 of file array.hpp.

References Kadath::Array< T >::operator=().

◆ resize() [2/2]

template<typename T >
void Kadath::Array< T >::resize ( int  new_size)
inline

Resize overload for the one-dimension array case.

Parameters
new_sizenew size of the array.

Definition at line 165 of file array.hpp.

References Kadath::Array< T >::operator=().

◆ save()

template<typename T >
void Kadath::Array< T >::save ( FILE *  fd,
Array_ordering  order = last_index 
) const

Save in a file.

The file can then been used by the constructor from a file.

Parameters
fdthe file.
orderallows to save the array in column major order (faster and need less memory, use the first_index value - not compatible with files made using previous versions of Kadath) or row major order (use the default last_index value). The most expensive case is used as default for the sake of backward compatibility.

Definition at line 502 of file array.hpp.

◆ set() [1/5]

template<typename T >
reference Kadath::Array< T >::set ( const Array_iterator pos)
inline

Read/write of an element.

Parameters
pos[input] : position of the element.

Definition at line 210 of file array.hpp.

References Kadath::Array< T >::data, and Kadath::Array_iterator::position.

◆ set() [2/5]

template<typename T >
reference Kadath::Array< T >::set ( const Index pos)
inline

Read/write of an element.

Parameters
pos[input] : position of the element.

Definition at line 186 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, Kadath::Dim_array::get_ndim(), and Kadath::Index::sizes.

◆ set() [3/5]

template<typename T >
reference Kadath::Array< T >::set ( int  i)
inline

Read/write of an element for a 1d-array.

Parameters
i[input] : position of the element.

Definition at line 215 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ set() [4/5]

template<typename T >
reference Kadath::Array< T >::set ( int  i,
int  j 
)
inline

Read/write of an element for a 2d-array.

Parameters
i[input] : first index of the element.
j[input] : second index of the element.

Definition at line 225 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ set() [5/5]

template<typename T >
reference Kadath::Array< T >::set ( int  i,
int  j,
int  k 
)
inline

Read/write of an element for a 3d-array.

Parameters
i[input] : first index of the element.
j[input] : second index of the element.
k[input] : third index of the element.

Definition at line 238 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, and Kadath::Dim_array::get_ndim().

◆ set_data()

template<typename T >
pointer Kadath::Array< T >::set_data ( )
inline

Direct accessor to the data, read/write version.

Definition at line 318 of file array.hpp.

References Kadath::Array< T >::data.

◆ swap()

template<typename T >
void Kadath::Array< T >::swap ( Array< T > &  so)
inline

Swaps contents between the two arrays (beware when using it with arrays of allocated pointers).

Definition at line 152 of file array.hpp.

References Kadath::Array< T >::data, Kadath::Array< T >::dimensions, Kadath::Array< T >::nbr, and Kadath::Dim_array::swap().

◆ to_first_dim_major_index()

template<typename T >
int Kadath::Array< T >::to_first_dim_major_index ( int  i_last_dim_major) const

Index formulae to change major dimension indexation from last dimension to first.

WARNING : this method is not optimized and should not be called in called in computational loops, but rather only to import data from files.

Definition at line 472 of file array.hpp.

◆ to_last_dim_major_index()

template<typename T >
int Kadath::Array< T >::to_last_dim_major_index ( int  i_first_dim_major) const

Index formulae to change major dimension indexation from first dimension to the last.

WARNING : this method is not optimized and should not be called in called in computational loops, but rather only to import data from files.

Definition at line 454 of file array.hpp.

Friends And Related Function Documentation

◆ atan

template<typename T >
Array<T> atan ( const Array< T > &  so)
friend

Operator arctan.

Definition at line 250 of file array_math.hpp.

◆ atanh

template<typename T >
Array<T> atanh ( const Array< T > &  so)
friend

Operator hyperbolic argtan.

Definition at line 193 of file array_math.hpp.

◆ cos

template<typename T >
Array<T> cos ( const Array< T > &  so)
friend

cosine operator

Definition at line 32 of file array_math.hpp.

◆ cosh

template<typename T >
Array<T> cosh ( const Array< T > &  so)
friend

Hyperbolic sine operator.

Definition at line 46 of file array_math.hpp.

◆ diffmax

template<typename T >
T diffmax ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Maximal difference between two arrays.

Definition at line 215 of file array_math.hpp.

◆ exp

template<typename T >
Array<T> exp ( const Array< T > &  so)
friend

Operator exponential.

Definition at line 179 of file array_math.hpp.

◆ fabs

template<typename T >
Array<T> fabs ( const Array< T > &  so)
friend

Operator absolute value.

Definition at line 200 of file array_math.hpp.

◆ log

template<typename T >
Array<T> log ( const Array< T > &  so)
friend

Operator logarithm.

Definition at line 186 of file array_math.hpp.

◆ max

template<typename T >
T max ( const Array< T > &  so)
friend

Maximal value.

Definition at line 227 of file array_math.hpp.

◆ min

template<typename T >
T min ( const Array< T > &  so)
friend

Minimal value.

Definition at line 235 of file array_math.hpp.

◆ operator* [1/3]

template<typename T >
Array<T> operator* ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Operator * (two arrays)

Definition at line 113 of file array_math.hpp.

◆ operator* [2/3]

template<typename T >
Array<T> operator* ( const Array< T > &  so,
xx 
)
friend

Operator * (one array and one value)

Definition at line 122 of file array_math.hpp.

◆ operator* [3/3]

template<typename T >
Array<T> operator* ( xx,
const Array< T > &  so 
)
friend

Operator * (one value and one array)

Definition at line 129 of file array_math.hpp.

◆ operator+ [1/4]

template<typename T >
Array<T> operator+ ( const Array< T > &  so)
friend

Unitary operator +.

Definition at line 53 of file array_math.hpp.

◆ operator+ [2/4]

template<typename T >
Array<T> operator+ ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Operator + (two arrays)

Definition at line 64 of file array_math.hpp.

◆ operator+ [3/4]

template<typename T >
Array<T> operator+ ( const Array< T > &  so,
xx 
)
friend

Operator + (one array and one value)

Definition at line 73 of file array_math.hpp.

◆ operator+ [4/4]

template<typename T >
Array<T> operator+ ( xx,
const Array< T > &  so 
)
friend

Operator + (one value and one array)

Definition at line 80 of file array_math.hpp.

◆ operator- [1/4]

template<typename T >
Array<T> operator- ( const Array< T > &  so)
friend

Unitary operator -.

Definition at line 56 of file array_math.hpp.

◆ operator- [2/4]

template<typename T >
Array<T> operator- ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Operator - (two arrays)

Definition at line 89 of file array_math.hpp.

◆ operator- [3/4]

template<typename T >
Array<T> operator- ( const Array< T > &  so,
xx 
)
friend

Operator - (one array and one value)

Definition at line 98 of file array_math.hpp.

◆ operator- [4/4]

template<typename T >
Array<T> operator- ( xx,
const Array< T > &  so 
)
friend

Operator - (one value and one array)

Definition at line 106 of file array_math.hpp.

◆ operator/ [1/3]

template<typename T >
Array<T> operator/ ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Operator / (two arrays)

Definition at line 136 of file array_math.hpp.

◆ operator/ [2/3]

template<typename T >
Array<T> operator/ ( const Array< T > &  so,
xx 
)
friend

Operator / (one array and one value)

Definition at line 144 of file array_math.hpp.

◆ operator/ [3/3]

template<typename T >
Array<T> operator/ ( xx,
const Array< T > &  so 
)
friend

Operator / (one value and one array)

Definition at line 151 of file array_math.hpp.

◆ operator<<

template<typename T >
ostream& operator<< ( ostream &  o,
const Array< T > &  so 
)
friend

Output operator.

Definition at line 514 of file array.hpp.

◆ pow [1/2]

template<typename T >
Array<T> pow ( const Array< T > &  so,
double  nn 
)
friend

Operator power (double version)

Definition at line 165 of file array_math.hpp.

◆ pow [2/2]

template<typename T >
Array<T> pow ( const Array< T > &  so,
int  n 
)
friend

Operator power (integer version)

Definition at line 158 of file array_math.hpp.

◆ scal

template<typename T >
T scal ( const Array< T > &  a,
const Array< T > &  b 
)
friend

Scalar product of two arrays.

Definition at line 207 of file array_math.hpp.

◆ sin

template<typename T >
Array<T> sin ( const Array< T > &  so)
friend

sine operator

Definition at line 25 of file array_math.hpp.

◆ sinh

template<typename T >
Array<T> sinh ( const Array< T > &  so)
friend

Hyperbolic sine operator.

Definition at line 39 of file array_math.hpp.

◆ sqrt

template<typename T >
Array<T> sqrt ( const Array< T > &  so)
friend

Operator square root.

Definition at line 172 of file array_math.hpp.

◆ sum

template<typename T >
T sum ( const Array< T > &  so)
friend

Summation of all the elements.

Definition at line 243 of file array_math.hpp.

Member Data Documentation

◆ data

template<typename T >
Memory_mapped_array<T> Kadath::Array< T >::data

Elements of the Array.

Definition at line 92 of file array.hpp.

◆ dimensions

template<typename T >
Dim_array Kadath::Array< T >::dimensions

Dimensions of the Array.

Definition at line 90 of file array.hpp.

◆ nbr

template<typename T >
int Kadath::Array< T >::nbr

Total number of elements.

Definition at line 91 of file array.hpp.


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