Graphmath.Quatern.equal_elements

You're seeing just the function equal_elements, go back to Graphmath.Quatern module for more information.
Link to this function

equal_elements(a, b)

Specs

equal_elements(quatern(), quatern()) :: boolean()

equal_elements(a,b) checks to see if two quaternions a and b are element-wise equal.

a is the first quaternion.

b is the second quaternion.

It returns true if the quaternions have the same elements, false otherwise.

This function does not require normalized quaternions.

Note that orientation quaternions exist where a == -b...that is, where the axes are equivalent but the angle is opposite in sign.

In such cases, prefer the equal/2 function.

Link to this function

equal_elements(a, b, eps)

Specs

equal_elements(quatern(), quatern(), float()) :: boolean()

equal_elements(a,b, eps) checks to see if two quaternions a and b are element-wise equal to some epsilon

a is the first quaternion.

b is the second quaternion.

eps is the float of the epsilon for comparison.

It returns true if the quaternions have the same element-wise values up to and including some epsilon.

This function does not require normalized quaternions.

Note that orientation quaternions exist where a == -b...that is, where the axes are equivalent but the angle is opposite in sign.

In such cases, prefer the equal/3 function.