Update `check_values()` to check values other than `NaN` and `Inf`
Because the verification function check_values()
may be used multiple times the check the requirement of values in a given array,
it shall be updated and generalized to check for values other than NaN
and inf
.
Other values to check in the current context of Minterpy are non-negativeness (>=0
) and positiveness.
The check is used mainly in the construction and modification of MultiIndexSet
instances.
In this particular use case, the arrays must be checked for non-negativeness.