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.
Required features: contrib
make_find_bin in Rust documentation.
Supporting Elements:
Input Domain:
VectorDomain<AtomDomain<TIA>>Output Domain:
MInput Metric:
VectorDomain<AtomDomain<usize>>Output Metric:
M