Commit graph

48 commits

Author SHA1 Message Date
Zoltán Vörös
2851d3007a sum, mean, std return a single number, if the result array is of length 1 2019-11-13 18:54:27 +01:00
Zoltán Vörös
ad0531e35e attempt at fixing std problem 2019-11-12 19:59:18 +01:00
Zoltán Vörös
50df00546b initialised deg with 0 in poly.c 2019-11-09 17:54:17 +01:00
Zoltán Vörös
20e97ce7c7 rectified small compiler complaint in ndarray.c, and poly.c 2019-11-09 17:46:55 +01:00
Zoltán Vörös
03609727ce removed test.c from micropython.mk 2019-11-09 10:52:23 +01:00
Zoltán Vörös
f34cbe885d removed test.c from micropython.mk 2019-11-09 10:50:35 +01:00
Zoltán Vörös
6e4f691a1a removed extraneous paranthesis 2019-11-08 22:28:28 +01:00
Zoltán Vörös
b62ba12237 replaced abs with MICROPY_FLOAT_C_FUN(fabs) 2019-11-08 22:19:52 +01:00
Zoltán Vörös
a2bafa981d simplified numerical sum/std/mean functions, added boolean type 2019-11-08 20:08:45 +01:00
Zoltán Vörös
039d7ec866 simplified numerical sum/std/mean functions, added boolean type 2019-11-08 19:52:43 +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
08b8fd0ae2 fixed float_t->mp_float_t mistake in ndarray.c 2019-11-04 19:28:06 +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
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
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
Zoltán Vörös
a5f61f4e3c added comparison operators to ndarray 2019-10-05 16:01:00 +02:00
Zoltán Vörös
ba975c100d added comparison operators to ndarray 2019-10-05 15:59:03 +02:00
Zoltán Vörös
7feaf8c57e removed printf statement in ndarray.c 2019-10-04 20:11:28 +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
6a65d33445 fixed half of the binary operator code (implemented macros) 2019-09-27 20:23:25 +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
fce8850b05 added lots of examples and code comments 2019-09-18 21:59:31 +02:00
Zoltán Vörös
c958ac272d fixed stm32 code 2019-09-18 19:39:04 +02:00
Zoltán Vörös
be8be6d155 fixed subscription method 2019-09-17 22:23:07 +02:00
Zoltán Vörös
69037a2d60 added in-place fft implementation 2019-09-17 21:25:27 +02:00
Zoltán Vörös
f2d41862da added version info 2019-09-11 20:12:49 +02:00
Zoltán Vörös
d9f9a26197 implemented binary operators 2019-09-11 19:51:48 +02:00
Zoltán Vörös
5997dd2a5c implemented numpy-like iterators 2019-09-06 20:24:18 +02:00
Zoltán Vörös
f7884529fe added keyword argument to ndarray 2019-09-05 21:56:00 +02:00
Zoltán Vörös
3ed5e1a651 initial commit 2019-08-31 18:51:26 +02:00