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 Oct 8, 2023
1 parent d851fea commit 410ace6
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 23 deletions.
4 changes: 1 addition & 3 deletions code-blocks/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3668,6 +3668,7 @@ ndarray.prototype.toString,"var b = [ 1, 2, 3, 4 ];\nvar d = [ 2, 2 ];\nvar s =
ndarray.prototype.toJSON,"var b = [ 1, 2, 3, 4 ];\nvar d = [ 2, 2 ];\nvar s = [ 2, 1 ];\nvar o = 0;\nvar arr = ndarray( 'generic', b, d, s, o, 'row-major' );\narr.toJSON()\n"
ndarray2array,"var arr = array( [ [ 1, 2 ], [ 3, 4 ] ] );\nvar out = ndarray2array( arr )\n"
ndarrayCastingModes,"var out = ndarrayCastingModes()\n"
ndarrayDataType,"var opts = { 'dtype': 'float64' };\nvar dt = ndarrayDataType( ndzeros( [ 3, 3, 3 ], opts ) )\n"
ndarrayDataTypes,"var out = ndarrayDataTypes()\nout = ndarrayDataTypes( 'floating_point' )\n"
ndarrayDispatch,"var t = [ 'float64', 'float64', 'float32', 'float32' ];\nvar d = [ base.abs, base.absf ];\nvar f = ndarrayDispatch( base.ndarrayUnary, t, d, 2, 1, 1 );\nvar xbuf = new Float64Array( [ -1.0, -2.0, -3.0, -4.0 ] );\nvar x = ndarray( 'float64', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );\nvar ybuf = new Float64Array( [ 0.0, 0.0, 0.0, 0.0 ] );\nvar y = ndarray( 'float64', ybuf, [ 4 ], [ 1 ], 0, 'row-major' );\nf( x, y );\nybuf\n"
ndarrayIndexModes,"var out = ndarrayIndexModes()\n"
Expand All @@ -3685,11 +3686,8 @@ nditerEntries,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] );\nvar it = nditerEntries(
nditerIndices,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] );\nvar it = nditerIndices( x.shape );\nvar v = it.next().value\nv = it.next().value\n"
nditerRows,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] );\nvar it = nditerRows( x );\nvar v = it.next().value;\nndarray2array( v )\nv = it.next().value;\nndarray2array( v )\n"
nditerValues,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] );\nvar it = nditerValues( x );\nvar v = it.next().value\nv = it.next().value\n"
ndoffset,"var n = ndoffset( ndzeros( [ 3, 3, 3 ] ) )\n"
ndshape,"var out = ndshape( ndzeros( [ 3, 3, 3 ] ) )\n"
ndslice,"var x = array( [ [ 1, 2 ], [ 3, 4 ] ] )\nx.shape\nvar s = new MultiSlice( null, 1 )\nvar y = ndslice( x, s )\ny.shape\nndarray2array( y )\n"
ndsliceAssign,"var y = ndzeros( [ 2, 2 ] )\nvar x = scalar2ndarray( 3.0 )\nvar s = new MultiSlice( null, 1 )\nvar out = ndsliceAssign( x, y, s )\nvar bool = ( out === y )\nndarray2array( y )\n"
ndstrides,"var out = ndstrides( ndzeros( [ 3, 3, 3 ] ) )\n"
ndzeros,"var arr = ndzeros( [ 2, 2 ] )\nvar sh = arr.shape\nvar dt = arr.dtype\n"
ndzerosLike,"var x = base.ndzeros( 'float64', [ 2, 2 ], 'row-major' )\nvar sh = x.shape\nvar dt = x.dtype\nvar y = ndzerosLike( x )\nsh = y.shape\ndt = y.dtype\n"
nextGraphemeClusterBreak,"var out = nextGraphemeClusterBreak( 'last man standing', 4 )\nout = nextGraphemeClusterBreak( 'presidential election', 8 )\nout = nextGraphemeClusterBreak( 'अनुच्छेद', 1 )\nout = nextGraphemeClusterBreak( '🌷' )\n"
Expand Down
2 changes: 1 addition & 1 deletion code-blocks/data/data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 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.

4 changes: 1 addition & 3 deletions info/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3668,6 +3668,7 @@ ndarray.prototype.toString,"\nndarray.prototype.toString()\n Serializes an nd
ndarray.prototype.toJSON,"\nndarray.prototype.toJSON()\n Serializes an ndarray as a JSON object.\n"
ndarray2array,"\nndarray2array( arr:ndarray )\n Converts an ndarray to a generic array.\n"
ndarrayCastingModes,"\nndarrayCastingModes()\n Returns a list of ndarray casting modes.\n"
ndarrayDataType,"\nndarrayDataType( x:ndarray )\n Returns the data type of a provided ndarray.\n"
ndarrayDataTypes,"\nndarrayDataTypes( [kind:string] )\n Returns a list of ndarray data types.\n"
ndarrayDispatch,"\nndarrayDispatch( fcns:Function|ArrayLikeObject<Function>, \n types:ArrayLikeObject, data:ArrayLikeObject|null, nargs:integer, nin:integer, \n nout:integer )\n Returns an ndarray function interface which performs multiple dispatch.\n"
ndarrayIndexModes,"\nndarrayIndexModes()\n Returns a list of ndarray index modes.\n"
Expand All @@ -3685,11 +3686,8 @@ nditerEntries,"\nnditerEntries( x:ndarray[, options:Object] )\n Returns an it
nditerIndices,"\nnditerIndices( shape:Array<integer>[, options:Object] )\n Returns an iterator which returns indices for use indexing into an ndarray\n having a specified shape.\n"
nditerRows,"\nnditerRows( x:ndarray[, options:Object] )\n Returns an iterator which iterates over each row in a matrix (or stack of\n matrices).\n"
nditerValues,"\nnditerValues( x:ndarray[, options:Object] )\n Returns an iterator which returns individual elements from a provided\n ndarray.\n"
ndoffset,"\nndoffset( x:ndarray )\n Returns the index offset specifying the underlying buffer index of the first\n iterated ndarray element.\n"
ndshape,"\nndshape( x:ndarray )\n Returns the shape of a provided ndarray.\n"
ndslice,"\nndslice( x:ndarray, ...s:MultiSlice|Slice|null|undefined|integer|ArrayLike[, \n options:Object] )\n Returns a read-only view of an input ndarray.\n"
ndsliceAssign,"\nndsliceAssign( x:ndarray, y:ndarray, \n ...s:MultiSlice|Slice|null|undefined|integer|ArrayLike[, options:Object] )\n Assigns element values from a broadcasted input ndarray to corresponding\n elements in an output ndarray view.\n"
ndstrides,"\nndstrides( x:ndarray )\n Returns the strides of a provided ndarray.\n"
ndzeros,"\nndzeros( shape:ArrayLikeObject<integer>|integer[, options:Object] )\n Returns a zero-filled ndarray having a specified shape and data type.\n"
ndzerosLike,"\nndzerosLike( x:ndarray[, options:Object] )\n Returns a zero-filled ndarray having the same shape and data type as a\n provided input ndarray.\n"
nextGraphemeClusterBreak,"\nnextGraphemeClusterBreak( str:string[, fromIndex:integer] )\n Returns the next extended grapheme cluster break in a string after a\n specified position.\n"
Expand Down
2 changes: 1 addition & 1 deletion info/data/data.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3705,6 +3705,7 @@ ndarray.prototype.toString,"ndarray.prototype.toString()"
ndarray.prototype.toJSON,"ndarray.prototype.toJSON()"
ndarray2array,"ndarray2array( arr )"
ndarrayCastingModes,"ndarrayCastingModes()"
ndarrayDataType,"ndarrayDataType( x )"
ndarrayDataTypes,"ndarrayDataTypes( [kind] )"
ndarrayDispatch,"ndarrayDispatch( fcns, types, data, nargs, nin, nout )"
ndarrayIndexModes,"ndarrayIndexModes()"
Expand All @@ -3722,11 +3723,8 @@ nditerEntries,"nditerEntries( x[, options] )"
nditerIndices,"nditerIndices( shape[, options] )"
nditerRows,"nditerRows( x[, options] )"
nditerValues,"nditerValues( x[, options] )"
ndoffset,"ndoffset( x )"
ndshape,"ndshape( x )"
ndslice,"ndslice( x, ...s[, options] )"
ndsliceAssign,"ndsliceAssign( x, y, ...s[, options] )"
ndstrides,"ndstrides( x )"
ndzeros,"ndzeros( shape[, options] )"
ndzerosLike,"ndzerosLike( x[, options] )"
nextGraphemeClusterBreak,"nextGraphemeClusterBreak( str[, fromIndex] )"
Expand Down
2 changes: 1 addition & 1 deletion signature/data/data.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions typed-signature/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3705,6 +3705,7 @@ ndarray.prototype.toString,"ndarray.prototype.toString()"
ndarray.prototype.toJSON,"ndarray.prototype.toJSON()"
ndarray2array,"ndarray2array( arr:ndarray )"
ndarrayCastingModes,"ndarrayCastingModes()"
ndarrayDataType,"ndarrayDataType( x:ndarray )"
ndarrayDataTypes,"ndarrayDataTypes( [kind:string] )"
ndarrayDispatch,"ndarrayDispatch( fcns:Function|ArrayLikeObject<Function>, types:ArrayLikeObject, data:ArrayLikeObject|null, nargs:integer, nin:integer, nout:integer )"
ndarrayIndexModes,"ndarrayIndexModes()"
Expand All @@ -3722,11 +3723,8 @@ nditerEntries,"nditerEntries( x:ndarray[, options:Object] )"
nditerIndices,"nditerIndices( shape:Array<integer>[, options:Object] )"
nditerRows,"nditerRows( x:ndarray[, options:Object] )"
nditerValues,"nditerValues( x:ndarray[, options:Object] )"
ndoffset,"ndoffset( x:ndarray )"
ndshape,"ndshape( x:ndarray )"
ndslice,"ndslice( x:ndarray, ...s:MultiSlice|Slice|null|undefined|integer|ArrayLike[, options:Object] )"
ndsliceAssign,"ndsliceAssign( x:ndarray, y:ndarray, ...s:MultiSlice|Slice|null|undefined|integer|ArrayLike[, options:Object] )"
ndstrides,"ndstrides( x:ndarray )"
ndzeros,"ndzeros( shape:ArrayLikeObject<integer>|integer[, options:Object] )"
ndzerosLike,"ndzerosLike( x:ndarray[, options:Object] )"
nextGraphemeClusterBreak,"nextGraphemeClusterBreak( str:string[, fromIndex:integer] )"
Expand Down
2 changes: 1 addition & 1 deletion typed-signature/data/data.json

Large diffs are not rendered by default.

0 comments on commit 410ace6

Please sign in to comment.