sspt_Vector Class Reference

Vector class for use with numerical linear algebra routines. More...

#include <sspt_vector.h>

List of all members.

Public Member Functions

 ~sspt_Vector ()
 sspt_Vector ()
 sspt_Vector (size_t)
 sspt_Vector (const sspt_Vector &)
sspt_Vectoroperator= (const sspt_Vector &)
void resize (size_t n)
double operator* (const sspt_Vector &b) const
sspt_Vectoroperator*= (double k)
sspt_Vectoroperator-= (const sspt_Vector &a)
double & operator[] (const size_t i)
double operator[] (const size_t i) const
double & operator() (const size_t i)
double operator() (const size_t i) const
void acc (const double k, const sspt_Vector &x)

Public Attributes

double * elements
size_t size

Detailed Description

Vector class for use with numerical linear algebra routines.

Constructor & Destructor Documentation

sspt_Vector::~sspt_Vector (  ) 

sspt_Vector::sspt_Vector (  ) 

sspt_Vector::sspt_Vector ( size_t   )  [explicit]

sspt_Vector::sspt_Vector ( const sspt_Vector  ) 

Member Function Documentation

void sspt_Vector::acc ( const double  k,
const sspt_Vector x 
) [inline]

double sspt_Vector::operator() ( const size_t  i  )  const [inline]

double& sspt_Vector::operator() ( const size_t  i  )  [inline]

double sspt_Vector::operator* ( const sspt_Vector b  )  const

sspt_Vector& sspt_Vector::operator*= ( double  k  ) 

sspt_Vector& sspt_Vector::operator-= ( const sspt_Vector a  ) 

sspt_Vector& sspt_Vector::operator= ( const sspt_Vector  ) 

double sspt_Vector::operator[] ( const size_t  i  )  const [inline]

double& sspt_Vector::operator[] ( const size_t  i  )  [inline]

void sspt_Vector::resize ( size_t  n  ) 

Member Data Documentation