1 from __future__
import print_function
6 quat = eigenpy.Quaternion()
8 eigenpy.switchToNumpyMatrix()
9 coeffs_vector = quat.coeffs()
10 assert len(coeffs_vector.shape) == 2
13 eigenpy.switchToNumpyArray()
14 coeffs_vector = quat.coeffs()
15 assert len(coeffs_vector.shape) == 1