math

package
v2.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL