I can get the minimum and maximum of a list by using
#[list] &/@ {Min, Max}
I now want to use RankedMin
and RankedMax
, but I can't figure out how to get the parameter in there. I want RankedMin[list, 10]
and RankedMax[list, 10]
This was answered for me in the Stack Overflow area, but I don't remember by whom. I'm putting this here in case it would be helpful for anyone else.
Map
:Map[f[#, 3] &, {a, b, c}]
$\endgroup$