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 tpl: Add math.Abs 2023-05-16 18:32:07 +02:00
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 tpl: Add math.Ceil, Floor, and Round 2017-09-24 10:06:14 +02:00