stats

package module
v0.0.0-...-57253d3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: MIT Imports: 5 Imported by: 0

README

stats

Statistics

Also has Wrapped and Truncated Distributions for general wrapping and truncating of common distributions.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomainErrorf

func DomainErrorf(msg string, args ...interface{})

func LossErrorf

func LossErrorf(msg string, args ...interface{})

func NotImplementedError

func NotImplementedError()

func RangeErrorf

func RangeErrorf(msg string, args ...interface{})

Types

type Interval

type Interval struct {
	Lower, Upper         float64
	LowerOpen, UpperOpen bool
}

https://en.wikipedia.org/wiki/Interval_(mathematics)

func (Interval) IsEqualLength

func (i Interval) IsEqualLength(len float64) bool

Check if length is equal the interval.

func (Interval) IsWithinInterval

func (i Interval) IsWithinInterval(x float64) bool

Check if x is within the interval.

func (Interval) String

func (i Interval) String() string

type Limits

type Limits map[string]Interval

func (Limits) String

func (l Limits) String() string

type RandomVariate

type RandomVariate interface {
	Rand() float64
}

Directories

Path Synopsis
dist
Cephes Math Library Release 2.1: January, 1989 Copyright 1984, 1987, 1989 by Stephen L. Moshier Direct inquiries to 30 Frost Street, Cambridge, MA 02140
Cephes Math Library Release 2.1: January, 1989 Copyright 1984, 1987, 1989 by Stephen L. Moshier Direct inquiries to 30 Frost Street, Cambridge, MA 02140

Jump to

Keyboard shortcuts

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