1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
|
Fri, 3 Dec 2021
version 3.3.8
fix any/all function
Tue, 30 Nov 2021
version 3.3.7
fix sum() for integer/Boolean types
Sat, 20 Nov 2021
version 3.3.6
fix .shape for arrays of zero length (#454)
Sun, 07 Nov 2021
version 3.3.5
fix cast in numpy/compare.c:compare_function()
Sat, 07 Aug 2021
version 3.3.4
change default keyword value in linalg.qr
Fri, 23 Jul 2021
version 3.3.3
fix compilation for one dimension
Thu, 22 Jul 2021
version 3.3.2
fix compilation error on SAMD devices
Thu, 22 Jul 2021
version 3.3.1
fix sum for 4D arrays
Thu, 22 Jul 2021
version 3.3.0
add QR decomposition
Tue, 13 Jul 2021
version 3.2.0
add flatiter/flat to ndarray methods
Tue, 22 Jun 2021
version 3.1.1
fix float comparison in scipy/linalg.c
Sat, 19 Jun 2021
version 3.1.0
ndarray.shape can now be assigned to
Thu, 17 Jun 2021
version 3.0.1
add the .T ndarray property
Wed, 9 Jun 2021
version 3.0.0
implement property getter/setter for micropython
Thu, 3 Jun 2021
version 2.9.0
add empty as alias for zeros
Thu, 3 Jun 2021
version 2.8.8
allow functions in approx to take iterables as argument
Thu, 3 Jun 2021
version 2.8.7
simplify vectorised function code
Wed, 2 Jun 2021
version 2.8.6
factor out array creation from iterables, so that generic iterables can be passed to numerical functions
Tue, 1 Jun 2021
version 2.8.5
fix upcasting rules for ndarray + scalar
Mon, 31 May 2021
version 2.8.4
initialise arange values via macro
Mon, 24 May 2021
version 2.8.3
fix nan return value
Sat, 22 May 2021
version 2.8.2
fix all/any/median for empty arrays
Tue, 18 May 2021
version 2.8.1
fix array initialisation/print with empty iterables
Sun, 16 May 2021
version 2.8.0
added cho_solve function in scipy.linalg module
Thu, 13 May 2021
version 2.7.1
fix garbage collection problem
Wed, 5 May 2021
version 2.7.0
added linalg module in scipy with solve_triangular function
Mon, 26 Apr 2021
version 2.6.2
fix optimize zero condition
Sat, 23 Apr 2021
version 2.6.1
fix implementation of math constants
Mon, 22 Mar 2021
version 2.6.0
add where function
Mon, 8 Mar 2021
version 2.5.1
fix linspace/logspace/arange for Boolean dtypes
Wed, 03 Mar 2021
version 2.5.0
added utils sub-module with from_intbuffer function
Tue, 23 Feb 2021
version 2.4.5
fix dot function
Sun, 21 Feb 2021
version 2.4.3
re-introduce ndarray_get_buffer, and buffer protocol
Sun, 21 Feb 2021
version 2.4.2
fix ndarray_is_dense, eye, ones, full, and zeros for Boolean type
Sat, 13 Feb 2021
version 2.4.1
fixed dot error
Fri, 12 Feb 2021
version 2.4.0
added byteswap method
Sun, 14 Feb 2021
version 2.3.7
fixed frombuffer implementation glitch
Sat, 13 Feb 2021
version 2.3.6
moved trace and dot to the top level
Wed, 10 Feb 2021
version 2.3.5
fixed invisible error in tools_reduce_axes, simplified the implementation of all/any
Tue, 9 Feb 2021
version 2.3.4
removed redundant exception from linalg.norm, fixed exception message in tools_reduce_axes
Tue, 9 Feb 2021
version 2.3.3
linalg.norm should now work with the axis keyword argument
Mon, 8 Feb 2021
version 2.3.2
improved the accuracy of linalg.norm, and extended it to generic iterables
Mon, 8 Feb 2021
version 2.3.1
partially fix https://github.com/v923z/micropython-ulab/issues/304, and len unary operator
Mon, 8 Feb 2021
version 2.3.0
added any and all functions
Fri, 29 Jan 2021
version 2.2.0
added isinf/infinite functions
Fri, 29 Jan 2021
version 2.1.5
fixed error, when calculating standard deviation of iterables
wed, 27 Jan 2021
version 2.1.4
arrays can now be initialised from nested iterables
Thu, 21 Jan 2021
version 2.1.3
added ifndef/endif wrappers in ulab.h
Fri, 15 Jan 2021
version 2.1.2
fixed small error in frombuffer
Thu, 14 Jan 2021
version 2.1.1
fixed bad error in diff
Thu, 26 Nov 2020
version 2.1.0
implemented frombuffer
Tue, 24 Nov 2020
version 2.0.0
implemented numpy/scipy compatibility
Tue, 24 Nov 2020
version 1.6.0
added Boolean initialisation option
Mon, 23 Nov 2020
version 1.5.1
fixed nan definition
version 1.5.0
added nan/inf class level constants
version 1.4.10
fixed sosfilt
version 1.4.9
added in-place sort
version 1.4.8
fixed convolve
version 1.4.7.
fixed iteration loop in norm
Fri, 20 Nov 2020
version 1.4.6
fixed interp
Thu, 19 Nov 2020
version 1.4.5
eliminated fatal micropython error in ndarray_init_helper
version 1.4.4
fixed min, max
version 1.4.3
fixed full, zeros, ones
version 1.4.2
fixed dtype
Wed, 18 Nov 2020
version 1.4.1.
fixed std
version 1.4.0
removed size from linalg
version 1.3.8
fixed trapz
Tue, 17 Nov 2020
version 1.3.7
fixed in-place power, in-place divide, roll
Mon, 16 Nov 2020
version 1.3.6
fixed eye
Mon, 16 Nov 2020
version 1.3.5
fixed trace
Mon, 16 Nov 2020
version 1.3.4
fixed clip
Mon, 16 Nov 2020
version 1.3.3
added function pointer option to some binary operators
Fri, 13 Nov 2020
version 1.3.2
implemented function pointer option in vectorise
Thu, 12 Nov 2020
version 1.3.1
factored out some of the math functions in re-usable form
Wed, 11 Nov 2020
version 1.3.0
added dtype function/method/property
Wed, 11 Nov 2020
version 1.2.8
improved the accuracy of sum for float types
Wed, 11 Nov 2020
version 1.2.7
fixed transpose
improved the accuracy of trapz
Tue, 10 Nov 2020
version 1.2.6
fixed slicing
Mon, 9 Nov 2020
version 1.2.5
fixed array casting glitch in make_new_core
Mon, 9 Nov 2020
version 1.2.4
sum/mean/std can flatten the arrays now
Tue, 3 Nov 2020
version 1.2.1
fixed pointer issue in eig, and corrected the docs
Tue, 3 Nov 2020
version 1.2.0
added median function
Tue, 3 Nov 2020
version 1.1.4
fixed norm and shape
Mon, 2 Nov 2020
version 1.1.3
fixed small glitch in diagonal, and ndarray_make_new_core
Sun, 1 Nov 2020
version 1.1.1
fixed compilation error for 4D
Sat, 31 Oct 2020
version 1.1.0
added the diagonal function
Fri, 30 Oct 2020
version 1.0.0
added :
support for tensors of rank 4
proper broadcasting
views
.tobytes()
concatenate
cross
full
logspace
in-place operators
Sat, 25 Oct 2020
version 0.54.5
wrong type in slices raise TypeError exception
Fri, 23 Oct 2020
version 0.54.4
fixed indexing error in slices
Mon, 17 Aug 2020
version 0.54.3
fixed small error in linalg
Mon, 03 Aug 2020
version 0.54.2
argsort throws an error, if the array is longer than 65535
Wed, 29 Jul 2020
version 0.54.1
changed to size_t for the length of arrays
Thu, 23 Jul 2020
version 0.54.0
added norm to linalg
Wed, 22 Jul 2020
version 0.53.2
added circuitpython documentation stubs to the source files
Wed, 22 Jul 2020
version 0.53.1
fixed arange with negative steps
Mon, 20 Jul 2020
version 0.53.0
added arange to create.c
Thu, 16 Jul 2020
version 0.52.0
added trapz to approx
Mon, 29 Jun 2020
version 0.51.1
fixed argmin/argmax issue
Fri, 19 Jun 2020
version 0.51.0
add sosfilt to the filter sub-module
Fri, 12 Jun 2020
version 0.50.2
fixes compilation error in openmv
Mon, 1 Jun 2020
version 0.50.1
fixes error in numerical max/min
Mon, 18 May 2020
version 0.50.0
move interp to the approx sub-module
Wed, 06 May 2020
version 0.46.0
add curve_fit to the approx sub-module
version 0.44.0
add approx sub-module with newton, fmin, and bisect functions
Thu, 30 Apr 2020
version 0.44.0
add approx sub-module with newton, fmin, and bisect functions
Tue, 19 May 2020
version 0.46.1
fixed bad error in binary_op
Wed, 6 May 2020
version 0.46
added vectorisation of python functions
Sat, 2 May 2020
version 0.45.0
add equal/not_equal to the compare module
Tue, 21 Apr 2020
version 0.42.0
add minimum/maximum/clip functions
Mon, 20 Apr 2020
version 0.41.6
argument handling improvement in polyfit
Mon, 20 Apr 2020
version 0.41.5
fix compilation errors due to https://github.com/micropython/micropython/commit/30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b
Sat, 18 Apr 2020
version 0.41.4
fix compilation error on hardware ports
Tue, 14 Apr 2020
version 0.41.3
fix indexing error in dot function
Thu, 9 Apr 2020
version 0.41.2
fix transpose function
Tue, 7 Apr 2020
version 0.41.2
fix discrepancy in argmin/argmax behaviour
Tue, 7 Apr 2020
version 0.41.1
fix error in argsort
Sat, 4 Apr 2020
version 0.41.0
implemented == and != binary operators
Fri, 3 Apr 2020
version 0.40.0
added trace to linalg
Thu, 2 Apr 2020
version 0.39.0
added the ** operator, and operand swapping in binary operators
Thu, 2 Apr 2020
version 0.38.1
added fast option, when initialising from ndarray_properties
Thu, 12 Mar 2020
version 0.38.0
added initialisation from ndarray, and the around function
Tue, 10 Mar 2020
version 0.37.0
added Cholesky decomposition to linalg.c
Thu, 27 Feb 2020
version 0.36.0
moved zeros, ones, eye and linspace into separate module (they are still bound at the top level)
Thu, 27 Feb 2020
version 0.35.0
Move zeros, ones back into top level ulab module
Tue, 18 Feb 2020
version 0.34.0
split ulab into multiple modules
Sun, 16 Feb 2020
version 0.33.2
moved properties into ndarray_properties.h, implemented pointer arithmetic in fft.c to save some time
Fri, 14 Feb 2020
version 0.33.1
added the __name__attribute to all sub-modules
Thu, 13 Feb 2020
version 0.33.0
sub-modules are now proper sub-modules of ulab
Mon, 17 Feb 2020
version 0.32.1
temporary fix for issue #40
Tue, 11 Feb 2020
version 0.32.0
added itemsize, size and shape attributes to ndarrays, and removed rawsize
Mon, 10 Feb 2020
version 0.31.0
removed asbytearray, and added buffer protocol to ndarrays, fixed bad error in filter.c
Sun, 09 Feb 2020
version 0.30.2
fixed slice_length in ndarray.c
Sat, 08 Feb 2020
version 0.30.1
fixed typecode error, added variable inspection, and replaced ternary operators in filter.c
Fri, 07 Feb 2020
version 0.30.0
ulab functions can arbitrarily be excluded from the firmware via the ulab.h configuration file
Thu, 06 Feb 2020
version 0.27.0
add convolve, the start of a 'filter' functionality group
Wed, 29 Jan 2020
version 0.26.7
fixed indexing error in linalg.dot
Mon, 20 Jan 2020
version 0.26.6
replaced MP_ROM_PTR(&mp_const_none_obj), so that module can be compiled for the nucleo board
Tue, 7 Jan 2020
version 0.26.5
fixed glitch in numerical.c, numerical.h
Mon, 6 Jan 2020
version 0.26.4
switched version constant to string
Tue, 31 Dec 2019
version 0.263
changed declaration of ulab_ndarray_type to extern
Fri, 29 Nov 2019
version 0.262
fixed error in macro in vectorise.h
Thu, 28 Nov 2019
version 0.261
fixed bad indexing error in linalg.dot
Tue, 6 Nov 2019
version 0.26
added in-place sorting (method of ndarray), and argsort
Mon, 4 Nov 2019
version 0.25
added first implementation of sort, and fixed section on compiling the module in the manual
Thu, 31 Oct 2019
version 0.24
added diff to numerical.c
Tue, 29 Oct 2019
version 0.23
major revamp of subscription method
Sat, 19 Oct 2019
version 0.21
fixed trivial bug in .rawsize()
Sat, 19 Oct 2019
version 0.22
fixed small error in linalg_det, and implemented linalg_eig.
Thu, 17 Oct 2019
version 0.21
implemented uniform interface for fft, and spectrum, and added ifft.
Wed, 16 Oct 2019
version 0.20
Added flip function to numerical.c, and moved the size function to linalg. In addition,
size is a function now, and not a method.
Tue, 15 Oct 2019
version 0.19
fixed roll in numerical.c: it can now accept the axis=None keyword argument, added determinant to linalg.c
Mon, 14 Oct 2019
version 0.18
fixed min/man function in numerical.c; it conforms to numpy behaviour
Fri, 11 Oct 2019
version 0.171
found and fixed small bux in roll function
Fri, 11 Oct 2019
version 0.17
universal function can now take arbitrary typecodes
Fri, 11 Oct 2019
version 0.161
fixed bad error in iterator, and make_new_ndarray
Thu, 10 Oct 2019
varsion 0.16
changed ndarray to array in ulab.c, so as to conform to numpy's notation
extended subscr method to include slices (partially works)
Tue, 8 Oct 2019
version 0.15
added inv, neg, pos, and abs unary operators to ndarray.c
Mon, 7 Oct 2019
version 0.14
made the internal binary_op function tighter, and added keyword arguments to linspace
Sat, 4 Oct 2019
version 0.13
added the <, <=, >, >= binary operators to ndarray
Fri, 4 Oct 2019
version 0.12
added .flatten to ndarray, ones, zeros, and eye to linalg
Thu, 3 Oct 2019
version 0.11
binary operators are now based on macros
|