VF_invVD_invVE_inv
VFx_invVDx_invVEx_inv
VFu_invVDu_invVEu_inv
VFux_invVDux_invVEux_inv
VCF_invVCD_invVCE_inv
VCFx_invVCDx_invVCEx_inv
VPF_invVPD_invVPE_inv
FunctionInverse (Reciprocal)

int VFu_inv( fVector Y, fVector X, ui size );
int VFux_inv( fVector Y, fVector X, ui size, float A, float B );
Syntax C/C++#include <VFmath.h>
int VF_inv( fVector Y, fVector X, ui size );
int VFx_inv( fVector Y, fVector X, ui size, float A, float B );
C++ VecObj#include <OptiVec.h>
int vector<T>::inv( const vector<T>& X );
int vector<T>::x_inv( const vector<T>& X, const T& A, const T& B );
int vector<T>::u_inv( const vector<T>& X );
int vector<T>::ux_inv( const vector<T>& X, const T& A, const T& B );
Pascal/Delphiuses VFmath;
function VF_inv( Y, X:fVector; size:UIntSize ): IntBool;
function VFx_inv( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool;
function VFu_inv( Y, X:fVector; size:UIntSize ): IntBool;
function VFux_inv( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool;
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_inv( fVector d_Y, fVector d_X, ui size );
int cudaVFx_inv( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFx_inv( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
int VFcu_inv( fVector h_Y, fVector h_X, ui size );
int VFxcu_inv( fVector h_Y, fVector h_X, ui size, float A, float B );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_inv( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFx_inv( d_Y, d_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFx_inv( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
function VFcu_inv( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFxcu_inv( h_Y, h_X:fVector; size:UIntSize; A, B:Single ): IntBool;
Descriptionsimple versions: Yi = 1.0 / Xi
expanded versions: Yi = 1.0 / (A*Xi+B)
Error handlingNormal versions (VF_, VFx_ etc.): SING and OVERFLOW errors lead to a result of ±HUGE_VAL.
Unprotected versions (VFu_, VFux_ etc.): no error handling.
Return valueFALSE (0), if no error occurred, otherwise TRUE (non-zero)
See alsoVF_divrC,   VF_divrV

VectorLib Table of Contents  OptiVec home