xfloat32Slice

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsInterface

func AsInterface(this []float32) []interface{}

func Contain

func Contain(arr []float32, item float32) bool

func Find

func Find(arr []float32, fn FloatArrSearchFunc) float32

func FindIndex

func FindIndex(arr []float32, fn FloatArrSearchFunc) int

func ForEach

func ForEach(arr []float32, fn FloatArrForEachFunc)

func Join

func Join(arr []float32, sep string) string

func Map

func Map(arr []float32, fn FloatArrMapFunc)

func Sort

func Sort(arr []float32, comparer ...ArrSortCompareFunc)

func String

func String(this []float32) string

Types

type TFloat32Slice

type TFloat32Slice []float32

func New

func New(src ...[]float32) TFloat32Slice

func (*TFloat32Slice) Append

func (iar *TFloat32Slice) Append(item ...float32) int

func (*TFloat32Slice) Clear

func (iar *TFloat32Slice) Clear()

func (*TFloat32Slice) Concat

func (iar *TFloat32Slice) Concat(arrs ...[]float32) int

func (TFloat32Slice) Contain

func (iar TFloat32Slice) Contain(item float32) bool

func (*TFloat32Slice) Delete

func (iar *TFloat32Slice) Delete(index int) error

func (TFloat32Slice) Find

func (iar TFloat32Slice) Find(fn FloatArrSearchFunc) float32

func (TFloat32Slice) FindIndex

func (iar TFloat32Slice) FindIndex(fn FloatArrSearchFunc) int

func (TFloat32Slice) ForEach

func (iar TFloat32Slice) ForEach(fn FloatArrForEachFunc)

func (*TFloat32Slice) Insert

func (iar *TFloat32Slice) Insert(index int, item float32) error

func (TFloat32Slice) Join

func (iar TFloat32Slice) Join(sep string) string

func (*TFloat32Slice) Prepend

func (iar *TFloat32Slice) Prepend(item ...float32) int

func (TFloat32Slice) Size

func (iar TFloat32Slice) Size() int

func (TFloat32Slice) Sort

func (iar TFloat32Slice) Sort(comparer ...ArrSortCompareFunc)

func (TFloat32Slice) String

func (iar TFloat32Slice) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL