Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SVector Class Reference

The SVector class is a Nx1 matrix, nothing else ;-). More...

#include <SMatrix.h>

Inheritance diagram for SVector:

Inheritance graph
[legend]
Collaboration diagram for SVector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SVector (dword N=1)
 constructor for a Vector of dimension N
 SVector (dword N, double s)
 constructor for a Vector of dimension N, with constant values s
 SVector (dword N, const double *src)
 constructor from double array
 SVector (dword N, const float *src)
 constructor from float array
 SVector (const vuColourN &col)
 copy constructor
 SVector (const SVector &v)
 copy constructor
 SVector (const SMatrix &m)
 copy constructor for a matrix, that has the apropriate Nx1 format
 SVector (const coool::Vector< double > v)
dword getSize () const
 returns the size of the vector
double & operator[] (dword index)
 Direct access to the elements.
const double operator[] (dword index) const
 Direct const access to the data.
 operator linalg::Vector () const
 convert to a linalg::Vector
 operator coool::Vector () const
 convert to a coool::Vector<double>

Detailed Description

The SVector class is a Nx1 matrix, nothing else ;-).

Definition at line 174 of file SMatrix.h.


Constructor & Destructor Documentation

SVector::SVector dword  N = 1  )  [inline]
 

constructor for a Vector of dimension N

Definition at line 178 of file SMatrix.h.

SVector::SVector dword  N,
double  s
[inline]
 

constructor for a Vector of dimension N, with constant values s

Definition at line 180 of file SMatrix.h.

SVector::SVector dword  N,
const double *  src
[inline]
 

constructor from double array

Definition at line 182 of file SMatrix.h.

SVector::SVector dword  N,
const float src
[inline]
 

constructor from float array

Definition at line 184 of file SMatrix.h.

SVector::SVector const vuColourN col  )  [inline]
 

copy constructor

Definition at line 186 of file SMatrix.h.

SVector::SVector const SVector v  )  [inline]
 

copy constructor

Definition at line 188 of file SMatrix.h.

SVector::SVector const SMatrix m  )  [inline]
 

copy constructor for a matrix, that has the apropriate Nx1 format

Definition at line 190 of file SMatrix.h.

References SMatrix::getNCols().

Here is the call graph for this function:

SVector::SVector const coool::Vector< double >  v  )  [inline]
 

Definition at line 194 of file SMatrix.h.


Member Function Documentation

dword SVector::getSize void   )  const [inline]
 

returns the size of the vector

Definition at line 197 of file SMatrix.h.

References dword.

Referenced by SMatrix::makeToeplitz().

SVector::operator coool::Vector< double >  )  const
 

convert to a coool::Vector<double>

Definition at line 538 of file SMatrix.cpp.

References dword.

SVector::operator linalg::Vector  )  const
 

convert to a linalg::Vector

Definition at line 548 of file SMatrix.cpp.

References linalg::Vector::q_lwb(), and linalg::Vector::q_upb().

Here is the call graph for this function:

const double SVector::operator[] dword  index  )  const [inline]
 

Direct const access to the data.

Definition at line 202 of file SMatrix.h.

double& SVector::operator[] dword  index  )  [inline]
 

Direct access to the elements.

Definition at line 200 of file SMatrix.h.


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:21:02 2004 for vuVolume by  doxygen 1.3.9.1