floats

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package floats provides sorting capabilities to a slice of type float64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Floats

type Floats []float64

Floats represents an array of float64's

func (Floats) Len

func (t Floats) Len() int

Len returns the length of an array of float64's

func (Floats) Less

func (t Floats) Less(i, j int) bool

Less returns true if i comes before j

func (Floats) Swap

func (t Floats) Swap(i, j int)

Swap modifies an array of float64's by swapping the values in indexes i and j

Jump to

Keyboard shortcuts

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