pub fn max_by_key<KeyType, ValueType>(
keys: &Array<KeyType>,
vals: &Array<ValueType>,
dim: i32
) -> (Array<KeyType>, Array<ValueType::AggregateOutType>) where
KeyType: ReduceByKeyInput,
ValueType: HasAfEnum,
ValueType::AggregateOutType: HasAfEnum,
Find maximum among values of similar keys along a given dimension
keys
- key Arrayvals
- value Arraydim
- Dimension along which the input Array is reducedTuple of Arrays, with output keys and values after reduction
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4