Commit graph

118 commits

Author SHA1 Message Date
Zoltán Vörös
73fcd895db
Merge branch 'master' into io 2022-01-19 19:56:44 +01:00
Zoltán Vörös
bd57ac8938 include uinstd.h header 2022-01-16 16:17:06 +01:00
Zoltán Vörös
024b3ea6e8 change npy, fin, fout to stream, stream_p for consistency 2022-01-15 09:54:23 +01:00
Zoltán Vörös
97d2c2c3c5 always close file before exception, change exception type 2022-01-15 09:54:23 +01:00
Zoltán Vörös
b9d46c7f92 try to fix uninitialised variable issue 2022-01-15 09:54:23 +01:00
Zoltán Vörös
a1f1cd255b rebasing from master 2022-01-15 09:54:15 +01:00
Zoltán Vörös
834ddc8218 attempt to fix eps32 compilation error 2022-01-15 09:46:24 +01:00
Zoltán Vörös
4b0c3215fd close file in save implementation 2022-01-15 09:46:24 +01:00
Zoltán Vörös
acb81aeded fix loop index in numpy.save 2022-01-15 09:46:24 +01:00
Zoltán Vörös
56b3d800e3 add input type checking 2022-01-15 09:46:24 +01:00
Zoltán Vörös
030463f7ff include stdio.h for mac 2022-01-15 09:46:24 +01:00
Zoltán Vörös
d8ce4b395f rebase from master 2022-01-15 09:46:13 +01:00
Zoltán Vörös
32ebcb4c06 fix size argument handling 2022-01-14 22:54:04 +01:00
Zoltán Vörös
b12f3d0b4d fix asarray initialiser 2022-01-14 22:25:17 +01:00
Zoltán Vörös
1fc2f18358 fix size return value 2022-01-14 20:49:42 +01:00
Zoltán Vörös
74533d18ff add asarray, and tests for asarray and size 2022-01-14 20:45:14 +01:00
Zoltán Vörös
63ab589b8c add numpy.size 2022-01-14 19:57:18 +01:00
Zoltán Vörös
923cb823a3 add documentation for delete, extend test script, handle negative scalars 2022-01-12 18:05:23 +01:00
Zoltán Vörös
34353d7545 fix scalar indexing 2022-01-11 22:07:32 +01:00
Zoltán Vörös
e5020f8d57 add numpy.delete 2022-01-10 22:54:09 +01:00
Zoltán Vörös
969afdec7f implement ==, and != for complex dtypes 2022-01-07 14:05:38 +01:00
Zoltán Vörös
ecaa355bab fix sort_complex, add tests to sort_complex, conjugate 2022-01-07 12:47:42 +01:00
Zoltán Vörös
ad9e1e9950 fix linspace error, extend to complex dtype, factor out tests 2022-01-06 19:55:34 +01:00
Zoltán Vörös
d1b3d40b47 add complex support to all/any 2022-01-06 09:22:45 +01:00
Zoltán Vörös
8efdec785e extend convolve for the complex case 2022-01-05 20:46:03 +01:00
Zoltán Vörös
6a7d20dd58 add real/imag properties to ndarray 2022-01-02 19:14:12 +01:00
Zoltán Vörös
d39549e3ac add sort_complex function 2022-01-02 17:34:38 +01:00
Zoltán Vörös
cb3f4b3898 add compress function 2022-01-02 12:46:12 +01:00
Zoltán Vörös
c11dac322d fix array initialisation from complex array 2022-01-01 09:20:00 +01:00
Zoltán Vörös
4855baa8cc add conjugate function 2022-01-01 00:33:28 +01:00
Zoltán Vörös
7e13fab911 support ones, zeros, and full for complex dtype 2021-12-31 23:39:58 +01:00
Zoltán Vörös
94d6b13f8d make fft optionally numpy-compatible, when complex is supported 2021-12-31 23:11:59 +01:00
Zoltán Vörös
e01e547b62 fix dtype in stubs 2021-12-30 09:09:41 +01:00
Zoltán Vörös
4d7e279996 fix circuitpython documentation 2021-12-30 08:54:52 +01:00
Zoltán Vörös
7b17796c91 fix complex sqrt 2021-12-30 08:10:54 +01:00
Zoltán Vörös
ee197ef03f bring in a99e0b9 in an attempt to fix the docs error 2021-12-28 22:30:17 +01:00
Zoltán Vörös
5b7395d6df implement complex divide 2021-12-28 21:51:32 +01:00
Zoltán Vörös
13cebfeccc add complex subtraction, fix addition 2021-12-28 20:42:00 +01:00
Zoltán Vörös
8a156fe505 implement multiplication for complex arrays 2021-12-15 18:52:07 +01:00
Zoltán Vörös
cc06735cff fix binary add for 1D 2021-12-15 08:02:26 +01:00
Zoltán Vörös
864ab31766 implement binary add for complex arrays 2021-12-15 06:52:42 +01:00
Zoltán Vörös
3557e16cd1 implement sqrt for complex arrays 2021-12-07 19:55:15 +01:00
Zoltán Vörös
3b3639a560 implement complex exponential 2021-12-03 09:06:49 +01:00
Zoltán Vörös
ef8989ecff implement unary operators for complex arrays 2021-12-03 08:59:23 +01:00
Zoltán Vörös
8a6741b350 fix macro call in poly.c 2021-12-03 08:59:23 +01:00
Zoltán Vörös
08313e3f02 fix uppercase mp_obj_is_type macro calls 2021-12-03 08:59:23 +01:00
Zoltán Vörös
911fdb4587 ulab can now be compiled with complex support 2021-12-03 08:59:23 +01:00
Zoltán Vörös
1013daa902 add complex utilities 2021-12-03 08:59:23 +01:00
Zoltán Vörös
8e5bbe0955 fix any/all function 2021-12-03 08:42:56 +01:00
Zoltán Vörös
a097744455 fix sum() for integer/Boolean types 2021-11-30 20:29:22 +01:00