@stdlib/array-typed-complex-dtypes
Advanced tools
| # Security | ||
| > Policy for reporting security vulnerabilities. | ||
| See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security). |
+3
-3
@@ -1,5 +0,5 @@ | ||
| "use strict";var r=function(c,e){return function(){return e||c((e={exports:{}}).exports,e),e.exports}};var t=r(function(a,u){u.exports=["complex64","complex128"]});var i=r(function(l,s){ | ||
| var o=t();function p(){return o.slice()}s.exports=p | ||
| });var n=i();module.exports=n; | ||
| "use strict";var s=function(i,r){return function(){return r||i((r={exports:{}}).exports,r),r.exports}};var e=s(function(a,t){ | ||
| var n=require('@stdlib/array-dtypes/dist');function o(){return n("complex_floating_point")}t.exports=o | ||
| });var u=e();module.exports=u; | ||
| /** @license Apache-2.0 */ | ||
| //# sourceMappingURL=index.js.map |
| { | ||
| "version": 3, | ||
| "sources": ["../lib/dtypes.json", "../lib/main.js", "../lib/index.js"], | ||
| "sourcesContent": ["[\n\t\"complex64\",\n\t\"complex128\"\n]\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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 DTYPES = require( './dtypes.json' );\n\n\n// MAIN //\n\n/**\n* Returns a list of complex typed array data types.\n*\n* @returns {StringArray} list of complex typed array data types\n*\n* @example\n* var list = dtypes();\n* // returns [ 'complex64', 'complex128' ]\n*/\nfunction dtypes() {\n\treturn DTYPES.slice();\n}\n\n\n// EXPORTS //\n\nmodule.exports = dtypes;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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* Return a list of complex typed array data types.\n*\n* @module @stdlib/array-typed-complex-dtypes\n*\n* @example\n* var dtypes = require( '@stdlib/array-typed-complex-dtypes' );\n*\n* var list = dtypes();\n* // returns [ 'complex64', 'complex128' ]\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,CAAAA,EAAA,SACC,YACA,YACD,ICHA,IAAAC,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAS,IAcb,SAASC,GAAS,CACjB,OAAOD,EAAO,MAAM,CACrB,CAKAD,EAAO,QAAUE,ICTjB,IAAIC,EAAO,IAKX,OAAO,QAAUA", | ||
| "names": ["require_dtypes", "__commonJSMin", "exports", "module", "require_main", "__commonJSMin", "exports", "module", "DTYPES", "dtypes", "main"] | ||
| "sources": ["../lib/main.js", "../lib/index.js"], | ||
| "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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 dt = require( '@stdlib/array-dtypes' );\n\n\n// MAIN //\n\n/**\n* Returns a list of complex typed array data types.\n*\n* @returns {StringArray} list of complex typed array data types\n*\n* @example\n* var list = dtypes();\n* // e.g., returns [ 'complex64', ... ]\n*/\nfunction dtypes() {\n\treturn dt( 'complex_floating_point' );\n}\n\n\n// EXPORTS //\n\nmodule.exports = dtypes;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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* Return a list of complex typed array data types.\n*\n* @module @stdlib/array-typed-complex-dtypes\n*\n* @example\n* var dtypes = require( '@stdlib/array-typed-complex-dtypes' );\n*\n* var list = dtypes();\n* // e.g., returns [ 'complex64', ... ]\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,cAsBA,IAAIC,EAAK,QAAS,sBAAuB,EAczC,SAASC,GAAS,CACjB,OAAOD,EAAI,wBAAyB,CACrC,CAKAD,EAAO,QAAUE,ICTjB,IAAIC,EAAO,IAKX,OAAO,QAAUA", | ||
| "names": ["require_main", "__commonJSMin", "exports", "module", "dt", "dtypes", "main"] | ||
| } |
@@ -23,3 +23,3 @@ /* | ||
| import { ComplexDataType as DataType } from '@stdlib/types/array'; | ||
| import { ComplexFloatingPointDataType as DataType } from '@stdlib/types/array'; | ||
@@ -33,3 +33,3 @@ /** | ||
| * var list = dtypes(); | ||
| * // returns [ 'complex64', 'complex128' ] | ||
| * // e.g., returns [ 'complex64', ... ] | ||
| */ | ||
@@ -36,0 +36,0 @@ declare function dtypes(): Array<DataType>; |
+1
-1
@@ -30,3 +30,3 @@ /** | ||
| * var list = dtypes(); | ||
| * // returns [ 'complex64', 'complex128' ] | ||
| * // e.g., returns [ 'complex64', ... ] | ||
| */ | ||
@@ -33,0 +33,0 @@ |
+3
-3
@@ -23,3 +23,3 @@ /** | ||
| var DTYPES = require( './dtypes.json' ); | ||
| var dt = require( '@stdlib/array-dtypes' ); | ||
@@ -36,6 +36,6 @@ | ||
| * var list = dtypes(); | ||
| * // returns [ 'complex64', 'complex128' ] | ||
| * // e.g., returns [ 'complex64', ... ] | ||
| */ | ||
| function dtypes() { | ||
| return DTYPES.slice(); | ||
| return dt( 'complex_floating_point' ); | ||
| } | ||
@@ -42,0 +42,0 @@ |
+1
-1
@@ -1,1 +0,1 @@ | ||
| Copyright (c) 2016-2023 The Stdlib Authors. | ||
| Copyright (c) 2016-2024 The Stdlib Authors. |
+6
-4
| { | ||
| "name": "@stdlib/array-typed-complex-dtypes", | ||
| "version": "0.1.1", | ||
| "version": "0.2.0", | ||
| "description": "List of complex typed array data types.", | ||
@@ -40,11 +40,13 @@ "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@stdlib/types": "^0.1.0" | ||
| "@stdlib/array-dtypes": "^0.2.0", | ||
| "@stdlib/types": "^0.3.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@stdlib/assert-is-string-array": "^0.1.1", | ||
| "@stdlib/bench": "^0.1.0", | ||
| "@stdlib/utils-index-of": "^0.1.0", | ||
| "tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
| "istanbul": "^0.4.1", | ||
| "tap-min": "git+https://github.com/Planeshifter/tap-min.git" | ||
| "tap-min": "git+https://github.com/Planeshifter/tap-min.git", | ||
| "@stdlib/bench-harness": "^0.2.0", | ||
| "@stdlib/bench": "^0.3.1" | ||
| }, | ||
@@ -51,0 +53,0 @@ "engines": { |
+11
-11
@@ -72,10 +72,5 @@ <!-- | ||
| var out = dtypes(); | ||
| // returns [ 'complex64', 'complex128' ] | ||
| // e.g., returns [ 'complex64', ... ] | ||
| ``` | ||
| The output `array` contains the following data types: | ||
| - `complex64`: single-precision floating-point complex numbers. | ||
| - `complex128`: double-precision floating-point complex numbers. | ||
| </section> | ||
@@ -106,3 +101,2 @@ | ||
| var DTYPES = dtypes(); | ||
| var bool; | ||
@@ -116,3 +110,3 @@ function isdtype( str ) { | ||
| bool = isdtype( 'complex64' ); | ||
| var bool = isdtype( 'complex64' ); | ||
| // returns true | ||
@@ -152,2 +146,3 @@ | ||
| - <span class="package-name">[`@stdlib/array-typed-dtypes`][@stdlib/array/typed-dtypes]</span><span class="delimiter">: </span><span class="description">list of typed array data types.</span> | ||
| - <span class="package-name">[`@stdlib/array-typed-real-dtypes`][@stdlib/array/typed-real-dtypes]</span><span class="delimiter">: </span><span class="description">list of typed array real-valued data types.</span> | ||
| - <span class="package-name">[`@stdlib/ndarray-dtypes`][@stdlib/ndarray/dtypes]</span><span class="delimiter">: </span><span class="description">list of ndarray data types.</span> | ||
@@ -185,3 +180,3 @@ | ||
| Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
| Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. | ||
@@ -199,4 +194,4 @@ </section> | ||
| [test-image]: https://github.com/stdlib-js/array-typed-complex-dtypes/actions/workflows/test.yml/badge.svg?branch=v0.1.1 | ||
| [test-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/actions/workflows/test.yml?query=branch:v0.1.1 | ||
| [test-image]: https://github.com/stdlib-js/array-typed-complex-dtypes/actions/workflows/test.yml/badge.svg?branch=v0.2.0 | ||
| [test-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/actions/workflows/test.yml?query=branch:v0.2.0 | ||
@@ -224,4 +219,7 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-typed-complex-dtypes/main.svg | ||
| [deno-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/tree/deno | ||
| [deno-readme]: https://github.com/stdlib-js/array-typed-complex-dtypes/blob/deno/README.md | ||
| [umd-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/tree/umd | ||
| [umd-readme]: https://github.com/stdlib-js/array-typed-complex-dtypes/blob/umd/README.md | ||
| [esm-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/tree/esm | ||
| [esm-readme]: https://github.com/stdlib-js/array-typed-complex-dtypes/blob/esm/README.md | ||
| [branches-url]: https://github.com/stdlib-js/array-typed-complex-dtypes/blob/main/branches.md | ||
@@ -237,2 +235,4 @@ | ||
| [@stdlib/array/typed-real-dtypes]: https://www.npmjs.com/package/@stdlib/array-typed-real-dtypes | ||
| [@stdlib/ndarray/dtypes]: https://www.npmjs.com/package/@stdlib/ndarray-dtypes | ||
@@ -239,0 +239,0 @@ |
Sorry, the diff of this file is not supported yet
| [ | ||
| "complex64", | ||
| "complex128" | ||
| ] |
26129
-0.54%2
100%7
16.67%11
-8.33%107
-3.6%+ Added
+ Added
+ Added
+ Added
- Removed
Updated