From 2a61f9489d70ff242b7280ae375d80bb53d9487b Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Fri, 1 Dec 2023 20:01:41 +0000 Subject: [PATCH] Auto-generated commit --- base/cswap/docs/repl.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/base/cswap/docs/repl.txt b/base/cswap/docs/repl.txt index c7294c402..be5dc1c3c 100644 --- a/base/cswap/docs/repl.txt +++ b/base/cswap/docs/repl.txt @@ -52,8 +52,7 @@ // Advanced indexing: > x = new {{alias:@stdlib/array/complex64}}( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] ); > y = new {{alias:@stdlib/array/complex64}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] ); - > var N = {{alias:@stdlib/math/base/special/floor}}( x.length / 2 ); - > {{alias}}( N, x, -2, y, 1 ); + > {{alias}}( 2, x, -2, y, 1 ); > z = y.get( 0 ); > re = {{alias:@stdlib/complex/realf}}( z ) 5.0 @@ -70,8 +69,7 @@ > var y0 = new {{alias:@stdlib/array/complex64}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] ); > var x1 = new {{alias:@stdlib/array/complex64}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); > var y1 = new {{alias:@stdlib/array/complex64}}( y0.buffer, y0.BYTES_PER_ELEMENT*2 ); - > N = {{alias:@stdlib/math/base/special/floor}}( x0.length / 2 ); - > {{alias}}( N, x1, -2, y1, 1 ); + > {{alias}}( 2, x1, -2, y1, 1 ); > z = y0.get( 2 ); > re = {{alias:@stdlib/complex/realf}}( z ) 7.0 @@ -140,8 +138,7 @@ // Advanced indexing: > x = new {{alias:@stdlib/array/complex64}}( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] ); > y = new {{alias:@stdlib/array/complex64}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] ); - > var N = {{alias:@stdlib/math/base/special/floor}}( x.length / 2 ); - > {{alias}}.ndarray( N, x, 2, 1, y, -1, y.length-1 ); + > {{alias}}.ndarray( 2, x, 2, 1, y, -1, y.length-1 ); > z = y.get( y.length-1 ); > re = {{alias:@stdlib/complex/realf}}( z ) 3.0