Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 20, 2024
1 parent a5074e8 commit 3bc9305
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
# Upload the download data:
- name: 'Upload data'
# Pin action to full length commit SHA corresponding to v3.1.3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
# Pin action to full length commit SHA
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
# Define a name for the uploaded artifact (ensuring a unique name for each job):
name: npm_downloads
Expand Down
11 changes: 11 additions & 0 deletions code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ array,"var arr = array( [ [ 1.0, 2.0 ], [ 3.0, 4.0 ] ] )\nvar v = arr.get( 1, 1
array2buffer,"var buf = array2buffer( [ 1, 2, 3, 4 ] )\n"
array2fancy,"var y = array2fancy( [ 1, 2, 3, 4 ] );\ny[ '1::2' ]\ny[ '::-1' ]\n"
array2fancy.factory,"var f = array2fancy.factory();\nvar y = f( [ 1, 2, 3, 4 ] );\ny[ '1::2' ]\ny[ '::-1' ]\n"
array2fancy.idx,"var idx = array2fancy.idx( [ 1, 2, 3, 4 ] );\n"
array2iterator,"var it = array2iterator( [ 1, 2, 3, 4 ] );\nvar v = it.next().value\nv = it.next().value\n"
array2iteratorRight,"var it = array2iteratorRight( [ 1, 2, 3, 4 ] );\nvar v = it.next().value\nv = it.next().value\n"
ArrayBuffer,"var buf = new ArrayBuffer( 5 )\n"
Expand All @@ -50,6 +51,16 @@ arraybuffer2buffer,"var ab = new ArrayBuffer( 10 )\nvar buf = arraybuffer2buffer
arrayCtors,"var ctor = arrayCtors( 'float64' )\nctor = arrayCtors( 'float' )\n"
arrayDataType,"var arr = new Float64Array( 10 );\nvar dt = arrayDataType( arr )\ndt = arrayDataType( 'beep' )\n"
arrayDataTypes,"var out = arrayDataTypes()\nout = arrayDataTypes( 'floating_point' )\nout = arrayDataTypes( 'floating_point_and_generic' )\n"
ArrayIndex,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\n"
ArrayIndex.free,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\n// ...\nArrayIndex.free( idx.id )\n"
ArrayIndex.get,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nArrayIndex.get( idx.id )\n"
ArrayIndex.prototype.data,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.data\n"
ArrayIndex.prototype.dtype,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.dtype\n"
ArrayIndex.prototype.id,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.id\n"
ArrayIndex.prototype.isCached,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.isCached\n"
ArrayIndex.prototype.type,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.type\n"
ArrayIndex.prototype.toString,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.toString()\n"
ArrayIndex.prototype.toJSON,"var idx = new ArrayIndex( [ 1, 2, 3, 4 ] );\nidx.toJSON()\n"
arrayMinDataType,"var dt = arrayMinDataType( 3.141592653589793 )\ndt = arrayMinDataType( 3 )\ndt = arrayMinDataType( -3 )\ndt = arrayMinDataType( '-3' )\n"
arrayMostlySafeCasts,"var out = arrayMostlySafeCasts( 'float32' )\n"
arrayNextDataType,"var out = arrayNextDataType( 'float32' )\n"
Expand Down
2 changes: 1 addition & 1 deletion code-blocks/data/data.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions help/data/data.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion help/data/data.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ array,"\narray( [buffer:Array|TypedArray|Buffer|ndarray,] [options:Object] )\n
array2buffer,"\narray2buffer( arr:Array<integer> )\n Allocates a buffer using an octet array.\n"
array2fancy,"\narray2fancy( x:Array|TypedArray|Object[, options:Object] )\n Converts an array to an object supporting fancy indexing.\n"
array2fancy.factory,"\narray2fancy.factory( [options:Object] )\n Returns a function for converting an array to an object supporting fancy\n indexing.\n"
array2fancy.idx,"\narray2fancy.idx( x:Array|TypedArray|Object[, options:Object] )\n Wraps a provided array as an array index object.\n"
array2iterator,"\narray2iterator( src:ArrayLikeObject[, mapFcn:Function[, thisArg:any]] )\n Returns an iterator which iterates over the elements of an array-like\n object.\n"
array2iteratorRight,"\narray2iteratorRight( src:ArrayLikeObject[, mapFcn:Function[, thisArg:any]] )\n Returns an iterator which iterates from right to left over the elements of\n an array-like object.\n"
ArrayBuffer,"\nArrayBuffer( size:integer )\n Returns an array buffer having a specified number of bytes.\n"
Expand All @@ -50,6 +51,16 @@ arraybuffer2buffer,"\narraybuffer2buffer( buf:ArrayBuffer[, byteOffset:integer[,
arrayCtors,"\narrayCtors( dtype:string )\n Returns an array constructor.\n"
arrayDataType,"\narrayDataType( array:any )\n Returns the data type of an array.\n"
arrayDataTypes,"\narrayDataTypes( [kind:string] )\n Returns a list of array data types.\n"
ArrayIndex,"\nArrayIndex( x:Array|TypedArray|Object[, options:Object] )\n Wraps a provided array as an array index object.\n"
ArrayIndex.free,"\nArrayIndex.free( id:string )\n Frees the instance associated with a provided identifier.\n"
ArrayIndex.get,"\nArrayIndex.get( id:string )\n Returns the array associated with the instance having a provided identifier.\n"
ArrayIndex.prototype.data,"\nArrayIndex.prototype.data\n Read-only property returning the underlying index array.\n"
ArrayIndex.prototype.dtype,"\nArrayIndex.prototype.dtype\n Read-only property returning the underlying data type of the index array.\n"
ArrayIndex.prototype.id,"\nArrayIndex.prototype.id\n Read-only property returning the unique identifier associated with an\n instance.\n"
ArrayIndex.prototype.isCached,"\nArrayIndex.prototype.isCached\n Read-only property returning a boolean indicating whether an array index is\n actively cached.\n"
ArrayIndex.prototype.type,"\nArrayIndex.prototype.type\n Read-only property returning the array index type.\n"
ArrayIndex.prototype.toString,"\nArrayIndex.prototype.toString()\n Serializes an instance as a string.\n"
ArrayIndex.prototype.toJSON,"\nArrayIndex.prototype.toJSON()\n Serializes an instance as a JSON object.\n"
arrayMinDataType,"\narrayMinDataType( value:any )\n Returns the minimum array data type of the closest \"kind\" necessary for\n storing a provided scalar value.\n"
arrayMostlySafeCasts,"\narrayMostlySafeCasts( [dtype:any] )\n Returns a list of array data types to which a provided array data type can\n be safely cast and, for floating-point data types, can be downcast.\n"
arrayNextDataType,"\narrayNextDataType( [dtype:string] )\n Returns the next larger array data type of the same kind.\n"
Expand Down
2 changes: 1 addition & 1 deletion info/data/data.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ array,"array( [buffer,] [options] )"
array2buffer,"array2buffer( arr )"
array2fancy,"array2fancy( x[, options] )"
array2fancy.factory,"array2fancy.factory( [options] )"
array2fancy.idx,"array2fancy.idx( x[, options] )"
array2iterator,"array2iterator( src[, mapFcn[, thisArg]] )"
array2iteratorRight,"array2iteratorRight( src[, mapFcn[, thisArg]] )"
ArrayBuffer,"ArrayBuffer( size )"
Expand All @@ -50,6 +51,16 @@ arraybuffer2buffer,"arraybuffer2buffer( buf[, byteOffset[, length]] )"
arrayCtors,"arrayCtors( dtype )"
arrayDataType,"arrayDataType( array )"
arrayDataTypes,"arrayDataTypes( [kind] )"
ArrayIndex,"ArrayIndex( x[, options] )"
ArrayIndex.free,"ArrayIndex.free( id )"
ArrayIndex.get,"ArrayIndex.get( id )"
ArrayIndex.prototype.data,"ArrayIndex.prototype.data"
ArrayIndex.prototype.dtype,"ArrayIndex.prototype.dtype"
ArrayIndex.prototype.id,"ArrayIndex.prototype.id"
ArrayIndex.prototype.isCached,"ArrayIndex.prototype.isCached"
ArrayIndex.prototype.type,"ArrayIndex.prototype.type"
ArrayIndex.prototype.toString,"ArrayIndex.prototype.toString()"
ArrayIndex.prototype.toJSON,"ArrayIndex.prototype.toJSON()"
arrayMinDataType,"arrayMinDataType( value )"
arrayMostlySafeCasts,"arrayMostlySafeCasts( [dtype] )"
arrayNextDataType,"arrayNextDataType( [dtype] )"
Expand Down
2 changes: 1 addition & 1 deletion signature/data/data.json

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ array,"array( [buffer:Array|TypedArray|Buffer|ndarray,] [options:Object] )"
array2buffer,"array2buffer( arr:Array<integer> )"
array2fancy,"array2fancy( x:Array|TypedArray|Object[, options:Object] )"
array2fancy.factory,"array2fancy.factory( [options:Object] )"
array2fancy.idx,"array2fancy.idx( x:Array|TypedArray|Object[, options:Object] )"
array2iterator,"array2iterator( src:ArrayLikeObject[, mapFcn:Function[, thisArg:any]] )"
array2iteratorRight,"array2iteratorRight( src:ArrayLikeObject[, mapFcn:Function[, thisArg:any]] )"
ArrayBuffer,"ArrayBuffer( size:integer )"
Expand All @@ -50,6 +51,16 @@ arraybuffer2buffer,"arraybuffer2buffer( buf:ArrayBuffer[, byteOffset:integer[, l
arrayCtors,"arrayCtors( dtype:string )"
arrayDataType,"arrayDataType( array:any )"
arrayDataTypes,"arrayDataTypes( [kind:string] )"
ArrayIndex,"ArrayIndex( x:Array|TypedArray|Object[, options:Object] )"
ArrayIndex.free,"ArrayIndex.free( id:string )"
ArrayIndex.get,"ArrayIndex.get( id:string )"
ArrayIndex.prototype.data,"ArrayIndex.prototype.data"
ArrayIndex.prototype.dtype,"ArrayIndex.prototype.dtype"
ArrayIndex.prototype.id,"ArrayIndex.prototype.id"
ArrayIndex.prototype.isCached,"ArrayIndex.prototype.isCached"
ArrayIndex.prototype.type,"ArrayIndex.prototype.type"
ArrayIndex.prototype.toString,"ArrayIndex.prototype.toString()"
ArrayIndex.prototype.toJSON,"ArrayIndex.prototype.toJSON()"
arrayMinDataType,"arrayMinDataType( value:any )"
arrayMostlySafeCasts,"arrayMostlySafeCasts( [dtype:any] )"
arrayNextDataType,"arrayNextDataType( [dtype:string] )"
Expand Down
2 changes: 1 addition & 1 deletion typed-signature/data/data.json

Large diffs are not rendered by default.

0 comments on commit 3bc9305

Please sign in to comment.