VF_quarticVD_quarticVE_quartic
VFx_quarticVDx_quarticVEx_quartic
VFu_quarticVDu_quarticVEu_quartic
VFux_quarticVDux_quarticVEux_quartic
VCF_quarticVCD_quarticVCE_quartic
VCFx_quarticVCDx_quarticVCEx_quartic
VCFu_quarticVCDu_quarticVCEu_quartic
VCFux_quarticVCDux_quarticVCEux_quartic
VPF_quarticVPD_quarticVPE_quartic
VPFu_quarticVPDu_quarticVPEu_quartic
FunctionFourth power
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/Delphiuses 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;
Descriptionnormal versions: Yi = Xi 4
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 (up to 50%) 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 handlingOVERFLOW errors lead to a default result of HUGE_VAL.
Return valueFALSE (0), if no error occurred, otherwise TRUE (non-zero)
See alsoVF_square,   VF_cubic,   VF_sqrt,   VF_pow,   VF_ipow,   VF_poly

VectorLib Table of Contents  OptiVec home