Package: graphene

Function graphene:matrix-near

Lambda List

graphene:matrix-near (a b epsilon)

Arguments

a -- a graphene:matrix-t instance
b -- a graphene:matrix-t instance
epsilon -- a single float for the threshold between the two matrices

Return Value

True if the two matrices are near each other, false otherwise.

Details

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

Notes

The epsilon argument ist coerced to a single float before being passed to the foreign C function.
 

See also

#2024-12-30