gumbelright

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 (
	Mu   float64 = 1
	Beta float64 = 1

	Cmd = &cobra.Command{
		Use:   "gumbel-right",
		Short: "generate samples from the right-skewed Gumbel distribution",
		Long: `Generate samples from the right-skewed Gumbel distribution.

.     mu=1         mu=1.5       mu=3
.     beta=2       beta=3       beta=4
-5.0  ▏            ▊            ▉
-2.5  ████▌        █████▊       ████▋
0.0   ██████████▏  ██████████▏  █████████
2.5   █████▉       ████████▎    ██████████▏
5.0   ██           ████▉        ████████
7.5   ▊            ██▍          █████▍
10.0  ▎            █▏           ███▎
12.5  ▏            ▌            █▉
15.0  ▏            ▎            █▏
17.5  ▏            ▏            ▋

https://en.wikipedia.org/wiki/Gumbel_distribution`,
		RunE: func(command *cobra.Command, args []string) (err error) {
			return generate.Sample(distuv.GumbelRight{
				Mu:   Mu,
				Beta: Beta,
			})
		},
	}
)

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