Skip to content

Commit 0406147

Browse files
committed
refactor: update paths
Ref: #2260
1 parent 3e09994 commit 0406147

File tree

53 files changed

+180
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+180
-180
lines changed

docs/migration-guides/mathjs/benchmark/benchmark.add.complex_number.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var Complex128 = require( '@stdlib/complex/float64/ctor' );
2727
var real = require( '@stdlib/complex/float64/real' );
2828
var imag = require( '@stdlib/complex/float64/imag' );
29-
var base = require( '@stdlib/math/base/ops/cadd' );
29+
var base = require( '@stdlib/complex/float64/base/add' );
3030
var tryRequire = require( '@stdlib/utils/try-require' );
3131
var pkg = require( './../package.json' ).name;
3232

lib/node_modules/@stdlib/array/complex128/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ Applies a provided callback function to each element of the array, in order, pas
16581658
```javascript
16591659
var real = require( '@stdlib/complex/float64/real' );
16601660
var imag = require( '@stdlib/complex/float64/imag' );
1661-
var cadd = require( '@stdlib/math/base/ops/cadd' );
1661+
var cadd = require( '@stdlib/complex/float64/base/add' );
16621662

16631663
var arr = new Complex128Array( 3 );
16641664

@@ -1712,7 +1712,7 @@ Applies a provided callback function to each element of the array, in reverse or
17121712
```javascript
17131713
var real = require( '@stdlib/complex/float64/real' );
17141714
var imag = require( '@stdlib/complex/float64/imag' );
1715-
var cadd = require( '@stdlib/math/base/ops/cadd' );
1715+
var cadd = require( '@stdlib/complex/float64/base/add' );
17161716

17171717
var arr = new Complex128Array( 3 );
17181718

lib/node_modules/@stdlib/array/complex128/benchmark/benchmark.reduce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench' );
24-
var cadd = require( '@stdlib/math/base/ops/cadd' );
24+
var cadd = require( '@stdlib/complex/float64/base/add' );
2525
var isComplexLike = require('@stdlib/assert/is-complex-like' );
2626
var pkg = require( './../package.json' ).name;
2727
var Complex128Array = require( './../lib' );

lib/node_modules/@stdlib/array/complex128/benchmark/benchmark.reduce.length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
25-
var cadd = require( '@stdlib/math/base/ops/cadd' );
25+
var cadd = require( '@stdlib/complex/float64/base/add' );
2626
var isComplexLike = require('@stdlib/assert/is-complex-like' );
2727
var Complex128 = require( '@stdlib/complex/float64/ctor' );
2828
var pkg = require( './../package.json' ).name;

lib/node_modules/@stdlib/array/complex128/benchmark/benchmark.reduce_right.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var bench = require( '@stdlib/bench' );
24-
var cadd = require( '@stdlib/math/base/ops/cadd' );
24+
var cadd = require( '@stdlib/complex/float64/base/add' );
2525
var isComplexLike = require('@stdlib/assert/is-complex-like' );
2626
var pkg = require( './../package.json' ).name;
2727
var Complex128Array = require( './../lib' );

lib/node_modules/@stdlib/array/complex128/benchmark/benchmark.reduce_right.length.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var pow = require( '@stdlib/math/base/special/pow' );
25-
var cadd = require( '@stdlib/math/base/ops/cadd' );
25+
var cadd = require( '@stdlib/complex/float64/base/add' );
2626
var isComplexLike = require('@stdlib/assert/is-complex-like' );
2727
var Complex128 = require( '@stdlib/complex/float64/ctor' );
2828
var pkg = require( './../package.json' ).name;

lib/node_modules/@stdlib/array/complex128/docs/repl.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@
946946
--------
947947
> var arr = new {{alias}}( [ 1.0, -1.0, 2.0, -2.0 ] )
948948
<Complex128Array>
949-
> var z = arr.reduce( {{alias:@stdlib/math/base/ops/cadd}} )
949+
> var z = arr.reduce( {{alias:@stdlib/complex/float64/base/add}} )
950950
<Complex128>
951951
> var re = {{alias:@stdlib/complex/float64/real}}( z )
952952
3.0
@@ -991,7 +991,7 @@
991991
--------
992992
> var arr = new {{alias}}( [ 1.0, -1.0, 2.0, -2.0 ] )
993993
<Complex128Array>
994-
> var z = arr.reduceRight( {{alias:@stdlib/math/base/ops/cadd}} )
994+
> var z = arr.reduceRight( {{alias:@stdlib/complex/float64/base/add}} )
995995
<Complex128>
996996
> var re = {{alias:@stdlib/complex/float64/real}}( z )
997997
3.0

lib/node_modules/@stdlib/array/complex128/docs/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
918918
* @example
919919
* var real = require( '@stdlib/complex/float64/real' );
920920
* var imag = require( '@stdlib/complex/float64/imag' );
921-
* var cadd = require( '@stdlib/math/base/ops/cadd' );
921+
* var cadd = require( '@stdlib/complex/float64/base/add' );
922922
*
923923
* var arr = new Complex128Array( 3 );
924924
*
@@ -947,7 +947,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
947947
* @example
948948
* var real = require( '@stdlib/complex/float64/real' );
949949
* var imag = require( '@stdlib/complex/float64/imag' );
950-
* var cadd = require( '@stdlib/math/base/ops/cadd' );
950+
* var cadd = require( '@stdlib/complex/float64/base/add' );
951951
*
952952
* var arr = new Complex128Array( 3 );
953953
*

lib/node_modules/@stdlib/array/complex128/lib/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ setReadOnly( Complex128Array.prototype, 'map', function map( fcn, thisArg ) {
18151815
* @example
18161816
* var real = require( '@stdlib/complex/float64/real' );
18171817
* var imag = require( '@stdlib/complex/float64/imag' );
1818-
* var cadd = require( '@stdlib/math/base/ops/cadd' );
1818+
* var cadd = require( '@stdlib/complex/float64/base/add' );
18191819
*
18201820
* var arr = new Complex128Array( 3 );
18211821
*
@@ -1880,7 +1880,7 @@ setReadOnly( Complex128Array.prototype, 'reduce', function reduce( reducer, init
18801880
* @example
18811881
* var real = require( '@stdlib/complex/float64/real' );
18821882
* var imag = require( '@stdlib/complex/float64/imag' );
1883-
* var cadd = require( '@stdlib/math/base/ops/cadd' );
1883+
* var cadd = require( '@stdlib/complex/float64/base/add' );
18841884
*
18851885
* var arr = new Complex128Array( 3 );
18861886
*

lib/node_modules/@stdlib/array/complex128/test/test.reduce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isFunction = require( '@stdlib/assert/is-function' );
26-
var cadd = require( '@stdlib/math/base/ops/cadd' );
26+
var cadd = require( '@stdlib/complex/float64/base/add' );
2727
var instanceOf = require( '@stdlib/assert/instance-of' );
2828
var real = require( '@stdlib/complex/float64/real' );
2929
var imag = require( '@stdlib/complex/float64/imag' );

lib/node_modules/@stdlib/array/complex128/test/test.reduce_right.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var tape = require( 'tape' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isFunction = require( '@stdlib/assert/is-function' );
26-
var cadd = require( '@stdlib/math/base/ops/cadd' );
26+
var cadd = require( '@stdlib/complex/float64/base/add' );
2727
var instanceOf = require( '@stdlib/assert/instance-of' );
2828
var real = require( '@stdlib/complex/float64/real' );
2929
var imag = require( '@stdlib/complex/float64/imag' );

lib/node_modules/@stdlib/blas/base/zaxpy/lib/ndarray.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
var dcabs1 = require( '@stdlib/blas/base/dcabs1' );
2424
var cmul = require( '@stdlib/math/base/ops/cmul' );
25-
var cadd = require( '@stdlib/math/base/ops/cadd' );
25+
var cadd = require( '@stdlib/complex/float64/base/add' );
2626

2727

2828
// MAIN //

lib/node_modules/@stdlib/complex/float32/base/add/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ int main( void ) {
210210

211211
## See Also
212212

213-
- <span class="package-name">[`@stdlib/math/base/ops/cadd`][@stdlib/math/base/ops/cadd]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
213+
- <span class="package-name">[`@stdlib/complex/float64/base/add`][@stdlib/complex/float64/base/add]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
214214
- <span class="package-name">[`@stdlib/math/base/ops/cmulf`][@stdlib/math/base/ops/cmulf]</span><span class="delimiter">: </span><span class="description">multiply two single-precision complex floating-point numbers.</span>
215215
- <span class="package-name">[`@stdlib/math/base/ops/csubf`][@stdlib/math/base/ops/csubf]</span><span class="delimiter">: </span><span class="description">subtract two single-precision complex floating-point numbers.</span>
216216

@@ -224,7 +224,7 @@ int main( void ) {
224224

225225
<!-- <related-links> -->
226226

227-
[@stdlib/math/base/ops/cadd]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cadd
227+
[@stdlib/complex/float64/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float64/base/add
228228

229229
[@stdlib/math/base/ops/cmulf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cmulf
230230

lib/node_modules/@stdlib/math/base/ops/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The namespace contains the following functions:
5050
- <span class="signature">[`add4( x, y, z, w )`][@stdlib/math/base/ops/add4]</span><span class="delimiter">: </span><span class="description">compute the sum of four double-precision floating-point numbers.</span>
5151
- <span class="signature">[`add5( x, y, z, w, u )`][@stdlib/math/base/ops/add5]</span><span class="delimiter">: </span><span class="description">compute the sum of five double-precision floating-point numbers.</span>
5252
- <span class="signature">[`addf( x, y )`][@stdlib/math/base/ops/addf]</span><span class="delimiter">: </span><span class="description">compute the sum of two single-precision floating-point numbers.</span>
53-
- <span class="signature">[`cadd( z1, z2 )`][@stdlib/math/base/ops/cadd]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
53+
- <span class="signature">[`cadd( z1, z2 )`][@stdlib/complex/float64/base/add]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
5454
- <span class="signature">[`caddf( z1, z2 )`][@stdlib/complex/float32/base/add]</span><span class="delimiter">: </span><span class="description">add two single-precision complex floating-point numbers.</span>
5555
- <span class="signature">[`cdiv( z1, z2 )`][@stdlib/math/base/ops/cdiv]</span><span class="delimiter">: </span><span class="description">divide two double-precision complex floating-point numbers.</span>
5656
- <span class="signature">[`cmul( z1, z2 )`][@stdlib/math/base/ops/cmul]</span><span class="delimiter">: </span><span class="description">multiply two double-precision complex floating-point numbers.</span>
@@ -154,7 +154,7 @@ console.log( ns.imuldw( 0x80000000|0, 0x40000000|0 ) );
154154

155155
[@stdlib/math/base/ops/addf]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/addf
156156

157-
[@stdlib/math/base/ops/cadd]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cadd
157+
[@stdlib/complex/float64/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float64/base/add
158158

159159
[@stdlib/complex/float32/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float32/base/add
160160

lib/node_modules/@stdlib/math/base/ops/cdiv/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ int main( void ) {
233233

234234
## See Also
235235

236-
- <span class="package-name">[`@stdlib/math/base/ops/cadd`][@stdlib/math/base/ops/cadd]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
236+
- <span class="package-name">[`@stdlib/complex/float64/base/add`][@stdlib/complex/float64/base/add]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
237237
- <span class="package-name">[`@stdlib/math/base/ops/cmul`][@stdlib/math/base/ops/cmul]</span><span class="delimiter">: </span><span class="description">multiply two double-precision complex floating-point numbers.</span>
238238
- <span class="package-name">[`@stdlib/math/base/ops/csub`][@stdlib/math/base/ops/csub]</span><span class="delimiter">: </span><span class="description">subtract two double-precision complex floating-point numbers.</span>
239239

@@ -255,7 +255,7 @@ int main( void ) {
255255

256256
<!-- <related-links> -->
257257

258-
[@stdlib/math/base/ops/cadd]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cadd
258+
[@stdlib/complex/float64/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float64/base/add
259259

260260
[@stdlib/math/base/ops/cmul]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cmul
261261

lib/node_modules/@stdlib/math/base/ops/cmul/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int main( void ) {
213213

214214
## See Also
215215

216-
- <span class="package-name">[`@stdlib/math/base/ops/cadd`][@stdlib/math/base/ops/cadd]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
216+
- <span class="package-name">[`@stdlib/complex/float64/base/add`][@stdlib/complex/float64/base/add]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
217217
- <span class="package-name">[`@stdlib/math/base/ops/cdiv`][@stdlib/math/base/ops/cdiv]</span><span class="delimiter">: </span><span class="description">divide two complex numbers.</span>
218218
- <span class="package-name">[`@stdlib/math/base/ops/csub`][@stdlib/math/base/ops/csub]</span><span class="delimiter">: </span><span class="description">subtract two double-precision complex floating-point numbers.</span>
219219

@@ -227,7 +227,7 @@ int main( void ) {
227227

228228
<!-- <related-links> -->
229229

230-
[@stdlib/math/base/ops/cadd]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cadd
230+
[@stdlib/complex/float64/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float64/base/add
231231

232232
[@stdlib/math/base/ops/cdiv]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cdiv
233233

lib/node_modules/@stdlib/math/base/ops/csub/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int main( void ) {
213213

214214
## See Also
215215

216-
- <span class="package-name">[`@stdlib/math/base/ops/cadd`][@stdlib/math/base/ops/cadd]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
216+
- <span class="package-name">[`@stdlib/complex/float64/base/add`][@stdlib/complex/float64/base/add]</span><span class="delimiter">: </span><span class="description">add two double-precision complex floating-point numbers.</span>
217217
- <span class="package-name">[`@stdlib/math/base/ops/cdiv`][@stdlib/math/base/ops/cdiv]</span><span class="delimiter">: </span><span class="description">divide two complex numbers.</span>
218218
- <span class="package-name">[`@stdlib/math/base/ops/cmul`][@stdlib/math/base/ops/cmul]</span><span class="delimiter">: </span><span class="description">multiply two double-precision complex floating-point numbers.</span>
219219

@@ -227,7 +227,7 @@ int main( void ) {
227227

228228
<!-- <related-links> -->
229229

230-
[@stdlib/math/base/ops/cadd]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cadd
230+
[@stdlib/complex/float64/base/add]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/complex/float64/base/add
231231

232232
[@stdlib/math/base/ops/cdiv]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/ops/cdiv
233233

lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import add3 = require( '@stdlib/math/base/ops/add3' );
2525
import add4 = require( '@stdlib/math/base/ops/add4' );
2626
import add5 = require( '@stdlib/math/base/ops/add5' );
2727
import addf = require( '@stdlib/math/base/ops/addf' );
28-
import cadd = require( '@stdlib/math/base/ops/cadd' );
28+
import cadd = require( '@stdlib/complex/float64/base/add' );
2929
import caddf = require( '@stdlib/complex/float32/base/add' );
3030
import cdiv = require( '@stdlib/math/base/ops/cdiv' );
3131
import cmul = require( '@stdlib/math/base/ops/cmul' );

lib/node_modules/@stdlib/math/base/ops/lib/index.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ var ns = {};
4545
*/
4646
setReadOnly( ns, 'caddf', require( '@stdlib/complex/float32/base/add' ) );
4747

48+
/**
49+
* @name cadd
50+
* @memberof ns
51+
* @readonly
52+
* @type {Function}
53+
* @see {@link module:@stdlib/complex/float64/base/add}
54+
*/
55+
setReadOnly( ns, 'cadd', require( '@stdlib/complex/float64/base/add' ) );
56+
4857
/**
4958
* @name add
5059
* @memberof ns
@@ -90,15 +99,6 @@ setReadOnly( ns, 'add5', require( '@stdlib/math/base/ops/add5' ) );
9099
*/
91100
setReadOnly( ns, 'addf', require( '@stdlib/math/base/ops/addf' ) );
92101

93-
/**
94-
* @name cadd
95-
* @memberof ns
96-
* @readonly
97-
* @type {Function}
98-
* @see {@link module:@stdlib/math/base/ops/cadd}
99-
*/
100-
setReadOnly( ns, 'cadd', require( '@stdlib/math/base/ops/cadd' ) );
101-
102102
/**
103103
* @name cdiv
104104
* @memberof ns

lib/node_modules/@stdlib/math/strided/ops/add/lib/data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var add = require( '@stdlib/math/base/ops/add' );
24-
var cadd = require( '@stdlib/math/base/ops/cadd' );
24+
var cadd = require( '@stdlib/complex/float64/base/add' );
2525
var caddf = require( '@stdlib/complex/float32/base/add' );
2626
var callbacks = require( '@stdlib/strided/base/binary-signature-callbacks' );
2727
var types = require( './types.js' );

lib/node_modules/@stdlib/math/strided/ops/add/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dependencies": [
3434
"@stdlib/math/base/ops/add",
3535
"@stdlib/math/base/ops/addf",
36-
"@stdlib/math/base/ops/cadd",
36+
"@stdlib/complex/float64/base/add",
3737
"@stdlib/complex/float32/base/add",
3838
"@stdlib/strided/base/function-object",
3939
"@stdlib/strided/base/binary",

0 commit comments

Comments
 (0)