double

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any2Double

func Any2Double(v interface{}) (float64, error)

func AnySlice2DoubleSlice added in v1.4.3

func AnySlice2DoubleSlice(vs []interface{}) ([]float64, error)

func Double2Any

func Double2Any(v interface{}) interface{}

func Double2Str

func Double2Str(v float64) string

func DoubleSlice2AnySlice added in v1.4.3

func DoubleSlice2AnySlice(vs []float64) []interface{}

func MustAny2Double

func MustAny2Double(v interface{}) float64

func MustStr2Double

func MustStr2Double(v string) float64

func SliceFloat64Equal

func SliceFloat64Equal(v1, v2 []float64) bool

func SliceFloat64EqualStrict

func SliceFloat64EqualStrict(v1, v2 []float64) bool

func Str2Double

func Str2Double(v string) (float64, error)

Types

type Float64Slice

type Float64Slice []float64

func (Float64Slice) Len

func (x Float64Slice) Len() int

func (Float64Slice) Less

func (x Float64Slice) Less(i, j int) bool

func (Float64Slice) Swap

func (x Float64Slice) Swap(i, j int)

Jump to

Keyboard shortcuts

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