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

CTBvoper.hxx File Reference

Declaration of vector operations (CTBadd,...) . More...

#include "CTBvector.hxx"
#include "CTBvoper.icc"

Include dependency graph for CTBvoper.hxx:

Include dependency graph

Go to the source code of this file.

Defines

#define _CTBvoper_HXX   1

Functions

template<class TR, class T1> void CTBadd (CTBvector< TR > &vr, const CTBvector< T1 > &v1)
template<class TR, class TF1, class T1> void CTBadd (CTBvector< TR > &vr, TF1 f1, const CTBvector< T1 > &v1)
template<class TR, class T1, class T2> void CTBadd (CTBvector< TR > &vr, const CTBvector< T1 > &v1, const CTBvector< T2 > &v2)
template<class TR, class T1, class TF2, class T2> void CTBadd (CTBvector< TR > &vr, const CTBvector< T1 > &v1, TF2 f2, const CTBvector< T2 > &v2)
template<class TR, class TF1, class T1, class TF2, class T2> void CTBadd (CTBvector< TR > &vr, TF1 f1, const CTBvector< T1 > &v1, TF2 f2, const CTBvector< T2 > &v2)
template<class TR, class T1> void CTBsub (CTBvector< TR > &vr, const CTBvector< T1 > &v1)
template<class TR, class T1, class T2> void CTBsub (CTBvector< TR > &vr, const CTBvector< T1 > &v1, const CTBvector< T2 > &v2)
template<class TR, class T1> CTBvector< TR > & operator+= (CTBvector< TR > &vr, const CTBvector< T1 > &v1)
template<class TR, class TF1> CTBvector< TR > & operator+= (CTBvector< TR > &vr, TF1 f1)
template<class TR, class T1> CTBvector< TR > & operator-= (CTBvector< TR > &vr, const CTBvector< T1 > &v1)
template<class TR, class TF1> CTBvector< TR > & operator-= (CTBvector< TR > &vr, TF1 f1)
template<class TR, class TF1> CTBvector< TR > & operator *= (CTBvector< TR > &vr, TF1 f1)
template<class TR, class TF1> CTBvector< TR > & operator/= (CTBvector< TR > &vr, TF1 f1)


Detailed Description

Declaration of vector operations (CTBadd,...) .

Version:
Id:
CTBvoper.hxx,v 1.3 2000/08/15 19:28:24 mueller Exp

Definition in file CTBvoper.hxx.


Define Documentation

#define _CTBvoper_HXX   1
 

Definition at line 2 of file CTBvoper.hxx.


Function Documentation

template<class TR, class T1>
void CTBadd CTBvector< TR > & vr,
const CTBvector< T1 > & v1
 

Add vector v1 to vr. ( vr += v1 ).

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

Definition at line 24 of file CTBvoper.icc.

template<class TR, class TF1, class T1>
void CTBadd CTBvector< TR > & vr,
TF1 f1,
const CTBvector< T1 > & v1
 

Add vector v1 scaled by f1 to vr. ( vr += f1 * v1 ).

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

Definition at line 50 of file CTBvoper.icc.

template<class TR, class T1, class T2>
void CTBadd CTBvector< TR > & vr,
const CTBvector< T1 > & v1,
const CTBvector< T2 > & v2
 

Calculate vector sum vr = v1 + v2.

Definition at line 76 of file CTBvoper.icc.

template<class TR, class T1, class TF2, class T2>
void CTBadd CTBvector< TR > & vr,
const CTBvector< T1 > & v1,
TF2 f2,
const CTBvector< T2 > & v2
 

Calculate vector scaled sum vr = v1 + f2 * v2.

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

Definition at line 106 of file CTBvoper.icc.

template<class TR, class TF1, class T1, class TF2, class T2>
void CTBadd CTBvector< TR > & vr,
TF1 f1,
const CTBvector< T1 > & v1,
TF2 f2,
const CTBvector< T2 > & v2
[inline]
 

Calculate scaled vector sum vr = f1 * v1 + f2 * v2.

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

Definition at line 136 of file CTBvoper.icc.

template<class TR, class T1>
void CTBsub CTBvector< TR > & vr,
const CTBvector< T1 > & v1
 

Subtract vector v1 from vr. ( vr -= v1 ).

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

Definition at line 166 of file CTBvoper.icc.

template<class TR, class T1, class T2>
void CTBsub CTBvector< TR > & vr,
const CTBvector< T1 > & v1,
const CTBvector< T2 > & v2
[inline]
 

Calculate vector difference vr = v1 - v2.

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

Definition at line 192 of file CTBvoper.icc.

template<class TR, class T1>
CTBvector<TR>& operator+= CTBvector< TR > & vr,
const CTBvector< T1 > & v1
 

Add vector v1 to vr. ( vr += v1 ).

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

Definition at line 222 of file CTBvoper.icc.

template<class TR, class TF1>
CTBvector<TR>& operator+= CTBvector< TR > & vr,
TF1 f1
[inline]
 

Add scalar f1 to all elements of vector vr.

Definition at line 233 of file CTBvoper.icc.

template<class TR, class T1>
CTBvector<TR>& operator-= CTBvector< TR > & vr,
const CTBvector< T1 > & v1
 

Subtract vector v1 from vr. ( vr -= v1 ).

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

Definition at line 251 of file CTBvoper.icc.

template<class TR, class TF1>
CTBvector<TR>& operator-= CTBvector< TR > & vr,
TF1 f1
[inline]
 

Subtract scalar f1 from all elements of vector vr.

Definition at line 262 of file CTBvoper.icc.

template<class TR, class TF1>
CTBvector<TR>& operator *= CTBvector< TR > & vr,
TF1 f1
[inline]
 

Multiply all elements of vector vr by scalar f1.

Definition at line 277 of file CTBvoper.icc.

template<class TR, class TF1>
CTBvector<TR>& operator/= CTBvector< TR > & vr,
TF1 f1
[inline]
 

Divide all elements of vector vr by scalar f1.

Definition at line 292 of file CTBvoper.icc.


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