VF_quartic | VD_quartic | VE_quartic |
VFx_quartic | VDx_quartic | VEx_quartic |
VFu_quartic | VDu_quartic | VEu_quartic |
VFux_quartic | VDux_quartic | VEux_quartic |
VCF_quartic | VCD_quartic | VCE_quartic |
VCFx_quartic | VCDx_quartic | VCEx_quartic |
VCFu_quartic | VCDu_quartic | VCEu_quartic |
VCFux_quartic | VCDux_quartic | VCEux_quartic |
VPF_quartic | VPD_quartic | VPE_quartic |
VPFu_quartic | VPDu_quartic | VPEu_quartic |
|
|
Syntax C/C++ | #include <VFmath.h>
int VF_quartic( fVector Y, fVector X, ui size );
int VFx_quartic( fVector Y, fVector X, ui size, float A, float B );
int VFu_quartic( fVector Y, fVector X, ui size );
int VFux_quartic( fVector Y, fVector X, ui size, float A, float B ); |
C++ VecObj | #include <OptiVec.h>
int vector<T>::quartic( const vector<T>& X );
int vector<T>::x_quartic( const vector<T>& X, const T& A, const T& B );
int vector<T>::u_quartic( const vector<T>& X );
int vector<T>::ux_quartic( const vector<T>& X, const T& A, const T& B ); |
Pascal/Delphi | uses VFmath;
function VF_quartic( Y, X:fVector; size:UIntSize ): IntBool;
function VFx_quartic( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool;
function VFu_quartic( Y, X:fVector; size:UIntSize ): IntBool;
function VFux_quartic( Y, X:fVector; size:UIntSize; A, B:Single ): IntBool; |
|
CUDA function C/C++ | #include <cudaVFmath.h>
int cudaVF_quartic( fVector d_Y, fVector d_X, ui size );
int cudaVFx_quartic( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFx_quartic( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
int VFucu_quartic( fVector h_Y, fVector h_X, ui size );
int VFuxcu_quartic( fVector h_Y, fVector h_X, ui size, float A, float B );
int cudaVFu_quartic( fVector d_Y, fVector d_X, ui size );
int cudaVFux_quartic( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFux_quartic( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
int VFucu_quartic( fVector h_Y, fVector h_X, ui size );
int VFuxcu_quartic( fVector h_Y, fVector h_X, ui size, float A, float B );
|
CUDA function Pascal/Delphi | uses VFmath;
function cudaVF_quartic( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFx_quartic( d_Y, d_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFx_quartic( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
function VFcu_quartic( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFxcu_quartic( h_Y, h_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cudaVFu_quartic( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFux_quartic( d_Y, d_X:fVector; size:UIntSize; A, B:Single ): IntBool;
function cusdVFux_quartic( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle ): IntBool;
function VFucu_quartic( h_Y, h_X:fVector; size:UIntSize ): IntBool;
function VFuxcu_quartic( h_Y, h_X:fVector; size:UIntSize; A, B:Single ): IntBool;
|
|
Description | simple versions: Yi = Xi4
expanded versions: Yi = (A*Xi+B)4
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 than the standard versions. The extended-precision complex (VCEu_ and VCEux_) versions do not take some of the security measures present in the standard version and might fail for results very near the overflow limit; results near the underflow limit might be rendered as 0. |
|
Error handling | OVERFLOW errors lead to a default result of HUGE_VAL. |
|
Return value | FALSE (0), if no error occurred, otherwise TRUE (non-zero) |
|
|