utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinomialCdf

func BinomialCdf(p float64, n, k int) float64

BinomialCfd computes a binomial experiment with n trials, k events, and chance p.

func BoolToInt

func BoolToInt(b bool) int

func MaxInt

func MaxInt(x, y int) int

func MemberInt

func MemberInt(x int, y []int) bool

func MinInt

func MinInt(x, y int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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