functions

package
v4.1.23 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package functions nolint: dupl // interface/generics can make the code slower

Package functions nolint: dupl // interface/generics can make the code slower

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstFloat32

func FirstFloat32(values []float32) float32

func FirstFloat64

func FirstFloat64(values []float64) float64

func FirstInt

func FirstInt(values []int) int

func FirstInt16

func FirstInt16(values []int16) int16

func FirstInt32

func FirstInt32(values []int32) int32

func FirstInt64

func FirstInt64(values []int64) int64

func FirstInt8

func FirstInt8(values []int8) int8

func FirstUint

func FirstUint(values []uint) uint

func FirstUint16

func FirstUint16(values []uint16) uint16

func FirstUint32

func FirstUint32(values []uint32) uint32

func FirstUint64

func FirstUint64(values []uint64) uint64

func FirstUint8

func FirstUint8(values []uint8) uint8

func LastFloat32

func LastFloat32(values []float32) float32

func LastFloat64

func LastFloat64(values []float64) float64

func LastInt

func LastInt(values []int) int

func LastInt16

func LastInt16(values []int16) int16

func LastInt32

func LastInt32(values []int32) int32

func LastInt64

func LastInt64(values []int64) int64

func LastInt8

func LastInt8(values []int8) int8

func LastUint

func LastUint(values []uint) uint

func LastUint16

func LastUint16(values []uint16) uint16

func LastUint32

func LastUint32(values []uint32) uint32

func LastUint64

func LastUint64(values []uint64) uint64

func LastUint8

func LastUint8(values []uint8) uint8

func MaxFloat32

func MaxFloat32(values []float32) float32

func MaxFloat64

func MaxFloat64(values []float64) float64

func MaxInt

func MaxInt(values []int) int

func MaxInt16

func MaxInt16(values []int16) int16

func MaxInt32

func MaxInt32(values []int32) int32

func MaxInt64

func MaxInt64(values []int64) int64

func MaxInt8

func MaxInt8(values []int8) int8

func MaxUint

func MaxUint(values []uint) uint

func MaxUint16

func MaxUint16(values []uint16) uint16

func MaxUint32

func MaxUint32(values []uint32) uint32

func MaxUint64

func MaxUint64(values []uint64) uint64

func MaxUint8

func MaxUint8(values []uint8) uint8

func MinFloat32

func MinFloat32(values []float32) float32

func MinFloat64

func MinFloat64(values []float64) float64

func MinInt

func MinInt(values []int) int

func MinInt16

func MinInt16(values []int16) int16

func MinInt32

func MinInt32(values []int32) int32

func MinInt64

func MinInt64(values []int64) int64

func MinInt8

func MinInt8(values []int8) int8

func MinUint

func MinUint(values []uint) uint

func MinUint16

func MinUint16(values []uint16) uint16

func MinUint32

func MinUint32(values []uint32) uint32

func MinUint64

func MinUint64(values []uint64) uint64

func MinUint8

func MinUint8(values []uint8) uint8

func SumFloat32

func SumFloat32(values []float32) float32

func SumFloat64

func SumFloat64(values []float64) float64

func SumInt

func SumInt(values []int) int

func SumInt16

func SumInt16(values []int16) int16

func SumInt32

func SumInt32(values []int32) int32

func SumInt64

func SumInt64(values []int64) int64

func SumInt8

func SumInt8(values []int8) int8

func SumUint

func SumUint(values []uint) uint

func SumUint16

func SumUint16(values []uint16) uint16

func SumUint32

func SumUint32(values []uint32) uint32

func SumUint64

func SumUint64(values []uint64) uint64

func SumUint8

func SumUint8(values []uint8) uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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