PLaSK library
Loading...
Searching...
No Matches
TNT::Fortran_Array1D< T > Class Template Reference

#include <solvers/gain/wasiak/wzmocnienie/tnt/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_Array1Doperator= (const T &a)
 
Fortran_Array1Doperator= (const Fortran_Array1D &A)
 
Fortran_Array1Dref (const Fortran_Array1D &A)
 
Fortran_Array1D copy () const
 
Fortran_Array1Dinject (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)
 

Detailed Description

template<class T>
class TNT::Fortran_Array1D< T >

Definition at line 39 of file tnt_fortran_array1d.h.

Member Typedef Documentation

◆ value_type

template<class T >
typedef T TNT::Fortran_Array1D< T >::value_type

Definition at line 58 of file tnt_fortran_array1d.h.

Constructor & Destructor Documentation

◆ Fortran_Array1D() [1/5]

template<class T >
TNT::Fortran_Array1D< T >::Fortran_Array1D ( )

Definition at line 89 of file tnt_fortran_array1d.h.

◆ Fortran_Array1D() [2/5]

template<class T >
TNT::Fortran_Array1D< T >::Fortran_Array1D ( int  n)
explicit

Definition at line 103 of file tnt_fortran_array1d.h.

◆ Fortran_Array1D() [3/5]

template<class T >
TNT::Fortran_Array1D< T >::Fortran_Array1D ( int  n,
const T &  a 
)

Definition at line 111 of file tnt_fortran_array1d.h.

◆ Fortran_Array1D() [4/5]

template<class T >
TNT::Fortran_Array1D< T >::Fortran_Array1D ( int  n,
T *  a 
)

Definition at line 121 of file tnt_fortran_array1d.h.

◆ Fortran_Array1D() [5/5]

template<class T >
TNT::Fortran_Array1D< T >::Fortran_Array1D ( const Fortran_Array1D< T > &  A)
inline

Definition at line 92 of file tnt_fortran_array1d.h.

◆ ~Fortran_Array1D()

template<class T >
TNT::Fortran_Array1D< T >::~Fortran_Array1D ( )

Definition at line 207 of file tnt_fortran_array1d.h.

Member Function Documentation

◆ copy()

template<class T >
Fortran_Array1D< T > TNT::Fortran_Array1D< T >::copy ( ) const

Definition at line 159 of file tnt_fortran_array1d.h.

◆ dim()

template<class T >
int TNT::Fortran_Array1D< T >::dim ( ) const
inline

Definition at line 204 of file tnt_fortran_array1d.h.

◆ dim1()

template<class T >
int TNT::Fortran_Array1D< T >::dim1 ( ) const
inline

Definition at line 201 of file tnt_fortran_array1d.h.

◆ inject()

template<class T >
Fortran_Array1D< T > & TNT::Fortran_Array1D< T >::inject ( const Fortran_Array1D< T > &  A)

Definition at line 169 of file tnt_fortran_array1d.h.

◆ operator()() [1/2]

template<class T >
T & TNT::Fortran_Array1D< T >::operator() ( int  i)
inline

Definition at line 129 of file tnt_fortran_array1d.h.

◆ operator()() [2/2]

template<class T >
const T & TNT::Fortran_Array1D< T >::operator() ( int  i) const
inline

Definition at line 139 of file tnt_fortran_array1d.h.

◆ operator=() [1/2]

template<class T >
Fortran_Array1D< T > & TNT::Fortran_Array1D< T >::operator= ( const Fortran_Array1D< T > &  A)
inline

Definition at line 195 of file tnt_fortran_array1d.h.

◆ operator=() [2/2]

template<class T >
Fortran_Array1D< T > & TNT::Fortran_Array1D< T >::operator= ( const T &  a)
inline

Definition at line 152 of file tnt_fortran_array1d.h.

◆ ref()

template<class T >
Fortran_Array1D< T > & TNT::Fortran_Array1D< T >::ref ( const Fortran_Array1D< T > &  A)
inline

Definition at line 182 of file tnt_fortran_array1d.h.

◆ ref_count()

template<class T >
int TNT::Fortran_Array1D< T >::ref_count ( ) const
inline

Definition at line 213 of file tnt_fortran_array1d.h.

◆ subarray()

template<class T >
Fortran_Array1D< T > TNT::Fortran_Array1D< T >::subarray ( int  i0,
int  i1 
)
inline

Definition at line 219 of file tnt_fortran_array1d.h.


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