Skip to content

Commit aeaab53

Browse files
committed
Auto-generated commit
1 parent 617c0be commit aeaab53

File tree

18 files changed

+2191
-13824
lines changed

18 files changed

+2191
-13824
lines changed

CHANGELOG.md

Lines changed: 1931 additions & 13803 deletions
Large diffs are not rendered by default.

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ Yaswanth Kosuru <[email protected]>
179179
Yernar Yergaziyev <[email protected]>
180180
Yugal Kaushik <[email protected]>
181181
Yuvi Mittal <[email protected]>
182+
devshree-bhati <[email protected]>
182183
183184
ekambains <[email protected]>
184185
fadiothman22 <[email protected]>

base/accessors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var fcns = obj.accessors;
8181
- **idx**: element index.
8282
- **value**: value to set.
8383

84-
- The intent of this function is to provide a minimal abstraction over how elements are accessed when operating on indexed (i.e., array-like objects supporting element accesss via integer indices using bracket `[]` syntax) and accessor (i.e., array-like objects supporting the get/set protocol in which explicit `get` and `set` methods are used for element access) array-like objects.
84+
- The intent of this function is to provide a minimal abstraction over how elements are accessed when operating on indexed (i.e., array-like objects supporting element access via integer indices using bracket `[]` syntax) and accessor (i.e., array-like objects supporting the get/set protocol in which explicit `get` and `set` methods are used for element access) array-like objects.
8585

8686
</section>
8787

base/at/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The function accepts the following arguments:
7272

7373
## Notes
7474

75-
- If provided an array-like object having an `at` method , the function defers execution to that method and assumes that the method has the following signature:
75+
- If provided an array-like object having an `at` method, the function defers execution to that method and assumes that the method has the following signature:
7676

7777
```text
7878
x.at( index )

base/cusome-by/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function fcn( value) {
4242
var x = [ 0, 0, 0, 1, 1 ];
4343

4444
var y = cusomeBy( x, 2, fcn );
45-
// returns [ false, false, false , false, true ]
45+
// returns [ false, false, false, false, true ]
4646
```
4747

4848
The invoked `predicate` function is provided three arguments:

base/for-each/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# forEach
2222

23-
> Invoke a callback funcion once for each array element.
23+
> Invoke a callback function once for each array element.
2424
2525
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
2626

defaults/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ The returned object has the following properties:
5959
- **floating_point**: default floating-point data type.
6060
- **real_floating_point**: default real-valued floating-point data type.
6161
- **complex_floating_point**: default complex-valued floating-point data type.
62-
- **boolean**: default boolean data type.
6362
- **integer**: default integer data type.
6463
- **signed_integer**: default signed integer data type.
6564
- **unsigned_integer**: default unsigned integer data type.
65+
- **boolean**: default boolean data type.
66+
- **index**: default index data type.
67+
- **integer_index**: default integer index data type.
68+
- **boolean_index**: default boolean index data type.
69+
- **mask_index**: default mask index data type.
6670

6771
#### defaults.get( name )
6872

defaults/docs/repl.txt

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
out.dtypes.complex_floating_point: string
2929
Default complex-valued floating-point data type.
3030

31-
out.dtypes.boolean: string
32-
Default boolean data type.
33-
3431
out.dtypes.integer: string
3532
Default integer data type.
3633

@@ -40,6 +37,21 @@
4037
out.dtypes.unsigned_integer: string
4138
Default unsigned integer data type.
4239

40+
out.dtypes.boolean: string
41+
Default boolean data type.
42+
43+
out.dtypes.index: string
44+
Default index data type.
45+
46+
out.dtypes.integer_index: string
47+
Default integer index data type.
48+
49+
out.dtypes.boolean_index: string
50+
Default boolean index data type.
51+
52+
out.dtypes.mask_index: string
53+
Default mask index data type.
54+
4355
Examples
4456
--------
4557
> var out = {{alias}}()

defaults/docs/types/index.d.ts

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ interface DataTypes {
5252
*/
5353
complex_floating_point: 'complex128';
5454

55-
/**
56-
* Default boolean data type.
57-
*/
58-
boolean: 'bool';
59-
6055
/**
6156
* Default integer data type.
6257
*/
@@ -71,6 +66,31 @@ interface DataTypes {
7166
* Default unsigned integer data type.
7267
*/
7368
unsigned_integer: 'uint32';
69+
70+
/**
71+
* Default boolean data type.
72+
*/
73+
boolean: 'bool';
74+
75+
/**
76+
* Default index data type.
77+
*/
78+
index: 'int32';
79+
80+
/**
81+
* Default integer index data type.
82+
*/
83+
integer_index: 'int32';
84+
85+
/**
86+
* Default boolean index data type.
87+
*/
88+
boolean_index: 'bool';
89+
90+
/**
91+
* Default mask index data type.
92+
*/
93+
mask_index: 'uint8';
7494
}
7595

7696
/**

defaults/lib/get.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ var HASH = {
3333
'dtypes.floating_point': DEFAULTS.dtypes.floating_point,
3434
'dtypes.real_floating_point': DEFAULTS.dtypes.real_floating_point,
3535
'dtypes.complex_floating_point': DEFAULTS.dtypes.complex_floating_point,
36-
'dtypes.boolean': DEFAULTS.dtypes.boolean,
3736
'dtypes.integer': DEFAULTS.dtypes.integer,
3837
'dtypes.signed_integer': DEFAULTS.dtypes.signed_integer,
39-
'dtypes.unsigned_integer': DEFAULTS.dtypes.unsigned_integer
38+
'dtypes.unsigned_integer': DEFAULTS.dtypes.unsigned_integer,
39+
'dtypes.boolean': DEFAULTS.dtypes.boolean,
40+
'dtypes.index': DEFAULTS.dtypes.index,
41+
'dtypes.integer_index': DEFAULTS.dtypes.integer_index,
42+
'dtypes.boolean_index': DEFAULTS.dtypes.boolean_index,
43+
'dtypes.mask_index': DEFAULTS.dtypes.mask_index
4044
};
4145

4246

0 commit comments

Comments
 (0)