next up previous contents index
suivant: Statistic functions : mean,variance,stddev, monter: Functions for vectors précédent: Scalar product : scalar_product   Table des matières   Index


Cross product : cross crossP crossproduct

cross or crossP or crossproduct takes as argument two vectors.
cross or crossP or crossproduct returns the cross product of these two vectors.
Input :
cross([1,2,3],[4,3,2])
Output :
[-5,10,-5]
Indeed : -5 = 2*2 - 3*3, 10 = - 1*2 + 4*3, -5 = 1*3 - 2*4.

giac documentation written by Renée De Graeve and Bernard Parisse