Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mode ¶
func Mode[T comparable](src []T) (mode T, count int)
Returns the mode and count of the most frequent element in the given samples.
Types ¶
type Float ¶
Float is a constraint that permits any floating-point type. If future releases of Go add new predeclared floating-point types, this constraint will be modified to include them.
type Integer ¶
Integer is a constraint that permits any integer type. If future releases of Go add new predeclared integer types, this constraint will be modified to include them.
Click to show internal directories.
Click to hide internal directories.