This can use `std::accumulate` when using a RandomAccess range: ```cpp for(auto&& x : v) { if (i != axis) y *= x; i++; } ```
Activity
pfultz2 commentedon Apr 21, 2019
And also this: