Commit graph

1062 commits

Author SHA1 Message Date
Jeff Epler
8ef203f21b Only use the _float alias for the float built-in type in ulab.numpy proper
Otherwise, an error occurred, but only on the macos build(!)
```
ulab/scipy/optimize/__init__.pyi:7: error: Name "_float" is not defined
```
It's not clear why `_float` was apparently defined on Linux in this
context.
2021-07-22 08:37:12 -05:00
Jeff Epler
0cdea5ebac bump ubuntu version to the same as circuitpython uses 2021-07-22 08:22:39 -05:00
Jeff Epler
f3d0639ee6 Fix python version in a message to match what is installed 2021-07-22 08:19:36 -05:00
Jeff Epler
cbe4c7499b docs: A workaround for the problem where ndarray can't be in two places
This allows the build to be green in ulab before the changes in
circuitpython. After circuitpython's _typing/__init__.py is fixed to
use the new canonical location, this temporary alias can be removed.
2021-07-22 08:15:23 -05:00
Jeff Epler
7032a92339 Fix documentation build
* Move most documentation out of the ulab base module.
 * float -> _float
 * ulab.ndarray -> ulab.numpy.ndarray

This still does not build unless it is taken together with a modification
to CircuitPython that _also_ moves references to ulab.numpy.
Because of this, this PR will continue to show red.  The suitability of
the changes can be gaged by looking at the related CircuitPython PR build
or by running locally the build-cp.sh script with the right ref checked
out in circuitpython/
2021-07-20 17:26:43 -05:00
Zoltán Vörös
96550c8ed4 re-arrange files, so that circuitpython docs can be generated 2021-07-14 23:15:19 +02:00
Zoltán Vörös
85f9926423
Merge pull request #422 from v923z/flatiter
Flatiter
2021-07-14 16:42:10 +02:00
69d3c20c7b fix build on circuitpython 2021-07-14 08:42:51 -05:00
Zoltán Vörös
c152871dba insert circuitpython hooks for flatiter 2021-07-13 22:38:01 +02:00
Zoltán Vörös
7690c7a166 Merge branch 'flatiter' of github.com:v923z/micropython-ulab into flatiter 2021-07-13 21:37:42 +02:00
Zoltán Vörös
af34d8fe2a fix assertion 2021-07-13 21:35:01 +02:00
Zoltán Vörös
8c5a14d166 add flat iterator to documentation 2021-07-13 21:35:01 +02:00
Zoltán Vörös
6ed12969d3 implement flat iterator 2021-07-13 21:35:01 +02:00
Zoltán Vörös
7954a266eb fix assertion 2021-07-13 18:30:38 +02:00
Zoltán Vörös
1ee36944f6 add flat iterator to documentation 2021-07-13 18:24:35 +02:00
Zoltán Vörös
35d57db1d1 implement flat iterator 2021-07-13 17:29:24 +02:00
Jeff Epler
e881ccb30c
Merge pull request #418 from jepler/split-type-objects
support circuitpython-style split type objects
2021-07-12 19:53:38 -05:00
9b8cd47640 Rename mp_type_call -> mp_type_get_call_slot 2021-07-12 08:47:15 -05:00
1214afd9ce Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS 2021-07-12 08:47:15 -05:00
Jeff Epler
75c7e05eac rename the type flag to EXTENDED for consistency 2021-07-09 14:56:20 -05:00
Jeff Epler
deda9d74d8 support circuitpython-style split type objects 2021-07-06 11:20:26 -05:00
Zoltán Vörös
764d5b9a0c
Merge pull request #415 from v923z/remote-header
remove unused header imports
2021-06-22 22:09:34 +02:00
Zoltán Vörös
14b1ab88f1 remove unused header imports 2021-06-22 22:06:27 +02:00
Zoltán Vörös
008dcc7dc4
Merge pull request #414 from v923z/float_constant_fix
fix float comparison in scipy/linalg.c
2021-06-22 15:49:20 +02:00
Zoltán Vörös
be9fd86f60 fix float comparison in scipy/linalg.c 2021-06-22 07:06:10 +02:00
Zoltán Vörös
ef584e4bb9
Merge pull request #412 from v923z/properties
implement ndarray.shape assignment
2021-06-19 16:33:13 +02:00
Zoltán Vörös
6490a619a4 update documentation 2021-06-19 16:06:19 +02:00
Zoltán Vörös
7f38ad9315 implement ndarray.shape assigment 2021-06-19 15:58:56 +02:00
Zoltán Vörös
af121eef1a
Update README.md 2021-06-19 11:24:39 +02:00
Zoltán Vörös
90bec72ca2
Merge pull request #411 from v923z/T-transpose
T transpose
2021-06-17 22:03:04 +02:00
Zoltán Vörös
353eec999b update docs 2021-06-17 21:58:42 +02:00
Zoltán Vörös
947ef80f9f add the .T ndarray property 2021-06-17 21:52:19 +02:00
Zoltán Vörös
047e51b220
Update README.md 2021-06-17 21:32:03 +02:00
Jeff Epler
161a728848
Merge pull request #408 from v923z/attr-prop
implement ndarray properties
2021-06-10 12:24:11 -05:00
Zoltán Vörös
cd3d479b30 remove redudant cases from ndarray_set_value 2021-06-10 19:01:31 +02:00
Zoltán Vörös
f946abd2ee patch circuitpython 2021-06-09 07:34:18 +02:00
Zoltán Vörös
d7e41ad82c update properties documentation 2021-06-09 07:13:39 +02:00
Zoltán Vörös
02acbe4ec3 fix circuitpython properties 2021-06-08 21:59:26 +02:00
Zoltán Vörös
dd8b404c14 re-organise test scripts 2021-06-08 21:18:33 +02:00
Zoltán Vörös
b9c4d3b026 remove redundant flag 2021-06-08 21:02:12 +02:00
Zoltán Vörös
9f6787b2bc update test script 2021-06-08 20:59:28 +02:00
Zoltán Vörös
b9a4d5a2db fix attribute functions 2021-06-08 20:56:55 +02:00
Zoltán Vörös
1196526182 implement ndarray properties 2021-06-08 07:34:44 +02:00
Zoltán Vörös
23093209c9
Merge pull request #407 from v923z/empty
add empty, update docs
2021-06-03 11:51:40 +02:00
Zoltán Vörös
4b2ab160b6 add empty, update docs 2021-06-03 11:39:26 +02:00
Zoltán Vörös
4fdddeabd8
Merge pull request #406 from v923z/doc-fix
fix section header in scipy.linalg docs
2021-06-03 10:50:00 +02:00
Zoltán Vörös
696331ae55 fix section header in scipy.linalg docs 2021-06-03 10:49:31 +02:00
Zoltán Vörös
cdf13c3661
Merge pull request #404 from v923z/docs
add cho_solve documentation
2021-06-03 10:40:53 +02:00
Zoltán Vörös
3e1f08aa96 add cho_solve documentation 2021-06-03 10:39:07 +02:00
Zoltán Vörös
28d6530c9c
Update README.md 2021-06-03 10:12:16 +02:00