@@ -148,6 +148,7 @@ module.exports = {
148148 "base.dist.chi.Chi" : "chi = base.dist.chi.Chi( 6.0 );\nchi.k\nchi.entropy\nchi.kurtosis\nchi.mean\nchi.mode\nchi.skewness\nchi.stdev\nchi.variance\nchi.cdf( 1.0 )\nchi.pdf( 1.5 )\nchi.quantile( 0.5 )\n" ,
149149 "base.dist.chi.entropy" : "v = base.dist.chi.entropy( 11.0 )\nv = base.dist.chi.entropy( 1.5 )\n" ,
150150 "base.dist.chi.kurtosis" : "v = base.dist.chi.kurtosis( 9.0 )\nv = base.dist.chi.kurtosis( 1.5 )\n" ,
151+ "base.dist.chi.logpdf" : "y = base.dist.chi.logpdf( 0.3, 4.0 )\ny = base.dist.chi.logpdf( 0.7, 0.7 )\ny = base.dist.chi.logpdf( -1.0, 0.5 )\ny = base.dist.chi.logpdf( 0.0, NaN )\ny = base.dist.chi.logpdf( NaN, 2.0 )\n\n// Negative degrees of freedom:\ny = base.dist.chi.logpdf( 2.0, -1.0 )\n\n// Degenerate distribution when `k = 0`:\ny = base.dist.chi.logpdf( 2.0, 0.0, 2.0 )\ny = base.dist.chi.logpdf( 0.0, 0.0, 2.0 )\n" ,
151152 "base.dist.chi.mean" : "v = base.dist.chi.mean( 11.0 )\nv = base.dist.chi.mean( 4.5 )\n" ,
152153 "base.dist.chi.mode" : "v = base.dist.chi.mode( 11.0 )\nv = base.dist.chi.mode( 1.5 )\n" ,
153154 "base.dist.chi.pdf" : "y = base.dist.chi.pdf( 0.3, 4.0 )\ny = base.dist.chi.pdf( 0.7, 0.7 )\ny = base.dist.chi.pdf( -1.0, 0.5 )\ny = base.dist.chi.pdf( 0.0, NaN )\ny = base.dist.chi.pdf( NaN, 2.0 )\n\n// Negative degrees of freedom:\ny = base.dist.chi.pdf( 2.0, -1.0 )\n\n// Degenerate distribution when `k = 0`:\ny = base.dist.chi.pdf( 2.0, 0.0, 2.0 )\ny = base.dist.chi.pdf( 0.0, 0.0, 2.0 )\n" ,
@@ -633,6 +634,7 @@ module.exports = {
633634 "base.random.normal" : "r = base.random.normal( 2.0, 5.0 );\n" ,
634635 "base.random.pareto1" : "r = base.random.pareto1( 2.0, 5.0 );\n" ,
635636 "base.random.poisson" : "r = base.random.poisson( 7.9 );\n" ,
637+ "base.random.randi" : "r = base.random.randi();\n" ,
636638 "base.random.randn" : "r = base.random.randn();\n" ,
637639 "base.random.randu" : "r = base.random.randu();\n" ,
638640 "base.random.rayleigh" : "r = base.random.rayleigh( 2.5 );\n" ,
0 commit comments