$0 -p rate -n size -g rows,cols 二項分布(binomial distribution)に従う乱数の生成。 オプション: -p num : 0以上1以下の数。二項分布のパラメータ。成功確率。 -n num : 整数。二項分布のパラメータ。試行の回数。 -g n1,n2 : n1 行 で、タブ区切りで各行に n2 個 並べる。 --help : この $0 のヘルプメッセージを出す。 perldoc -t $0 | cat でもほぼ同じ。 --help opt : オプションのみのヘルプを出す。opt以外でも options と先頭が1文字以上一致すれば良い。 =cut
To install cli::numbers::random, copy and paste the appropriate command in to your terminal.
cpanm
cpanm cli::numbers::random
CPAN shell
perl -MCPAN -e shell install cli::numbers::random
For more information on module installation, please visit the detailed CPAN module installation guide.