Skip to content

Commit 201c895

Browse files
committed
Update namespace
1 parent 1759de7 commit 201c895

File tree

3 files changed

+13
-0
lines changed
  • lib/node_modules/@stdlib

3 files changed

+13
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,17 @@ ns.push({
237237
]
238238
});
239239

240+
ns.push({
241+
'alias': 'typedarrayComplexCtors',
242+
'path': '@stdlib/array/typed-complex-ctors',
243+
'value': require( '@stdlib/array/typed-complex-ctors' ),
244+
'type': 'Function',
245+
'related': [
246+
'@stdlib/array/ctors',
247+
'@stdlib/array/typed-ctors'
248+
]
249+
});
250+
240251
ns.push({
241252
'alias': 'typedarrayComplexDataTypes',
242253
'path': '@stdlib/array/typed-complex-dtypes',

lib/node_modules/@stdlib/repl/code-blocks/lib/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,7 @@ var db = {
15401540
"TWO_PI": "TWO_PI\n",
15411541
"typedarray2json": "arr = new Float64Array( 2 );\narr[ 0 ] = 5.0;\narr[ 1 ] = 3.0;\njson = typedarray2json( arr )\n",
15421542
"typedarray": "arr = typedarray()\narr = typedarray( 'float32' )\n",
1543+
"typedarrayComplexCtors": "ctor = typedarrayComplexCtors( 'complex64' )\nctor = typedarrayComplexCtors( 'float32' )\n",
15431544
"typedarrayComplexDataTypes": "out = typedarrayComplexDataTypes()\n",
15441545
"typedarrayCtors": "ctor = typedarrayCtors( 'float64' )\nctor = typedarrayCtors( 'float' )\n",
15451546
"typedarrayDataTypes": "out = typedarrayDataTypes()\n",

lib/node_modules/@stdlib/repl/help/lib/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,6 +1541,7 @@ var db = {
15411541
"TWO_PI": "\nTWO_PI\n The mathematical constant `π` times `2`.\n\n Examples\n --------\n > TWO_PI\n 6.283185307179586\n\n See Also\n --------\n PI\n",
15421542
"typedarray2json": "\ntypedarray2json( arr )\n Returns a JSON representation of a typed array.\n\n The following typed array types are supported:\n\n - Float64Array\n - Float32Array\n - Int32Array\n - Uint32Array\n - Int16Array\n - Uint16Array\n - Int8Array\n - Uint8Array\n - Uint8ClampedArray\n\n The returned JSON object has the following properties:\n\n - type: typed array type\n - data: typed array data as a generic array\n\n The implementation supports custom typed arrays and sets the `type` field to\n the closest known typed array type.\n\n Parameters\n ----------\n arr: TypedArray\n Typed array to serialize.\n\n Returns\n -------\n out: Object\n JSON representation.\n\n Examples\n --------\n > var arr = new Float64Array( 2 );\n > arr[ 0 ] = 5.0;\n > arr[ 1 ] = 3.0;\n > var json = typedarray2json( arr )\n { 'type': 'Float64Array', 'data': [ 5.0, 3.0 ] }\n\n See Also\n --------\n reviveTypedArray\n",
15431543
"typedarray": "\ntypedarray( [dtype] )\n Creates a typed array.\n\n The function supports the following data types:\n\n - float64: double-precision floating-point numbers (IEEE 754)\n - float32: single-precision floating-point numbers (IEEE 754)\n - int32: 32-bit two's complement signed integers\n - uint32: 32-bit unsigned integers\n - int16: 16-bit two's complement signed integers\n - uint16: 16-bit unsigned integers\n - int8: 8-bit two's complement signed integers\n - uint8: 8-bit unsigned integers\n - uint8c: 8-bit unsigned integers clamped to 0-255\n\n The default typed array data type is `float64`.\n\n Parameters\n ----------\n dtype: string (optional)\n Data type. Default: 'float64'.\n\n Returns\n -------\n out: TypedArray\n A typed array.\n\n Examples\n --------\n > var arr = typedarray()\n <Float64Array>\n > arr = typedarray( 'float32' )\n <Float32Array>\n\n\ntypedarray( length[, dtype] )\n Returns a typed array having a specified length.\n\n Parameters\n ----------\n length: integer\n Typed array length.\n\n dtype: string (optional)\n Data type. Default: 'float64'.\n\n Returns\n -------\n out: TypedArray\n A typed array.\n\n Examples\n --------\n > var arr = typedarray( 5 )\n <Float64Array>[ 0.0, 0.0, 0.0, 0.0, 0.0 ]\n > arr = typedarray( 5, 'int32' )\n <Int32Array>[ 0, 0, 0, 0, 0 ]\n\n\ntypedarray( typedarray[, dtype] )\n Creates a typed array from another typed array.\n\n Parameters\n ----------\n typedarray: TypedArray\n Typed array from which to generate another typed array.\n\n dtype: string (optional)\n Data type. Default: 'float64'.\n\n Returns\n -------\n out: TypedArray\n A typed array.\n\n Examples\n --------\n > var arr1 = typedarray( [ 0.5, 0.5, 0.5 ] );\n > var arr2 = typedarray( arr1, 'float32' )\n <Float32Array>[ 0.5, 0.5, 0.5 ]\n\n\ntypedarray( obj[, dtype] )\n Creates a typed array from an array-like object or iterable.\n\n Parameters\n ----------\n obj: Object\n Array-like object or iterable from which to generate a typed array.\n\n dtype: string (optional)\n Data type. Default: 'float64'.\n\n Returns\n -------\n out: TypedArray\n A typed array.\n\n Examples\n --------\n > var arr1 = [ 0.5, 0.5, 0.5 ];\n > var arr2 = typedarray( arr1, 'float32' )\n <Float32Array>[ 0.5, 0.5, 0.5 ]\n\n\ntypedarray( buffer[, byteOffset[, length]][, dtype] )\n Returns a 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 typed array\n element. 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: 'float64'.\n\n Returns\n -------\n out: TypedArray\n A typed array.\n\n Examples\n --------\n > var buf = new ArrayBuffer( 16 );\n > var arr = typedarray( buf, 0, 4, 'float32' )\n <Float32Array>[ 0.0, 0.0, 0.0, 0.0 ]\n\n See Also\n --------\n Float64Array, Float32Array, Int32Array, Uint32Array, Int16Array, Uint16Array, Int8Array, Uint8Array, Uint8ClampedArray\n",
1544+
"typedarrayComplexCtors": "\ntypedarrayComplexCtors( 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 = typedarrayComplexCtors( 'complex64' )\n <Function>\n > ctor = typedarrayComplexCtors( 'float32' )\n null\n\n See Also\n --------\n arrayCtors, typedarrayCtors\n",
15441545
"typedarrayComplexDataTypes": "\ntypedarrayComplexDataTypes()\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 = typedarrayComplexDataTypes()\n <Array>\n\n See Also\n --------\n arrayDataTypes, typedarrayDataTypes, ndarrayDataTypes\n",
15451546
"typedarrayCtors": "\ntypedarrayCtors( dtype )\n Returns a typed array constructor.\n\n The function returns constructors for the following data types:\n\n - float32: single-precision floating-point numbers.\n - float64: double-precision floating-point numbers.\n - int16: signed 16-bit integers.\n - int32: signed 32-bit integers.\n - int8: signed 8-bit integers.\n - uint16: unsigned 16-bit integers.\n - uint32: unsigned 32-bit integers.\n - uint8: unsigned 8-bit integers.\n - uint8c: unsigned clamped 8-bit integers.\n\n Parameters\n ----------\n dtype: string\n Data type.\n\n Returns\n -------\n out: Function|null\n Typed array constructor.\n\n Examples\n --------\n > var ctor = typedarrayCtors( 'float64' )\n <Function>\n > ctor = typedarrayCtors( 'float' )\n null\n\n See Also\n --------\n arrayCtors\n",
15461547
"typedarrayDataTypes": "\ntypedarrayDataTypes()\n Returns a list of typed array data types.\n\n The output array contains the following data types:\n\n - float32: single-precision floating-point numbers.\n - float64: double-precision floating-point numbers.\n - int16: signed 16-bit integers.\n - int32: signed 32-bit integers.\n - int8: signed 8-bit integers.\n - uint16: unsigned 16-bit integers.\n - uint32: unsigned 32-bit integers.\n - uint8: unsigned 8-bit integers.\n - uint8c: unsigned clamped 8-bit integers.\n\n Returns\n -------\n out: Array<string>\n List of typed array data types.\n\n Examples\n --------\n > var out = typedarrayDataTypes()\n <Array>\n\n See Also\n --------\n arrayDataTypes, ndarrayDataTypes\n",

0 commit comments

Comments
 (0)