Skip to content

Commit

Permalink
refactor: update paths
Browse files Browse the repository at this point in the history
Ref: #2260
  • Loading branch information
kgryte committed Jul 16, 2024
1 parent afca2df commit 18b3c79
Show file tree
Hide file tree
Showing 390 changed files with 700 additions and 686 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Returns an accessor function for retrieving an element from an array-like object
```javascript
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );

var arr = new Complex64Array( [ 1, 2, 3, 4 ] );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var Complex64Array = require( '@stdlib/array/complex64' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var dtype = require( '@stdlib/array/dtype' );
var pkg = require( './../package.json' ).name;
var getter = require( './../lib' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<Complex64>
> var r = {{alias:@stdlib/complex/realf}}( v )
3.0
> var i = {{alias:@stdlib/complex/imagf}}( v )
> var i = {{alias:@stdlib/complex/float32/imag}}( v )
4.0

See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var dtype = require( '@stdlib/array/dtype' );
* var getter = require( '@stdlib/array/base/accessor-getter' );
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function getComplex128( arr, idx ) {
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
*
* var arr = new Complex64Array( [ 1, 2, 3, 4 ] );
*
Expand Down Expand Up @@ -126,7 +126,7 @@ function getArrayLike( arr, idx ) {
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var dtype = require( '@stdlib/array/dtype' );
*
* var arr = new Complex64Array( [ 1, 2, 3, 4 ] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var Complex64Array = require( '@stdlib/array/complex64' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var zeroTo = require( '@stdlib/array/base/zero-to' );
var getter = require( './../lib' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Returns an accessor function for setting an element in an array-like object supp
var Complex64Array = require( '@stdlib/array/complex64' );
var Complex64 = require( '@stdlib/complex/float32/ctor' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );

var arr = new Complex64Array( [ 1, 2, 3, 4 ] );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var Complex64 = require( '@stdlib/complex/float32/ctor' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var dtype = require( '@stdlib/array/dtype' );
var pkg = require( './../package.json' ).name;
var setter = require( './../lib' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<Complex64>
> var r = {{alias:@stdlib/complex/realf}}( v )
10.0
> var i = {{alias:@stdlib/complex/imagf}}( v )
> var i = {{alias:@stdlib/complex/float32/imag}}( v )
11.0

See Also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* var Complex64Array = require( '@stdlib/array/complex64' );
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var dtype = require( '@stdlib/array/dtype' );
* var setter = require( '@stdlib/array/base/accessor-setter' );
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function setComplex128( arr, idx, value ) {
* var Complex64Array = require( '@stdlib/array/complex64' );
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
*
* var arr = new Complex64Array( [ 1, 2, 3, 4 ] );
*
Expand Down Expand Up @@ -133,7 +133,7 @@ function setArrayLike( arr, idx, value ) {
* var Complex64Array = require( '@stdlib/array/complex64' );
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var dtype = require( '@stdlib/array/dtype' );
*
* var arr = new Complex64Array( [ 1, 2, 3, 4 ] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var Complex64 = require( '@stdlib/complex/float32/ctor' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var zeroTo = require( '@stdlib/array/base/zero-to' );
var setter = require( './../lib' );

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/accessors/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Float64Array = require( '@stdlib/array/float64' );
var Complex64Array = require( '@stdlib/array/complex64' );
var Complex64 = require( '@stdlib/complex/float32/ctor' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var getter = require( '@stdlib/array/base/getter' );
var setter = require( '@stdlib/array/base/setter' );
var accessorGetter = require( '@stdlib/array/base/accessor-getter' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Float64Array = require( '@stdlib/array/float64' );
var Complex64Array = require( '@stdlib/array/complex64' );
var Complex64 = require( '@stdlib/complex/float32/ctor' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var arraylike2object = require( './../lib' );


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare function at( x: Complex128Array, index: number ): Complex128 | void;
* @example
* var Complex128Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
*
* var x = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] );
*
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/copy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var bool = ( out === x );
```javascript
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var copy = require( '@stdlib/array/base/copy' );

// Create a complex number array:
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/copy/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var copy = require( './../lib' );

// Create a complex number array:
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/copy/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var tape = require( 'tape' );
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var copy = require( './../lib' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ declare function filter<T = unknown, U = unknown>( x: Complex128Array, predicate
* @example
* var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var Complex64Array = require( '@stdlib/array/complex64' );
*
* function predicate( v ) {
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/first/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var out = first( x );
```javascript
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var first = require( '@stdlib/array/base/first' );

// Create a complex number array:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var first = require( './../lib' );

// Create a complex number array:
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/first/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var tape = require( 'tape' );
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var first = require( './../lib' );


Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/last/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var out = last( x );
```javascript
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var last = require( '@stdlib/array/base/last' );

// Create a complex number array:
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/last/examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var last = require( './../lib' );

// Create a complex number array:
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/last/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var tape = require( 'tape' );
var Complex64Array = require( '@stdlib/array/complex64' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var last = require( './../lib' );


Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/mskput/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var BooleanArray = require( '@stdlib/array/bool' );
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var Complex64 = require( '@stdlib/complex/float32' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var mskput = require( './../lib' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ interface ZeroTo {
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
*
* var out = new Complex64Array( 6 );
*
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/place/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var BooleanArray = require( '@stdlib/array/bool' );
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var Complex64 = require( '@stdlib/complex/float32' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var place = require( './../lib' );

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/put/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var BooleanArray = require( '@stdlib/array/bool' );
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var Complex64 = require( '@stdlib/complex/float32' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var put = require( './../lib' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ declare function reject<T = unknown, U = unknown>( x: Complex128Array, predicate
* @example
* var isPositiveNumber = require( '@stdlib/assert/is-positive-number' ).isPrimitive;
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
* var Complex64Array = require( '@stdlib/array/complex64' );
*
* function predicate( v ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var Complex64Array = require( '@stdlib/array/complex64' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var zeroTo = require( '@stdlib/array/base/zero-to' );
var dtypes = require( '@stdlib/array/typed-real-dtypes' );
var resolveGetter = require( './../lib' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var Complex64 = require( '@stdlib/complex/float32/ctor' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var dtypes = require( '@stdlib/array/dtypes' );
var resolveGetter = require( '@stdlib/array/base/resolve-getter' );
var resolveSetter = require( './../lib' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var tape = require( 'tape' );
var Complex64Array = require( '@stdlib/array/complex64' );
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var takeMap = require( './../lib' );

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/base/take/test/test.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var Complex64Array = require( '@stdlib/array/complex64' );
var BooleanArray = require( '@stdlib/array/bool' );
var toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var isComplex64 = require( '@stdlib/assert/is-complex64' );
var take = require( './../lib' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ interface ZeroTo {
* @example
* var Complex64Array = require( '@stdlib/array/complex64' );
* var realf = require( '@stdlib/complex/realf' );
* var imagf = require( '@stdlib/complex/imagf' );
* var imagf = require( '@stdlib/complex/float32/imag' );
*
* var out = new Complex64Array( 6 );
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
var bench = require( '@stdlib/bench' );
var isComplex128Array = require( '@stdlib/assert/is-complex128array' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var pkg = require( './../package.json' ).name;
var Complex128Array = require( './../lib' );
Expand Down
13 changes: 10 additions & 3 deletions lib/node_modules/@stdlib/array/complex128/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,22 @@

/* eslint-disable @typescript-eslint/no-unused-expressions */

import Complex128Array = require( './index' );
import Complex128 = require( '@stdlib/complex/float64/ctor' );
import ArrayBuffer = require( '@stdlib/array/buffer' );
import real = require( '@stdlib/complex/real' );
import imag = require( '@stdlib/complex/imag' );
import Complex128Array = require( './index' );

const clbk = ( v: Complex128 ) => {
/**
* Callback function.
*
* @private
* @param v - input value
* @returns output value
*/
function clbk( v: Complex128 ): Complex128 {
return new Complex128( real( v ) * 2.0, imag( v ) * 2.0 );
};
}


// TESTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
var isFunction = require( '@stdlib/assert/is-function' );
var Complex128 = require( '@stdlib/complex/float64/ctor' );
var realf = require( '@stdlib/complex/realf' );
var imagf = require( '@stdlib/complex/imagf' );
var imagf = require( '@stdlib/complex/float32/imag' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
var Complex128Array = require( './../lib' );
Expand Down
Loading

0 comments on commit 18b3c79

Please sign in to comment.