inv(m)

Get the inverse of a matrix or pose

The matrix must be square and non singular.

Parameters

m: matrix or pose (spatial vector)

Return Value

inverse matrix or pose transformation (spatial vector)

Example command:

  • inv([[0,1,0],[0,0,1],[1,0,0]]) -> Returns [[0,0,1],[1,0,0],[0,1,0]]
  • inv(p[.2,.5,.1,1.57,0,3.14]) -> Returns p[0.19324,0.41794,-0.29662,1.23993,0.0,2.47985]