Zoltán Vörös
3820dac6ee
Merge branch 'master' into trapz
2020-07-16 22:32:10 +02:00
Zoltán Vörös
4581034325
no functional changes
2020-07-16 22:28:20 +02:00
Zoltán Vörös
13ef14c29a
even more linting
2020-07-16 22:27:49 +02:00
Zoltán Vörös
7739ae21f8
even more linting
2020-07-16 22:27:01 +02:00
Zoltán Vörös
49be9e0ba7
more linting
2020-07-16 22:07:00 +02:00
Zoltán Vörös
bdaa4b3984
fixed linting issues
2020-07-16 22:05:33 +02:00
Zoltán Vörös
9ab8ce2153
fixed typo
2020-07-16 21:50:10 +02:00
Zoltán Vörös
fbe8151f50
removed trapz from approx
2020-07-16 21:28:08 +02:00
Zoltán Vörös
33451ee285
Merge branch 'master' into trapz
2020-07-16 21:18:09 +02:00
Zoltán Vörös
dfe560150a
first implementation of trapz
2020-07-16 21:12:46 +02:00
Zoltán Vörös
f5c15f0c4c
reverted changes in master
2020-07-16 21:10:14 +02:00
Zoltán Vörös
0443a2a3ed
fixed small bug in trapz
2020-07-16 20:55:42 +02:00
Zoltán Vörös
059994774d
first implementation of trapz
2020-07-16 20:52:53 +02:00
Zoltán Vörös
f171235a95
Merge pull request #136 from rcolistete/fix_gcc-arm_v10.1
...
Fix Incompatibility between gcc-arm 10.1 and ulab + MicroPython
2020-07-16 08:49:37 +02:00
Roberto Colistete Junior
e75729cb27
Update vectorise.h
2020-07-16 03:38:15 -03:00
Roberto Colistete Junior
3bb1417211
Update extras.h
2020-07-16 03:37:35 -03:00
Zoltán Vörös
cc134935f3
Merge pull request #134 from rcolistete/fix_thread
...
fixed incompatibility when enabling '_thread' module from the make command
2020-07-14 21:33:43 +02:00
Roberto Colistete Junior
40503d0f7e
not compatible with '_thread' module
...
ulab not compatible with enabling '_thread' module from the make command :
- building ulab with thread enabled in MicroPython :
`$ make -j8 CFLAGS_EXTRA='-DMICROPY_PY_THREAD=1' BOARD=PYBV11 USER_C_MODULES=../../../ulab all`
yields a firmware with '_thread' module but without 'ulab' module, because 'CFLAGS_EXTRA' is used in the make command and in 'ulab/code/micropython.mk', so the value of the last is ignored;
- the solution is to use 'override' and '+=' in in last line of 'ulab/code/micropython.mk' :
`override CFLAGS_EXTRA += -DMODULE_ULAB_ENABLED=1`
2020-07-14 10:55:10 -03:00
Zoltán Vörös
48cb939839
Merge pull request #130 from v923z/argmin-fix
...
fixed argmin/argmax error in issue #129
2020-06-29 21:49:28 +02:00
Zoltán Vörös
fe7aa27238
fixed argmin/argmax error in issue #129
2020-06-29 21:46:45 +02:00
Zoltán Vörös
e9258fe4e7
Merge pull request #127 from v923z/sosfilter
...
Sosfilter
2020-06-22 19:58:20 +02:00
Zoltán Vörös
2f55b71542
updated user manual
2020-06-19 22:29:00 +02:00
Zoltán Vörös
526ffb4c78
updated readme, version number and change log
2020-06-19 22:06:47 +02:00
Zoltán Vörös
17c6d605ca
added zi keyword argument to sosfilt
2020-06-18 22:24:26 +02:00
Zoltán Vörös
f9cf519843
first implementation of sosfilt
2020-06-17 22:24:17 +02:00
Zoltán Vörös
a223de9c73
Merge pull request #125 from v923z/openmv-fix
...
fixes compilation error in openmv
2020-06-16 20:13:16 +02:00
Zoltán Vörös
37140d531e
added mp_obj_slice_indices to ndarray.c, so that it compiles for openmv
2020-06-16 19:32:41 +02:00
Zoltán Vörös
1231ac877e
version that actually compiles in openmv
2020-06-15 22:46:46 +02:00
Zoltán Vörös
a73201a5a4
fixes compilation error (compatibility with older versions of micropython) in openmv
2020-06-12 07:50:37 +02:00
Zoltán Vörös
4a3c12e427
Merge pull request #123 from jepler/fix-actions-paths
...
github actions: Fix paths directives
2020-06-01 18:29:18 +02:00
d3b9096790
github actions: Fix paths directives
...
I noticed on #122 that no actions were run. I believe this is because
the paths directives had no wildcards, contrary to the examples at
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths
Eliminating the paths: restrictions entirely may be an equally valid
course of action.
2020-06-01 10:28:48 -05:00
Jeff Epler
0394801933
Merge pull request #122 from jepler/circuitpy-is-int
...
Updates needed to build latest code on CircuitPython
2020-06-01 10:26:07 -05:00
Jeff Epler
79f424759c
Merge pull request #121 from v923z/max-fix
...
fixes min/max error from adafruit/circuitpython #2984
2020-06-01 09:21:32 -05:00
cbdd1295c1
Mark parameters as unused
...
As far as I can tell, these are not checked for the sake of efficiency.
This silences compiler diagnostics when building CircuitPython
```
../../extmod/ulab/code/approx.c:25:12: error: no previous prototype for ‘approx_python_call’ [-Werror=missing-prototypes]
mp_float_t approx_python_call(const mp_obj_type_t *type, mp_obj_t fun, mp_float_t x, mp_obj_t *fargs, uint8_t nparams) {
^~~~~~~~~~~~~~~~~~
```
2020-06-01 09:00:42 -05:00
a2aa5d3a58
approx: Mark functions as stat if they are used only in this file
...
This fixes the diagnostic when building circuitpython:
```
../../extmod/ulab/code/approx.c:25:12: error: no previous prototype for ‘approx_python_call’ [-Werror=missing-prototypes]
mp_float_t approx_python_call(const mp_obj_type_t *type, mp_obj_t fun, mp_float_t x, mp_obj_t *fargs, uint8_t nparams) {
^~~~~~~~~~~~~~~~~~
```
2020-06-01 08:59:35 -05:00
1f3836d16f
ndarray: Let mp_obj_is_int work on circuitpython
2020-06-01 08:29:34 -05:00
Zoltán Vörös
666dc77fad
fixes min/max error from adafruit/circuitpython #2984
2020-06-01 08:42:43 +02:00
Zoltán Vörös
9da0a5ee0a
Merge pull request #120 from v923z/approx
...
added benchmark to bisect, extended readme
2020-05-19 21:15:08 +02:00
Zoltán Vörös
ddbbca7462
added benchmark to bisect, extended readme
2020-05-19 21:12:53 +02:00
Zoltán Vörös
0249fcd304
Merge pull request #118 from v923z/approx
...
Approx
2020-05-19 20:55:10 +02:00
Zoltán Vörös
077bcc51ab
Merge branch 'master' into approx
2020-05-19 20:53:33 +02:00
Zoltán Vörös
e509d3caa8
Merge pull request #114 from v923z/print
...
added set_printoptions/get_printoptions functions
2020-05-19 20:46:56 +02:00
Zoltán Vörös
78438727c4
Merge branch 'master' into print
2020-05-19 20:44:54 +02:00
Zoltán Vörös
17b76a60bb
Merge pull request #119 from v923z/binary_fix
...
fix for issue 117
2020-05-19 20:37:07 +02:00
Zoltán Vörös
8a79c80232
changed order of items in table of contents
2020-05-19 19:07:05 +02:00
Zoltán Vörös
33d9a5e410
fixed documentation error
2020-05-19 19:04:29 +02:00
Zoltán Vörös
f00d5dc6de
fix for issue 117
2020-05-19 08:56:34 +02:00
Zoltán Vörös
8631b771d2
cleaned up documentation on approx sub-module
2020-05-18 19:44:26 +02:00
Zoltán Vörös
e8bac80c52
Merge pull request #116 from v923z/vectorize
...
Vectorize
2020-05-07 10:03:08 +02:00
Zoltán Vörös
8056b4e959
updated manual with a section on function vectorisation
2020-05-07 09:42:19 +02:00