Matrix.near

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

class Matrix
bool
near

Parameters

b graphene.matrix.Matrix

a #graphene_matrix_t

epsilon float

the threshold between the two matrices

Return Value

Type: bool

true if the two matrices are near each other, and false otherwise