m3sh.linalg.

perp#

perp(u, v)#

Common perpendicular.

Added in version 1.1.0.

Parameters:
u, varray_like, shape (3,)

Vectors in 3-space.

Returns:
nndarray, shape (3,)

A unit length vector orthogonal to u and v. If u and v and linearly independent, this vector is parallel to the cross product vector.