math

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 2 Imported by: 0

README

math

Collection of demanded math functions, which has no realization (at least yet) in math

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GCD

func GCD[T constraints.Integer](numbers ...T) T

Returns greater commn divisor (GCD) of given numbers, or NaN, if numbers is empty.

func Max

func Max[T constraints.Float | constraints.Integer](numbers ...T) T

Returns maximum of given numbers, or NaN, if numbers is empty.

func Min

func Min[T constraints.Float | constraints.Integer](numbers ...T) T

Returns minimum of given numbers, or NaN, if numbers is empty.

func Sum

func Sum[T constraints.Float | constraints.Integer](numbers ...T) T

Returns sum of given numbers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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