Open nickrobinson251 opened 5 years ago
The implementation could look a bit like sum(f, xs)
:
Ideally it would probably share code, have a function which for mean
gets scale=1/size(...)
or something.
Xref #529 which is trying to re-work that rule.
reopened as i had to revert the fix
We have rules for
mean
, except formean(f, x; dims)
which is new as of Julia v1.3