Determines if a dual quaternion is normalized or not.
tfg.geometry.transformation.dual_quaternion.is_normalized(
dual_quaternion: type_alias.TensorLike,
atol: tf.float32 = 0.001,
name: str = 'dual_quaternion_is_normalized'
) -> bool
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
dual_quaternion
|
A [A1, ..., An, 8] -tensor, where the last dimension
represents a dual quaternion.
|
atol
|
The absolute tolerance parameter.
|
name
|
A name for this op that defaults to "dual_quaternion_is_normalized".
|
Returns |
A [A1, ..., An, 1] -tensor of type bool , where False indicates that the
dual quaternion is not normalized.
|
Raises |
ValueError
|
If the shape of dual_quaternion is not supported.
|