stdlib-js / utils-reduce2d Goto Github PK
View Code? Open in Web Editor NEWReduce the number of dimensions by one of a two-dimensional nested array by applying a function against an accumulator and each element along the innermost dimension and returning the accumulation results as a one-dimensional array.
Home Page: https://github.com/stdlib-js/stdlib
License: Apache License 2.0