Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Abs ¶
func Abs[T RealNumber](num T) T
func Max ¶
func Max[T RealNumber](nums ...T) T
func Min ¶
func Min[T RealNumber](nums ...T) T
func Sum ¶
func Sum[T RealNumber](nums ...T) T
Types ¶
type Range ¶
type Range struct {
Left, Right int
}
func (Range) ContainsValue ¶
func (Range) Intersects ¶
type RealNumber ¶
type RealNumber interface { constraints.Integer | constraints.Float }
Click to show internal directories.
Click to hide internal directories.