VF_replaceNANVD_replaceNANVE_replaceNAN
VCF_replaceNANVCD_replaceNANVCE_replaceNAN
VPF_replaceNANVPD_replaceNANVPE_replaceNAN
FunctionReplace NAN by an arbitrary value
Syntax C/C++#include <VFmath.h>
void VF_replaceNAN( fVector Y, fVector X, ui size, float C );
void VCF_replaceNAN( fVector Y, fVector X, ui size, fComplex C );
C++ VecObj#include <OptiVec.h>
void vector<T>::replaceNAN( const vector<T>& X, const T& C );
void vector<T>::replaceNAN( const vector<T>& X, complex<T> C );
Pascal/Delphiuses VFmath;
procedure VF_replaceNAN( Y, X:fVector; size:UIntSize; C:Single );
procedure VCF_replaceNAN( Y, X:cfVector; size:UIntSize; C:fComplex );
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_replaceNAN( fVector d_Y, fVector d_X, ui size, float C );
int cusdVF_replaceNAN( fVector d_Y, fVector d_X, ui size, float *d_C );
void VFcu_replaceNAN( fVector h_Y, fVector h_X, ui size, float C );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_replaceNAN( d_Y, d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_replaceNAN( d_Y, d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
procedure VFcu_replaceNAN( h_Y, h_X:fVector; size:UIntSize; C:Single );
DescriptionX is copied into Y, whereby any NAN ("not a number") value (be it SNaN or QNaN) is replaced by a user-defined characteristic value C.
Error handlingnone
Return valuenone
See alsoVF_absHuge,   VF_maxC,   VF_minC,   VF_min,   VF_flush0,   VF_limit

VectorLib Table of Contents  OptiVec home