Skip to content

Commit 7424d7c

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent f5e709c commit 7424d7c

File tree

1 file changed

+2
-4
lines changed
  • lib/node_modules/@stdlib/stats/base/variancepn/docs

1 file changed

+2
-4
lines changed

lib/node_modules/@stdlib/stats/base/variancepn/docs/repl.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,13 @@
4747

4848
// Using `N` and stride parameters:
4949
> x = [ -2.0, 1.0, 1.0, -5.0, 2.0, -1.0 ];
50-
> var stride = 2;
51-
> {{alias}}( 3, 1, x, stride )
50+
> {{alias}}( 3, 1, x, 2 )
5251
~4.3333
5352

5453
// Using view offsets:
5554
> var x0 = new {{alias:@stdlib/array/float64}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
5655
> var x1 = new {{alias:@stdlib/array/float64}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
57-
> stride = 2;
58-
> {{alias}}( 3, 1, x1, stride )
56+
> {{alias}}( 3, 1, x1, 2 )
5957
~4.3333
6058

6159

0 commit comments

Comments
 (0)