# DirectXMath Library Quaternion Functions

Lists the quaternion functions provided by DirectXMath.

## In this section

TopicDescription

Returns a point in barycentric coordinates, using the specified quaternions.

Returns a point in barycentric coordinates, using the specified quaternions.

Computes the conjugate of a quaternion.

Computes the dot product of two quaternions.

Tests whether two quaternions are equal.

Computes the exponential of a given pure quaternion.

Returns the identity quaternion.

Computes the inverse of a quaternion.

Tests whether a specific quaternion is the identity quaternion.

Test whether any component of a quaternion is either positive or negative infinity.

Test whether any component of a quaternion is a NaN.

Computes the magnitude of a quaternion.

Computes the square of the magnitude of a quaternion.

Computes the natural logarithm of a given unit quaternion.

Computes the product of two quaternions.

Normalizes a quaternion.

Estimates the normalized version of a quaternion.

Tests whether two quaternions are not equal.

Computes the reciprocal of the magnitude of a quaternion.

Computes a rotation quaternion about an axis.

Computes a rotation quaternion from a rotation matrix.

Computes the rotation quaternion about a normal vector.

Computes a rotation quaternion based on the pitch, yaw, and roll (Euler angles).

Computes a rotation quaternion based on a vector containing the Euler angles (pitch, yaw, and roll).

Interpolates between two unit quaternions, using spherical linear interpolation.

Interpolates between two unit quaternions, using spherical linear interpolation.

Interpolates between four unit quaternions, using spherical quadrangle interpolation.

Provides addresses of setup control points for spherical quadrangle interpolation.

Interpolates between four unit quaternions, using spherical quadrangle interpolation.

Computes an axis and angle of rotation about that axis for a given quaternion.

## Related topics

DirectXMath Library Functions

Show: