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

LinAlg.h File Reference

#include <iostream.h>
#include "myenv.h"
#include "std.h"
#include <limits.h>
#include <math.h>
#include "builtin.h"
#include "minmax.h"

Include dependency graph for LinAlg.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  linalg
namespace  std

Classes

class  linalg::DimSpec
struct  linalg::rowcol
struct  linalg::IRange
struct  linalg::IRangeStride
class  linalg::DimSpecSubranged
class  linalg::ConstElementAction
class  linalg::ElementAction
class  linalg::ConstElementAction2
class  linalg::LazyMatrix
class  linalg::MinMax
class  linalg::RWWatchDog
class  linalg::haar_matrix
class  linalg::LazyTransposedMatrix
class  linalg::Matrix
class  linalg::Matrix::ConstReference
class  linalg::Matrix::Reference
class  linalg::Vector
class  linalg::LazyMatrixProduct
class  linalg::LazyZeroMatrix
class  linalg::LazyUnitMatrix
class  linalg::LazyInverseMatrix
class  linalg::ElementWiseConstAction
class  linalg::ElementWiseAction
class  linalg::ElementWiseConst
struct  linalg::ElementWiseConst::ElementWiseConstRef
class  linalg::ElementWise
class  linalg::ElementWiseStrideConst
class  linalg::ElementWiseStride
class  linalg::MatrixDABase
class  linalg::ConstMatrixDA
class  linalg::MatrixDA
class  linalg::ConstMatrixColumn
class  linalg::MatrixColumn
class  linalg::ConstMatrixRow
class  linalg::MatrixRow
class  linalg::ConstMatrixDiag
class  linalg::MatrixDiag

Defines

#define _LinAlg_h   1
#define __unused(X)   X
#define MAXINT   INT_MAX

Typedefs

typedef float REAL

Functions

void compare (const Matrix &im1, const Matrix &im2, const char title[])
void verify_element_value (const Matrix &m, const REAL val)
void verify_matrix_identity (const Matrix &m1, const Matrix &m2)
void verify_element_value (const Matrix::ConstReference &m, const REAL val)
void verify_matrix_identity (const Matrix::ConstReference &m1, const Matrix &m2)
void verify_matrix_identity (const Matrix &m1, const Matrix::ConstReference &m2)
void verify_matrix_identity (const Matrix::ConstReference &m1, const Matrix::ConstReference &m2)
Matrixoperator *= (Matrix &m, const ConstMatrixDiag &diag)
const LazyTransposedMatrix transposed (const Matrix &proto)
ElementWiseConst of_every (const ConstMatrixColumn &mc)
ElementWise to_every (const MatrixColumn &mc)
ElementWiseStrideConst of_every (const ConstMatrixRow &mr)
ElementWiseStride to_every (const MatrixRow &mr)
ElementWiseStrideConst of_every (const ConstMatrixDiag &md)
ElementWiseStride to_every (const MatrixDiag &md)
void are_compatible (const Matrix &m1, const Matrix &m2)
Matrixoperator-= (Matrix &m, const double val)
Matrixoperator+= (Matrix &m, const double val)
Matrixoperator *= (Matrix &m, const double val)
Matrix::Reference & operator-= (Matrix::Reference &m, const double val)
Matrix::Reference & operator+= (Matrix::Reference &m, const double val)
Matrix::Reference & operator *= (Matrix::Reference &m, const double val)
bool operator== (const Matrix &m, const REAL val)
bool operator!= (const Matrix &m, const REAL val)
bool operator== (const Matrix::ConstReference &m, const REAL val)
bool operator!= (const Matrix::ConstReference &m, const REAL val)


Define Documentation

#define __unused  )     X
 

Definition at line 75 of file LinAlg.h.

Referenced by linalg::LazyZeroMatrix::fill_in().

#define _LinAlg_h   1
 

Definition at line 63 of file LinAlg.h.

#define MAXINT   INT_MAX
 

Definition at line 88 of file LinAlg.h.


Typedef Documentation

typedef float REAL
 

Definition at line 102 of file LinAlg.h.

Referenced by linalg::ElementWiseStride::abs(), linalg::ElementWise::abs(), linalg::Matrix::allocate(), linalg::Matrix::apply(), linalg::ElementWiseStride::apply(), linalg::ElementWiseStrideConst::apply(), linalg::ElementWise::apply(), linalg::ElementWiseConst::apply(), linalg::AREALBlockStreamIn::AREALBlockStreamIn(), linalg::AREALBlockStreamOut::AREALBlockStreamOut(), linalg::AREALStreamIn::AREALStreamIn(), linalg::AREALStreamOut::AREALStreamOut(), linalg::AREALStrideStreamIn::AREALStrideStreamIn(), linalg::AREALStrideStreamOut::AREALStrideStreamOut(), linalg::SVD::bidiagonalize(), linalg::MatrixDABase::build_index(), linalg::Matrix::clear(), linalg::Matrix::col_norm(), linalg::compare(), linalg::SVD::diagonalize(), linalg::ElementWiseConst::ElementWiseConst(), linalg::ElementWiseStrideConst::ElementWiseStrideConst(), linalg::LazyTransposedMatrix::fill_in(), linalg::haar_matrix::fill_in(), linalg::AREALBlockStreamOut::get(), linalg::AREALBlockStreamIn::get(), linalg::AREALStrideStreamOut::get(), linalg::AREALStrideStreamIn::get(), linalg::AREALStreamOut::get(), linalg::AREALStreamIn::get(), linalg::ConstMatrixDiag::get_ref(), linalg::ConstMatrixRow::get_ref(), linalg::ConstMatrixColumn::get_ref(), linalg::AREALBlockStreamIn::get_ref(), linalg::AREALStrideStreamIn::get_ref(), linalg::AREALStreamIn::get_ref(), linalg::Matrix::hilbert_matrix(), linalg::ALInterp::interpolate(), linalg::Matrix::invert(), linalg::LAStreamOut::LAStreamOut(), linalg::LAStrideStreamIn::LAStrideStreamIn(), linalg::LAStrideStreamOut::LAStrideStreamOut(), linalg::SVD::left_householder(), linalg::MinMax::max(), linalg::LAS::max(), linalg::MaxDev::MaxDev(), linalg::MinMax::min(), linalg::LAS::min(), linalg::Matrix::mult(), linalg::MaxDev::operation(), linalg::operator *(), linalg::Vector::operator *=(), linalg::operator *=(), linalg::Matrix::operator *=(), linalg::MatrixDABase::operator()(), linalg::MatrixDiag::operator()(), linalg::ConstMatrixDiag::operator()(), linalg::MatrixRow::operator()(), linalg::ConstMatrixRow::operator()(), linalg::MatrixColumn::operator()(), linalg::ConstMatrixColumn::operator()(), linalg::MatrixDA::operator()(), linalg::ConstMatrixDA::operator()(), linalg::Vector::operator()(), linalg::Matrix::operator=(), linalg::Matrix::operator==(), linalg::AREALBlockStreamOut::peek(), linalg::AREALBlockStreamIn::peek(), linalg::AREALStrideStreamOut::peek(), linalg::AREALStrideStreamIn::peek(), linalg::AREALStreamOut::peek(), linalg::AREALStreamIn::peek(), linalg::AREALBlockStreamIn::peek_ref(), linalg::AREALStrideStreamIn::peek_ref(), linalg::AREALStreamIn::peek_ref(), linalg::MatrixPivoting::pick_up_pivot(), linalg::MatrixPivoting::pivoting_and_elimination(), linalg::Vector::resize_to(), linalg::SVD::right_householder(), linalg::SVD::rotate(), linalg::Matrix::row_norm(), linalg::AREALBlockStreamIn::set_curr_col(), linalg::ElementWiseStride::sqr(), linalg::ElementWise::sqr(), linalg::ElementWiseStride::sqrt(), linalg::ElementWise::sqrt(), linalg::AREALStrideStreamIn::subrange_first(), linalg::AREALStreamIn::subrange_first(), linalg::AREALStrideStreamIn::subrange_last(), linalg::AREALStreamIn::subrange_last(), linalg::Matrix::unit_matrix(), and linalg::verify_element_value().


Function Documentation

void are_compatible const Matrix m1,
const Matrix m2
[inline]
 

Definition at line 1520 of file LinAlg.h.

References linalg::_error(), linalg::Matrix::info(), and linalg::Matrix::is_valid().

Referenced by linalg::ALInterp::ALInterp(), linalg::compare(), linalg::operator *(), linalg::Matrix::operator=(), linalg::Matrix::operator==(), and linalg::verify_matrix_identity().

Here is the call graph for this function:

void linalg::compare const Matrix im1,
const Matrix im2,
const char  title[]
 

Definition at line 663 of file matrix1.cpp.

References linalg::are_compatible(), assert, linalg::AREALStreamIn::eof(), linalg::AREALStreamIn::get(), linalg::Matrix::info(), max, linalg::AREALStreamIn::peek(), REAL, and linalg::AREALStreamIn::seek().

Here is the call graph for this function:

ElementWiseStrideConst of_every const ConstMatrixDiag &  md  )  [inline]
 

Definition at line 1403 of file LinAlg.h.

Referenced by linalg::e2_norm(), linalg::Matrix::e2_norm(), linalg::Vector::norm_1(), linalg::Vector::norm_2_sqr(), linalg::Vector::norm_inf(), linalg::operator!=(), and linalg::operator==().

ElementWiseStrideConst of_every const ConstMatrixRow &  mr  )  [inline]
 

Definition at line 1328 of file LinAlg.h.

ElementWiseConst of_every const ConstMatrixColumn &  mc  )  [inline]
 

Definition at line 1271 of file LinAlg.h.

Referenced by linalg::SVD_inv_mult::fill_in().

Matrix::Reference& operator *= Matrix::Reference &  m,
const double  val
[inline]
 

Definition at line 1633 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Matrix& operator *= Matrix m,
const double  val
[inline]
 

Definition at line 1626 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Matrix & linalg::operator *= Matrix m,
const ConstMatrixDiag &  diag
 

Definition at line 263 of file matrix_sub.cpp.

References linalg::_error(), assert, linalg::AREALStreamIn::eof(), linalg::AREALStrideStreamIn::eof(), linalg::AREALStreamOut::get(), linalg::AREALStrideStreamIn::get(), and REAL.

Here is the call graph for this function:

bool operator!= const Matrix::ConstReference &  m,
const REAL  val
[inline]
 

Definition at line 1643 of file LinAlg.h.

References linalg::of_every().

Here is the call graph for this function:

bool operator!= const Matrix m,
const REAL  val
[inline]
 

Definition at line 1639 of file LinAlg.h.

References linalg::of_every().

Here is the call graph for this function:

Matrix::Reference& operator+= Matrix::Reference &  m,
const double  val
[inline]
 

Definition at line 1631 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Matrix& operator+= Matrix m,
const double  val
[inline]
 

Definition at line 1624 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Matrix::Reference& operator-= Matrix::Reference &  m,
const double  val
[inline]
 

Definition at line 1629 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

Matrix& operator-= Matrix m,
const double  val
[inline]
 

Definition at line 1622 of file LinAlg.h.

References linalg::to_every().

Here is the call graph for this function:

bool operator== const Matrix::ConstReference &  m,
const REAL  val
[inline]
 

Definition at line 1641 of file LinAlg.h.

References linalg::of_every().

Here is the call graph for this function:

bool operator== const Matrix m,
const REAL  val
[inline]
 

Definition at line 1637 of file LinAlg.h.

References linalg::of_every().

Here is the call graph for this function:

ElementWiseStride to_every const MatrixDiag &  md  )  [inline]
 

Definition at line 1432 of file LinAlg.h.

Referenced by linalg::operator *=(), linalg::operator+=(), linalg::operator-=(), linalg::Matrix::operator=(), and linalg::Vector::operator=().

ElementWiseStride to_every const MatrixRow &  mr  )  [inline]
 

Definition at line 1359 of file LinAlg.h.

ElementWise to_every const MatrixColumn &  mc  )  [inline]
 

Definition at line 1288 of file LinAlg.h.

Referenced by linalg::SVD_inv_mult::fill_in().

const LazyTransposedMatrix transposed const Matrix proto  )  [inline]
 

Definition at line 770 of file LinAlg.h.

References linalg::Matrix::is_valid().

Referenced by SOptimizer::minimize().

Here is the call graph for this function:

void verify_element_value const Matrix::ConstReference &  m,
const REAL  val
[inline]
 

Definition at line 692 of file LinAlg.h.

References linalg::Matrix::ConstReference::ref().

Here is the call graph for this function:

void linalg::verify_element_value const Matrix m,
const REAL  val
 

Definition at line 732 of file matrix1.cpp.

References linalg::_error(), linalg::Matrix::apply(), linalg::MaxDev::found_val, linalg::MaxDev::imax, linalg::MaxDev::jmax, linalg::MaxDev::max_dev, linalg::message(), and REAL.

Here is the call graph for this function:

void verify_matrix_identity const Matrix::ConstReference &  m1,
const Matrix::ConstReference &  m2
[inline]
 

Definition at line 700 of file LinAlg.h.

References linalg::Matrix::ConstReference::ref().

Referenced by linalg::verify_matrix_identity().

Here is the call graph for this function:

void verify_matrix_identity const Matrix m1,
const Matrix::ConstReference &  m2
[inline]
 

Definition at line 697 of file LinAlg.h.

References linalg::Matrix::ConstReference::ref(), and linalg::verify_matrix_identity().

Here is the call graph for this function:

void verify_matrix_identity const Matrix::ConstReference &  m1,
const Matrix m2
[inline]
 

Definition at line 694 of file LinAlg.h.

References linalg::Matrix::ConstReference::ref(), and linalg::verify_matrix_identity().

Here is the call graph for this function:

void linalg::verify_matrix_identity const Matrix m1,
const Matrix m2
 

Definition at line 752 of file matrix1.cpp.

References linalg::_error(), linalg::are_compatible(), linalg::AREALStreamIn::get(), linalg::AREALStreamIn::peek(), and linalg::AREALStreamIn::seek().

Here is the call graph for this function:


Generated on Wed Dec 15 21:20:43 2004 for vuVolume by  doxygen 1.3.9.1