Documentation ¶
Overview ¶
Package maths provides utility functions for performing mathematical operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Max ¶
func Max[E constraints.Ordered](a, b E) E
Max returns the largest of the two elements given as input.
func Min ¶
func Min[E constraints.Ordered](a, b E) E
Min returns the smallest of the two elements given as input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.