Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 17, 2024
1 parent b5014ca commit 8779218
Show file tree
Hide file tree
Showing 44 changed files with 124 additions and 123 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2647,6 +2647,7 @@ A total of 35 people contributed to this release. Thank you to the following con

<details>

- [`32bbcb3`](https://github.com/stdlib-js/stdlib/commit/32bbcb3b3dae1f028fd18166ee7875a93d44d0ee) - **refactor:** update paths _(by Athan Reines)_
- [`8d4c46b`](https://github.com/stdlib-js/stdlib/commit/8d4c46b10ca912401e0ff0caa37a17cd3c443c2f) - **refactor:** update paths _(by Athan Reines)_
- [`ed9c0a5`](https://github.com/stdlib-js/stdlib/commit/ed9c0a5e55ff09af3dd6af8c38615480e2c1828e) - **refactor:** update paths _(by Athan Reines)_
- [`18b3c79`](https://github.com/stdlib-js/stdlib/commit/18b3c79c5035c7082618b7379cd6576e64393a96) - **refactor:** update paths _(by Athan Reines)_
Expand Down
4 changes: 2 additions & 2 deletions base/dcabs1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ double c_dcabs1( const stdlib_complex128_t z );
```c
#include "stdlib/blas/base/dcabs1.h"
#include "stdlib/complex/float64/ctor.h"
#include "stdlib/complex/real.h"
#include "stdlib/complex/float64/real.h"
#include "stdlib/complex/float64/imag.h"
#include <stdio.h>
Expand All @@ -152,7 +152,7 @@ int main( void ) {
int i;
for ( i = 0; i < 4; i++ ) {
y = c_dcabs1( x[ i ] );
printf( "f(%lf + %lf) = %lf\n", stdlib_real( x[ i ] ), stdlib_complex128_imag( x[ i ] ), y );
printf( "f(%lf + %lf) = %lf\n", stdlib_complex128_real( x[ i ] ), stdlib_complex128_imag( x[ i ] ), y );
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions base/dcabs1/examples/c/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "stdlib/blas/base/dcabs1.h"
#include "stdlib/complex/float64/ctor.h"
#include "stdlib/complex/real.h"
#include "stdlib/complex/float64/real.h"
#include "stdlib/complex/float64/imag.h"
#include <stdio.h>

Expand All @@ -34,6 +34,6 @@ int main( void ) {
int i;
for ( i = 0; i < 4; i++ ) {
y = c_dcabs1( x[ i ] );
printf( "f(%lf + %lf) = %lf\n", stdlib_real( x[ i ] ), stdlib_complex128_imag( x[ i ] ), y );
printf( "f(%lf + %lf) = %lf\n", stdlib_complex128_real( x[ i ] ), stdlib_complex128_imag( x[ i ] ), y );
}
}
2 changes: 1 addition & 1 deletion base/dcabs1/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var abs = require( '@stdlib/math/base/special/abs' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );


Expand Down
12 changes: 6 additions & 6 deletions base/dcabs1/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@stdlib/math/base/special/abs",
"@stdlib/complex/float64/ctor",
"@stdlib/complex/float64/reim",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down Expand Up @@ -154,7 +154,7 @@
"libpath": [],
"dependencies": [
"@stdlib/complex/float64/ctor",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down Expand Up @@ -218,7 +218,7 @@
"@stdlib/math/base/special/abs",
"@stdlib/complex/float64/ctor",
"@stdlib/complex/float64/reim",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down Expand Up @@ -282,7 +282,7 @@
"libpath": [],
"dependencies": [
"@stdlib/complex/float64/ctor",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down Expand Up @@ -349,7 +349,7 @@
"libpath": [],
"dependencies": [
"@stdlib/complex/float64/ctor",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down Expand Up @@ -413,7 +413,7 @@
"@stdlib/math/base/special/abs",
"@stdlib/complex/float64/ctor",
"@stdlib/complex/float64/reim",
"@stdlib/complex/real",
"@stdlib/complex/float64/real",
"@stdlib/complex/float64/imag"
]
},
Expand Down
8 changes: 4 additions & 4 deletions base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ interface Namespace {
*
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand All @@ -1425,7 +1425,7 @@ interface Namespace {
*
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -1456,7 +1456,7 @@ interface Namespace {
*
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -1484,7 +1484,7 @@ interface Namespace {
*
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down
10 changes: 5 additions & 5 deletions base/zaxpy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Scales values from `zx` by `za` and adds the result to `zy`.
```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex128 = require('@stdlib/complex/float64/ctor');
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -70,7 +70,7 @@ The `N` and stride parameters determine how values from `zx` are scaled by `za`
```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand All @@ -96,7 +96,7 @@ Note that indexing is relative to the first index. To introduce an offset, use [
```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

// Initial arrays...
Expand Down Expand Up @@ -130,7 +130,7 @@ Scales values from `zx` by `za` and adds the result to `zy` using alternative in
```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -159,7 +159,7 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the
```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand Down
10 changes: 5 additions & 5 deletions base/zaxpy/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
> var za = new {{alias:@stdlib/complex/float64/ctor}}( 2.0, 2.0 );
> {{alias}}( 2, za, zx, 1, zy, 1 );
> var z = zy.get( 0 );
> var re = {{alias:@stdlib/complex/real}}( z )
> var re = {{alias:@stdlib/complex/float64/real}}( z )
-1.0
> var im = {{alias:@stdlib/complex/float64/imag}}( z )
7.0
Expand All @@ -55,7 +55,7 @@
> zy = new {{alias:@stdlib/array/complex128}}( [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ] );
> {{alias}}( 2, za, zx, -2, zy, 1 );
> z = zy.get( 0 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
-1.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
23.0
Expand All @@ -67,7 +67,7 @@
> var zy1 = new {{alias:@stdlib/array/complex128}}( zy0.buffer, zy0.BYTES_PER_ELEMENT*1 );
> {{alias}}( 1, za, zx1, 1, zy1, 1 );
> z = zy0.get( 1 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
-1.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
15.0
Expand Down Expand Up @@ -122,7 +122,7 @@
> var za = new {{alias:@stdlib/complex/float64/ctor}}( 2.0, 2.0 );
> {{alias}}.ndarray( zx.length, za, zx, 1, 0, zy, 1, 0 );
> var z = zy.get( 0 );
> var re = {{alias:@stdlib/complex/real}}( z )
> var re = {{alias:@stdlib/complex/float64/real}}( z )
-1.0
> var im = {{alias:@stdlib/complex/float64/imag}}( z )
7.0
Expand All @@ -132,7 +132,7 @@
> zy = new {{alias:@stdlib/array/complex128}}( [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ] );
> {{alias}}.ndarray( 2, za, zx, 1, 1, zy, 1, 1 );
> z = zy.get( 2 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
-1.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
23.0
Expand Down
8 changes: 4 additions & 4 deletions base/zaxpy/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface Routine {
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -77,7 +77,7 @@ interface Routine {
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -112,7 +112,7 @@ interface Routine {
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand All @@ -133,7 +133,7 @@ interface Routine {
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand Down
4 changes: 2 additions & 2 deletions base/zaxpy/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
* var zaxpy = require( '@stdlib/blas/base/zaxpy' );
*
Expand All @@ -48,7 +48,7 @@
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
* var zaxpy = require( '@stdlib/blas/base/zaxpy' );
*
Expand Down
2 changes: 1 addition & 1 deletion base/zaxpy/lib/ndarray.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var cadd = require( '@stdlib/math/base/ops/cadd' );
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down
2 changes: 1 addition & 1 deletion base/zaxpy/lib/zaxpy.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var ndarray = require('./ndarray.js');
* @example
* var Complex128Array = require( '@stdlib/array/complex128' );
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/real' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var zx = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down
10 changes: 5 additions & 5 deletions base/zcopy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Copies values from `x` into `y`.

```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand Down Expand Up @@ -66,7 +66,7 @@ The `N` and stride parameters determine how values from `x` are copied into `y`.

```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand All @@ -90,7 +90,7 @@ Note that indexing is relative to the first index. To introduce an offset, use [

```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

// Initial arrays...
Expand Down Expand Up @@ -120,7 +120,7 @@ Copies values from `x` into `y` using alternative indexing semantics.

```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] );
Expand All @@ -147,7 +147,7 @@ While [`typed array`][mdn-typed-array] views mandate a view offset based on the

```javascript
var Complex128Array = require( '@stdlib/array/complex128' );
var real = require( '@stdlib/complex/real' );
var real = require( '@stdlib/complex/float64/real' );
var imag = require( '@stdlib/complex/float64/imag' );

var x = new Complex128Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
Expand Down
10 changes: 5 additions & 5 deletions base/zcopy/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
> var y = new {{alias:@stdlib/array/complex128}}( [ 6.0, 7.0, 8.0, 9.0 ] );
> {{alias}}( x.length, x, 1, y, 1 );
> var z = y.get( 0 );
> var re = {{alias:@stdlib/complex/real}}( z )
> var re = {{alias:@stdlib/complex/float64/real}}( z )
1.0
> var im = {{alias:@stdlib/complex/float64/imag}}( z )
2.0
Expand All @@ -50,7 +50,7 @@
> y = new {{alias:@stdlib/array/complex128}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
> {{alias}}( 2, x, -2, y, 1 );
> z = y.get( 0 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
5.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
6.0
Expand All @@ -62,7 +62,7 @@
> var y1 = new {{alias:@stdlib/array/complex128}}( y0.buffer, y0.BYTES_PER_ELEMENT*2 );
> {{alias}}( 1, x1, -2, y1, 1 );
> z = y0.get( 2 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
3.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
4.0
Expand Down Expand Up @@ -112,7 +112,7 @@
> var y = new {{alias:@stdlib/array/complex128}}( [ 6.0, 7.0, 8.0, 9.0 ] );
> {{alias}}.ndarray( x.length, x, 1, 0, y, 1, 0 );
> var z = y.get( 0 );
> var re = {{alias:@stdlib/complex/real}}( z )
> var re = {{alias:@stdlib/complex/float64/real}}( z )
1.0
> var im = {{alias:@stdlib/complex/float64/imag}}( z )
2.0
Expand All @@ -122,7 +122,7 @@
> y = new {{alias:@stdlib/array/complex128}}( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
> {{alias}}.ndarray( 1, x, 2, 1, y, -1, y.length-1 );
> z = y.get( y.length-1 );
> re = {{alias:@stdlib/complex/real}}( z )
> re = {{alias:@stdlib/complex/float64/real}}( z )
3.0
> im = {{alias:@stdlib/complex/float64/imag}}( z )
4.0
Expand Down
Loading

0 comments on commit 8779218

Please sign in to comment.