FunctionExponential function of an arbitrary base
Syntax C/C++#include <VFmath.h>
int VF_expArbBase( fVector Y, fVector X, ui size, float Base );
int VFx_expArbBase( fVector Y, fVector X, ui size, float Base, float A, float B, float C );
C++ VecObj#include <OptiVec.h>
int vector<T>::expArbBase( const vector<T>& X, const T& Base );
int vector<T>::x_expArbBase( const vector<T>& X, const T& Base, const T& A, const T& B, const T& C );
Pascal/Delphiuses VFmath;
function VF_expArbBase( Y, X:fVector; size:UIntSize; Base:Single ): IntBool;
function VFx_expArbBase( Y, X:fVector; size:UIntSize; Base, A, B, C:Single ): IntBool;
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_expArbBase( fVector d_Y, fVector d_X, ui size, float Base );
int cusdVF_expArbBase( fVector d_Y, fVector d_X, ui size, float *d_Base );
int cudaVFx_expArbBase( fVector d_Y, fVector d_X, ui size, float Base, float A, float B, float C );
int cusdVFx_expArbBase( fVector d_Y, fVector d_X, ui size, float *d_Base, float *d_A, float *d_B, float *d_C );
int VFcu_expArbBase( fVector h_Y, fVector h_X, ui size, float Base );
int VFxcu_expArbBase( fVector h_Y, fVector h_X, ui size, float Base, float A, float B, float C );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_expArbBase( d_Y, d_X:fVector; size:UIntSize; Base:Single ): IntBool;
function cusdVF_expArbBase( d_Y, d_X:fVector; size:UIntSize; d_Base:PSingle ): IntBool;
function cudaVFx_expArbBase( d_Y, d_X:fVector; size:UIntSize; Base, A, B, C:Single ): IntBool;
function cusdVFx_expArbBase( d_Y, d_X:fVector; size:UIntSize; d_Base, d_A, d_B, d_C:PSingle ): IntBool;
function VFcu_expArbBase( h_Y, h_X:fVector; size:UIntSize; Base:Single ): IntBool;
function VFxcu_expArbBase( h_Y, h_X:fVector; size:UIntSize; Base, A, B, C:Single ): IntBool;
Descriptionnormal versions: Yi = Base Xi
expanded versions: Yi = C * Base (A*Xi+B)
Base must be positive and non-zero in the real-number versions. In the complex versions, Base must be non-zero.
Error handlingOVERFLOW errors lead to a default result of ±HUGE_VAL.
Return valueFALSE (0), if no error occurred, otherwise TRUE (non-zero)
See alsoVF_exp,   VF_pow

VectorLib Table of Contents  OptiVec home