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

CTBdot.icc File Reference

Implemenation (inline) of CTBdot functions. More...

#include "CTBtraits.hxx"
#include "CTBnum.hxx"
#include "CTBexceptionIndexRange.hxx"
#include "CTBexceptionConformity.hxx"

Include dependency graph for CTBdot.icc:

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.

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)


Detailed Description

Implemenation (inline) of CTBdot functions.

Version:
Id:
CTBdot.icc,v 1.5 2000/08/15 19:17:36 mueller Exp

Definition in file CTBdot.icc.


Function Documentation

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

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
[inline]
 

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
[inline]
 

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
[inline]
 

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
[inline]
 

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
[inline]
 

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
[inline]
 

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
[inline]
 

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.


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