FunctionCross-product of two vectors.
Syntax C/C++#include <VFstd.h>
void VF_xprod( fVector Z, fVector X, fVector Y );
C++ VecObj#include <OptiVec.h>
void vector<T>::xprod( const vector<T>& X, const vector<T>& Y );
Pascal/Delphiuses VFstd;
procedure VF_xprod( Z, X, Y:fVector );
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_xprod( fVector d_Z, fVector d_X, fVector d_Y );
void VFcu_xprod( fVector h_Z, fVector h_X, fVector h_Y );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_xprod( d_Z, d_X, d_Y:fVector ): IntBool;
procedure VF_xprod( h_Z, h_X, h_Y:fVector );
DescriptionZ = X x Y
The cross-product of X and Y is calculated. Since this operation is defined specifically for vectors representing three dimensions in the geometrical sense, there is no parameter "size" for this function. The number of elements is 3 for each of the participating vectors, implicitly.
Error handlingnone
Return valuenone
See alsoVF_scalprod,   VF_Euclid

VectorLib Table of Contents  OptiVec home