|
Function | Quotient of Xi over the sum of Xi and a constant. |
|
Syntax C/C++ | #include <VFmath.h>
void VF_hypC( fVector Y, fVector X, ui size, float C ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::hypC( const vector<T>& X, const T& C ); |
Pascal/Delphi | uses VFmath;
procedure VF_hypC( Y, X:fVector; size:UIntSize; C:Single ); |
|
CUDA function C/C++ | #include <cudaVFmath.h>
#include <cudaVDmath.h>
int cudaVF_hypC( fVector d_Y, fVector d_X, ui size, float C );
int cusdVF_hypC( fVector d_Y, fVector d_X, ui size, float *d_C );
void VFcu_hypC( fVector d_Y, fVector d_X, ui size, float C );
|
CUDA function Pascal/Delphi | uses VFmath, VDmath;
function cudaVF_hypC( d_Y, d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_hypC( d_Y, d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
procedure VF_hypC( Y, X:fVector; size:UIntSize; C:Single );
|
|
Description | Yi = hyp( Xi, C ) = Xi / (Xi + C)
The function calculating Yi according to this formula is dubbed "hyp" for its formal similarity to the expression constructing a hyperbola. |
|
|
|
|