Zoltán Vörös
f681f36bc6
fixed sort
2020-08-29 13:19:11 +02:00
Zoltán Vörös
f179a1efc1
re-implemented flip
2020-08-19 16:48:08 +02:00
Zoltán Vörös
a0396df9b6
tabs to spaces in all files
2020-08-15 19:31:04 +02:00
Zoltán Vörös
eb696d9d91
factored out associative operators
2020-08-15 18:35:28 +02:00
Zoltán Vörös
76c1a3d242
linalg can now be compiled
2020-08-13 20:16:10 +02:00
Zoltán Vörös
3428fb8123
moved user settings to ulab.h
2020-08-13 15:17:22 +02:00
Zoltán Vörös
d903b0a7d2
fixed functions in compare module
2020-08-13 13:29:56 +02:00
Zoltán Vörös
5ec64d39ee
fft works with views now
2020-08-13 12:45:35 +02:00
Zoltán Vörös
3be74df891
fixed iteration loops in vectorise
2020-08-12 15:46:59 +02:00
Zoltán Vörös
7e6216a1fc
assignment by slices works
2020-08-11 15:12:16 +02:00
Zoltán Vörös
0268f990d7
added ndinfo function
2020-08-08 12:43:57 +02:00
Zoltán Vörös
b1b93994c2
with the exception of pow, binary operators are functional
2020-08-08 11:20:17 +02:00
Zoltán Vörös
b4527192f5
removed unnecessary pointer shifting in the binary loops
2020-08-07 23:23:32 +02:00
Zoltán Vörös
20796a10b3
tensor dimension can now be configured
2020-08-07 22:34:24 +02:00
Zoltán Vörös
41c3008fdd
removed unused structure from ndarray.h
2020-08-07 20:32:20 +02:00
Zoltán Vörös
63efdbf5a3
proof of concept binary function is working
2020-08-07 20:31:43 +02:00
Zoltán Vörös
44f0c46839
fixed printout
2020-08-07 17:52:41 +02:00
Zoltán Vörös
8c4d02f755
not entirely functional, safety backup
2020-08-05 22:35:21 +02:00
Zoltán Vörös
5cd5aaba35
approx is compiles
2020-07-30 22:07:53 +02:00
Zoltán Vörös
b4748dc966
fixed a couple of errors in ndarray.c
2020-07-30 21:16:49 +02:00
Zoltán Vörös
4ddbd8b73f
base code can be compiled
2020-07-30 20:49:14 +02:00
Zoltán Vörös
932e0a2b91
first implementation of arange
2020-07-19 22:19:57 +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
1f3836d16f
ndarray: Let mp_obj_is_int work on circuitpython
2020-06-01 08:29:34 -05: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
d5e59cc21f
no functional change, backup
2020-05-06 21:22:54 +02:00
Zoltán Vörös
70666817ce
added set_printoptions/get_printoptions functions
2020-05-01 11:53:39 +02:00
Zoltán Vörös
855384f579
implemented minimum/maximum and clip in the compare module
2020-04-21 22:35:17 +02:00
Zoltán Vörös
f014128595
backup commit
2020-04-20 20:54:24 +02:00
Zoltán Vörös
d1f2d80581
fixed compilation error in issue #98
2020-04-18 09:05:47 +02:00
Zoltán Vörös
c69f2d9256
implemented the ==, and != binary operators
2020-04-04 22:14:36 +02:00
Zoltán Vörös
a2d52b6454
implemented the ** operator, and the reversed binary operators
2020-03-31 21:38:47 +02:00
cbe41034a3
ndarray.h: provide mp_obj_is_bool for circuitpython
2020-03-30 15:33:45 -05: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
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
2c71467ced
implemented ndarray properties
2020-02-11 20:08:37 +01: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
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
76ccd1a118
the master branch is configurable now
2020-02-07 21:23:24 +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
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
d4acce7b1f
extended documentation, and moved size function to linalg
2019-10-16 20:08:16 +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
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
4a8ecc28f2
added keyword arguments to linspace, made binary_op tighter
2019-10-07 20:49:29 +02:00
Zoltán Vörös
a5f61f4e3c
added comparison operators to ndarray
2019-10-05 16:01:00 +02:00