Make a transformation that finds the bin index in a monotonically increasing vector of edges.
Details
For each value in the input vector, finds the index of the bin the value falls into.
edges
splits the entire range of TIA
into bins.
The first bin at index zero ranges from negative infinity to the first edge, non-inclusive.
The last bin at index edges.len()
ranges from the last bin, inclusive, to positive infinity.
To be valid, edges
must be unique and ordered.
edges
are left inclusive, right exclusive.
make_find_bin in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>
Output Domain:
VectorDomain<AtomDomain<usize>>
Input Metric:
M
Output Metric:
M