pg_utils.sympy_supp.vector_calculus_3d.cross

pg_utils.sympy_supp.vector_calculus_3d.cross(vec_a, vec_b)[source]

Compute the cross product between two vectors

Parameters:
  • vec_a (array-like) – left operand vector

  • vec_b (array-like) – right operand vector

Note

The method implicitly assumes vec_a and vec_b are arrays with three elements (3-D vector), and these components can be multiplied and then summed.

Returns:

vector product