parameters: (w)
return_statement: return rotation(vectorops.mul(w,1.0/length),length)
docstring: Converts a rotation vector representation w to a 3D rotation matrix.
docstring_summary: Converts a rotation vector representation w to a 3D rotation matrix.
docstring_tokens: Converts a rotation vector representation w to a 3D rotation matrix .
function: def from_rotation_vector(w):
      """Converts a rotation vector representation w to a 3D rotation matrix."""
      length = vectorops.norm(w)
      if length < 1e-7: return identity()
      return rotation(vectorops.mul(w,1.0/length),length)
function_tokens: def from_rotation_vector ( w ) : length = vectorops . norm ( w ) if length < 1e-7 : return identity ( ) return rotation ( vectorops . mul ( w , 1.0 / length ) , length )