#include <Vector.h>
List of all members.
Detailed Description
generic class for vector. The vector contains float values.
Constructor & Destructor Documentation
| zeus::TVector::TVector |
( |
) |
[inline] |
Creates an empty vector of no size. This is usefull if the vector size is applied later on. Therefore this brings more performance into a process.
| zeus::TVector::TVector |
( |
Int |
iSize ) |
[inline] |
Creates an empty vector of size iSize
- Parameters:
-
| iSize | : Size of the vector |
| zeus::TVector::TVector |
( |
const TVector & |
rVector ) |
[inline] |
Copy constructor of the vector
- Parameters:
-
| zeus::TVector::TVector |
( |
const IVector & |
rVector ) |
[inline] |
Copy constructor of the vector
- Parameters:
-
| zeus::TVector::TVector |
( |
Int * |
paComp, |
|
|
Int |
iSize |
|
) |
| [inline] |
Creates a vector out of an int-array
- Parameters:
-
| paComp | : array of integer values |
| iSize | : Size of the array |
| zeus::TVector::TVector |
( |
Float * |
paComp, |
|
|
Int |
iSize |
|
) |
| [inline] |
Creates a vector out of an float-array
- Parameters:
-
| paComp | : Array of float values |
| iSize | : Size of the array |
| TVector::TVector |
( |
const TString & |
rstrValues ) |
|
Creates a vecor out of a string. The sing is [,] seperated
- Parameters:
-
| virtual zeus::TVector::~TVector |
( |
) |
[inline, virtual] |
Member Function Documentation
| void MQUALIFIER zeus::TVector::add |
( |
const IVector & |
rVector ) |
[inline, virtual] |
| void MQUALIFIER zeus::TVector::assign |
( |
const IVector & |
rVector ) |
[inline, virtual] |
| void MQUALIFIER zeus::TVector::assignValues |
( |
const Float * |
apValues, |
|
|
Int |
iSize |
|
) |
| [inline, virtual] |
| Float MQUALIFIER zeus::TVector::calcScalarProduct |
( |
const IVector & |
rVector ) |
const [inline, virtual] |
| void MQUALIFIER zeus::TVector::divide |
( |
const Float & |
f ) |
[inline, virtual] |
| bool MQUALIFIER TVector::equals |
( |
const IVector & |
rVector, |
|
|
Float |
fPrecision = FLOAT_PRECISION |
|
) |
| const [virtual] |
| Float MQUALIFIER TVector::getComponent |
( |
Int |
iIndex ) |
const [virtual] |
| Float *MQUALIFIER zeus::TVector::getComponents |
( |
) |
[inline, virtual] |
| const Float *MQUALIFIER zeus::TVector::getComponentsConst |
( |
) |
const [inline, virtual] |
| Int MQUALIFIER zeus::TVector::getDimension |
( |
) |
const [inline, virtual] |
| Float MQUALIFIER zeus::TVector::getLength |
( |
) |
const [inline, virtual] |
| Float MQUALIFIER zeus::TVector::getLengthSquared |
( |
) |
const [inline, virtual] |
| Float MQUALIFIER TVector::getNorm |
( |
) |
const [virtual] |
| Float MQUALIFIER TVector::getNormSquared |
( |
) |
const [virtual] |
| void MQUALIFIER zeus::TVector::multiply |
( |
const Float & |
f ) |
[inline, virtual] |
| bool zeus::TVector::operator!= |
( |
const IVector & |
rVector ) |
const [inline] |
operator to check if two vectors are not equal
- Parameters:
-
- Return values:
-
| true | : vectors are not equal |
| false,: | vectors are equal |
| TVector TVector::operator* |
( |
const Float & |
f ) |
const |
Multiplication with a scalar from the right.
- Parameters:
-
- Returns:
- Multiplied vector.
| Float TVector::operator* |
( |
const IVector & |
rVector ) |
const |
Scalar product.
- Parameters:
-
| rVector | [IN]: Vector to be multiplied with this vector. |
- Returns:
- Scalar product.
| const TVector & zeus::TVector::operator*= |
( |
const Float & |
f ) |
[inline] |
Multiplication with a scalar from the right. Assign the result to this vector.
- Parameters:
-
- Returns:
- const reference to this vector after the assignment.
Addition.
- Parameters:
-
| rVector | [IN]: Vector to be added to this vector. |
- Returns:
- Vector sum.
| const TVector & zeus::TVector::operator+= |
( |
const IVector & |
rVector ) |
[inline] |
Add a vector to this vector, and assign the result to this vector.
- Parameters:
-
| rVector | [IN]: Vector to be added to this vector. |
- Returns:
- const reference to this vector after the assignment.
Subtraction.
- Parameters:
-
| rVector | [IN]: Vector to be subtracted from this vector. |
- Returns:
- Vector difference.
| const TVector & zeus::TVector::operator-= |
( |
const IVector & |
rVector ) |
[inline] |
Subtract a vector from this vector, and assign the result to this vector.
- Parameters:
-
| rVector | [IN]: Vector to be subtracted from this vector. |
- Returns:
- const reference to this vector after the assignment.
| TVector zeus::TVector::operator/ |
( |
const Float & |
f ) |
const [inline] |
Division by a scalar.
- Parameters:
-
- Returns:
- Divided vector. zero vector in case f is zero.
| const TVector & zeus::TVector::operator/= |
( |
const Float & |
f ) |
[inline] |
Division by a scalar from the right. Assign the result to this vector.
- Parameters:
-
- Returns:
- const reference to this vector after the assignment.
| const TVector & zeus::TVector::operator= |
( |
const IVector & |
rVector ) |
[inline] |
Assignment of interface type object.
- Parameters:
-
| rVector | [IN]: Vector to be assigned to this vector. |
- Returns:
- const reference to this vector after the assignment.
| const TVector & zeus::TVector::operator= |
( |
const TVector & |
rVector ) |
[inline] |
Assignment of interface type object.
- Parameters:
-
| rVector | [IN]: Vector to be assigned to this vector. |
- Returns:
- const reference to this vector after the assignment.
| bool zeus::TVector::operator== |
( |
const IVector & |
rVector ) |
const [inline] |
operator to check if two vectors are equal
- Parameters:
-
- Return values:
-
| true | : vectors are equal |
| false,: | vectors are not equal |
| bool MQUALIFIER TVector::setComponent |
( |
Int |
iIndex, |
|
|
Float |
fValue |
|
) |
| [virtual] |
| void MQUALIFIER TVector::setDimension |
( |
Int |
iValue ) |
[virtual] |
| void MQUALIFIER zeus::TVector::subtract |
( |
const IVector & |
rVector ) |
[inline, virtual] |
| TString TVector::toString |
( |
) |
const |
Returns a string of the vector
The documentation for this class was generated from the following files: