I/P: where will be if the joint is revolute, otherwise it will be O/P :
where T is the transformation matrix.