Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( N float64 = 1 P float64 = 0.5 Cmd = &cobra.Command{ Use: "binomial", Short: "generate samples from the binomial distribution", Long: `Generate samples from the binomial distribution. . n=10 n=10 n=10 . p=0.5 p=0.7 p=0.9 0 ▌ ▏ ▏ 1 █▉ ▏ ▏ 2 ████▊ ▍ ▏ 3 ████████▎ █▍ ▏ 4 ██████████▏ ███▊ ▏ 5 ████████▎ ███████▌ ▍ 6 ████▉ ██████████▏ █▌ 7 █▉ ████████▋ █████▏ 8 ▌ ████▌ ██████████▏ 9 ▏ █▏ █████████▏ https://en.wikipedia.org/wiki/Binomial_distribution`, RunE: func(command *cobra.Command, args []string) (err error) { return generate.Sample(distuv.Binomial{ N: N, P: P, }) }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.