@stdlib/complex-float32-base-assert-is-not-equal 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2024 The Stdlib Authors.
1
+ Copyright (c) 2016-2026 The Stdlib Authors.
package/README.md CHANGED
@@ -29,7 +29,7 @@ limitations under the License.
29
29
  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>
30
30
  </details>
31
31
 
32
- # isNotEqualf
32
+ # isNotEqual
33
33
 
34
34
  [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
35
35
 
@@ -60,10 +60,10 @@ npm install @stdlib/complex-float32-base-assert-is-not-equal
60
60
  ## Usage
61
61
 
62
62
  ```javascript
63
- var isNotEqualf = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
63
+ var isNotEqual = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
64
64
  ```
65
65
 
66
- #### isNotEqualf( z1, z2 )
66
+ #### isNotEqual( z1, z2 )
67
67
 
68
68
  Tests whether two single-precision complex floating-point numbers are not equal.
69
69
 
@@ -73,7 +73,7 @@ var Complex64 = require( '@stdlib/complex-float32-ctor' );
73
73
  var z1 = new Complex64( 5.0, 3.0 );
74
74
  var z2 = new Complex64( 5.0, -3.0 );
75
75
 
76
- var out = isNotEqualf( z1, z2 );
76
+ var out = isNotEqual( z1, z2 );
77
77
  // returns true
78
78
  ```
79
79
 
@@ -99,21 +99,21 @@ var out = isNotEqualf( z1, z2 );
99
99
 
100
100
  ```javascript
101
101
  var Complex64 = require( '@stdlib/complex-float32-ctor' );
102
- var isNotEqualf = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
102
+ var isNotEqual = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
103
103
 
104
104
  var z1 = new Complex64( 5.0, 3.0 );
105
105
  var z2 = new Complex64( 5.0, 3.0 );
106
- var out = isNotEqualf( z1, z2 );
106
+ var out = isNotEqual( z1, z2 );
107
107
  // returns false
108
108
 
109
109
  z1 = new Complex64( -5.0, -3.0 );
110
110
  z2 = new Complex64( 5.0, 3.0 );
111
- out = isNotEqualf( z1, z2 );
111
+ out = isNotEqual( z1, z2 );
112
112
  // returns true
113
113
 
114
114
  z1 = new Complex64( NaN, 3.0 );
115
115
  z2 = new Complex64( NaN, 3.0 );
116
- out = isNotEqualf( z1, z2 );
116
+ out = isNotEqual( z1, z2 );
117
117
  // returns true
118
118
  ```
119
119
 
@@ -261,7 +261,7 @@ See [LICENSE][stdlib-license].
261
261
 
262
262
  ## Copyright
263
263
 
264
- Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
264
+ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
265
265
 
266
266
  </section>
267
267
 
@@ -274,8 +274,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
274
274
  [npm-image]: http://img.shields.io/npm/v/@stdlib/complex-float32-base-assert-is-not-equal.svg
275
275
  [npm-url]: https://npmjs.org/package/@stdlib/complex-float32-base-assert-is-not-equal
276
276
 
277
- [test-image]: https://github.com/stdlib-js/complex-float32-base-assert-is-not-equal/actions/workflows/test.yml/badge.svg?branch=v0.1.1
278
- [test-url]: https://github.com/stdlib-js/complex-float32-base-assert-is-not-equal/actions/workflows/test.yml?query=branch:v0.1.1
277
+ [test-image]: https://github.com/stdlib-js/complex-float32-base-assert-is-not-equal/actions/workflows/test.yml/badge.svg?branch=v0.1.2
278
+ [test-url]: https://github.com/stdlib-js/complex-float32-base-assert-is-not-equal/actions/workflows/test.yml?query=branch:v0.1.2
279
279
 
280
280
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/complex-float32-base-assert-is-not-equal/main.svg
281
281
  [coverage-url]: https://codecov.io/github/stdlib-js/complex-float32-base-assert-is-not-equal?branch=main
@@ -287,8 +287,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
287
287
 
288
288
  -->
289
289
 
290
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
291
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
290
+ [chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
291
+ [chat-url]: https://stdlib.zulipchat.com
292
292
 
293
293
  [stdlib]: https://github.com/stdlib-js/stdlib
294
294
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /// <reference path="../docs/types/index.d.ts" />
2
- import isNotEqualf from '../docs/types/index';
3
- export = isNotEqualf;
2
+ import isNotEqual from '../docs/types/index';
3
+ export = isNotEqual;
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../lib/main.js", "../lib/index.js"],
4
- "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar reimf = require( '@stdlib/complex-float32-reim' );\n\n\n// MAIN //\n\n/**\n* Tests whether two single-precision complex floating-point numbers are not equal.\n*\n* @param {Complex64} z1 - first complex number\n* @param {Complex64} z2 - second complex number\n* @returns {boolean} result\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n*\n* var z1 = new Complex64( 5.0, 3.0 );\n* var z2 = new Complex64( 5.0, -3.0 );\n*\n* var v = isNotEqualf( z1, z2 );\n* // returns true\n*/\nfunction isNotEqualf( z1, z2 ) {\n\tvar parts1 = reimf( z1 );\n\tvar parts2 = reimf( z2 );\n\treturn (\n\t\tparts1[ 0 ] !== parts2[ 0 ] ||\n\t\tparts1[ 1 ] !== parts2[ 1 ]\n\t);\n}\n\n\n// EXPORTS //\n\nmodule.exports = isNotEqualf;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Test whether two single-precision complex floating-point numbers are not equal.\n*\n* @module @stdlib/complex-float32-base-assert-is-not-equal\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n* var isNotEqualf = require( '@stdlib/complex-float32-base-assert-is-not-equal' );\n*\n* var z1 = new Complex64( 5.0, 3.0 );\n* var z2 = new Complex64( 5.0, -3.0 );\n*\n* var v = isNotEqualf( z1, z2 );\n* // returns true\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
5
- "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAQ,QAAS,8BAA+B,EAqBpD,SAASC,EAAaC,EAAIC,EAAK,CAC9B,IAAIC,EAASJ,EAAOE,CAAG,EACnBG,EAASL,EAAOG,CAAG,EACvB,OACCC,EAAQ,CAAE,IAAMC,EAAQ,CAAE,GAC1BD,EAAQ,CAAE,IAAMC,EAAQ,CAAE,CAE5B,CAKAN,EAAO,QAAUE,ICjBjB,IAAIK,EAAO,IAKX,OAAO,QAAUA",
6
- "names": ["require_main", "__commonJSMin", "exports", "module", "reimf", "isNotEqualf", "z1", "z2", "parts1", "parts2", "main"]
4
+ "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar reimf = require( '@stdlib/complex-float32-reim' );\n\n\n// MAIN //\n\n/**\n* Tests whether two single-precision complex floating-point numbers are not equal.\n*\n* @param {Complex64} z1 - first complex number\n* @param {Complex64} z2 - second complex number\n* @returns {boolean} result\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n*\n* var z1 = new Complex64( 5.0, 3.0 );\n* var z2 = new Complex64( 5.0, -3.0 );\n*\n* var v = isNotEqual( z1, z2 );\n* // returns true\n*/\nfunction isNotEqual( z1, z2 ) {\n\tvar parts1 = reimf( z1 );\n\tvar parts2 = reimf( z2 );\n\treturn (\n\t\tparts1[ 0 ] !== parts2[ 0 ] ||\n\t\tparts1[ 1 ] !== parts2[ 1 ]\n\t);\n}\n\n\n// EXPORTS //\n\nmodule.exports = isNotEqual;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Test whether two single-precision complex floating-point numbers are not equal.\n*\n* @module @stdlib/complex-float32-base-assert-is-not-equal\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n* var isNotEqual = require( '@stdlib/complex-float32-base-assert-is-not-equal' );\n*\n* var z1 = new Complex64( 5.0, 3.0 );\n* var z2 = new Complex64( 5.0, -3.0 );\n*\n* var v = isNotEqual( z1, z2 );\n* // returns true\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
5
+ "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAQ,QAAS,8BAA+B,EAqBpD,SAASC,EAAYC,EAAIC,EAAK,CAC7B,IAAIC,EAASJ,EAAOE,CAAG,EACnBG,EAASL,EAAOG,CAAG,EACvB,OACCC,EAAQ,CAAE,IAAMC,EAAQ,CAAE,GAC1BD,EAAQ,CAAE,IAAMC,EAAQ,CAAE,CAE5B,CAKAN,EAAO,QAAUE,ICjBjB,IAAIK,EAAO,IAKX,OAAO,QAAUA",
6
+ "names": ["require_main", "__commonJSMin", "exports", "module", "reimf", "isNotEqual", "z1", "z2", "parts1", "parts2", "main"]
7
7
  }
@@ -18,7 +18,9 @@
18
18
 
19
19
  // TypeScript Version: 4.1
20
20
 
21
- import Complex64 = require( '@stdlib/complex-float32-ctor' );
21
+ /// <reference types="@stdlib/types"/>
22
+
23
+ import { Complex64 } from '@stdlib/types/complex';
22
24
 
23
25
  /**
24
26
  * Tests whether two single-precision complex floating-point numbers are not equal.
@@ -33,12 +35,12 @@ import Complex64 = require( '@stdlib/complex-float32-ctor' );
33
35
  * var z1 = new Complex64( 5.0, 3.0 );
34
36
  * var z2 = new Complex64( 5.0, -3.0 );
35
37
  *
36
- * var v = isNotEqualf( z1, z2 );
38
+ * var v = isNotEqual( z1, z2 );
37
39
  * // returns true
38
40
  */
39
- declare function isNotEqualf( z1: Complex64, z2: Complex64 ): boolean;
41
+ declare function isNotEqual( z1: Complex64, z2: Complex64 ): boolean;
40
42
 
41
43
 
42
44
  // EXPORTS //
43
45
 
44
- export = isNotEqualf;
46
+ export = isNotEqual;
package/lib/index.js CHANGED
@@ -25,12 +25,12 @@
25
25
  *
26
26
  * @example
27
27
  * var Complex64 = require( '@stdlib/complex-float32-ctor' );
28
- * var isNotEqualf = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
28
+ * var isNotEqual = require( '@stdlib/complex-float32-base-assert-is-not-equal' );
29
29
  *
30
30
  * var z1 = new Complex64( 5.0, 3.0 );
31
31
  * var z2 = new Complex64( 5.0, -3.0 );
32
32
  *
33
- * var v = isNotEqualf( z1, z2 );
33
+ * var v = isNotEqual( z1, z2 );
34
34
  * // returns true
35
35
  */
36
36
 
package/lib/main.js CHANGED
@@ -38,10 +38,10 @@ var reimf = require( '@stdlib/complex-float32-reim' );
38
38
  * var z1 = new Complex64( 5.0, 3.0 );
39
39
  * var z2 = new Complex64( 5.0, -3.0 );
40
40
  *
41
- * var v = isNotEqualf( z1, z2 );
41
+ * var v = isNotEqual( z1, z2 );
42
42
  * // returns true
43
43
  */
44
- function isNotEqualf( z1, z2 ) {
44
+ function isNotEqual( z1, z2 ) {
45
45
  var parts1 = reimf( z1 );
46
46
  var parts2 = reimf( z2 );
47
47
  return (
@@ -53,4 +53,4 @@ function isNotEqualf( z1, z2 ) {
53
53
 
54
54
  // EXPORTS //
55
55
 
56
- module.exports = isNotEqualf;
56
+ module.exports = isNotEqual;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/complex-float32-base-assert-is-not-equal",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Test whether two single-precision complex floating-point numbers are not equal.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -32,7 +32,7 @@
32
32
  "url": "https://github.com/stdlib-js/stdlib/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@stdlib/complex-float32-ctor": "^0.0.2",
35
+ "@stdlib/complex-float32-ctor": "^0.1.0",
36
36
  "@stdlib/complex-float32-reim": "^0.1.2"
37
37
  },
38
38
  "devDependencies": {},