VF_expcVD_expcVE_expc
VFx_expcVDx_expcVEx_expc
FunctionComplementary exponential function
Syntax C/C++#include <VFmath.h>
int VF_expc( fVector Y, fVector X, ui size );
int VFx_expc( fVector Y, fVector X, ui size, float A, float B, float C );
C++ VecObj#include <OptiVec.h>
int vector<T>::expc( const vector<T>& X );
int vector<T>::x_expc( const vector<T>& X, const T& A, const T& B, const T& C );
Pascal/Delphiuses VFmath;
function VF_expc( Y, X:fVector; size:UIntSize ): IntBool;
function VFx_expc( Y, X:fVector; size:UIntSize; A, B, C:Single ): IntBool;
Descriptionnormal versions: Yi = 1 - exp( Xi )
expanded versions: Yi = C * (1 - exp [A*Xi + B ])
The difference between 1.0 and the exponential function of Xi is calculated. Note that the expc function is directly available from the 80x87 coprocessor in high accuracy; in fact, it is the exponential function itself that is internally calculated via the expc function. The expc function is often encountered in the natural sciences for the description of decay and growth processes.
Error handlingOVERFLOW errors lead to a default result of ±HUGE_VAL.
Return valueFALSE (0), if no error occurred, otherwise TRUE (non-zero).
See alsoVF_log,   VF_exp,   VF_pow,   VF_sinh,   VF_exp2,   VF_Gauss,  exp

VectorLib Table of Contents  OptiVec home