Utils
exists_in_array(a_slice, array, rtol=1e-05, atol=1e-08)
¶
Check if a_slice
exists in an array
.
PARAMETER | DESCRIPTION |
---|---|
a_slice
|
An example slice of |
array
|
Array to check. |
rtol
|
Relative tolerance for
TYPE:
|
atol
|
Absolute tolerance for
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
If |