Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

linalg.h File Reference

#include <mtl/mtl.h>
#include <mtl/matrix.h>
#include <mtl/scaled1D.h>
#include <mtl/utils.h>
#include <typeinfo>

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.

Compounds

class  __linalg_cvec
class  __linalg_vec
class  c_matrix
class  matrix
class  sparse_vector

Defines

#define __LINALG_RANGE_CHECK   0
#define linalg_scale(X, Y)   mtl::scaled(X, Y)
#define linalg_trans(A)   mtl::trans((A))

Functions

template<class _Tp> bool operator== (const sparse_vector< _Tp > &a, const sparse_vector< _Tp > &b)
template<class _S> _S linalg_dot (const std::vector< _S > &a, const std::vector< _S > &b, _S s)
template<class _Va, class _S> _S linalg_dot (const _Va &a, const std::vector< _S > &b, _S s)
template<class _Vb, class _S> _S linalg_dot (const std::vector< _S > &a, const _Vb &b, _S s)
template<class _Va, class _Vb, class _S> _S linalg_dot (const _Va &a, const _Vb &b, _S s)
template<class _S> void linalg_add (const std::vector< _S > &a, const std::vector< _S > &b, std::vector< _S > &c)
template<class _Va, class _S> void linalg_add (const _Va &a, const std::vector< _S > &b, std::vector< _S > &c)
template<class _Vb, class _S> void linalg_add (const std::vector< _S > &a, const _Vb &b, std::vector< _S > &c)
template<class _S, class _Vc> void linalg_add (const std::vector< _S > &a, const std::vector< _S > &b, _Vc &c)
template<class _Va, class _Vb, class _S> void linalg_add (const _Va &a, const _Vb &b, std::vector< _S > &c)
template<class _Va, class _S, class _Vc> void linalg_add (const _Va &a, const std::vector< _S > &b, _Vc &c)
template<class _S, class _Vb, class _Vc> void linalg_add (const std::vector< _S > &a, const _Vb &b, _Vc &c)
template<class _Va, class _Vb, class _Vc> void linalg_add (const _Va &a, const _Vb &b, _Vc &c)
template<class _Matrix, class _S> void linalg_matvec (const _Matrix &A, const std::vector< _S > &a, std::vector< _S > &c)
template<class _Matrix, class _S, class _Va> void linalg_matvec (const _Matrix &A, const _Va &a, std::vector< _S > &c)
template<class _Matrix, class _S, class _Vc> void linalg_matvec (const _Matrix &A, const std::vector< _S > &a, _Vc &c)
template<class _Matrix, class _Va, class _Vc> void linalg_matvec (const _Matrix &A, const _Va &a, _Vc &c)
template<class _Matrix, class _S> void linalg_matvecv (const _Matrix &A, const std::vector< _S > &a, const std::vector< _S > &b, std::vector< _S > &c)
template<class _Matrix, class _S, class _Va> void linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _S > &b, std::vector< _S > &c)
template<class _Matrix, class _S, class _Vb> void linalg_matvecv (const _Matrix &A, const std::vector< _S > &a, const _Vb &b, std::vector< _S > &c)
template<class _Matrix, class _S, class _Vc> void linalg_matvecv (const _Matrix &A, const std::vector< _S > &a, const std::vector< _S > &b, _Vc &c)
template<class _Matrix, class _Va, class _Vb, class _S> void linalg_matvecv (const _Matrix &A, _Va &a, const _Vb &b, const std::vector< _S > &c)
template<class _Matrix, class _Va, class _S, class _Vc> void linalg_matvecv (const _Matrix &A, const _Va &a, const std::vector< _S > &b, _Vc &c)
template<class _Matrix, class _S, class _Vb, class _Vc> void linalg_matvecv (const _Matrix &A, const std::vector< _S > &a, const _Vb &b, _Vc &c)
template<class _Matrix, class _Va, class _Vb, class _Vc> void linalg_matvecv (const _Matrix &A, const _Va &a, const _Vb &b, _Vc &c)
template<class _Ve> std::vector< _Ve > & linalg_ssum (std::vector< _Ve > &a, _Ve b, const std::vector< _Ve > &c)
template<class _Ve> std::vector< _Ve > & linalg_smult (std::vector< _Ve > &a, _Ve b)


Define Documentation

#define __LINALG_RANGE_CHECK   0
 

Definition at line 4 of file linalg.h.

#define linalg_scale X,
     mtl::scaled(X, Y)
 

Definition at line 104 of file linalg.h.

#define linalg_trans      mtl::trans((A))
 

Definition at line 352 of file linalg.h.


Function Documentation

template<class _Va, class _Vb, class _Vc>
void linalg_add const _Va &    a,
const _Vb &    b,
_Vc &    c
[inline]
 

Definition at line 262 of file linalg.h.

template<class _S, class _Vb, class _Vc>
void linalg_add const std::vector< _S > &    a,
const _Vb &    b,
_Vc &    c
[inline]
 

Definition at line 256 of file linalg.h.

template<class _Va, class _S, class _Vc>
void linalg_add const _Va &    a,
const std::vector< _S > &    b,
_Vc &    c
[inline]
 

Definition at line 250 of file linalg.h.

template<class _Va, class _Vb, class _S>
void linalg_add const _Va &    a,
const _Vb &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 244 of file linalg.h.

template<class _S, class _Vc>
void linalg_add const std::vector< _S > &    a,
const std::vector< _S > &    b,
_Vc &    c
[inline]
 

Definition at line 238 of file linalg.h.

template<class _Vb, class _S>
void linalg_add const std::vector< _S > &    a,
const _Vb &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 232 of file linalg.h.

template<class _Va, class _S>
void linalg_add const _Va &    a,
const std::vector< _S > &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 226 of file linalg.h.

template<class _S>
void linalg_add const std::vector< _S > &    a,
const std::vector< _S > &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 220 of file linalg.h.

template<class _Va, class _Vb, class _S>
_S linalg_dot const _Va &    a,
const _Vb &    b,
_S    s
[inline]
 

Definition at line 214 of file linalg.h.

template<class _Vb, class _S>
_S linalg_dot const std::vector< _S > &    a,
const _Vb &    b,
_S    s
[inline]
 

Definition at line 208 of file linalg.h.

template<class _Va, class _S>
_S linalg_dot const _Va &    a,
const std::vector< _S > &    b,
_S    s
[inline]
 

Definition at line 201 of file linalg.h.

template<class _S>
_S linalg_dot const std::vector< _S > &    a,
const std::vector< _S > &    b,
_S    s
[inline]
 

Definition at line 195 of file linalg.h.

template<class _Matrix, class _Va, class _Vc>
void linalg_matvec const _Matrix &    A,
const _Va &    a,
_Vc &    c
[inline]
 

Definition at line 290 of file linalg.h.

template<class _Matrix, class _S, class _Vc>
void linalg_matvec const _Matrix &    A,
const std::vector< _S > &    a,
_Vc &    c
[inline]
 

Definition at line 283 of file linalg.h.

template<class _Matrix, class _S, class _Va>
void linalg_matvec const _Matrix &    A,
const _Va &    a,
std::vector< _S > &    c
[inline]
 

Definition at line 276 of file linalg.h.

template<class _Matrix, class _S>
void linalg_matvec const _Matrix &    A,
const std::vector< _S > &    a,
std::vector< _S > &    c
[inline]
 

Definition at line 269 of file linalg.h.

template<class _Matrix, class _Va, class _Vb, class _Vc>
void linalg_matvecv const _Matrix &    A,
const _Va &    a,
const _Vb &    b,
_Vc &    c
[inline]
 

Definition at line 346 of file linalg.h.

template<class _Matrix, class _S, class _Vb, class _Vc>
void linalg_matvecv const _Matrix &    A,
const std::vector< _S > &    a,
const _Vb &    b,
_Vc &    c
[inline]
 

Definition at line 339 of file linalg.h.

template<class _Matrix, class _Va, class _S, class _Vc>
void linalg_matvecv const _Matrix &    A,
const _Va &    a,
const std::vector< _S > &    b,
_Vc &    c
[inline]
 

Definition at line 332 of file linalg.h.

template<class _Matrix, class _Va, class _Vb, class _S>
void linalg_matvecv const _Matrix &    A,
_Va &    a,
const _Vb &    b,
const std::vector< _S > &    c
[inline]
 

Definition at line 325 of file linalg.h.

template<class _Matrix, class _S, class _Vc>
void linalg_matvecv const _Matrix &    A,
const std::vector< _S > &    a,
const std::vector< _S > &    b,
_Vc &    c
[inline]
 

Definition at line 318 of file linalg.h.

template<class _Matrix, class _S, class _Vb>
void linalg_matvecv const _Matrix &    A,
const std::vector< _S > &    a,
const _Vb &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 311 of file linalg.h.

template<class _Matrix, class _S, class _Va>
void linalg_matvecv const _Matrix &    A,
const _Va &    a,
const std::vector< _S > &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 304 of file linalg.h.

template<class _Matrix, class _S>
void linalg_matvecv const _Matrix &    A,
const std::vector< _S > &    a,
const std::vector< _S > &    b,
std::vector< _S > &    c
[inline]
 

Definition at line 296 of file linalg.h.

template<class _Ve>
std::vector<_Ve>& linalg_smult std::vector< _Ve > &    a,
_Ve    b
[inline]
 

Definition at line 371 of file linalg.h.

template<class _Ve>
std::vector<_Ve>& linalg_ssum std::vector< _Ve > &    a,
_Ve    b,
const std::vector< _Ve > &    c
[inline]
 

Definition at line 356 of file linalg.h.

template<class _Tp>
bool operator== const sparse_vector< _Tp > &    a,
const sparse_vector< _Tp > &    b
 

Definition at line 46 of file linalg.h.


Generated on Tue Nov 4 01:58:18 2003 for COCONUT API by doxygen1.2.18