utils

package
v0.0.0-...-118f76d Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Min

func Min[T constraints.Ordered](lhs, rhs T) T

Min returns minimal element.

func ResetList

func ResetList[T constraints.Signed](list []T)

ResetList sets all list elements to -1.

func ReverseList

func ReverseList[T any](list []T)

ReverseList reverses list.

func SumList

func SumList[T constraints.Float](list []T) T

SumList returns sum of list items.

Types

This section is empty.

Jump to

Keyboard shortcuts

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