math

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package math is a helper library for mathematical functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binom

func Binom(n, k int) int

Binom returns the binomial coefficient.

func Sign

func Sign(n int) int

Sign returns the sign of an integer (-1 if negative, 1 otherwise).

Types

This section is empty.

Jump to

Keyboard shortcuts

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