xfloat64Slice

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 []float64) []interface{}

func Contain

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

func Find

func Find(arr []float64, fn Float64ArrSearchFunc) float64

func FindIndex

func FindIndex(arr []float64, fn Float64ArrSearchFunc) int

func ForEach

func ForEach(arr []float64, fn Float64ArrForEachFunc)

func Join

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

func Map

func Map(arr []float64, fn Float64ArrMapFunc)

func Sort

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

func String

func String(this []float64) string

Types

type TFloat64Slice

type TFloat64Slice []float64

func New

func New(src ...[]float64) TFloat64Slice

func (*TFloat64Slice) Append

func (iar *TFloat64Slice) Append(item ...float64) int

func (*TFloat64Slice) Clear

func (iar *TFloat64Slice) Clear()

func (*TFloat64Slice) Concat

func (iar *TFloat64Slice) Concat(arrs ...[]float64) int

func (TFloat64Slice) Contain

func (iar TFloat64Slice) Contain(item float64) bool

func (*TFloat64Slice) Delete

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

func (TFloat64Slice) Find

func (iar TFloat64Slice) Find(fn Float64ArrSearchFunc) float64

func (TFloat64Slice) FindIndex

func (iar TFloat64Slice) FindIndex(fn Float64ArrSearchFunc) int

func (TFloat64Slice) ForEach

func (iar TFloat64Slice) ForEach(fn Float64ArrForEachFunc)

func (*TFloat64Slice) Insert

func (iar *TFloat64Slice) Insert(index int, item float64) error

func (TFloat64Slice) Join

func (iar TFloat64Slice) Join(sep string) string

func (*TFloat64Slice) Prepend

func (iar *TFloat64Slice) Prepend(item ...float64) int

func (TFloat64Slice) Size

func (iar TFloat64Slice) Size() int

func (TFloat64Slice) Sort

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

func (TFloat64Slice) String

func (iar TFloat64Slice) String() string

Jump to

Keyboard shortcuts

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