vispy.util.tests.test_quaternion module#
- vispy.util.tests.test_quaternion.test_quaternion_axis_angle_extreme_vector_magnitudes()#
Test the rotation axis of tiny and large vectors.
- vispy.util.tests.test_quaternion.test_quaternion_exp()#
Test quaternion exponential for real and imaginary inputs.
- vispy.util.tests.test_quaternion.test_quaternion_exp_log_round_trip()#
Test that exp(log(q)) recovers a non-real quaternion.
- vispy.util.tests.test_quaternion.test_quaternion_exp_overflow()#
Preserve NumPy’s overflow behavior and keep zero components at zero.
- vispy.util.tests.test_quaternion.test_quaternion_log()#
Test quaternion logarithm for unit and non-unit inputs.
- vispy.util.tests.test_quaternion.test_quaternion_log_domain()#
Test the real-axis branch convention and the undefined zero input.
- vispy.util.tests.test_quaternion.test_quaternion_log_extreme_vector_magnitudes()#
Test tiny and large vectors without intermediate scale overflow.
- vispy.util.tests.test_quaternion.test_quaternion_log_negative_scalar()#
Test the logarithm quadrant for a negative scalar and nonzero vector.
- vispy.util.tests.test_quaternion.test_quaternion_norm_extreme_magnitudes()#
Test norm without squaring overflow or underflow.