We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ab146 commit c63c47aCopy full SHA for c63c47a
lib/node_modules/@stdlib/stats/base/dists/triangular/median/test/fixtures/julia/runner.jl
@@ -74,9 +74,11 @@ dir = dirname( file );
74
# Generate fixtures:
75
a = rand( 500 ) .* 10.0;
76
b = ( rand( 500 ) .* 10.0 ) .+ a;
77
+
78
# Case: c < (a + b) / 2
79
c1 = a .+ ( b .- a ) .* ( 0.5 .* rand( 500 ) );
80
gen( a, b, c1, "data1.json" );
81
82
# Case: c >= (a + b) / 2
83
c2 = ( a .+ b ) ./ 2 .+ ( b .- a ) .* ( 0.5 .* rand( 500 ) );
84
gen( a, b, c2, "data2.json" );
0 commit comments