From 6ca717101db8ef34352fbcaefc0b9c0cb65a0e23 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sun, 26 May 2024 20:44:49 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - CONTRIBUTORS | 2 ++ README.md | 10 +++++----- benchmark/benchmark.js | 2 +- dist/index.js.map | 2 +- docs/repl.txt | 2 +- docs/types/index.d.ts | 2 +- docs/types/test.ts | 2 +- examples/index.js | 2 +- lib/index.js | 2 +- lib/main.js | 2 +- package.json | 2 +- test/test.js | 2 +- 13 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 .github/.keepalive diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index 1fe5abd..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2024-05-01T01:17:00.911Z diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6a1cbaa..a44d7ac 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -27,6 +27,7 @@ Frank Kovacs Golden Kumar <103646877+AuenKr@users.noreply.github.com> Gunj Joshi Harshita Kalani +Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com> Jaimin Godhani <112328542+Jai0401@users.noreply.github.com> James Gelok Jaysukh Makvana @@ -84,6 +85,7 @@ Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com> Utkarsh Utkarsh Raj Varad Gupta +Xiaochuan Ye Yernar Yergaziyev naveen nishant-s7 <97207366+nishant-s7@users.noreply.github.com> diff --git a/README.md b/README.md index 5951786..7ccc0f5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ limitations under the License. [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] -> Evaluate the [identity function][identity-function] of a single-precision [complex][@stdlib/complex/float32] floating-point number. +> Evaluate the [identity function][identity-function] of a single-precision [complex][@stdlib/complex/float32/ctor] floating-point number.
@@ -88,10 +88,10 @@ var cidentityf = require( '@stdlib/math-base-special-cidentityf' ); #### cidentityf( z ) -Evaluates the [identity function][identity-function] for a single-precision [complex][@stdlib/complex/float32] floating-point number. +Evaluates the [identity function][identity-function] for a single-precision [complex][@stdlib/complex/float32/ctor] floating-point number. ```javascript -var Complex64 = require( '@stdlib/complex-float32' ); +var Complex64 = require( '@stdlib/complex-float32-ctor' ); var real = require( '@stdlib/complex-real' ); var imag = require( '@stdlib/complex-imag' ); @@ -117,7 +117,7 @@ var im = imag( v ); ```javascript var discreteUniform = require( '@stdlib/random-base-discrete-uniform' ); -var Complex64 = require( '@stdlib/complex-float32' ); +var Complex64 = require( '@stdlib/complex-float32-ctor' ); var cidentityf = require( '@stdlib/math-base-special-cidentityf' ); var z; @@ -311,7 +311,7 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. [identity-function]: https://en.wikipedia.org/wiki/Identity_function -[@stdlib/complex/float32]: https://github.com/stdlib-js/complex-float32 +[@stdlib/complex/float32/ctor]: https://github.com/stdlib-js/complex-float32-ctor diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index e730738..f084b36 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -23,7 +23,7 @@ var bench = require( '@stdlib/bench-harness' ); var uniform = require( '@stdlib/random-base-uniform' ); var isnanf = require( '@stdlib/math-base-assert-is-nanf' ); -var Complex64 = require( '@stdlib/complex-float32' ); +var Complex64 = require( '@stdlib/complex-float32-ctor' ); var real = require( '@stdlib/complex-real' ); var imag = require( '@stdlib/complex-imag' ); var pkg = require( './../package.json' ).name; diff --git a/dist/index.js.map b/dist/index.js.map index 685063a..96c7a97 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../lib/main.js", "../lib/index.js"], - "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 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// MAIN //\n\n/**\n* Evaluates the identity function for a single-precision complex floating-point number.\n*\n* @param {Complex64} z - input value\n* @returns {Complex64} input value\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32' );\n* var real = require( '@stdlib/complex-real' );\n* var imag = require( '@stdlib/complex-imag' );\n*\n* var v = cidentityf( new Complex64( -1.0, 2.0 ) );\n* // returns \n*\n* var re = real( v );\n* // returns -1.0\n*\n* var im = imag( v );\n* // returns 2.0\n*/\nfunction cidentityf( z ) {\n\treturn z;\n}\n\n\n// EXPORTS //\n\nmodule.exports = cidentityf;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 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* Evaluate the identity function for a single-precision complex floating-point number.\n*\n* @module @stdlib/math-base-special-cidentityf\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32' );\n* var real = require( '@stdlib/complex-real' );\n* var imag = require( '@stdlib/complex-imag' );\n* var cidentityf = require( '@stdlib/math-base-special-cidentityf' );\n*\n* var v = cidentityf( new Complex64( -1.0, 2.0 ) );\n* // returns \n*\n* var re = real( v );\n* // returns -1.0\n*\n* var im = imag( v );\n* // returns 2.0\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"], + "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 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// MAIN //\n\n/**\n* Evaluates the identity function for a single-precision complex floating-point number.\n*\n* @param {Complex64} z - input value\n* @returns {Complex64} input value\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n* var real = require( '@stdlib/complex-real' );\n* var imag = require( '@stdlib/complex-imag' );\n*\n* var v = cidentityf( new Complex64( -1.0, 2.0 ) );\n* // returns \n*\n* var re = real( v );\n* // returns -1.0\n*\n* var im = imag( v );\n* // returns 2.0\n*/\nfunction cidentityf( z ) {\n\treturn z;\n}\n\n\n// EXPORTS //\n\nmodule.exports = cidentityf;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2021 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* Evaluate the identity function for a single-precision complex floating-point number.\n*\n* @module @stdlib/math-base-special-cidentityf\n*\n* @example\n* var Complex64 = require( '@stdlib/complex-float32-ctor' );\n* var real = require( '@stdlib/complex-real' );\n* var imag = require( '@stdlib/complex-imag' );\n* var cidentityf = require( '@stdlib/math-base-special-cidentityf' );\n*\n* var v = cidentityf( new Complex64( -1.0, 2.0 ) );\n* // returns \n*\n* var re = real( v );\n* // returns -1.0\n*\n* var im = imag( v );\n* // returns 2.0\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"], "mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cA0CA,SAASC,EAAYC,EAAI,CACxB,OAAOA,CACR,CAKAF,EAAO,QAAUC,ICNjB,IAAIE,EAAO,IAKX,OAAO,QAAUA", "names": ["require_main", "__commonJSMin", "exports", "module", "cidentityf", "z", "main"] } diff --git a/docs/repl.txt b/docs/repl.txt index 80bbc40..eecc192 100644 --- a/docs/repl.txt +++ b/docs/repl.txt @@ -15,7 +15,7 @@ Examples -------- - > var v = {{alias}}( new {{alias:@stdlib/complex/float32}}( -1.0, 2.0 ) ) + > var v = {{alias}}( new {{alias:@stdlib/complex/float32/ctor}}( -1.0, 2.0 ) ) > var re = {{alias:@stdlib/complex/real}}( v ) -1.0 diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 2505c87..edf0b08 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -29,7 +29,7 @@ import { Complex64 } from '@stdlib/types/complex'; * @returns input value * * @example -* var Complex64 = require( '@stdlib/complex-float32' ); +* var Complex64 = require( '@stdlib/complex-float32-ctor' ); * var real = require( '@stdlib/complex-real' ); * var imag = require( '@stdlib/complex-imag' ); * diff --git a/docs/types/test.ts b/docs/types/test.ts index da2b3f7..879bdf9 100644 --- a/docs/types/test.ts +++ b/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -import Complex64 = require( '@stdlib/complex-float32' ); +import Complex64 = require( '@stdlib/complex-float32-ctor' ); import cidentityf = require( './index' ); diff --git a/examples/index.js b/examples/index.js index b49423b..4e2e347 100644 --- a/examples/index.js +++ b/examples/index.js @@ -19,7 +19,7 @@ 'use strict'; var discreteUniform = require( '@stdlib/random-base-discrete-uniform' ); -var Complex64 = require( '@stdlib/complex-float32' ); +var Complex64 = require( '@stdlib/complex-float32-ctor' ); var cidentityf = require( './../lib' ); var z; diff --git a/lib/index.js b/lib/index.js index 1bc1765..e03e022 100644 --- a/lib/index.js +++ b/lib/index.js @@ -24,7 +24,7 @@ * @module @stdlib/math-base-special-cidentityf * * @example -* var Complex64 = require( '@stdlib/complex-float32' ); +* var Complex64 = require( '@stdlib/complex-float32-ctor' ); * var real = require( '@stdlib/complex-real' ); * var imag = require( '@stdlib/complex-imag' ); * var cidentityf = require( '@stdlib/math-base-special-cidentityf' ); diff --git a/lib/main.js b/lib/main.js index 95ca37e..7d394ff 100644 --- a/lib/main.js +++ b/lib/main.js @@ -27,7 +27,7 @@ * @returns {Complex64} input value * * @example -* var Complex64 = require( '@stdlib/complex-float32' ); +* var Complex64 = require( '@stdlib/complex-float32-ctor' ); * var real = require( '@stdlib/complex-real' ); * var imag = require( '@stdlib/complex-imag' ); * diff --git a/package.json b/package.json index 48a12a0..5fbe7d0 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@stdlib/utils-library-manifest": "^0.2.1" }, "devDependencies": { - "@stdlib/complex-float32": "^0.2.1", + "@stdlib/complex-float32-ctor": "github:stdlib-js/complex-float32-ctor#main", "@stdlib/complex-imag": "^0.2.1", "@stdlib/complex-real": "^0.2.1", "@stdlib/constants-float32-ninf": "^0.2.1", diff --git a/test/test.js b/test/test.js index d774220..9d1b159 100644 --- a/test/test.js +++ b/test/test.js @@ -26,7 +26,7 @@ var isNegativeZerof = require( '@stdlib/math-base-assert-is-negative-zerof' ); var isnanf = require( '@stdlib/math-base-assert-is-nanf' ); var PINF = require( '@stdlib/constants-float32-pinf' ); var NINF = require( '@stdlib/constants-float32-ninf' ); -var Complex64 = require( '@stdlib/complex-float32' ); +var Complex64 = require( '@stdlib/complex-float32-ctor' ); var real = require( '@stdlib/complex-real' ); var imag = require( '@stdlib/complex-imag' ); var cidentityf = require( './../lib' );