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
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
Zoltán Vörös
8bb9951fdd
change version number to 2.8.4
2021-05-31 19:27:16 +02:00
Zoltán Vörös
1196e2f3ed
initialise arange values via macro
2021-05-31 19:25:18 +02:00
Zoltán Vörös
370d6c9bed
fix nan return value
2021-05-24 20:02:38 +02:00
Zoltán Vörös
52795a86ed
fix nan for macintosh
2021-05-22 14:46:10 +02:00
Zoltán Vörös
2c84309139
fix all/any/median for empty arrays
2021-05-22 14:31:13 +02:00
Zoltán Vörös
bfe672532d
fix all/any for empty arrays
2021-05-22 14:20:57 +02:00
Zoltán Vörös
6420ec9c45
fix array initialisation with empty iterables
2021-05-18 22:02:42 +02:00
vikas-udupa
b0679e6d16
implemented cho_solve function in scipy.linalg
2021-05-15 23:42:02 -04:00
Zoltán Vörös
f1a2aadc6e
fix garbage collection problem
2021-05-13 21:54:50 +02:00
Zoltán Vörös
1c027267e2
fix circuitpython CI
...
change to lowercase macro style, so that `circuitpython` can automatically build
2021-05-07 07:31:19 +02:00
vikas-udupa
e52fa96c23
removed redundant function pointers, added copyright note
2021-05-05 18:47:15 -04:00
vikas-udupa
f9b0e4381b
corrections to solve_triangular, moved solve_triangular to scipy.linalg module
2021-05-05 11:24:05 -04:00
vikas-udupa
3e63c8e144
implemented solve_triangular and syncing with original repo
2021-04-29 09:26:33 -04:00
vikas-udupa
ab60c5c98c
implemented solve_triangular function in numpy.linalg module along with two tests
2021-04-29 09:20:17 -04:00
Zoltán Vörös
3b2d7ddf04
Merge pull request #370 from adafruit/lowercase_macros
...
Lowercase MP macros
2021-04-27 21:43:12 +02:00
Zoltán Vörös
f3753597ff
fix small glitch in optimize
2021-04-26 21:52:51 +02:00
Zoltán Vörös
8a7f7a7934
increment version number
2021-04-23 17:15:38 +02:00
Tsutomu IKEGAMI
93cb294765
Fix implementation of math constants (e, inf, nan, pi).
...
Originally, math constants are implemented for MICROPY_OBJ_REPR = A and B.
Modify float object representations to work with MICROPY_OBJ_REPR = C and D.
2021-04-23 15:54:16 +09:00
Scott Shawcroft
e3bf07cabb
Lowercase MP macros
2021-04-22 17:54:02 -07:00
ef65415b55
CircuitPython make check-stubs fixes
2021-04-03 12:10:08 -05:00
4666bbd4de
Fix diagnostics in CircuitPython
2021-04-03 12:07:12 -05:00
9cd13000b7
ulab.array -> ulab.ndarray
...
This was flagged as an error in building circuitpython, since ulab.array
doesn't name a type object.
# Conflicts:
# code/numpy/linalg/linalg.c
2021-04-03 12:06:07 -05:00
fe6677335f
code: Add a docstring for numpy, scipy packages
...
.. this fixes a problem in CircuitPython where building the docs would say
"../shared-bindings/ulab/numpy/approx/index.rst: WARNING: document isn't included in any toctree"
2021-04-03 12:05:42 -05:00
Zoltán Vörös
c1b8f9d687
updated version number
2021-04-02 13:00:10 +02:00
Stephan Hartl
da9eb89e9a
Changed define OPENMV to micropython version check
...
The issue with is solved only coresponed to micropython v1.11
2021-04-01 09:49:42 +02:00
Stephan Hartl
04f6fd68f9
Readd some OPENMV code
...
I used the OPENMV define to get ulab 1.6.1 under ArduPy (Mircopython v1.11) running.
To update to 2.1.5 i have readded the missing code
2021-03-31 16:18:30 +02:00
Stephan Hartl
07545f5156
add relativ path for ulab.h and ndarray.h
...
Some header files didn't had relative path.
Compiling Ardupy didn't finde the files.
In C files ist the path right
2021-03-31 16:11:09 +02:00
Zoltán Vörös
7a183e1fa0
Merge pull request #353 from v923z/where
...
add where
2021-03-31 08:04:47 +02:00
Zoltán Vörös
2407d5e289
fix trivial error in ndarray_from_mp_object
2021-03-31 07:24:52 +02:00