#include <nrutil_mtl.h>
Public Member Functions | |
| NRVec () | |
| NRVec (const int n) | |
| NRVec (const T &a, int n) | |
| NRVec (const T *a, int n) | |
| NRVec (Vector &rhs) | |
| NRVec (const NRVec< T > &rhs) | |
| NRVec & | operator= (const NRVec &rhs) |
| int | size () const |
| T & | operator[] (const int i) const |
| operator Vector () const | |
| ~NRVec () | |
| NRVec () | |
| NRVec (int n) | |
| NRVec (const T &a, int n) | |
| NRVec (const T *a, int n) | |
| NRVec (const NRVec &rhs) | |
| NRVec & | operator= (const NRVec &rhs) |
| NRVec & | operator= (const T &a) |
| T & | operator[] (const int i) |
| const T & | operator[] (const int i) const |
| int | size () const |
| ~NRVec () | |
| NRVec () | |
| NRVec (const int n) | |
| NRVec (const T &a, int n) | |
| NRVec (const T *a, int n) | |
| NRVec (TNT::Vector< T > &rhs) | |
| NRVec (const NRVec< T > &rhs) | |
| NRVec & | operator= (const NRVec &rhs) |
| NRVec & | operator= (const T &rhs) |
| int | size () const |
| T & | operator[] (const int i) const |
| operator TNT::Vector () const | |
| ~NRVec () | |
Protected Attributes | |
| Vector | myvec |
| Vector & | myref |
Private Types | |
| typedef dense1D< T > | Vector |
Private Attributes | |
| int | nn |
| T * | v |
| TNT::Vector< T > | myvec |
| TNT::Vector< T > & | myref |
|
|||||
|
Definition at line 76 of file nrutil_mtl.h. |
|
|||||||||
|
Reimplemented in NRVec< bool >. Definition at line 80 of file nrutil_nr.h.
|
|
||||||||||
|
Reimplemented in NRVec< bool >. Definition at line 83 of file nrutil_nr.h.
|
|
||||||||||||||||
|
Definition at line 86 of file nrutil_nr.h. References NRVec< T >::v.
|
|
||||||||||||||||
|
Definition at line 93 of file nrutil_nr.h. References NRVec< T >::v.
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 90 of file nrutil_mtl.h.
|
|
|||||||||
|
Definition at line 103 of file nrutil_mtl.h. 00103 {}
|
|
|||||||||
|
Reimplemented in NRVec< bool >. |
|
||||||||||
|
Reimplemented in NRVec< bool >. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Reimplemented in NRVec< bool >. |
|
||||||||||
|
Reimplemented in NRVec< bool >. |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 87 of file nrutil_tnt.h.
|
|
|||||||||
|
Definition at line 99 of file nrutil_tnt.h. 00099 {}
|
|
|||||||||
|
Definition at line 96 of file nrutil_tnt.h. 00096 {return myref;}
|
|
|||||||||
|
Definition at line 100 of file nrutil_mtl.h. 00100 {return myref;}
|
|
||||||||||
|
Definition at line 91 of file nrutil_tnt.h. 00091 { myvec=rhs; return *this;}
|
|
||||||||||
|
Definition at line 89 of file nrutil_tnt.h.
|
|
||||||||||
|
Definition at line 126 of file nrutil_nr.h. References NRVec< T >::v. 00127 {
00128 for (int i=0; i<nn; i++)
00129 v[i]=a;
00130 return *this;
00131 }
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 94 of file nrutil_mtl.h. 00094 {
00095 if (myref.size() != rhs.myref.size())
00096 myref.resize(rhs.myref.size());
00097 copy(rhs.myref,myref); return *this;}
|
|
||||||||||
|
Definition at line 94 of file nrutil_tnt.h. 00094 {return myref[i];}
|
|
||||||||||
|
|
|
||||||||||
|
Definition at line 134 of file nrutil_nr.h. References NRVec< T >::v. 00135 {
00136 return v[i];
00137 }
|
|
||||||||||
|
Definition at line 99 of file nrutil_mtl.h. 00099 {return myref[i];}
|
|
|||||||||
|
Definition at line 93 of file nrutil_tnt.h. 00093 {return myref.size();}
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 98 of file nrutil_mtl.h. Referenced by NR::covsrt(), NR::fgauss(), NR::linmin(), NR::mrqcof(), MinosMinimization::MrqCof(), NR::mrqmin(), MinosMinimization::MrqMin(), NRVec< DP >::operator=(), NR::powell(), MinosMinimization::SetMarquardtBinInfo(), MinosMinimization::SetSystematicParameters(), and NRVec< DP >::size(). 00098 {return myref.size();}
|
|
|||||
|
Definition at line 78 of file nrutil_tnt.h. |
|
|||||
|
Definition at line 79 of file nrutil_mtl.h. Referenced by NRVec< DP >::NRVec(), and NRVec< DP >::operator=(). |
|
|||||
|
Definition at line 77 of file nrutil_tnt.h. |
|
|||||
|
Definition at line 78 of file nrutil_mtl.h. |
|
|||||
|
Definition at line 63 of file nrutil_nr.h. |
|
|||||
|
Definition at line 64 of file nrutil_nr.h. Referenced by NRVec< T >::NRVec(), NRVec< T >::operator=(), and NRVec< T >::operator[](). |
1.3.9.1