02d74a4d3e
Fix some define-guards
...
These problems were found building in circuitpython:
../../extmod/ulab/code/numerical.c:671:5: error: "ULAB_NUMERICAL_ARGSORT" is not defined, evaluates to 0 [-Werror=undef]
671 | #if ULAB_NUMERICAL_ARGSORT
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
../../extmod/ulab/code/ulab.c:150:9: error: "ULAB_VECTORISE_" is not defined, evaluates to 0 [-Werror=undef]
150 | #if ULAB_VECTORISE_
| ^~~~~~~~~~~~~~~
../../extmod/ulab/code/ulab.c:159:9: error: "ULAB_VECTORISE_TAHN" is not defined, evaluates to 0 [-Werror=undef]
159 | #if ULAB_VECTORISE_TAHN
| ^~~~~~~~~~~~~~~~~~~
../../extmod/ulab/code/ulab.c:198:9: error: "ULAB_NUMERICAL_ARGSORT" is not defined, evaluates to 0 [-Werror=undef]
198 | #if ULAB_NUMERICAL_ARGSORT
| ^~~~~~~~~~~~~~~~~~~~~~
2020-02-11 11:08:25 -06:00
Zoltán Vörös
4a0677fd14
removed extra ndarray_get_buffer
2020-02-10 19:54:49 +01:00
Zoltán Vörös
800bb3b872
Merge branch 'master' of github.com:v923z/micropython-ulab
2020-02-10 19:51:22 +01:00
Zoltán Vörös
89170a13a6
fixed error in filter.c, removed asbytearray, and added buffer protocol to ndarray.c
2020-02-10 19:50:49 +01:00
Zoltán Vörös
ca23263655
Merge pull request #31 from jepler/memoryview
...
ndarray: let memoryview(arr) work
2020-02-10 18:38:11 +01:00
Zoltán Vörös
936bb3bae5
corrected slicing error in issue #32
2020-02-09 19:56:32 +01:00
a90d18caf1
ndarray: let memoryview(arr) work
...
.. this makes ndarray.rawbytes redundant. Circuitpython will remove it.
2020-02-08 10:29:45 -06:00
Zoltán Vörös
918075daaf
fixed a couple of small issues in filter.c
2020-02-08 10:45:13 +01:00
Zoltán Vörös
fac3eb4099
fixed a couple of small issues in filter.c
2020-02-08 10:44:24 +01: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
0315408e05
Merge pull request #29 from jepler/convolve
...
convolve: implement and document
2020-02-06 19:53:51 +01:00
Jeff Epler
722401c2e4
Clean up and polish based on review comments
...
no functional change
2020-02-06 12:43:39 -06:00
Jeff Epler
efa4c148c9
convolve: implement and document
2020-02-05 16:33:48 -06: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
941ffceb1b
replaced MP_ROM_PTR macro, wherever it made sense
2020-01-20 19:49:57 +01:00
Zoltán Vörös
ac1111c251
fixed glitch in std/mean functions
2020-01-07 21:53:23 +01:00
Zoltán Vörös
992e48b84e
switched to version string
2020-01-07 21:02:20 +01:00
Zoltán Vörös
68e38bc6b8
backup commit
2020-01-06 07:43:27 +01:00
Zoltán Vörös
81acfc7da8
ulab_ndarray_type is extern now
2019-12-31 10:57:10 +01:00
Zoltán Vörös
107587de00
found and fixed macro error in vectorise.h
2019-11-29 08:02:48 +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
84d2ce8a52
notebook backup
2019-11-14 20:33:11 +01:00
Zoltán Vörös
1df50af368
replaced fabs by platform-agnostic version
2019-11-14 20:27:32 +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
97e98c4d31
Merge pull request #12 from nickovs/master
...
Fixed several issues preventing compilation on macOS
2019-11-12 08:38:26 +01:00
Nicko van Someren
e33720e9c0
Fixed several issues preventing compilation on macOS
2019-11-11 13:39:28 -08:00
Zoltán Vörös
ea588a67df
found silly error in manual
2019-11-06 18:37:43 +01:00
Zoltán Vörös
4e507e9805
fixed version number in ulab.c
2019-11-06 18:34:31 +01:00
Zoltán Vörös
1f5d1a9765
fixed version number in ulab.c
2019-11-06 18:34:12 +01:00
Zoltán Vörös
0e9656cc1d
added argsort, and fixed a number of smaller bugs
2019-11-06 17:35:01 +01:00
Zoltán Vörös
ec2b0f7084
Update README.md
2019-11-04 22:22:08 +01:00
Zoltán Vörös
d12785af6c
honed the explanation on extending ulab
2019-11-04 22:20:45 +01:00
Zoltán Vörös
5f8a5d8dc4
clarified manual section on sort
2019-11-04 22:04:06 +01:00
Zoltán Vörös
b4f4331f26
Merge pull request #7 from mdaeron/master
...
Small edits to README.md
2019-11-04 21:39:05 +01:00
mdaeron
fd217dfdc9
Update README.md
...
Specified that the cross-compiler installation command is for Linux.
2019-11-04 20:37:52 +01:00
mdaeron
0f4cf714ac
Update README.md
...
Added `ulab` at the end of the `git clone https://github.com/v923z/micropython-ulab.git ` to be consistent with the `make` command.
2019-11-04 20:35:46 +01:00
Zoltán Vörös
f2deb06db3
Update README.md
2019-11-04 20:21:07 +01:00
Zoltán Vörös
4a5d1e5ee0
updated REAMDE
2019-11-04 19:36:04 +01:00
Zoltán Vörös
08b8fd0ae2
fixed float_t->mp_float_t mistake in ndarray.c
2019-11-04 19:28:06 +01:00
Zoltán Vörös
5c540e0475
changed config.py
2019-11-04 19:22:05 +01:00
Zoltán Vörös
a940870cac
merging from testing
2019-11-04 19:20:44 +01:00
Zoltán Vörös
351eafa06c
first implementation of sort
2019-11-04 18:54:19 +01:00
Zoltán Vörös
841c4685ff
sort was not supposed to be in master...
2019-11-01 15:04:45 +01:00
Zoltán Vörös
3d816ac2c0
sort was not supposed to be in master...
2019-11-01 15:02:47 +01:00
Zoltán Vörös
5022a8b1a2
sort was not supposed to be in master...
2019-11-01 15:01:48 +01:00
Zoltán Vörös
43cda00f65
Merge pull request #5 from v923z/testing
...
Testing
2019-11-01 14:49:23 +01:00
Zoltán Vörös
2af876ed5c
updated README
2019-11-01 14:46:35 +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