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
(,
float epsilon
)

Parameters

b 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

Meta

Since

1.10