Documentation
¶
Index ¶
- func Abs[N math.Number](n N) N
- func Fill[T any](x int, def T) []T
- func Filter[S ~[]E, E any](s S, predicate func(E) bool) S
- func GCD[T math.Int](a, b T) T
- func Int(s string) int
- func Ints(s string) []int
- func LCM[T math.Int](a, b T) T
- func Pow[N math.Number, M math.Int](x N, y M) N
- func Product[T math.Number](nums ...T) T
- func Reduce[T any, U any](s []T, f func(U, T) U) U
- func Sign[N math.Snumber](a N) N
- func Sum[T math.Number](s ...T) T
- type Grid
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.