Clutter Engine 0.0.1
Loading...
Searching...
No Matches
GLM_EXT_matrix_relational

Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, int ULPs)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, int, Q > const &ULPs)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, int ULPs)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, int, Q > const &ULPs)
 

Detailed Description

Exposes comparison functions for matrix types that take a user defined epsilon values.

Include <glm/ext/matrix_relational.hpp> to use the features of this extension.

See also
GLM_EXT_vector_relational
GLM_EXT_scalar_relational
GLM_EXT_quaternion_relational

Function Documentation

◆ equal() [1/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y )

Perform a component-wise equal-to comparison of two matrices. Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum

◆ equal() [2/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
int ULPs )

Returns the component-wise comparison between two vectors in term of ULPs. True if this expression is satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point
QValue from qualifier enum

◆ equal() [3/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
T epsilon )

Returns the component-wise comparison of |x - y| < epsilon. True if this expression is satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum

◆ equal() [4/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, int, Q > const & ULPs )

Returns the component-wise comparison between two vectors in term of ULPs. True if this expression is satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point
QValue from qualifier enum

◆ equal() [5/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::equal ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, T, Q > const & epsilon )

Returns the component-wise comparison of |x - y| < epsilon. True if this expression is satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum

◆ notEqual() [1/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y )

Perform a component-wise not-equal-to comparison of two matrices. Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum

◆ notEqual() [2/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
int ULPs )

Returns the component-wise comparison between two vectors in term of ULPs. True if this expression is not satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point
QValue from qualifier enum

◆ notEqual() [3/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
T epsilon )

Returns the component-wise comparison of |x - y| < epsilon. True if this expression is not satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum

◆ notEqual() [4/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, int, Q > const & ULPs )

Returns the component-wise comparison between two vectors in term of ULPs. True if this expression is not satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point
QValue from qualifier enum

◆ notEqual() [5/5]

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > glm::notEqual ( mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, T, Q > const & epsilon )

Returns the component-wise comparison of |x - y| >= epsilon. True if this expression is not satisfied.

Template Parameters
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum