summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/array.rst
Commit message (Collapse)AuthorAgeFilesLines
* DOC: Fix for buildling with sphinx 3takanori-pskq2020-11-061-47/+43
|
* Update doc/source/reference/c-api/array.rstTakanori H2020-10-271-1/+1
| | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* DOC: Fix some referencestakanori-pskq2020-10-261-4/+4
|
* DOC: Don't use Python highlighting for non-python codeEric Wieser2020-10-251-1/+3
|
* Merge pull request #17627 from takanori-pskq/i13114-array-structMatti Picus2020-10-251-2/+2
|\ | | | | DOC: Fix the references for ``__array_*__``
| * DOC: Fix the references for ``__array_*__``takanori-pskq2020-10-251-2/+2
| |
* | DOC: Add entries for macrostakanori-pskq2020-10-251-3/+29
|/
* DOC: Fix some referencestakanori-pskq2020-10-241-2/+2
|
* Merge pull request #17570 from takanori-pskq/i13114-feature-versionMatti Picus2020-10-221-12/+16
|\ | | | | DOC: Add the entry for ``NPY_FEATURE_VERSION``
| * DOC: Fixuptakanori-pskq2020-10-221-17/+16
| |
| * DOC: Add the entry for ``NPY_FEATURE_VERSION``takanori-pskq2020-10-151-0/+5
| |
* | DOC: Fix typostakanori-pskq2020-10-151-2/+2
|/
* DOC: Add missing types to C function docs (#17549)Takanori H2020-10-131-82/+83
| | | `.. c:function::` expects its contents to be a valid C prototype, meaning the return types and arguments are all need types.
* DOC: Fix Boolean types in C functionstakanori-pskq2020-10-101-6/+6
|
* DOC: Fix the references for macrostakanori-pskq2020-10-041-1/+7
|
* DOC: Fix types including curly bracestakanori-pskq2020-08-131-1/+1
|
* Merge pull request #16896 from takanori-pskq/i13114-5Matti Picus2020-07-311-75/+66
|\ | | | | DOC: Improve documentation of C code
| * DOC: Fixuptakanori-pskq2020-07-251-13/+4
| |
| * DOC: Fix the role of references (var -> macro)takanori-pskq2020-07-251-61/+61
| |
| * DOC: Remove links for C codestakanori-pskq2020-07-181-3/+3
| |
* | DOC: Fix the declarations of C fuctions (#16897)Takanori H2020-07-311-2/+2
|/ | | * DOC: Fix the declarations of C fuctions
* DOC: Add PyArray_ContiguousFromObject C docs (gh-16207)Guilherme Leobas2020-05-181-3/+11
| | | | | | Add documentation for `PyArray_ContiguousFromObject` similar to the other macros wrapping `PyArray_FromAny` Fixes #16196
* DOC: Fix typos and cosmetic issuesMartin Michlmayr2020-05-171-1/+1
|
* DOC: Add missing bracket (gh-16051)Chunlin2020-04-251-1/+1
| | | Add missing closing brackets, script to generate the list in the PR gh-16051.
* MAINT: simplify code that assumes str/unicode and int/long are different ↵Eric Wieser2020-03-261-1/+1
| | | | | types (#15816) Cleanup from the dropping of python 2
* DEP: Schedule PyArray_GetArrayParamsFromObject for removalSebastian Berg2020-01-311-63/+6
| | | | | | | | | | The function has no known usage outside of NumPy. It is fairly complex to use due to how it behaves with scalars, and, at least with a given "flexible" dtype would require additional access to the private PyArray_AdaptFlexibleDType function. Removing the function from public API will simplify refactor work of the dtype and dimension recovery.
* Merge pull request #15118 from mattip/cleanup-array-callSebastian Berg2020-01-161-11/+10
|\ | | | | API: remove undocumented use of __array__(dtype, context)
| * MAINT: remove undocumented use of context in __array__(dtype, context)mattip2020-01-161-11/+10
| |
* | DOC: fix typosBrian Wignall2020-01-141-5/+5
|/
* MAINT: Improve const-correctness of shapes and stridesEric Wieser2020-01-061-1/+1
| | | | | | Marking these arguments as const makes it easier to reason about these functions, and prevent accidental mutation. The C99 standard (6.2.5/26 "Types") guarantees that ABI compatibility is preserved here.
* API: Use `ResultType` in `PyArray_ConvertToCommonType`Sebastian Berg2019-11-211-8/+12
| | | | | | | | | | | | | | | | | | This slightly modifies the behaviour of `np.choose` (practically a bug fix) and the public function itself. The function is not used within e.g. SciPy, so the small performance hit of this implementation is probably insignificant. The change should help clean up dtypes a bit, since the whole "scalar cast" logic is brittle and should be deprecated/removed, and this is probably one of the few places actually using it. The choose change means that: ``` np.choose([0], (1000, np.array([1], dtype=np.uint8))) ``` will actually return a value of 1000 (the dtype not being uint8).
* DOC: convert `None` to bare None or ``None``mattip2019-10-151-1/+1
|
* DOC: fix function argument definitions and add vertical space around macrosmattip2019-10-151-55/+68
|
* DOC: Document the NPY_SCALARKIND values as C variables.MSeifert042019-09-221-8/+15
| | | | | Currently the ":c:data:" links could not resolve these because the values were not explicitly documented.
* DOC: Fix reference NPY_ARRAY_OWNDATA instead of NPY_OWNDATA.MSeifert042019-09-121-1/+1
|
* BUG: Fix fieldless comparison broadcastingAllan Haldane2019-09-051-2/+3
| | | | Fixes #13438
* BUG: Fix comparison of fieldless structured arraysAllan Haldane2019-08-311-0/+3
|
* DOC: fix typoColin Snyder2019-07-241-3/+3
|
* DOC: Array API : Directory restructure and code cleanup (#14010)Kriti Singh2019-07-221-0/+3679
* Minor improvements in Array API docs * Directory restruture