VF_rquartic | VD_rquartic | VE_rquartic |
VFx_rquartic | VDx_rquartic | VEx_rquartic |
VFu_rquartic | VDu_rquartic | VEu_rquartic |
VFux_rquartic | VDux_rquartic | VEux_rquartic |
|
Function | Reciprocal of fourth power |
|
Syntax C/C++ | #include <VFmath.h>
int VF_rquartic( fVector Y, fVector X, ui size );
int VFx_rquartic( fVector Y, fVector X, ui size, float A, float B );
int VFu_rquartic( fVector Y, fVector X, ui size );
int VFux_rquartic( fVector Y, fVector X, ui size, float A, float B ); |
C++ VecObj | #include <OptiVec.h>
int vector<T>::rquartic( const vector<T>& X );
int vector<T>::x_rquartic( const vector<T>& X, const T& A, const T& B );
int vector<T>::u_rquartic( const vector<T>& X );
int vector<T>::ux_rquartic( const vector<T>& X, const T& A, const T& B ); |
Pascal/Delphi | uses VFmath;
function VF_rquartic( Y, X:fVector; size:UIntSize ): IntBool;
function VFx_rquartic( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool;
function VFu_rquartic( Y, X:fVector; size:UIntSize ): IntBool;
function VFux_rquartic( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool; |
|
CUDA function C/C++ | #include <cudaVFmath.h>
int cudaVF_rquartic( fVector d_Y, fVector d_X, ui size );
int cudaVFx_rquartic( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFx_rquartic( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
int VFucu_rquartic( fVector h_Y, fVector h_X, ui size );
int VFuxcu_rquartic( fVector h_Y, fVector h_X, ui size, float A, float B );
int cudaVFu_rquartic( fVector d_Y, fVector d_X, ui size );
int cudaVFux_rquartic( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFux_rquartic( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
int VFucu_rquartic( fVector h_Y, fVector h_X, ui size );
int VFuxcu_rquartic( fVector h_Y, fVector h_X, ui size, float A, float B );
|
CUDA function Pascal/Delphi | uses VFmath;
function cudaVF_rquartic( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFx_rquartic( d_Y, d_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFx_rquartic( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
function VFcu_rquartic( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFxcu_rquartic( h_Y, h_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cudaVFu_rquartic( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFux_rquartic( d_Y, d_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFux_rquartic( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
function VFucu_rquartic( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFuxcu_rquartic( h_Y, h_X:fVector; size:UIntSize; A, B:Single ): IntBool;
|
|
Description | simple versions: Yi = 1 / Xi 4
expanded versions: Yi = 1 / (A*Xi+B)4
The reciprocal of the fourth power of the elements of X is stored in Y.
The "unprotected" versions (prefix VFu_, VFux_, etc.) do not perform any error handling, which makes them much faster, but riskier than the standard versions. |
|
Error handling | SING and OVERFLOW errors lead to a default result of HUGE_VAL. |
|
Return value | FALSE (0), if no error occurred, otherwise TRUE (non-zero) |
|
|