Zoltán Vörös
be7f18e888
fixed in-place divide
2020-11-17 07:09:24 +01:00
Zoltán Vörös
424abb0d66
fixed in-place power
2020-11-17 07:06:44 +01:00
Zoltán Vörös
b17eb0284f
swapped N, M in eye
2020-11-16 22:40:58 +01:00
Zoltán Vörös
9d2e60a0e3
fixed indexing error in trace
2020-11-16 22:22:45 +01:00
Zoltán Vörös
a291cfe0c7
implemented clip fix
2020-11-16 22:02:28 +01:00
Zoltán Vörös
ba0751edc8
set NDARRAY_BINARY_USES_FUN_POINTER to 0
2020-11-16 18:33:03 +01:00
Zoltán Vörös
e311773963
added function pointer option to pow and true divide
2020-11-16 07:23:17 +01:00
Zoltán Vörös
91dc3b9bf4
added function pointers in vectorise
2020-11-13 17:06:59 +01:00
Zoltán Vörös
259f030750
added linalg_tools
2020-11-12 18:26:37 +01:00
Zoltán Vörös
31c678b6ee
factored out matrix inversion and Jacobi rotations
2020-11-12 18:26:01 +01:00
Zoltán Vörös
fdd99fe776
factored out the FFT kernel into a separate file
2020-11-12 08:52:39 +01:00
Zoltán Vörös
434ea7b04c
Merge branch 'master' into dtype2
2020-11-11 19:27:25 +01:00
Zoltán Vörös
964db3cc57
Merge branch 'master' into sum-fix
2020-11-11 18:13:31 +01:00
Zoltán Vörös
821cae1cc8
Merge branch 'master' into cumtrapz
2020-11-11 18:04:22 +01:00
Zoltán Vörös
584644ba71
improved sum accuracy of float types
2020-11-11 17:35:38 +01:00
Zoltán Vörös
080244a50a
improved the accuracy of trapz
2020-11-11 17:23:47 +01:00
Zoltán Vörös
a5c439b127
transpose fix
2020-11-11 07:35:14 +01:00
Zoltán Vörös
2ec3a422ce
dtype is exposed in circuitpython, too
2020-11-11 07:23:59 +01:00
Zoltán Vörös
1ca41e5d80
fixed slicing issues
2020-11-10 19:43:09 +01:00
Zoltán Vörös
24fe1dcbe1
fixes array casting glitch
2020-11-09 21:03:18 +01:00
Zoltán Vörös
091ab1925d
added the axis=None option to sum/mean/std
2020-11-09 19:01:51 +01:00
Zoltán Vörös
c97d05dc4a
fixed indexing/array in numerical
2020-11-06 19:08:26 +01:00
Zoltán Vörös
89ac466c1d
Merge branch 'master' into tools
2020-11-06 17:50:58 +01:00
Zoltán Vörös
b7c135faf7
added function pointer tools
2020-11-06 17:49:56 +01:00
Zoltán Vörös
0b47ac7bce
updated change log
2020-11-04 07:08:09 +01:00
Zoltán Vörös
ecb0a7775b
fixed pointer bug in eig
2020-11-03 21:28:32 +01:00
Zoltán Vörös
2f9ca94602
Merge branch 'master' into median
2020-11-03 21:01:49 +01:00
Zoltán Vörös
0f634f9ee3
median implemented for higher dimensional arrays
2020-11-03 20:50:41 +01:00
Zoltán Vörös
c84ea225bd
median implemented for linear arrays
2020-11-03 19:07:11 +01:00
Zoltán Vörös
adfa60fbc9
fixed bad error in numerical.sort
2020-11-03 17:39:18 +01:00
Zoltán Vörös
ca99f2f0e1
fixed iteration loop in norm, shape
2020-11-03 17:04:40 +01:00
Zoltán Vörös
db1a822c3b
fixed initialisation error in ndarray_make_new_core
2020-11-02 23:01:07 +01:00
Zoltán Vörös
dc4c9d692a
implemented second half of diag
2020-11-02 22:30:15 +01:00
Zoltán Vörös
e15c13feaa
fixed diagonal glitch
2020-11-02 22:14:58 +01:00
Zoltán Vörös
8c16c683a6
Merge branch 'master' into dtype
2020-11-02 21:54:35 +01:00
Zoltán Vörös
b7f95c4122
added an implementation of dtype
2020-11-02 21:52:12 +01:00
Zoltán Vörös
984ddf51b4
added dtype implementation
2020-11-02 18:06:29 +01:00
Zoltán Vörös
ee6e53d65b
fixed small error in argmin_argmax
2020-11-01 20:53:32 +01:00
Zoltán Vörös
475c0ae465
added diagonal and updated extract_pyi from circuitpython
2020-10-31 21:48:02 +01:00
Zoltán Vörös
13ce751255
bumped version number to 1.0.0
2020-10-30 23:15:53 +01:00
Zoltán Vörös
9df0ddf8f2
Merge branch 'tensor'
...
Updates the master branch with all changes implemented in tensor
2020-10-30 23:14:03 +01:00
Zoltán Vörös
4098558a35
docs can be generated from stubs now
2020-10-30 22:11:02 +01:00
Zoltán Vörös
1e69c5fc06
preparing docs for 1.0.0 release
2020-10-25 22:15:33 +01:00
Zoltán Vörös
a5242bb7b3
fixed CP-compatibilty in workflow file
2020-10-25 10:28:50 +01:00
d0f68c8560
Fix doc build problem in CircuitPython
...
CircuitPython doc build fails with this diagnostic:
```
/home/runner/work/circuitpython/circuitpython/shared-bindings/ulab/index.rst:220:'any' reference target not found: List[float]
```
Use double backticks instead of single backticks to differentiate between
a reference to a type and just "show in monospace font".
2020-10-24 15:08:48 -05:00
Zoltán Vörös
ee8b72addd
wrong type in indexing raises TypeError now
2020-10-24 18:43:32 +02:00
Zoltán Vörös
04fa205ece
Merge pull request #182 from v923z/slice-patch
...
Slice patch
2020-10-23 22:12:54 +02:00
Zoltán Vörös
3617b0735e
fixed indexing error
2020-10-23 22:09:49 +02:00
Zoltán Vörös
864d5a68bb
fixed compilation error in approx
2020-10-23 22:00:41 +02:00
Zoltán Vörös
ccb6be5b11
fixed compilation error in eye
2020-10-23 21:55:32 +02:00
Zoltán Vörös
96be400e08
bumped version number
2020-10-23 21:47:43 +02:00
Zoltán Vörös
e2be5a001e
slicing throws an IndexError, if the index is not the proper type
2020-10-23 21:44:54 +02:00
Taku Fukada
1d18ab0381
Update type hints for the new/modified functions
2020-10-23 06:00:38 +09:00
Zoltán Vörös
ddd553f76f
fixed slicing error
2020-10-21 07:12:25 +02:00
Zoltán Vörös
0bfba3bf1b
fixed binary operators for empty arrays
2020-10-17 23:35:24 +02:00
Zoltán Vörös
ca61961d22
fixed test scripts
2020-10-17 21:26:59 +02:00
Zoltán Vörös
e2fd36ed7a
fixed error in eye
2020-10-17 18:23:31 +02:00
Zoltán Vörös
29f1bad2d8
fixed small error in flatten
2020-10-17 17:03:37 +02:00
Zoltán Vörös
16b973d54c
fixed small slicing error
2020-10-17 14:57:57 +02:00
Zoltán Vörös
89801ab12c
restored circuitpython compatibility
2020-10-17 13:47:26 +02:00
Zoltán Vörös
5ab7b1cd3d
re-organised ndarray_properties.h
2020-10-17 10:28:17 +02:00
Zoltán Vörös
511bb5f6c9
added in-place operators for 1, 3, and 4 dimensions
2020-10-16 22:14:13 +02:00
Zoltán Vörös
6529a2ef16
fixed error introduced in the last commit
2020-10-16 08:01:51 +02:00
Zoltán Vörös
ca6e707f66
arrays can now be initialised from arrays
2020-10-16 07:54:43 +02:00
Zoltán Vörös
c29df37e7b
added concatenate
2020-10-15 18:26:12 +02:00
Zoltán Vörös
6723fdb66e
fixed #if/#endif clause
2020-10-14 21:07:54 +02:00
Zoltán Vörös
5389575c07
updated the arctan2 function
2020-10-14 21:03:29 +02:00
Zoltán Vörös
b724c99262
removed debug print
2020-10-14 20:28:39 +02:00
Zoltán Vörös
7af7042572
fixed in-place operators
2020-10-14 20:27:37 +02:00
Zoltán Vörös
c2fac359a5
updated around
2020-10-14 07:20:58 +02:00
Zoltán Vörös
d1c7af3cb5
implemented assignment into Boolean-indexed arrays
2020-10-13 18:15:45 +02:00
Zoltán Vörös
fadc54bd71
implemented Boolean indexing
2020-10-12 20:29:03 +02:00
Zoltán Vörös
a662414ba6
fixed error in numerical sum
2020-10-08 19:44:30 +02:00
Zoltán Vörös
94e4d9e672
fixed some tab <-> spaces oddities
2020-10-07 21:32:50 +02:00
Zoltán Vörös
2e08b2566d
added in-place operators
2020-10-07 21:01:11 +02:00
Zoltán Vörös
ff8d260809
fixed the subscript method
2020-10-06 20:06:51 +02:00
Zoltán Vörös
8dec1328ab
added copy method to ndarray
2020-10-06 07:12:19 +02:00
Zoltán Vörös
b2465a7c16
simplified ndarray code a bit
2020-10-01 19:39:35 +02:00
Zoltán Vörös
0f336ab65b
fixed >=, <= error in binary_op
2020-10-01 07:17:28 +02:00
Zoltán Vörös
0ede57ff42
removed extra if clause from cross product
2020-09-30 19:50:34 +02:00
Zoltán Vörös
6a359e59c8
added cross product to numerical
2020-09-30 19:48:48 +02:00
Zoltán Vörös
3f25cae135
ndarrays can now be unsubscribed
2020-09-30 18:02:04 +02:00
Zoltán Vörös
daed7bf3ce
found and fixed small errors in vectorise and poly
2020-09-30 07:20:57 +02:00
Zoltán Vörös
501663e3fe
added function iterator to ndarray
2020-09-29 18:48:02 +02:00
Zoltán Vörös
dfd4a6729b
added pre-processor switch for unary operators
2020-09-28 21:21:56 +02:00
Zoltán Vörös
7be869fe74
fixed issue with reverse operators in binary_op
2020-09-28 20:53:16 +02:00
Zoltán Vörös
9f917b23c2
added power to binary operators
2020-09-28 19:22:39 +02:00
Zoltán Vörös
2c8faf7680
split binary operators into separate functions
2020-09-26 19:15:43 +02:00
Zoltán Vörös
b7b54cba70
cosmetic changes
2020-09-25 21:12:01 +02:00
Zoltán Vörös
483e9c3dc5
added full
2020-09-24 19:40:58 +02:00
Zoltán Vörös
b7f11232ee
added logscale
2020-09-24 19:11:11 +02:00
Zoltán Vörös
86bed99394
added tobytes method
2020-09-23 20:07:42 +02:00
Zoltán Vörös
32369e56fb
implement numpy compatibility option
2020-09-22 19:08:39 +02:00
Zoltán Vörös
fd7090ce35
added math constants, degrees/radians and defined relevant constants
2020-09-21 21:37:19 +02:00
Zoltán Vörös
c631443971
fixed poly
2020-09-20 21:35:54 +02:00
Zoltán Vörös
58a205aec6
found and fixed error in argsort
2020-09-16 20:35:35 +02:00
Zoltán Vörös
fdd5920f7b
first implementation of argsort (still has small glitch)
2020-09-14 21:50:35 +02:00
Zoltán Vörös
f681f36bc6
fixed sort
2020-08-29 13:19:11 +02:00
Zoltán Vörös
a43e3a45b5
backup commit
2020-08-27 19:24:34 +02:00
Deqing Sun
1061251e06
add MICROPY_FLOAT_CONST for mp_obj_new_float
2020-08-24 14:11:17 -04:00