Matrix.near

bool near(graphene.matrix.Matrix b, float epsilon)

Compares the two given #graphene_matrix_t matrices and checks whether their values are within the given epsilon of each other.

Parameters

ba #graphene_matrix_t
epsilonthe threshold between the two matrices

Returns

true if the two matrices are near each other, and

false otherwise