Essentia
2.1-beta6-dev
|
#include <tnt_fortran_array1d.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Fortran_Array1D () | |
Fortran_Array1D (int n) | |
Fortran_Array1D (int n, const T &a) | |
Fortran_Array1D (int n, T *a) | |
Fortran_Array1D (const Fortran_Array1D &A) | |
Fortran_Array1D & | operator= (const T &a) |
Fortran_Array1D & | operator= (const Fortran_Array1D &A) |
Fortran_Array1D & | ref (const Fortran_Array1D &A) |
Fortran_Array1D | copy () const |
Fortran_Array1D & | inject (const Fortran_Array1D &A) |
T & | operator() (int i) |
const T & | operator() (int i) const |
int | dim1 () const |
int | dim () const |
~Fortran_Array1D () | |
int | ref_count () const |
Fortran_Array1D< T > | subarray (int i0, int i1) |
Private Member Functions | |
void | initialize_ (int n) |
void | copy_ (T *p, const T *q, int len) const |
void | set_ (T *begin, T *end, const T &val) |
Private Attributes | |
i_refvec< T > | v_ |
int | n_ |
T * | data_ |
typedef T value_type |
|
explicit |
Fortran_Array1D | ( | int | n, |
const T & | a | ||
) |
References Fortran_Array1D< T >::data_, and Fortran_Array1D< T >::set_().
Fortran_Array1D | ( | int | n, |
T * | a | ||
) |
|
inline |
Fortran_Array1D< T > copy |
References Fortran_Array1D< T >::data_.
|
private |
|
inline |
|
inline |
|
private |
Fortran_Array1D< T > & inject | ( | const Fortran_Array1D< T > & | A | ) |
References Fortran_Array1D< T >::data_, and Fortran_Array1D< T >::n_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Fortran_Array1D< T >::data_, Fortran_Array1D< T >::n_, and Fortran_Array1D< T >::v_.
|
inline |
|
private |
Referenced by Fortran_Array1D< T >::Fortran_Array1D().
|
inline |
References Fortran_Array1D< T >::data_, and Fortran_Array1D< T >::n_.
|
private |
|
private |
Referenced by Fortran_Array1D< T >::inject(), Fortran_Array1D< T >::ref(), and Fortran_Array1D< T >::subarray().
|
private |
Referenced by Fortran_Array1D< T >::ref().