Skip to content

Commit c1c9e56

Browse files
committed
Update requires and remove namespace references
1 parent c1bdd27 commit c1c9e56

File tree

19 files changed

+102
-106
lines changed

19 files changed

+102
-106
lines changed

lib/node_modules/@stdlib/_tools/bundle/pkg-list/examples/stdlib-namespaces/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<script type="text/javascript" src="/build/bench.min.js"></script>
3434
<script type="text/javascript" src="/build/crypto.min.js"></script>
3535
<script type="text/javascript" src="/build/datasets.min.js"></script>
36-
<script type="text/javascript" src="/build/fastmath.min.js"></script>
3736
<script type="text/javascript" src="/build/fs.min.js"></script>
3837
<script type="text/javascript" src="/build/math.min.js"></script>
3938
<script type="text/javascript" src="/build/ml.min.js"></script>
@@ -46,7 +45,6 @@
4645
<script type="text/javascript" src="/build/streams.min.js"></script>
4746
<script type="text/javascript" src="/build/string.min.js"></script>
4847
<script type="text/javascript" src="/build/time.min.js"></script>
49-
<script type="text/javascript" src="/build/tools.min.js"></script>
5048
<script type="text/javascript" src="/build/types.min.js"></script>
5149
<script type="text/javascript" src="/build/utils.min.js"></script>
5250
<script type="text/javascript">

lib/node_modules/@stdlib/_tools/bundle/pkg-list/examples/stdlib-namespaces/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ var bundles = [
9898
[ '@stdlib/crypto', 'crypto', true ],
9999
[ '@stdlib/datasets', 'datasets', false ],
100100
[ '@stdlib/error', 'error', true ],
101-
[ '@stdlib/fastmath', 'fastmath', true ],
102101
[ '@stdlib/fs', 'fs', true ],
103102
[ '@stdlib/math', 'math', true ],
104103
[ '@stdlib/ml', 'ml', true ],
@@ -113,7 +112,6 @@ var bundles = [
113112
[ '@stdlib/streams', 'streams', true ],
114113
[ '@stdlib/string', 'string', true ],
115114
[ '@stdlib/time', 'time', true ],
116-
[ '@stdlib/tools', 'tools', true ],
117115
[ '@stdlib/utils', 'utils', true ]
118116
];
119117

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-doctest/test/fixtures/valid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ test = {
239239
'',
240240
'// MODULES //',
241241
'',
242-
'var abs = require( \'@stdlib/fastmath/special/abs\' );',
242+
'var abs = require( \'@stdlib/math/base/special/fast/abs\' );',
243243
'',
244244
'',
245245
'// MAIN //',

lib/node_modules/@stdlib/_tools/eslint/rules/namespace-index-order/test/fixtures/invalid.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -97,71 +97,71 @@ test = {
9797
'* @memberof fast.special',
9898
'* @readonly',
9999
'* @type {Function}',
100-
'* @see {@link module:@stdlib/fastmath/special/atanh}',
100+
'* @see {@link module:@stdlib/math/base/special/fast/atanh}',
101101
'*/',
102-
'setReadOnly( ns, \'atanh\', require( \'@stdlib/fastmath/special/atanh\' ) );',
102+
'setReadOnly( ns, \'atanh\', require( \'@stdlib/math/base/special/fast/atanh\' ) );',
103103
'',
104104
'/**',
105105
'* @name hypot',
106106
'* @memberof fast.special',
107107
'* @readonly',
108108
'* @type {Function}',
109-
'* @see {@link module:@stdlib/fastmath/special/hypot}',
109+
'* @see {@link module:@stdlib/math/base/special/fast/hypot}',
110110
'*/',
111-
'setReadOnly( ns, \'hypot\', require( \'@stdlib/fastmath/special/hypot\' ) );',
111+
'setReadOnly( ns, \'hypot\', require( \'@stdlib/math/base/special/fast/hypot\' ) );',
112112
'',
113113
'/**',
114114
'* @name max',
115115
'* @memberof fast.special',
116116
'* @readonly',
117117
'* @type {Function}',
118-
'* @see {@link module:@stdlib/fastmath/special/max}',
118+
'* @see {@link module:@stdlib/math/base/special/fast/max}',
119119
'*/',
120-
'setReadOnly( ns, \'max\', require( \'@stdlib/fastmath/special/max\' ) );',
120+
'setReadOnly( ns, \'max\', require( \'@stdlib/math/base/special/fast/max\' ) );',
121121
'',
122122
'/**',
123123
'* @name min',
124124
'* @memberof fast.special',
125125
'* @readonly',
126126
'* @type {Function}',
127-
'* @see {@link module:@stdlib/fastmath/special/min}',
127+
'* @see {@link module:@stdlib/math/base/special/fast/min}',
128128
'*/',
129-
'setReadOnly( ns, \'min\', require( \'@stdlib/fastmath/special/min\' ) );',
129+
'setReadOnly( ns, \'min\', require( \'@stdlib/math/base/special/fast/min\' ) );',
130130
'',
131131
'/**',
132132
'* @name sqrtUint32',
133133
'* @memberof fast.special',
134134
'* @readonly',
135135
'* @type {Function}',
136-
'* @see {@link module:@stdlib/fastmath/special/uint32-sqrt}',
136+
'* @see {@link module:@stdlib/math/base/special/fast/uint32-sqrt}',
137137
'*/',
138-
'setReadOnly( ns, \'sqrtUint32\', require( \'@stdlib/fastmath/special/uint32-sqrt\' ) );',
138+
'setReadOnly( ns, \'sqrtUint32\', require( \'@stdlib/math/base/special/fast/uint32-sqrt\' ) );',
139139
'',
140140
'/**',
141141
'* @name powint',
142142
'* @memberof fast.special',
143143
'* @readonly',
144144
'* @type {Function}',
145-
'* @see {@link module:@stdlib/fastmath/special/pow-int}',
145+
'* @see {@link module:@stdlib/math/base/special/fast/pow-int}',
146146
'*/',
147-
'setReadOnly( ns, \'powint\', require( \'@stdlib/fastmath/special/pow-int\' ) );',
147+
'setReadOnly( ns, \'powint\', require( \'@stdlib/math/base/special/fast/pow-int\' ) );',
148148
'',
149149
'/**',
150150
'* @name log2Uint32',
151151
'* @memberof fast.special',
152152
'* @readonly',
153153
'* @type {Function}',
154-
'* @see {@link module:@stdlib/fastmath/special/uint32-log2}',
154+
'* @see {@link module:@stdlib/math/base/special/fast/uint32-log2}',
155155
'*/',
156-
'setReadOnly( ns, \'log2Uint32\', require( \'@stdlib/fastmath/special/uint32-log2\' ) );'
156+
'setReadOnly( ns, \'log2Uint32\', require( \'@stdlib/math/base/special/fast/uint32-log2\' ) );'
157157
].join( '\n' ),
158158
'errors': [
159159
{
160-
'message': '"@stdlib/fastmath/special/pow-int" should come before "@stdlib/fastmath/special/uint32-sqrt"',
160+
'message': '"@stdlib/math/base/special/fast/pow-int" should come before "@stdlib/math/base/special/fast/uint32-sqrt"',
161161
'type': null
162162
},
163163
{
164-
'message': '"@stdlib/fastmath/special/uint32-log2" should come before "@stdlib/fastmath/special/uint32-sqrt"',
164+
'message': '"@stdlib/math/base/special/fast/uint32-log2" should come before "@stdlib/math/base/special/fast/uint32-sqrt"',
165165
'type': null
166166
}
167167
]

lib/node_modules/@stdlib/_tools/eslint/rules/namespace-index-order/test/fixtures/valid.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -91,63 +91,63 @@ test = {
9191
'* @memberof fast.special',
9292
'* @readonly',
9393
'* @type {Function}',
94-
'* @see {@link module:@stdlib/fastmath/special/atanh}',
94+
'* @see {@link module:@stdlib/math/base/special/fast/atanh}',
9595
'*/',
96-
'setReadOnly( ns, \'atanh\', require( \'@stdlib/fastmath/special/atanh\' ) );',
96+
'setReadOnly( ns, \'atanh\', require( \'@stdlib/math/base/special/fast/atanh\' ) );',
9797
'',
9898
'/**',
9999
'* @name hypot',
100100
'* @memberof fast.special',
101101
'* @readonly',
102102
'* @type {Function}',
103-
'* @see {@link module:@stdlib/fastmath/special/hypot}',
103+
'* @see {@link module:@stdlib/math/base/special/fast/hypot}',
104104
'*/',
105-
'setReadOnly( ns, \'hypot\', require( \'@stdlib/fastmath/special/hypot\' ) );',
105+
'setReadOnly( ns, \'hypot\', require( \'@stdlib/math/base/special/fast/hypot\' ) );',
106106
'',
107107
'/**',
108108
'* @name max',
109109
'* @memberof fast.special',
110110
'* @readonly',
111111
'* @type {Function}',
112-
'* @see {@link module:@stdlib/fastmath/special/max}',
112+
'* @see {@link module:@stdlib/math/base/special/fast/max}',
113113
'*/',
114-
'setReadOnly( ns, \'max\', require( \'@stdlib/fastmath/special/max\' ) );',
114+
'setReadOnly( ns, \'max\', require( \'@stdlib/math/base/special/fast/max\' ) );',
115115
'',
116116
'/**',
117117
'* @name min',
118118
'* @memberof fast.special',
119119
'* @readonly',
120120
'* @type {Function}',
121-
'* @see {@link module:@stdlib/fastmath/special/min}',
121+
'* @see {@link module:@stdlib/math/base/special/fast/min}',
122122
'*/',
123-
'setReadOnly( ns, \'min\', require( \'@stdlib/fastmath/special/min\' ) );',
123+
'setReadOnly( ns, \'min\', require( \'@stdlib/math/base/special/fast/min\' ) );',
124124
'',
125125
'/**',
126126
'* @name powint',
127127
'* @memberof fast.special',
128128
'* @readonly',
129129
'* @type {Function}',
130-
'* @see {@link module:@stdlib/fastmath/special/pow-int}',
130+
'* @see {@link module:@stdlib/math/base/special/fast/pow-int}',
131131
'*/',
132-
'setReadOnly( ns, \'powint\', require( \'@stdlib/fastmath/special/pow-int\' ) );',
132+
'setReadOnly( ns, \'powint\', require( \'@stdlib/math/base/special/fast/pow-int\' ) );',
133133
'',
134134
'/**',
135135
'* @name log2Uint32',
136136
'* @memberof fast.special',
137137
'* @readonly',
138138
'* @type {Function}',
139-
'* @see {@link module:@stdlib/fastmath/special/uint32-log2}',
139+
'* @see {@link module:@stdlib/math/base/special/fast/uint32-log2}',
140140
'*/',
141-
'setReadOnly( ns, \'log2Uint32\', require( \'@stdlib/fastmath/special/uint32-log2\' ) );',
141+
'setReadOnly( ns, \'log2Uint32\', require( \'@stdlib/math/base/special/fast/uint32-log2\' ) );',
142142
'',
143143
'/**',
144144
'* @name sqrtUint32',
145145
'* @memberof fast.special',
146146
'* @readonly',
147147
'* @type {Function}',
148-
'* @see {@link module:@stdlib/fastmath/special/uint32-sqrt}',
148+
'* @see {@link module:@stdlib/math/base/special/fast/uint32-sqrt}',
149149
'*/',
150-
'setReadOnly( ns, \'sqrtUint32\', require( \'@stdlib/fastmath/special/uint32-sqrt\' ) );'
150+
'setReadOnly( ns, \'sqrtUint32\', require( \'@stdlib/math/base/special/fast/uint32-sqrt\' ) );'
151151
].join( '\n' )
152152
};
153153
valid.push( test );

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ limitations under the License.
2727
## Usage
2828

2929
```javascript
30-
var fmath = require( '@stdlib/fastmath/special' );
30+
var fmath = require( '@stdlib/math/base/special/fast' );
3131
```
3232

3333
#### fmath
@@ -61,7 +61,7 @@ var fcns = fmath;
6161

6262
```javascript
6363
var objectKeys = require( '@stdlib/utils/keys' );
64-
var fmath = require( '@stdlib/fastmath/special' );
64+
var fmath = require( '@stdlib/math/base/special/fast' );
6565

6666
console.log( objectKeys( fmath ) );
6767
```

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/asinh/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ limitations under the License.
2929
<!-- run-disable -->
3030

3131
```javascript
32-
var asinh = require( '@stdlib/fastmath/special/asinh' );
32+
var asinh = require( '@stdlib/math/base/special/fast/asinh' );
3333
```
3434

3535
#### asinh( x )
@@ -101,7 +101,7 @@ v = asinh( Infinity );
101101

102102
```javascript
103103
var linspace = require( '@stdlib/array/linspace' );
104-
var asinh = require( '@stdlib/fastmath/special/asinh' );
104+
var asinh = require( '@stdlib/math/base/special/fast/asinh' );
105105

106106
var x = linspace( -5.0, 5.0, 103 );
107107
var i;

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/asinh/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/fastmath/special/asinh",
2+
"name": "@stdlib/math/base/special/fast/asinh",
33
"version": "0.0.0",
44
"description": "Compute the hyperbolic arcsine of a number.",
55
"license": "Apache-2.0",

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/atan/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ limitations under the License.
2929
<!-- run-disable -->
3030

3131
```javascript
32-
var atan = require( '@stdlib/fastmath/special/atan' );
32+
var atan = require( '@stdlib/math/base/special/fast/atan' );
3333
```
3434

3535
#### atan( x )
@@ -66,7 +66,7 @@ v = atan( NaN );
6666

6767
```javascript
6868
var linspace = require( '@stdlib/array/linspace' );
69-
var atan = require( '@stdlib/fastmath/special/atan' );
69+
var atan = require( '@stdlib/math/base/special/fast/atan' );
7070

7171
var x = linspace( -1000.0, 1000.0, 100 );
7272
var i;

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/atan/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/fastmath/special/atan",
2+
"name": "@stdlib/math/base/special/fast/atan",
33
"version": "0.0.0",
44
"description": "Compute the arctangent of a number.",
55
"license": "Apache-2.0",

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/lib/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ var ns = {};
4141
* @memberof ns
4242
* @readonly
4343
* @type {Function}
44-
* @see {@link module:@stdlib/fastmath/special/asinh}
44+
* @see {@link module:@stdlib/math/base/special/fast/asinh}
4545
*/
46-
setReadOnly( ns, 'asinh', require( '@stdlib/fastmath/special/asinh' ) );
46+
setReadOnly( ns, 'asinh', require( '@stdlib/math/base/special/fast/asinh' ) );
4747

4848
/**
4949
* @name atan
5050
* @memberof ns
5151
* @readonly
5252
* @type {Function}
53-
* @see {@link module:@stdlib/fastmath/special/atan}
53+
* @see {@link module:@stdlib/math/base/special/fast/atan}
5454
*/
55-
setReadOnly( ns, 'atan', require( '@stdlib/fastmath/special/atan' ) );
55+
setReadOnly( ns, 'atan', require( '@stdlib/math/base/special/fast/atan' ) );
5656

5757

5858
// EXPORTS //

lib/node_modules/@stdlib/_tools/remark/plugins/remark-namespace-toc/examples/fixtures/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stdlib/fastmath/special",
2+
"name": "@stdlib/math/base/special/fast",
33
"version": "0.0.0",
44
"description": "Standard library fast math special functions.",
55
"license": "Apache-2.0",

lib/node_modules/@stdlib/namespace/alias2pkg/data/data.csv

+11-11
Original file line numberDiff line numberDiff line change
@@ -1296,17 +1296,17 @@ EXEC_PATH,"@stdlib/process/exec-path"
12961296
exists,"@stdlib/fs/exists"
12971297
expandContractions,"@stdlib/nlp/expand-contractions"
12981298
extname,"@stdlib/utils/extname"
1299-
fastmath.abs,"@stdlib/fastmath/special/abs"
1300-
fastmath.acosh,"@stdlib/fastmath/special/acosh"
1301-
fastmath.ampbm,"@stdlib/fastmath/special/alpha-max-plus-beta-min"
1302-
fastmath.asinh,"@stdlib/fastmath/special/asinh"
1303-
fastmath.atanh,"@stdlib/fastmath/special/atanh"
1304-
fastmath.hypot,"@stdlib/fastmath/special/hypot"
1305-
fastmath.log2Uint32,"@stdlib/fastmath/special/uint32-log2"
1306-
fastmath.max,"@stdlib/fastmath/special/max"
1307-
fastmath.min,"@stdlib/fastmath/special/min"
1308-
fastmath.powint,"@stdlib/fastmath/special/pow-int"
1309-
fastmath.sqrtUint32,"@stdlib/fastmath/special/uint32-sqrt"
1299+
fastmath.abs,"@stdlib/math/base/special/fast/abs"
1300+
fastmath.acosh,"@stdlib/math/base/special/fast/acosh"
1301+
fastmath.ampbm,"@stdlib/math/base/special/fast/alpha-max-plus-beta-min"
1302+
fastmath.asinh,"@stdlib/math/base/special/fast/asinh"
1303+
fastmath.atanh,"@stdlib/math/base/special/fast/atanh"
1304+
fastmath.hypot,"@stdlib/math/base/special/fast/hypot"
1305+
fastmath.log2Uint32,"@stdlib/math/base/special/fast/uint32-log2"
1306+
fastmath.max,"@stdlib/math/base/special/fast/max"
1307+
fastmath.min,"@stdlib/math/base/special/fast/min"
1308+
fastmath.powint,"@stdlib/math/base/special/fast/pow-int"
1309+
fastmath.sqrtUint32,"@stdlib/math/base/special/fast/uint32-sqrt"
13101310
FEMALE_FIRST_NAMES_EN,"@stdlib/datasets/female-first-names-en"
13111311
FIFO,"@stdlib/utils/fifo"
13121312
filledarray,"@stdlib/array/filled"

lib/node_modules/@stdlib/namespace/alias2pkg/data/data.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)