Jeff Epler
66b89de8c7
Always include creation functions
2020-02-27 14:07:04 -06:00
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
aa5ef4afb9
Enable sort method in circuitpython
2020-02-27 10:06:33 -06:00
Jeff Epler
d99d834d87
Enable properties in circuitpython
...
I verified that these work for us as coded.
2020-02-27 10:06:27 -06: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
Zoltán Vörös
7e2be88dff
Merge branch '2dim' of github.com:v923z/micropython-ulab into 2dim
...
added circuitpython-related stuff to code and manual
2020-02-26 18:06:19 +01:00
Zoltán Vörös
e0e840f6d5
added circuitpython-related stuff to the manual
2020-02-26 18:05:49 +01:00
cf057c4df9
roll back constness corrections
2020-02-18 21:00:30 -06:00
43551c9a7a
Merge remote-tracking branch 'upstream/master' into 2dim
2020-02-18 20:46:43 -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
e71f667114
temporary fix for issue #40
2020-02-17 19:57:55 +01:00
Zoltán Vörös
6fe015f134
properties are now defined in ndarray_properties.h
2020-02-16 19:49:01 +01: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
Zoltán Vörös
57cf52838c
Merge pull request #33 from jepler/fix-undef-errors-mpy
...
Fix some define-guards
2020-02-11 20:19:27 +01:00
Zoltán Vörös
c14eee1bd4
trying to fix ulab.h definitions
2020-02-11 20:15:45 +01:00
Zoltán Vörös
2c71467ced
implemented ndarray properties
2020-02-11 20:08:37 +01:00
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
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
936bb3bae5
corrected slicing error in issue #32
2020-02-09 19:56:32 +01:00
Zoltán Vörös
76ccd1a118
the master branch is configurable now
2020-02-07 21:23:24 +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
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
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
351eafa06c
first implementation of sort
2019-11-04 18:54:19 +01:00
Zoltán Vörös
8b6d03417b
added diff function, and updated the manual accordingly
2019-10-31 12:52:40 +01:00
Zoltán Vörös
761ad69d71
fully implemented subscription methods
2019-10-29 21:12:12 +01:00
Zoltán Vörös
5599dd2f31
fixed small bug in rawsize
2019-10-19 19:45:26 +02: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
31e40dad5d
added uniform interface to fft, ifft, spectrum, and significantly extended manual
2019-10-17 20:52:41 +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
13c343f3cf
fixed the roll function in numerical.c
2019-10-15 19:47:22 +02:00
Zoltán Vörös
13511aaf08
min/max conforms to numpy behaviour now
2019-10-14 21:29:15 +02:00
Zoltán Vörös
5caa711422
extended manual, inserted links to numpy functions
2019-10-12 22:33:13 +02:00
Zoltán Vörös
e30b8d6f4e
added first version of manual, fixed small bug in roll
2019-10-11 21:45:14 +02:00
Zoltán Vörös
be6ab7ba18
extended universal functions for arbitrary typecode
2019-10-11 18:59:45 +02:00
Zoltán Vörös
0c161e2ba3
fixed error in iterator and make_new
2019-10-11 15:58:17 +02:00
Zoltán Vörös
68dd3a7423
this is mainly a safety backup; subscr is not fully implemented yet
2019-10-10 22:01:26 +02:00
Zoltán Vörös
1c233de552
extended unary operators in ndarray.c
2019-10-08 17:37:53 +02:00
Zoltán Vörös
4a8ecc28f2
added keyword arguments to linspace, made binary_op tighter
2019-10-07 20:49:29 +02:00