Skip to content

Commit d00d255

Browse files
authored
Fix meshgrid formatting (#178)
1 parent 30b0391 commit d00d255

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/API_specification/creation_functions.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -302,23 +302,23 @@ Returns coordinate matrices from coordinate vectors.
302302
303303
- **indexing**: _str_
304304
305-
- Cartesian 'xy' or matrix 'ij' indexing of output. If provided zero or one one-dimensional vector(s) (i.e., the zero- and one-dimensional cases, respectively), the `indexing` keyword has no effect and should be ignored. Default: `'xy'`.
305+
- Cartesian 'xy' or matrix 'ij' indexing of output. If provided zero or one one-dimensional vector(s) (i.e., the zero- and one-dimensional cases, respectively), the `indexing` keyword has no effect and should be ignored. Default: `'xy'`.
306306
307307
#### Returns
308308
309309
- **out**: _List\[ <array>, ... ]_
310310
311-
- list of N arrays, where `N` is the number of provided one-dimensional input arrays. Each returned array must have rank `N`. For `N` one-dimensional arrays having lengths `Ni = len(xi)`,
311+
- list of N arrays, where `N` is the number of provided one-dimensional input arrays. Each returned array must have rank `N`. For `N` one-dimensional arrays having lengths `Ni = len(xi)`,
312312
313-
- if matrix indexing `ij`, then each returned array must have the shape `(N1, N2, N3, ..., Nn)`.
313+
- if matrix indexing `ij`, then each returned array must have the shape `(N1, N2, N3, ..., Nn)`.
314314
315-
- if Cartesian indexing `xy`, then each returned array must have shape `(N2, N1, N3, ..., Nn)`.
315+
- if Cartesian indexing `xy`, then each returned array must have shape `(N2, N1, N3, ..., Nn)`.
316316
317-
Accordingly, for the two-dimensional case with input one-dimensional arrays of length `M` and `N`, if matrix indexing `ij`, then each returned array must have shape `(M, N)`, and, if Cartesian indexing `xy`, then each returned array must have shape `(N, M)`.
317+
Accordingly, for the two-dimensional case with input one-dimensional arrays of length `M` and `N`, if matrix indexing `ij`, then each returned array must have shape `(M, N)`, and, if Cartesian indexing `xy`, then each returned array must have shape `(N, M)`.
318318
319-
Similarly, for the three-dimensional case with input one-dimensional arrays of length `M`, `N`, and `P`, if matrix indexing `ij`, then each returned array must have shape `(M, N, P)`, and, if Cartesian indexing `xy`, then each returned array must have shape `(N, M, P)`.
319+
Similarly, for the three-dimensional case with input one-dimensional arrays of length `M`, `N`, and `P`, if matrix indexing `ij`, then each returned array must have shape `(M, N, P)`, and, if Cartesian indexing `xy`, then each returned array must have shape `(N, M, P)`.
320320
321-
The returned arrays must have a numeric data type determined by {ref}`type-promotion`.
321+
The returned arrays must have a numeric data type determined by {ref}`type-promotion`.
322322
323323
(function-ones)=
324324
### ones(shape, *, dtype=None, device=None)

0 commit comments

Comments
 (0)