The search functionality needs JavaScript enabled
Setup the matrix to perform a reflection about an arbitrary plane through the origin. The unit vector n is perpendicular to the plane.
Matrix!(T,4) axisReflectionMatrix(T) ( Vector!(T,3) n );