Documentation ¶
Index ¶
- Variables
- func Int16(i int) (int16, error)
- func Int32(i int) (int32, error)
- func Int8(i int) (int8, error)
- func IntLength(num int) uint
- func IntSliceDedupe(elems []int, sortElems bool) []int
- func MatrixColsMax(d [][]float64) []float64
- func MatrixRowsMax(d [][]float64) []float64
- func SliceToFloat64[T constraints.Integer | constraints.Float](src []T) []float64
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOverflow = errors.New("integer overflow")
Functions ¶
func IntSliceDedupe ¶
func MatrixColsMax ¶ added in v0.33.5
func MatrixRowsMax ¶ added in v0.33.5
func SliceToFloat64 ¶ added in v0.41.1
func SliceToFloat64[T constraints.Integer | constraints.Float](src []T) []float64
SliceToFloat64 converts a slice of integers or floats to float64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.