Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clamp ¶
func Clamp[T constraints.Ordered](v, min, max T) T
func LogisticFunc ¶
LogisticFunc SEE: https://en.wikipedia.org/wiki/Logistic_function
func Max ¶
func Max[T constraints.Ordered](ns ...T) (n T)
func Min ¶
func Min[T constraints.Ordered](ns ...T) (n T)
Types ¶
type Signed ¶
type Signed interface {
constraints.Signed | constraints.Float
}
Click to show internal directories.
Click to hide internal directories.