triangular

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	A float64
	B float64 = 1
	C float64 = 0.5

	Cmd = &cobra.Command{
		Use:   "triangular",
		Short: "generate samples from the triangular distribution",
		Long: `Generate samples from the triangular distribution.

https://en.wikipedia.org/wiki/Triangular_distribution`,
		RunE: func(command *cobra.Command, args []string) (err error) {
			return generate.Sample(distuv.NewTriangle(A, B, C, nil))
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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