Commit graph

24 commits

Author SHA1 Message Date
Zoltán Vörös
47bf2ec9a7 created new create sub-module for ndarray initialisation functions 2020-02-27 20:39:13 +01:00
Jeff Epler
83479f115b Move zeros(), ones() to base ulab module 2020-02-27 10:05:50 -06:00
Jeff Epler
daaacac16f Remove CIRCUITPY special cases 2020-02-27 08:56:07 -06:00
cf057c4df9 roll back constness corrections 2020-02-18 21:00:30 -06:00
f6d123beb8 Don't export modules if CIRCUITPY
.. We are using the "shared bindings" method of circuitpython
2020-02-18 20:32:28 -06:00
Zoltán Vörös
d8bfe46bd8 added __name__ to all submodules 2020-02-14 19:51:28 +01:00
Zoltán Vörös
2e3a0b4483 separated sub-modules into proper python sub-modules 2020-02-13 21:49:09 +01:00
Jeff Epler
fc80a25685 Increase CircuitPython compatibility
- Adapt to signature of mp_make_new_fun_t for mpy and cpy by ifdef
 - Use MP_OBJ_IS_TYPE instead of mp_obj_is_type
 - Ditto MP_OBJ_IS_INT
 - Use mp_const_none instead of MP_ROM_NONE
 - Ditto mp_const_true, mp_const_false
2020-02-12 10:15:47 -06:00
Zoltán Vörös
76ccd1a118 the master branch is configurable now 2020-02-07 21:23:24 +01:00
Zoltán Vörös
dcd65feb21 fixed indexing error in linalg.dot 2020-01-29 19:27:28 +01:00
Zoltán Vörös
b2c4749962 replaced MP_ROM_PTR macro, wherever it made sense 2020-01-20 19:55:38 +01:00
Zoltán Vörös
68e38bc6b8 backup commit 2020-01-06 07:43:27 +01:00
Zoltán Vörös
22f85e0d3b fixed indexing error in linalg.dot 2019-11-28 19:16:59 +01:00
Zoltán Vörös
1b9a80a442 replaced fabs by platform-agnostic version 2019-11-14 20:26:15 +01:00
Zoltán Vörös
3379f0b897 fixed linking error with sin/sqrt 2019-11-01 14:42:08 +01:00
Zoltán Vörös
6e4911d96f replaced float with mp_float_t everywhere, so that the source can be compiled for all platforms 2019-11-01 14:28:29 +01:00
Zoltán Vörös
148364e189 added eig to linalg, and updated the manual 2019-10-19 15:32:45 +02:00
Zoltán Vörös
d4acce7b1f extended documentation, and moved size function to linalg 2019-10-16 20:08:16 +02:00
Zoltán Vörös
69225c3707 added det to linalg.c 2019-10-15 21:37:21 +02:00
Zoltán Vörös
cadae1dbf7 extended linalg, added .flatten to ndarray 2019-10-04 20:06:04 +02:00
Zoltán Vörös
52694959d3 bit of clean-up in binary_op/removed upcasting() 2019-10-04 12:32:49 +02:00
Zoltán Vörös
093bc39b7d cleaned up material for first release 2019-09-25 17:33:02 +02:00
Zoltán Vörös
c958ac272d fixed stm32 code 2019-09-18 19:39:04 +02:00
Zoltán Vörös
3ed5e1a651 initial commit 2019-08-31 18:51:26 +02:00