FunctionCompare each element of a vector to the corresponding element of another vector and take the larger of the two.
Syntax C/C++#include <VFmath.h>
void VF_maxV( fVector Z, fVector X, fVector Y, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::maxV( const vector<T>& X, const vector<T>& Y );
Pascal/Delphiuses VFmath;
procedure VF_maxV( Z, X, Y:fVector; size:UIntSize );
CUDA function C/C++#include <cudaVFmath.h>
int cudaVF_maxV( fVector d_Z, fVector d_X, fVector d_Y,ui size );
void VFcu_maxV( fVector h_Z, fVector h_X, fVector h_Y,ui size );
CUDA function Pascal/Delphiuses VFmath;
function cudaVF_maxV( d_Z, d_X, d_Y:fVector; size:UIntSize ): IntBool;
procedure VFcu_maxV( h_Z, h_X, h_Y:fVector; size:UIntSize );
DescriptionZi = Xi, if Xi > Yi
Zi = Yi, if Xi <= Yi
Error handlingnone
Return valuenone
See alsoVF_minV,   VF_maxC,   VF_max,   VF_absmax

VectorLib Table of Contents  OptiVec home