Public Member Functions | Private Attributes
NRVec< T > Class Template Reference

#include <nrutil_nr.h>

List of all members.

Public Member Functions

 NRVec ()
 NRVec (int n)
 NRVec (const T &a, int n)
 NRVec (const T *a, int n)
 NRVec (const NRVec &rhs)
NRVecoperator= (const NRVec &rhs)
NRVecoperator= (const T &a)
Toperator[] (const int i)
const Toperator[] (const int i) const
int size () const
 ~NRVec ()

Private Attributes

int nn
Tv

Detailed Description

template<class T>
class NRVec< T >

Definition at line 34 of file nrutil_nr.h.


Constructor & Destructor Documentation

template<class T >
NRVec< T >::NRVec ( )

Definition at line 53 of file nrutil_nr.h.

template<class T >
NRVec< T >::NRVec ( int  n) [explicit]

Definition at line 56 of file nrutil_nr.h.

template<class T>
NRVec< T >::NRVec ( const T a,
int  n 
)

Definition at line 59 of file nrutil_nr.h.

template<class T>
NRVec< T >::NRVec ( const T a,
int  n 
)

Definition at line 66 of file nrutil_nr.h.

template<class T>
NRVec< T >::NRVec ( const NRVec< T > &  rhs)

Definition at line 73 of file nrutil_nr.h.

template<class T >
NRVec< T >::~NRVec ( )

Definition at line 125 of file nrutil_nr.h.


Member Function Documentation

template<class T >
NRVec< T > & NRVec< T >::operator= ( const NRVec< T > &  rhs)

Definition at line 80 of file nrutil_nr.h.

template<class T>
NRVec< T > & NRVec< T >::operator= ( const T a)

Definition at line 99 of file nrutil_nr.h.

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

Definition at line 107 of file nrutil_nr.h.

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

Definition at line 113 of file nrutil_nr.h.

template<class T >
int NRVec< T >::size ( ) const [inline]

Definition at line 119 of file nrutil_nr.h.


Member Data Documentation

template<class T>
int NRVec< T >::nn [private]

Definition at line 36 of file nrutil_nr.h.

template<class T>
T* NRVec< T >::v [private]

Definition at line 37 of file nrutil_nr.h.


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


tensor_field_nav_core
Author(s): Lintao Zheng, Kai Xu
autogenerated on Thu Jun 6 2019 19:50:57