Jeff Epler
d68171bb46
Merge pull request #439 from jepler/circuitpython-make-new-compat
...
ndarray: drop compat workaround for circuitpython
2021-10-16 16:02:16 -05:00
b913d064e5
ndarray: drop compat workaround for circuitpython
...
It's anticipated that circuitpython will no longer need this compat code
after merging 1.17.
2021-10-14 14:26:38 -05:00
Zoltán Vörös
04629f5521
add docs for linalg.qr
2021-08-07 07:21:55 +02:00
Jeff Epler
548aaba97d
Merge pull request #433 from jepler/remove-compat-alias
...
remove temporary workaround
2021-08-03 14:37:34 -05:00
7dec159981
show where to find ulab.numpy.ndarray
...
.. interestingly, this error only showed up on macos, not ubuntu!
2021-07-23 10:26:06 -05:00
0b62231d56
show where to find ulab.numpy.ndarray
...
.. interestingly, this error only showed up on macos, not ubuntu!
2021-07-23 10:12:15 -05:00
5ff8bd662f
remove temporary workaround
2021-07-23 09:57:17 -05:00
8b3b4d1829
Merge commit 'refs/pull/431/head' of https://github.com/v923z/micropython-ulab into build-all-dimensions
2021-07-23 09:05:25 -05:00
Zoltán Vörös
ba0cd7c661
re-set the value of ULAB_MAX
2021-07-23 08:29:37 +02:00
Zoltán Vörös
3817d7698a
fix compilation for 1D
2021-07-23 07:28:17 +02:00
81d78fe23f
micropython build: Build & test in a selected number of dimensions
2021-07-22 14:14:08 -05:00
Zoltán Vörös
91e08c8679
Merge branch 'master' into samd-fix
2021-07-22 20:28:34 +02:00
Zoltán Vörös
593a33df5d
Merge branch 'master' into fix-4d
2021-07-22 20:09:59 +02:00
Zoltán Vörös
18bb09da45
fix sum for 4D arrays
2021-07-22 20:08:09 +02:00
Zoltán Vörös
a3ce0ce29a
add qr implementation
2021-07-22 19:40:57 +02:00
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
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
70e8b548ba
fix compile error on SAMD devices
2021-07-16 10:03:34 +02: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
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
af34d8fe2a
fix assertion
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
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
14b1ab88f1
remove unused header imports
2021-06-22 22:06:27 +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
7f38ad9315
implement ndarray.shape assigment
2021-06-19 15:58:56 +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
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
02acbe4ec3
fix circuitpython properties
2021-06-08 21:59:26 +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
4b2ab160b6
add empty, update docs
2021-06-03 11:39:26 +02:00
Zoltán Vörös
0609da8dae
change version number
2021-06-03 09:53:12 +02:00
Zoltán Vörös
58cde9a4b1
allow approx functions to take iterable arguments
2021-06-03 09:43:18 +02:00
Zoltán Vörös
8493f8ed98
add type specifier to pointer
2021-06-03 08:32:10 +02:00
Zoltán Vörös
9aefb4242d
vectorised functions work nested iterables now
2021-06-03 08:27:23 +02:00
Zoltán Vörös
e01ddaca0b
add ndarray_from_iterable to ndarray_from_mp_obj
2021-06-02 07:50:35 +02:00
Zoltán Vörös
53f644a44b
factor out array creation from iterables
2021-06-02 07:37:15 +02:00
Zoltán Vörös
8e365eca62
Merge branch 'upcasting' of github.com:v923z/micropython-ulab into upcasting
2021-06-01 18:19:49 +02:00
Zoltán Vörös
f91411da95
fix version number
2021-06-01 18:19:31 +02:00
Zoltán Vörös
a6def3d20e
Merge branch 'master' into upcasting
2021-06-01 18:19:08 +02:00
Zoltán Vörös
8979b8a67d
fix endianness problem in ndarray_from_mp_obj
2021-06-01 18:17:19 +02:00
Zoltán Vörös
4edb6aa318
fix upcasting rules for ndarray + scalar
2021-06-01 17:32:18 +02:00