double

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 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 Double2Any

func Double2Any(v interface{}) interface{}

func Double2Str

func Double2Str(v float64) string

func MustAny2Double

func MustAny2Double(v interface{}) float64

func MustStr2Double

func MustStr2Double(v string) float64

func SliceAny2Double

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

func SliceDouble2Any

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

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