warp.quaternion#
- warp.quaternion(dtype: Float) Quaternion[Float]#
Kernel
Differentiable
Construct a quaternion.
Zero-initialize the quaternion. Quaternions are laid out as
[ix, iy, iz, r], whereix,iy,izare the imaginary part, andrthe real part.
- warp.quaternion( ) Quaternion[Float]
Kernel
Differentiable
Construct a quaternion.
Use the supplied components (type inferred from component type).
- warp.quaternion( ) Quaternion[Float]
Kernel
Differentiable
Construct a quaternion.
Use the supplied vector/scalar (type inferred from scalar type).