Examples
Basic Examples (5)
Using canonical ordering, return the maximal item:
If the last item is dropped, the more numerically complicated item is returned:
Sort the items:
The numeric maximum is different:
Use a different ordering function to obtain the same result:
Scope (2)
Use Maximal on an association:
Use Maximal on a sparse vector:
Properties and Relations (2)
Find the item with the largest second item using an ordering function:
The result of the function MaximalBy has a similar form:
Version History
-
1.1.0
– 03 February 2023
-
1.0.0
– 14 February 2022
Related Resources