6.5.1 Dot and cross productsThe dot product of two vectors can be found simply by multiplying the two vectors together: pyxplot> a = vector(1,4) The cross product of two vectors, which is only defined for pairs of threeelement vectors, can be found by passing the two vectors to the cross(a,b) function: pyxplot> a = vector(1,4,1)
