VF_isconstVD_isconstVE_isconst
VCF_isconstVCD_isconstVCE_isconst
VPF_isconstVPD_isconstVPE_isconst
VI_isconstVBI_isconstVSI_isconstVLI_isconstVQI_isconst 
VU_isconstVUB_isconstVUS_isconstVUL_isconstVUQ_isconstVUI_isconst
FunktionTest, ob alle Elemente identisch sind
Syntax C/C++#include <VFstd.h>
int VF_isconst( fVector X, ui size );
C++ VecObj#include <OptiVec.h>
int vector<T>::isconst();
Pascal/Delphiuses VFstd;
function VF_isconst( X:fVector; size:UIntSize ): IntBool;
CUDA-Funktion C/C++#include <cudaVFstd.h>
int cudaVF_isconst( int *h_isConst, fVector d_X, ui size );
int VFcu_isconst( fVector X, ui size );
CUDA-Funktion Pascal/Delphiuses VFstd;
function cudaVF_isconst( var h_isConst:Integer; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_isconst( h_X:fVector; size:UIntSize ): IntBool;
BeschreibungDie Funktionen dieser Familie geben TRUE (1) zurück, wenn alle Elemente des Vektors X identisch sind, andernfalls FALSE (0). Dabei werden +0 und −0 als verschieden behandelt, ebenso wie die unterschiedlichen Typen von NAN.
Fehlerbehandlungkeine
RückgabewertTRUE (1) oder FALSE (0)
QuerverweisVF_cmp_equC,   VF_ismonoton

VectorLib Inhaltsverzeichnis  OptiVec Home