maths

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package maths provides utility functions for performing mathematical operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[E constraints.Ordered](a, b E) E

Max returns the largest of the two elements given as input.

func Min

func Min[E constraints.Ordered](a, b E) E

Min returns the smallest of the two elements given as input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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