Skip to content

Commit e414802

Browse files
committed
"fixed README"
1 parent d6f28a0 commit e414802

File tree

1 file changed

+13
-15
lines changed
  • lib/node_modules/@stdlib/array/base/broadcasted-quinary5D

1 file changed

+13
-15
lines changed

lib/node_modules/@stdlib/array/base/broadcasted-quinary5D/README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,20 @@ function add( x, y, z, w, v ) {
4747
return x + y + z + w + v;
4848
}
4949

50-
51-
var x = filled5dBy( shapes[ 0 ], discreteUniform( -100, 100 ) );
52-
var y = filled5dBy( shapes[ 1 ], discreteUniform( -100, 100 ) );
53-
var z = filled5dBy( shapes[ 2 ], discreteUniform( -100, 100 ) );
54-
var w = filled5dBy( shapes[ 3 ], discreteUniform( -100, 100 ) );
55-
var v = filled5dBy( shapes[ 4 ], discreteUniform( -100, 100 ) );
56-
57-
var out = zeros5d( shapes[ 5 ] );
50+
var x = [[[[[ 1.0, 2.0 ]]]]];
51+
var y = [[[[[ 3.0 ]]], [[[ 4.0 ]]]]];
52+
var z = [[[[[ 5.0 ]]]]];
53+
var w = [[[[[ 2.0 ]]]]];
54+
var v = [[[[[ 1.0 ]]]]];
55+
var out = zeros5d( [ 2, 2, 2, 2, 2 ] );
5856

5957
var shapes = [
6058
[ 1, 1, 1, 2, 2 ],
61-
[ 1, 1, 2, 1, 2 ],
59+
[ 2, 1, 1, 1, 1 ],
6260
[ 1, 1, 1, 1, 1 ],
6361
[ 1, 1, 1, 1, 1 ],
6462
[ 1, 1, 1, 1, 1 ],
65-
[ 1, 1, 2, 2, 2 ]
63+
[ 2, 2, 2, 2, 2 ]
6664
];
6765

6866
bquinary5d( [ x, y, z, w, v, out ], shapes, add );
@@ -107,12 +105,12 @@ function add( x, y, z, w, v ) {
107105
}
108106

109107
var shapes = [
110-
[ 1, 1, 1, 2, 3 ],
111-
[ 1, 1, 3, 1, 1 ],
108+
[ 1, 1, 1, 2, 2 ],
109+
[ 1, 1, 2, 1, 2 ],
110+
[ 1, 1, 1, 1, 1 ],
112111
[ 1, 1, 1, 1, 1 ],
113-
[ 1, 1, 3, 3, 3 ],
114-
[ 1, 1, 1, 2, 3 ],
115-
[ 1, 1, 3, 2, 3 ]
112+
[ 1, 1, 1, 1, 1 ],
113+
[ 1, 1, 2, 2, 2 ]
116114
];
117115

118116
var x = filled5dBy( shapes[ 0 ], discreteUniform( -100, 100 ) );

0 commit comments

Comments
 (0)