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;
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_expc( fVector d_Y, fVector d_X, ui size );
int cudaVFx_expc( fVector d_Y, fVector d_X, ui size, float A, float B, float C );
int cusdVFx_expc( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B, float *d_C );
int VFcu_expc( fVector h_Y, fVector h_X, ui size );
int VFxcu_expc( fVector h_Y, fVector h_X, ui size, float A, float B, float C );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_expc( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFx_expc( d_Y, d_X:fVector; size:UIntSize; A, B, C:Single ): IntBool;
function cusdVFx_expc( d_Y, d_X:fVector; size:UIntSize; d_A, d_B, d_C:PSingle ): IntBool;
function VFcu_expc( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFxcu_expc( h_Y, h_X:fVector; size:UIntSize; A, B, C:Single ): IntBool;
Descriptionsimple 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