Documentation ¶
Index ¶
- func Create(base float32) func(int) []float32
- func DiagonalFill[T constraints.Ordered](list [][]T, f func(T) T) [][]T
- func Exponential(n int, base float32) []float32
- func JoinProject[T, P, R any, S comparable](left []T, right []P, leftSelector func(T) S, rightSelector func(P) S, ...) (results []R)
- func Liner(n int) (scores []float32)
- func Range(start int, end int) (result []int)
- func Sum[T any, R constraints.Ordered](list []T, selector func(T) R) (sum R)
- type Elo
- type Tuple
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiagonalFill ¶
func DiagonalFill[T constraints.Ordered](list [][]T, f func(T) T) [][]T
func Exponential ¶
func JoinProject ¶
func JoinProject[T, P, R any, S comparable]( left []T, right []P, leftSelector func(T) S, rightSelector func(P) S, projection func(Tuple[T, []P]) R) (results []R)
func Sum ¶
func Sum[T any, R constraints.Ordered](list []T, selector func(T) R) (sum R)
Types ¶
Click to show internal directories.
Click to hide internal directories.