Skip to content

Commit a97c806

Browse files
committed
feat: add COMPLEX128_NAN to namespace
1 parent b4e9738 commit a97c806

File tree

27 files changed

+37
-14
lines changed

27 files changed

+37
-14
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ COMPLEX64_NUM_BYTES,"@stdlib/constants/complex64/num-bytes"
13491349
COMPLEX64_ZERO,"@stdlib/constants/complex64/zero"
13501350
Complex64Array,"@stdlib/array/complex64"
13511351
Complex128,"@stdlib/complex/float64"
1352+
COMPLEX128_NAN,"@stdlib/constants/complex128/nan"
13521353
COMPLEX128_NUM_BYTES,"@stdlib/constants/complex128/num-bytes"
13531354
COMPLEX128_ZERO,"@stdlib/constants/complex128/zero"
13541355
Complex128Array,"@stdlib/array/complex128"

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ COMPLEX64_NUM_BYTES,"COMPLEX128_NUM_BYTES,FLOAT32_NUM_BYTES"
13491349
COMPLEX64_ZERO,"COMPLEX128_ZERO"
13501350
Complex64Array,"Complex128Array,complex,Complex64"
13511351
Complex128,"complex,Complex64"
1352+
COMPLEX128_NAN,""
13521353
COMPLEX128_NUM_BYTES,"COMPLEX64_NUM_BYTES,FLOAT64_NUM_BYTES"
13531354
COMPLEX128_ZERO,"COMPLEX64_ZERO"
13541355
Complex128Array,"Complex64Array,complex,Complex128"

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ COMPLEX64_NUM_BYTES,"@stdlib/constants-complex64-num-bytes"
13491349
COMPLEX64_ZERO,"@stdlib/constants-complex64-zero"
13501350
Complex64Array,"@stdlib/array-complex64"
13511351
Complex128,"@stdlib/complex-float64"
1352+
COMPLEX128_NAN,"@stdlib/constants-complex128-nan"
13521353
COMPLEX128_NUM_BYTES,"@stdlib/constants-complex128-num-bytes"
13531354
COMPLEX128_ZERO,"@stdlib/constants-complex128-zero"
13541355
Complex128Array,"@stdlib/array-complex128"

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

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

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

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

lib/node_modules/@stdlib/namespace/aliases/data/data.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@ COMPLEX64_NUM_BYTES
13491349
COMPLEX64_ZERO
13501350
Complex64Array
13511351
Complex128
1352+
COMPLEX128_NAN
13521353
COMPLEX128_NUM_BYTES
13531354
COMPLEX128_ZERO
13541355
Complex128Array

lib/node_modules/@stdlib/namespace/lib/namespace/c.js

+10
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,16 @@ ns.push({
290290
]
291291
});
292292

293+
ns.push({
294+
'alias': 'COMPLEX128_NAN',
295+
'path': '@stdlib/constants/complex128/nan',
296+
'value': require( '@stdlib/constants/complex128/nan' ),
297+
'type': 'number',
298+
'related': [
299+
'@stdlib/constants/complex64/nan'
300+
]
301+
});
302+
293303
ns.push({
294304
'alias': 'COMPLEX128_NUM_BYTES',
295305
'path': '@stdlib/constants/complex128/num-bytes',

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@
13491349
"@stdlib/constants/complex64/zero",COMPLEX64_ZERO
13501350
"@stdlib/array/complex64",Complex64Array
13511351
"@stdlib/complex/float64",Complex128
1352+
"@stdlib/constants/complex128/nan",COMPLEX128_NAN
13521353
"@stdlib/constants/complex128/num-bytes",COMPLEX128_NUM_BYTES
13531354
"@stdlib/constants/complex128/zero",COMPLEX128_ZERO
13541355
"@stdlib/array/complex128",Complex128Array

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@
13491349
"@stdlib/constants/complex64/zero","@stdlib/constants/complex128/zero"
13501350
"@stdlib/array/complex64","@stdlib/array/complex128,@stdlib/complex/cmplx,@stdlib/complex/float32"
13511351
"@stdlib/complex/float64","@stdlib/complex/cmplx,@stdlib/complex/float32"
1352+
"@stdlib/constants/complex128/nan",""
13521353
"@stdlib/constants/complex128/num-bytes","@stdlib/constants/complex64/num-bytes,@stdlib/constants/float64/num-bytes"
13531354
"@stdlib/constants/complex128/zero","@stdlib/constants/complex64/zero"
13541355
"@stdlib/array/complex128","@stdlib/array/complex64,@stdlib/complex/cmplx,@stdlib/complex/float64"

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@
13491349
"@stdlib/constants/complex64/zero","@stdlib/constants-complex64-zero"
13501350
"@stdlib/array/complex64","@stdlib/array-complex64"
13511351
"@stdlib/complex/float64","@stdlib/complex-float64"
1352+
"@stdlib/constants/complex128/nan","@stdlib/constants-complex128-nan"
13521353
"@stdlib/constants/complex128/num-bytes","@stdlib/constants-complex128-num-bytes"
13531354
"@stdlib/constants/complex128/zero","@stdlib/constants-complex128-zero"
13541355
"@stdlib/array/complex128","@stdlib/array-complex128"

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,7 @@
13491349
"@stdlib/constants-complex64-zero","@stdlib/constants/complex64/zero"
13501350
"@stdlib/array-complex64","@stdlib/array/complex64"
13511351
"@stdlib/complex-float64","@stdlib/complex/float64"
1352+
"@stdlib/constants-complex128-nan","@stdlib/constants/complex128/nan"
13521353
"@stdlib/constants-complex128-num-bytes","@stdlib/constants/complex128/num-bytes"
13531354
"@stdlib/constants-complex128-zero","@stdlib/constants/complex128/zero"
13541355
"@stdlib/array-complex128","@stdlib/array/complex128"

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

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

lib/node_modules/@stdlib/repl/code-blocks/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2392,6 +2392,7 @@ commonKeysIn,"var obj1 = { 'a': 1, 'b': 2 };\nvar obj2 = { 'a': 1, 'b': 2, 'c':
23922392
complex,"var z = complex( 5.0, 3.0, 'float64' )\nz = complex( 5.0, 3.0, 'float32' )\n"
23932393
Complex64,"var z = new Complex64( 5.0, 3.0 )\nz.re\nz.im\n"
23942394
COMPLEX64_NUM_BYTES,"COMPLEX64_NUM_BYTES\n"
2395+
COMPLEX64_ZERO,"COMPLEX64_ZERO\n"
23952396
Complex128,"var z = new Complex128( 5.0, 3.0 )\nz.re\nz.im\n"
23962397
COMPLEX128_NUM_BYTES,"COMPLEX128_NUM_BYTES\n"
23972398
COMPLEX128_ZERO,"COMPLEX128_ZERO\n"

lib/node_modules/@stdlib/repl/code-blocks/data/data.json

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

lib/node_modules/@stdlib/repl/help/data/data.csv

+2-1
Original file line numberDiff line numberDiff line change
@@ -2394,8 +2394,9 @@ Complex64,"\nComplex64( real, imag )\n 64-bit complex number constructor.\n\n
23942394
COMPLEX64_NUM_BYTES,"\nCOMPLEX64_NUM_BYTES\n Size (in bytes) of a 64-bit complex number.\n\n Examples\n --------\n > COMPLEX64_NUM_BYTES\n 8\n\n See Also\n --------\n COMPLEX128_NUM_BYTES, FLOAT32_NUM_BYTES\n"
23952395
COMPLEX64_ZERO,"\nCOMPLEX64_ZERO\n Single-precision complex floating-point zero.\n\n Examples\n --------\n > COMPLEX64_ZERO\n <Complex64>\n\n See Also\n --------\n COMPLEX128_ZERO\n"
23962396
Complex128,"\nComplex128( real, imag )\n 128-bit complex number constructor.\n\n Both the real and imaginary components are stored as double-precision\n floating-point numbers.\n\n Parameters\n ----------\n real: number\n Real component.\n\n imag: number\n Imaginary component.\n\n Returns\n -------\n z: Complex128\n 128-bit complex number.\n\n z.re: number\n Read-only property returning the real component.\n\n z.im: number\n Read-only property returning the imaginary component.\n\n z.BYTES_PER_ELEMENT\n Size (in bytes) of each component. Value: 8.\n\n z.byteLength\n Length (in bytes) of a complex number. Value: 16.\n\n Examples\n --------\n > var z = new Complex128( 5.0, 3.0 )\n <Complex128>\n > z.re\n 5.0\n > z.im\n 3.0\n\n See Also\n --------\n complex, Complex64\n"
2397+
COMPLEX128_NAN,"\nCOMPLEX128_NAN\n Canonical double-precision complex floating-point NaN.\n\n Examples\n --------\n > COMPLEX128_NAN\n <Complex128>\n\n"
23972398
COMPLEX128_NUM_BYTES,"\nCOMPLEX128_NUM_BYTES\n Size (in bytes) of a 128-bit complex number.\n\n Examples\n --------\n > COMPLEX128_NUM_BYTES\n 16\n\n See Also\n --------\n COMPLEX64_NUM_BYTES, FLOAT64_NUM_BYTES\n"
2398-
COMPLEX128_ZERO,"\nCOMPLEX128_ZERO\n Double-precision complex floating-point zero.\n\n Examples\n --------\n > COMPLEX128_ZERO\n <Complex128>\n\n"
2399+
COMPLEX128_ZERO,"\nCOMPLEX128_ZERO\n Double-precision complex floating-point zero.\n\n Examples\n --------\n > COMPLEX128_ZERO\n <Complex128>\n\n See Also\n --------\n COMPLEX64_ZERO\n"
23992400
complexarray,"\ncomplexarray( [dtype] )\n Creates a complex typed array.\n\n The function supports the following data types:\n\n - complex128: double-precision complex floating-point numbers\n - complex64: single-precision complex floating-point numbers\n\n The default typed array data type is `complex128`.\n\n Parameters\n ----------\n dtype: string (optional)\n Data type. Default: 'complex128'.\n\n Returns\n -------\n out: ComplexArray\n A complex number typed array.\n\n Examples\n --------\n > var arr = complexarray()\n <Complex128Array>\n > arr = complexarray( 'complex64' )\n <Complex64Array>\n\n\ncomplexarray( length[, dtype] )\n Returns a complex number typed array having a specified length.\n\n Parameters\n ----------\n length: integer\n Array length.\n\n dtype: string (optional)\n Data type. Default: 'complex128'.\n\n Returns\n -------\n out: ComplexArray\n A complex number typed array.\n\n Examples\n --------\n > var arr = complexarray( 5 )\n <Complex128Array>\n > arr = complexarray( 5, 'complex64' )\n <Complex64Array>\n\n\ncomplexarray( complexarray[, dtype] )\n Creates a complex number typed array from another complex number typed\n array.\n\n Parameters\n ----------\n complexarray: ComplexArray\n Complex number typed array from which to generate another complex number\n typed array.\n\n dtype: string (optional)\n Data type. Default: 'complex128'.\n\n Returns\n -------\n out: ComplexArray\n A complex number typed array.\n\n Examples\n --------\n > var arr1 = complexarray( [ 0.5, 0.5, 0.5, 0.5 ] );\n > var arr2 = complexarray( arr1, 'complex64' )\n <Complex64Array>\n\n\ncomplexarray( obj[, dtype] )\n Creates a complex number typed array from an array-like object or iterable.\n\n If an array-like object contains interleaved real and imaginary components,\n the array-like object must have a length which is a multiple of two.\n\n Parameters\n ----------\n obj: Object\n Array-like object or iterable from which to generate an array.\n\n dtype: string (optional)\n Data type. Default: 'complex128'.\n\n Returns\n -------\n out: ComplexArray\n A complex number typed array.\n\n Examples\n --------\n > var arr1 = [ 0.5, 0.5, 0.5, 0.5 ];\n > var arr2 = complexarray( arr1, 'complex64' )\n <Complex64Array>\n\n\ncomplexarray( buffer[, byteOffset[, length]][, dtype] )\n Returns a complex number typed array view of an ArrayBuffer.\n\n Parameters\n ----------\n buffer: ArrayBuffer\n Underlying ArrayBuffer.\n\n byteOffset: integer (optional)\n Integer byte offset specifying the location of the first array element.\n Default: 0.\n\n length: integer (optional)\n View length. If not provided, the view spans from the byteOffset to\n the end of the underlying ArrayBuffer.\n\n dtype: string (optional)\n Data type. Default: 'complex128'.\n\n Returns\n -------\n out: ComplexArray\n A complex number typed array.\n\n Examples\n --------\n > var buf = new ArrayBuffer( 64 );\n > var arr = complexarray( buf, 0, 8, 'complex64' )\n <Complex64Array>\n\n See Also\n --------\n typedarray, realarray\n"
24002401
complexarrayCtors,"\ncomplexarrayCtors( dtype )\n Returns a complex typed array constructor.\n\n The function returns constructors for the following data types:\n\n - complex64: single-precision floating-point complex numbers.\n - complex128: double-precision floating-point complex numbers.\n\n Parameters\n ----------\n dtype: string\n Data type.\n\n Returns\n -------\n out: Function|null\n Complex typed array constructor.\n\n Examples\n --------\n > var ctor = complexarrayCtors( 'complex64' )\n <Function>\n > ctor = complexarrayCtors( 'float32' )\n null\n\n See Also\n --------\n arrayCtors, typedarrayCtors, realarrayCtors\n"
24012402
complexarrayDataTypes,"\ncomplexarrayDataTypes()\n Returns a list of complex typed array data types.\n\n The output array contains the following data types:\n\n - complex64: single-precision floating-point complex numbers.\n - complex128: double-precision floating-point complex numbers.\n\n Returns\n -------\n out: Array<string>\n List of complex typed array data types.\n\n Examples\n --------\n > var out = complexarrayDataTypes()\n <Array>\n\n See Also\n --------\n arrayDataTypes, typedarrayDataTypes, realarrayDataTypes, ndarrayDataTypes\n"

lib/node_modules/@stdlib/repl/help/data/data.json

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

lib/node_modules/@stdlib/repl/info/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2392,6 +2392,7 @@ commonKeysIn,"\ncommonKeysIn( obj1:any, obj2:any[, ...obj:any] )\n Returns th
23922392
complex,"\ncomplex( real:number, imag:number[, dtype:string] )\n Creates a complex number.\n"
23932393
Complex64,"\nComplex64( real:number, imag:number )\n 64-bit complex number constructor.\n"
23942394
COMPLEX64_NUM_BYTES,"\nCOMPLEX64_NUM_BYTES\n Size (in bytes) of a 64-bit complex number.\n"
2395+
COMPLEX64_ZERO,"\nCOMPLEX64_ZERO\n Single-precision complex floating-point zero.\n"
23952396
Complex128,"\nComplex128( real:number, imag:number )\n 128-bit complex number constructor.\n"
23962397
COMPLEX128_NUM_BYTES,"\nCOMPLEX128_NUM_BYTES\n Size (in bytes) of a 128-bit complex number.\n"
23972398
COMPLEX128_ZERO,"\nCOMPLEX128_ZERO\n Double-precision complex floating-point zero.\n"

lib/node_modules/@stdlib/repl/info/data/data.json

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

lib/node_modules/@stdlib/repl/signature/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2397,6 +2397,7 @@ commonKeysIn,"commonKeysIn( obj1, obj2[, ...obj] )"
23972397
complex,"complex( real, imag[, dtype] )"
23982398
Complex64,"Complex64( real, imag )"
23992399
COMPLEX64_NUM_BYTES,"COMPLEX64_NUM_BYTES"
2400+
COMPLEX64_ZERO,"COMPLEX64_ZERO"
24002401
Complex128,"Complex128( real, imag )"
24012402
COMPLEX128_NUM_BYTES,"COMPLEX128_NUM_BYTES"
24022403
COMPLEX128_ZERO,"COMPLEX128_ZERO"

lib/node_modules/@stdlib/repl/signature/data/data.json

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

lib/node_modules/@stdlib/repl/typed-signature/data/data.csv

+1
Original file line numberDiff line numberDiff line change
@@ -2397,6 +2397,7 @@ commonKeysIn,"commonKeysIn( obj1:any, obj2:any[, ...obj:any] )"
23972397
complex,"complex( real:number, imag:number[, dtype:string] )"
23982398
Complex64,"Complex64( real:number, imag:number )"
23992399
COMPLEX64_NUM_BYTES,"COMPLEX64_NUM_BYTES"
2400+
COMPLEX64_ZERO,"COMPLEX64_ZERO"
24002401
Complex128,"Complex128( real:number, imag:number )"
24012402
COMPLEX128_NUM_BYTES,"COMPLEX128_NUM_BYTES"
24022403
COMPLEX128_ZERO,"COMPLEX128_ZERO"

lib/node_modules/@stdlib/repl/typed-signature/data/data.json

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

0 commit comments

Comments
 (0)