File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/node_modules/@stdlib/ndarray Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2909,14 +2909,14 @@ interface Namespace {
29092909 * @returns zero-filled array
29102910 *
29112911 * @example
2912- * var arr = ns.zeros( 'float32 ', [ 2, 2 ], 'row-major' );
2912+ * var arr = ns.zeros( 'float64 ', [ 2, 2 ], 'row-major' );
29132913 * // returns <ndarray>
29142914 *
29152915 * var sh = arr.shape;
29162916 * // returns [ 2, 2 ]
29172917 *
29182918 * var dt = arr.dtype;
2919- * // returns 'float32 '
2919+ * // returns 'float64 '
29202920 */
29212921 zeros : typeof zeros ;
29222922
Original file line number Diff line number Diff line change @@ -598,7 +598,8 @@ interface Namespace {
598598 *
599599 * - If a `dtype` option is not provided and `value`
600600 *
601- * - is a `number`, the default data type is the default real-valued floating-point data type.
601+ * - is a number, the default data type is the default real-valued floating-point data type.
602+ * - is a boolean, the default data type is the default boolean data type.
602603 * - is a complex number object of a known complex data type, the data type is the same as the provided value.
603604 * - is a complex number object of an unknown complex data type, the default data type is the default complex-valued floating-point data type.
604605 * - is any other value type, the default data type is `'generic'`.
You can’t perform that action at this time.
0 commit comments