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

#include <solvers/gain/wasiak/wzmocnienie/tnt/tnt_array1d.h>

Public Types

typedef T value_type
 

Public Member Functions

 Array1D ()
 
 Array1D (int n)
 
 Array1D (int n, const T &a)
 
 Array1D (int n, const T *a)
 
 Array1D (const Array1D &A)
 
 operator T* ()
 
 operator const T * ()
 
Array1Doperator= (const T &a)
 
Array1Doperator= (const Array1D &A)
 
Array1Dref (const Array1D &A)
 
Array1D copy () const
 
Array1Dinject (const Array1D &A)
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
int dim1 () const
 
int dim () const
 
 ~Array1D ()
 
int ref_count () const
 
Array1D< T > subarray (int i0, int i1)
 

Detailed Description

template<class T>
class TNT::Array1D< T >

Definition at line 39 of file tnt_array1d.h.

Member Typedef Documentation

◆ value_type

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

Definition at line 58 of file tnt_array1d.h.

Constructor & Destructor Documentation

◆ Array1D() [1/5]

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

Definition at line 91 of file tnt_array1d.h.

◆ Array1D() [2/5]

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

Definition at line 105 of file tnt_array1d.h.

◆ Array1D() [3/5]

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

Definition at line 113 of file tnt_array1d.h.

◆ Array1D() [4/5]

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

Definition at line 123 of file tnt_array1d.h.

◆ Array1D() [5/5]

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

Definition at line 94 of file tnt_array1d.h.

◆ ~Array1D()

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

Definition at line 224 of file tnt_array1d.h.

Member Function Documentation

◆ copy()

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

Definition at line 176 of file tnt_array1d.h.

◆ dim()

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

Definition at line 221 of file tnt_array1d.h.

◆ dim1()

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

Definition at line 218 of file tnt_array1d.h.

◆ inject()

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

Definition at line 186 of file tnt_array1d.h.

◆ operator const T *()

template<class T >
TNT::Array1D< T >::operator const T * ( )
inline

Definition at line 138 of file tnt_array1d.h.

◆ operator T*()

template<class T >
TNT::Array1D< T >::operator T* ( )
inline

Definition at line 131 of file tnt_array1d.h.

◆ operator=() [1/2]

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

Definition at line 212 of file tnt_array1d.h.

◆ operator=() [2/2]

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

Definition at line 169 of file tnt_array1d.h.

◆ operator[]() [1/2]

template<class T >
T & TNT::Array1D< T >::operator[] ( int  i)
inline

Definition at line 146 of file tnt_array1d.h.

◆ operator[]() [2/2]

template<class T >
const T & TNT::Array1D< T >::operator[] ( int  i) const
inline

Definition at line 156 of file tnt_array1d.h.

◆ ref()

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

Definition at line 199 of file tnt_array1d.h.

◆ ref_count()

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

Definition at line 230 of file tnt_array1d.h.

◆ subarray()

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

Definition at line 236 of file tnt_array1d.h.


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