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

linalg::Vector Class Reference

#include <LinAlg.h>

Inheritance diagram for linalg::Vector:

Inheritance graph
[legend]
Collaboration diagram for linalg::Vector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Vector (const int n)
 Vector (const int lwb, const int upb)
 Vector (const int lwb, const int upb, double iv1,...)
 Vector (const LazyMatrix &lazy_constructor)
void resize_to (const int n)
void resize_to (const int lwb, const int upb)
void resize_to (const Vector &v)
REALoperator() (const int index)
REAL operator() (const int index) const
int q_lwb (void) const
int q_upb (void) const
Vectoroperator *= (const Matrix &A)
double norm_1 (void) const
double norm_2_sqr (void) const
double norm_inf (void) const
Vectoroperator= (const Vector &v)
Vectoroperator= (const LazyMatrix &source)
Vectoroperator= (const ElementWiseConst &stream)
Vectoroperator= (const ElementWiseStrideConst &stream)
Vectoroperator= (const REAL val)

Friends

double operator * (const Vector &v1, const Vector &v2)

Constructor & Destructor Documentation

linalg::Vector::Vector const int  n  )  [inline]
 

Definition at line 1575 of file LinAlg.h.

linalg::Vector::Vector const int  lwb,
const int  upb
[inline]
 

Definition at line 1579 of file LinAlg.h.

linalg::Vector::Vector const int  lwb,
const int  upb,
double  iv1,
  ...
 

Definition at line 39 of file vector.cpp.

References assure.

linalg::Vector::Vector const LazyMatrix lazy_constructor  )  [inline]
 

Definition at line 1610 of file LinAlg.h.

References assure.


Member Function Documentation

double linalg::Vector::norm_1 void   )  const [inline]
 

Reimplemented from linalg::Matrix.

Definition at line 999 of file LinAlg.h.

References linalg::of_every(), and linalg::ElementWiseStrideConst::sum_abs().

Here is the call graph for this function:

double linalg::Vector::norm_2_sqr void   )  const [inline]
 

Definition at line 1001 of file LinAlg.h.

References linalg::of_every(), and linalg::ElementWiseStrideConst::sum_squares().

Here is the call graph for this function:

double linalg::Vector::norm_inf void   )  const [inline]
 

Reimplemented from linalg::Matrix.

Definition at line 1003 of file LinAlg.h.

References linalg::ElementWiseStrideConst::max_abs(), and linalg::of_every().

Here is the call graph for this function:

Vector & linalg::Vector::operator *= const Matrix A  ) 
 

Reimplemented from linalg::Matrix.

Definition at line 112 of file vector.cpp.

References linalg::_error(), assert, linalg::DimSpec::col_lwb, linalg::Matrix::elements, linalg::Matrix::info(), linalg::Matrix::is_valid(), linalg::DimSpec::ncols, linalg::Matrix::nelems, linalg::DimSpec::nrows, REAL, and linalg::DimSpec::row_lwb.

Here is the call graph for this function:

REAL linalg::Vector::operator() const int  index  )  const [inline]
 

Definition at line 649 of file LinAlg.h.

References REAL.

REAL & linalg::Vector::operator() const int  index  )  [inline]
 

Definition at line 1598 of file LinAlg.h.

References linalg::_error(), and REAL.

Here is the call graph for this function:

Vector& linalg::Vector::operator= const REAL  val  )  [inline]
 

Reimplemented from linalg::Matrix.

Definition at line 683 of file LinAlg.h.

References Matrix::operator=().

Here is the call graph for this function:

Vector & linalg::Vector::operator= const ElementWiseStrideConst stream  )  [inline]
 

Definition at line 1149 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Vector & linalg::Vector::operator= const ElementWiseConst stream  )  [inline]
 

Definition at line 995 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Vector & linalg::Vector::operator= const LazyMatrix source  )  [inline]
 

Reimplemented from linalg::Matrix.

Definition at line 1582 of file LinAlg.h.

References Matrix::operator=().

Here is the call graph for this function:

Vector& linalg::Vector::operator= const Vector v  )  [inline]
 

Definition at line 673 of file LinAlg.h.

References Matrix::operator=().

Here is the call graph for this function:

int linalg::Vector::q_lwb void   )  const [inline]
 

Definition at line 656 of file LinAlg.h.

Referenced by linalg::ALInterp::ALInterp(), SVector::operator linalg::Vector(), resize_to(), and SMatrix::SMatrix().

int linalg::Vector::q_upb void   )  const [inline]
 

Definition at line 657 of file LinAlg.h.

Referenced by linalg::ALInterp::ALInterp(), linalg::ALInterp::interpolate(), SVector::operator linalg::Vector(), resize_to(), and SMatrix::SMatrix().

void linalg::Vector::resize_to const Vector v  )  [inline]
 

Definition at line 1592 of file LinAlg.h.

References q_lwb(), and q_upb().

Here is the call graph for this function:

void linalg::Vector::resize_to const int  lwb,
const int  upb
 

Reimplemented from linalg::Matrix.

Definition at line 59 of file vector.cpp.

References assert, assure, linalg::Matrix::is_valid(), and REAL.

Here is the call graph for this function:

void linalg::Vector::resize_to const int  n  )  [inline]
 

Definition at line 1590 of file LinAlg.h.


Friends And Related Function Documentation

double operator * const Vector v1,
const Vector v2
[friend]
 

Definition at line 95 of file vector.cpp.


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