Difference in reduce in std and mir

Seb seb at wilzba.ch
Tue Dec 26 16:12:07 UTC 2017


On Tuesday, 26 December 2017 at 15:56:19 UTC, Vino wrote:
> Hi All,
>
> What is the difference between std.algorithm.reduce and 
> mir.ndslice.algorithm.reduce.
>
>
>
> From,
> Vino.B

Mir's reduce works on Slices whereas Phobos's reduce works on 
Arrays/Ranges.

See also: 
http://docs.algorithm.dlang.io/latest/mir_ndslice_slice.html


More information about the Digitalmars-d-learn mailing list