std

package
v0.0.0-...-f41161b Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs[N math.Number](n N) N

func Fill

func Fill[T any](x int, def T) []T

func Filter

func Filter[S ~[]E, E any](s S, predicate func(E) bool) S

func GCD

func GCD[T math.Int](a, b T) T

func Int

func Int(s string) int

func Ints

func Ints(s string) []int

func LCM

func LCM[T math.Int](a, b T) T

func Pow

func Pow[N math.Number, M math.Int](x N, y M) N

func Product

func Product[T math.Number](nums ...T) T

func Reduce

func Reduce[T any, U any](s []T, f func(U, T) U) U

func Sign

func Sign[N math.Snumber](a N) N

func Sum

func Sum[T math.Number](s ...T) T

Types

type Grid

type Grid = space.Grid[byte]

Jump to

Keyboard shortcuts

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