hugo/tpl/math
Bjørn Erik Pedersen 2ba2271e4a
tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum
* Update math.Min and math.Max to allow 1 or more args, either scalar or slice, or combination of the two
* Add math.Sum (allow 1 or more args, either scalar or slice, or combination of the two)
* Add math.Product (allow 1 or more args, either scalar or slice, or combination of the two)

Fixes #11030
2023-06-13 20:00:00 +02:00
..
init.go
math.go tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum 2023-06-13 20:00:00 +02:00
math_test.go tpl/math: Allow variadic math functions to take slice args, add math.Product, math.Sum 2023-06-13 20:00:00 +02:00
round.go