Gascoigne::nvector< T > Class Template Reference

#include <nvector.h>

Inheritance diagram for Gascoigne::nvector< T >:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::nvector< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< T
>::iterator 
iterator
typedef std::vector< T
>::const_iterator 
const_iterator

Public Member Functions

 ~nvector ()
 nvector ()
 nvector (size_t n)
 nvector (size_t n, const T &d)
 nvector (const std::vector< T > &v)
void write_data (std::ostream &s) const
void read_data (std::istream &s)
const T & secure_access (int i) const
T & secure_access (int i)
operator * (const nvector &v) const
nvector< T > & operator= (const T &)
nvector< T > & operator= (const std::vector< T > &)
nvector< T > & operator *= (const T &d)
nvector< T > & operator+= (const T &d)
nvector< T > & operator+= (const nvector &v)
nvector< T > & operator-= (const nvector &v)
void zero ()
void equ (const T &)
void equ (const T &, const nvector &)
void equ (const T &, const nvector &, const T &, const nvector &)
void equ (const T &, const nvector &, const T &, const nvector &, const T &, const nvector &)
void sequ (const T &, const T &, const nvector &)
void add (const T &)
void add (const T &, const nvector &)
void add (const T &, const nvector &, const T &, const nvector &)
void add (const T &, const nvector &, const T &, const nvector &, const T &, const nvector &)
void sadd (const T &, const T &, const nvector &)
double max () const
double min () const
sum () const
double norm () const
double norm_l1 () const
double norm_l8 () const
void ReInit (size_t n)
void memory (size_t n)
void reservesize (size_t n)
void reservesize (size_t n, const T &s)
void reservesize (const nvector< T > &v)
void BinWrite (std::ostream &out) const
void BinRead (std::istream &in)
int find (const T &x) const

Friends

std::ostream & operator<< (std::ostream &s, const nvector< T > &A)
std::istream & operator>> (std::istream &s, nvector< T > &A)

template<class T>
class Gascoigne::nvector< T >


Member Typedef Documentation

template<class T>
typedef std::vector<T>::const_iterator Gascoigne::nvector< T >::const_iterator

Reimplemented from std::vector< T >.

Reimplemented in Gascoigne::CompVector< T >, Gascoigne::nmatrix< T >, and Gascoigne::nmatrix< double >.

template<class T>
typedef std::vector<T>::iterator Gascoigne::nvector< T >::iterator

Reimplemented from std::vector< T >.

Reimplemented in Gascoigne::CompVector< T >, Gascoigne::nmatrix< T >, and Gascoigne::nmatrix< double >.


Constructor & Destructor Documentation

template<class T>
Gascoigne::nvector< T >::~nvector (  )  [inline]

template<class T>
Gascoigne::nvector< T >::nvector (  )  [inline]

template<class T>
Gascoigne::nvector< T >::nvector ( size_t  n  )  [inline]

template<class T>
Gascoigne::nvector< T >::nvector ( size_t  n,
const T &  d 
) [inline]

template<class T>
Gascoigne::nvector< T >::nvector ( const std::vector< T > &  v  )  [inline]


Member Function Documentation

template<class T>
void Gascoigne::nvector< T >::add ( const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::add ( const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::add ( const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::add ( const T &   )  [inline]

template<class T>
void Gascoigne::nvector< T >::BinRead ( std::istream &  in  )  [inline]

Reimplemented in Gascoigne::CompVector< T >.

template<class T>
void Gascoigne::nvector< T >::BinWrite ( std::ostream &  out  )  const [inline]

Reimplemented in Gascoigne::CompVector< T >.

template<class T>
void Gascoigne::nvector< T >::equ ( const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::equ ( const T &  ,
const nvector< T > &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::equ ( const T &  ,
const nvector< T > &   
)

template<class T>
void Gascoigne::nvector< T >::equ ( const T &   )  [inline]

template<class T>
int Gascoigne::nvector< T >::find ( const T &  x  )  const [inline]

template<class T>
double Gascoigne::nvector< T >::max (  )  const [inline]

template<class T>
void Gascoigne::nvector< T >::memory ( size_t  n  )  [inline]

template<class T>
double Gascoigne::nvector< T >::min (  )  const [inline]

template<class T>
double Gascoigne::nvector< T >::norm (  )  const [inline]

template<class T>
double Gascoigne::nvector< T >::norm_l1 (  )  const [inline]

template<class T>
double Gascoigne::nvector< T >::norm_l8 (  )  const [inline]

template<class T>
T Gascoigne::nvector< T >::operator * ( const nvector< T > &  v  )  const

template<class T>
nvector< T > & Gascoigne::nvector< T >::operator *= ( const T &  d  )  [inline]

template<class T>
nvector<T>& Gascoigne::nvector< T >::operator+= ( const nvector< T > &  v  )  [inline]

template<class T>
nvector<T>& Gascoigne::nvector< T >::operator+= ( const T &  d  )  [inline]

template<class T>
nvector<T>& Gascoigne::nvector< T >::operator-= ( const nvector< T > &  v  )  [inline]

template<class T>
nvector< T > & Gascoigne::nvector< T >::operator= ( const std::vector< T > &   )  [inline]

template<class T>
nvector< T > & Gascoigne::nvector< T >::operator= ( const T &   )  [inline]

template<class T>
void Gascoigne::nvector< T >::read_data ( std::istream &  s  )  [inline]

template<class T>
void Gascoigne::nvector< T >::ReInit ( size_t  n  )  [inline]

template<class T>
void Gascoigne::nvector< T >::reservesize ( const nvector< T > &  v  )  [inline]

template<class T>
void Gascoigne::nvector< T >::reservesize ( size_t  n,
const T &  s 
) [inline]

Reimplemented in Gascoigne::CompVector< T >.

template<class T>
void Gascoigne::nvector< T >::reservesize ( size_t  n  )  [inline]

template<class T>
void Gascoigne::nvector< T >::sadd ( const T &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
T& Gascoigne::nvector< T >::secure_access ( int  i  )  [inline]

template<class T>
const T& Gascoigne::nvector< T >::secure_access ( int  i  )  const [inline]

template<class T>
void Gascoigne::nvector< T >::sequ ( const T &  ,
const T &  ,
const nvector< T > &   
)

template<class T>
T Gascoigne::nvector< T >::sum (  )  const [inline]

template<class T>
void Gascoigne::nvector< T >::write_data ( std::ostream &  s  )  const [inline]

template<class T>
void Gascoigne::nvector< T >::zero (  )  [inline]


Friends And Related Function Documentation

template<class T>
std::ostream& operator<< ( std::ostream &  s,
const nvector< T > &  A 
) [friend]

template<class T>
std::istream& operator>> ( std::istream &  s,
nvector< T > &  A 
) [friend]


The documentation for this class was generated from the following file:
Generated on Thu Sep 14 10:46:22 2006 for Gascoigne by  doxygen 1.4.7