|
| Function | Cross-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/Delphi | uses VFstd;
procedure VF_xprod( Z, X, Y:fVector ); |
|
| Description | Z = 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. |
|
|
|
|