Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBdot.hxx File Reference

Declaration of CTBdot functions. More...

#include "CTBvector.hxx"
#include "CTBmatrix.hxx"
#include "CTBdot.icc"

Include dependency graph for CTBdot.hxx:

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.

Defines

#define _CTBdot_HXX   1

Functions

template<class T> T CTBdot (const CTBvector< T > &v1, const CTBvector< T > &v2)
template<class T> T CTBdot (const CTBvector< T > &v1, const CTBvector< T > &v2, CTBint i_beg, CTBint i_end)
template<class T> T CTBdot (const CTBmatrix< T > &m, CTBint i_row, const CTBvector< T > &v)
template<class T> T CTBdot (const CTBmatrix< T > &m, CTBint i_row, const CTBvector< T > &v, CTBint i_beg, CTBint i_end)
template<class T> T CTBdot (CTBint i_col, const CTBmatrix< T > &m, const CTBvector< T > &v)
template<class T> T CTBdot (CTBint i_col, const CTBmatrix< T > &m, const CTBvector< T > &v, CTBint i_beg, CTBint i_end)
template<class T> T CTBdot (const CTBmatrix< T > &m1, CTBint i_row, CTBint i_col, const CTBmatrix< T > &m2)
template<class T> T CTBdot (const CTBmatrix< T > &m1, CTBint i_row, CTBint i_col, const CTBmatrix< T > &m2, CTBint i_beg, CTBint i_end)
template<class T> void CTBdot (CTBvector< T > &r, const CTBmatrix< T > &m, const CTBvector< T > &v)
template<class T> void CTBdot (CTBmatrix< T > &r, const CTBmatrix< T > &m1, const CTBmatrix< T > &m2)


Detailed Description

Declaration of CTBdot functions.

Version:
Id:
CTBdot.hxx,v 1.2 2000/07/30 18:23:27 mueller Exp

Definition in file CTBdot.hxx.


Define Documentation

#define _CTBdot_HXX   1
 

Definition at line 2 of file CTBdot.hxx.


Function Documentation

template<class T>
T CTBdot const CTBvector< T > & v1,
const CTBvector< T > & v2
 

Returns dot product of two vectors v1 and v2.

Exceptions:
CTBexceptionConformity   Thrown if CTB__ConformityCheck defined and size of v1 and v2 different.

Definition at line 29 of file CTBdot.icc.

template<class T>
T CTBdot const CTBvector< T > & v1,
const CTBvector< T > & v2,
CTBint i_beg,
CTBint i_end
 

Returns dot product of the subrange (i_beg, i_end) of two vectors v1 and v2 . A zero is returned if i_end < i_beg .

Exceptions:
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_beg or i_end outside the allowed index range of v1 or v2 .

Definition at line 58 of file CTBdot.icc.

template<class T>
T CTBdot const CTBmatrix< T > & m,
CTBint i_row,
const CTBvector< T > & v
 

Returns dot product of the row i_row of matrix m with vector v .

Exceptions:
CTBexceptionConformity   Thrown if CTB__ConformityCheck defined and the number of columns in m is different from the size of v .
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_row outside range.

Definition at line 88 of file CTBdot.icc.

template<class T>
T CTBdot const CTBmatrix< T > & m,
CTBint i_row,
const CTBvector< T > & v,
CTBint i_beg,
CTBint i_end
 

Returns dot product of the subrange (i_beg, i_end) of the row i_row of matrix m with vector v . A zero is returned if i_end < i_beg .

Exceptions:
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_beg or i_end outside the allowed column index range of m or allowed index range of v .

Definition at line 117 of file CTBdot.icc.

template<class T>
T CTBdot CTBint i_col,
const CTBmatrix< T > & m,
const CTBvector< T > & v
 

Returns dot product of the column i_col of matrix m with vector v .

Exceptions:
CTBexceptionConformity   Thrown if CTB__ConformityCheck defined and the number of rows in m is different from the size of v .
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_col outside range.

Definition at line 147 of file CTBdot.icc.

template<class T>
T CTBdot CTBint i_col,
const CTBmatrix< T > & m,
const CTBvector< T > & v,
CTBint i_beg,
CTBint i_end
 

Returns dot product of the subrange (i_beg, i_end) of the column i_col of matrix m with vector v . A zero is returned if i_end < i_beg .

Exceptions:
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_beg or i_end outside the allowed row index range of m or allowed index range of v .

Definition at line 182 of file CTBdot.icc.

template<class T>
T CTBdot const CTBmatrix< T > & m1,
CTBint i_row,
CTBint i_col,
const CTBmatrix< T > & m2
 

Returns dot product of the row i_row of matrix m1 with the column i_col of matrix m2

Exceptions:
CTBexceptionConformity   Thrown if CTB__ConformityCheck defined and the number of columns in m1 is different from the number of rows in m2 .
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_row outside the range for m1 or i_col outside the range for m2 .

Definition at line 219 of file CTBdot.icc.

template<class T>
T CTBdot const CTBmatrix< T > & m1,
CTBint i_row,
CTBint i_col,
const CTBmatrix< T > & m2,
CTBint i_beg,
CTBint i_end
 

Returns dot product of the subrange (i_beg, i_end) of the row i_row of matrix m1 with the column i_col of matrix m2 . A zero is returned if i_end < i_beg .

Exceptions:
CTBexceptionIndexRange   Thrown if CTB__IndexCheck defined and i_beg or i_end outside the allowed column index range of m1 or the allowed row index range for m2 .

Definition at line 255 of file CTBdot.icc.

template<class T>
void CTBdot CTBvector< T > & r,
const CTBmatrix< T > & m,
const CTBvector< T > & v
 

template<class T>
void CTBdot CTBmatrix< T > & r,
const CTBmatrix< T > & m1,
const CTBmatrix< T > & m2
 


Generated at Fri Oct 24 18:11:52 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001