Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorEmpty = errors.New("math: the input list is empty")
Functions ¶
func Max ¶
func Max[T constraints.Ordered](nums ...T) (T, error)
func Min ¶
func Min[T constraints.Ordered](nums ...T) (T, error)
func Sum ¶
func Sum[T constraints.Ordered](nums ...T) (T, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.