|
|
| Funktion | reelle Potenzen von 2 |
|
| Syntax C/C++ | #include <VFmath.h>
int VF_pow2( fVector Y, fVector X, ui size );
int VFx_pow2( fVector Y, fVector X, ui size, float A, float B, float C ); |
| C++ VecObj | #include <OptiVec.h>
int vector<T>::pow2( const vector<T>& X );
int vector<T>::x_pow2( const vector<T>& X, const T& A, const T& B, const T& C ); |
| Pascal/Delphi | uses VFmath;
function VF_pow2( Y, X:fVector; size:UInt ): IntBool;
function VFx_pow2( Y, X:fVector; size:UInt; A, B, C:Single ): IntBool; |
|
| Beschreibung | normale Versionen: Yi = 2.0 Xi
erweiterte Versionen: Yi = C * 2.0A*Xi+B
Dies ist eine Exponentialfunktion zur Basis 2. |
|
| Fehlerbehandlung | OVERFLOW-Fehler ergeben ±HUGE_VAL. |
|
| Rückgabewert | FALSE (0), wenn fehlerfrei, andernfalls TRUE (!= 0) |
|
|