Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GCD ¶
func GCD[T constraints.Integer](n ...T) T
Calculates the Greater Common Divisor of a set of integers panics if there are less than one argument
func LCM ¶
func LCM[T constraints.Integer](n ...T) T
Calculates the Lowest Common Multiple of a set of integers
func MeasureExecutionTime ¶
func MeasureExecutionTime(f func()) func()
Types ¶
type Real ¶
type Real interface { constraints.Signed | constraints.Float }
Click to show internal directories.
Click to hide internal directories.