Zoltán Vörös
54ff3f30dd
fix ndarray_is_dense, eye, ones, full, and zeros for Boolean type
2021-02-21 18:02:40 +01:00
Zoltán Vörös
34c7a456b6
Merge pull request #326 from retsyo/patch-1
...
Update README.md
2021-02-17 18:26:09 +01:00
retsyo
09fc46aa92
Update README.md
...
README.md says
```
try:
from ulab import numpy as np
from ulab import scipy as spy
except ImportError:
import numpy as np
import scipy as spy
x = np.array([1, 2, 3])
spy.special.erf(x)
```
but in fact, for CPython
```
>>> import scipy as spy
>>> spy.special.erf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'scipy' has no attribute 'special'
>>> import scipy.special
>>>
```
so I think the README should be
```
try:
from ulab import numpy
from ulab import scipy
except ImportError:
import numpy
import scipy.special
x = numpy.array([1, 2, 3])
print(x)
print(scipy.special.erf(x))
```
2021-02-17 22:30:45 +08:00
Zoltán Vörös
6f65034c24
Merge pull request #325 from ubIQio/byteswaptest
...
Add test for byteswap
2021-02-15 22:00:33 +01:00
jetpax
fa29c5c92a
Add test for byteswao
2021-02-15 12:57:43 -08:00
Zoltán Vörös
442fed040f
Create CONTRIBUTING.md
2021-02-15 19:40:53 +01:00
Zoltán Vörös
679784a3f1
Update issue templates
2021-02-15 19:32:52 +01:00
Zoltán Vörös
30d67360a4
Update issue templates
2021-02-15 19:30:09 +01:00
Zoltán Vörös
d760d885fd
updated readme
...
This PR incorporates the instructions in https://github.com/v923z/micropython-ulab/issues/323
2021-02-15 18:54:21 +01:00
Zoltán Vörös
487658e22f
Merge pull request #319 from v923z/dot-fix
...
fixed faulty dot function
2021-02-15 18:09:56 +01:00
Zoltán Vörös
74f819e5fb
Merge branch 'master' into dot-fix
2021-02-15 18:08:45 +01:00
Zoltán Vörös
bd9cd88192
Merge pull request #324 from v923z/byteswap-doc
...
updated docs with a section on byteswap
2021-02-15 18:01:22 +01:00
Zoltán Vörös
b6ba1071d1
updated docs with a section on byteswap
2021-02-15 17:11:18 +01:00
Zoltán Vörös
2c69328303
Merge pull request #322 from v923z/frombuffer-fix
...
removed dangling byte from frombuffer
2021-02-14 09:53:22 +01:00
Zoltán Vörös
d512e716c3
Merge pull request #317 from v923z/byteswap
...
implemented byteswap
2021-02-14 09:44:54 +01:00
Zoltán Vörös
efcfeff790
Merge branch 'master' into byteswap
2021-02-14 09:36:07 +01:00
Zoltán Vörös
8444b12c90
Merge pull request #321 from v923z/frombuffer-fix
...
fixes frombuffer implementation glitch
2021-02-14 09:34:51 +01:00
Zoltán Vörös
281b8da84a
removed dangling byte from frombuffer
2021-02-14 09:32:37 +01:00
Zoltán Vörös
60d017d3f6
fixes frombuffer implementation glitch
2021-02-14 09:04:42 +01:00
Zoltán Vörös
a0cd09c7c3
Update README.md
2021-02-13 11:16:49 +01:00
Zoltán Vörös
6b9ec26d02
Update README.md
2021-02-13 11:13:59 +01:00
Zoltán Vörös
51a8c12820
Update README.md
2021-02-13 11:12:26 +01:00
Zoltán Vörös
18f3b180b3
fixed faulty dot function
2021-02-13 10:19:46 +01:00
Zoltán Vörös
3486f77a80
Merge pull request #318 from v923z/transform
...
moved the dot function to numpy
2021-02-13 09:40:09 +01:00
Zoltán Vörös
0e76f9458d
updated trace/dot documentation
2021-02-13 09:37:34 +01:00
Zoltán Vörös
317943b970
moved trace to numpy
2021-02-13 09:25:08 +01:00
Zoltán Vörös
701ad767c8
moved the dot function to numpy
2021-02-13 09:06:02 +01:00
Zoltán Vörös
27bc5b2e79
implemented byteswap
2021-02-12 21:10:08 +01:00
Zoltán Vörös
ab964b94be
Merge pull request #314 from ubIQio/ubIQio-patch-1
...
Add vector 2-norm test
2021-02-12 18:35:43 +01:00
Zoltán Vörös
0ea7871404
Merge pull request #316 from v923z/stats
...
simplify array contraction
2021-02-12 18:33:23 +01:00
Zoltán Vörös
7de1d0947e
fixed small glitch in all/any
2021-02-12 18:23:53 +01:00
Zoltán Vörös
8046888d99
simplified array contraction algorithm
2021-02-12 18:15:42 +01:00
Zoltán Vörös
0b20b30af6
combined macros for std and mean
2021-02-11 08:03:41 +01:00
jetpax
bc7e9bb8df
Fix failing test
2021-02-10 19:21:52 -08:00
Zoltán Vörös
6499453d32
removed redundant code from numerical.c
2021-02-10 20:27:48 +01:00
Zoltán Vörös
93f70d16bc
rationalised code in sum/mean/std
2021-02-10 20:21:24 +01:00
Zoltán Vörös
fd8a2256a6
improved accuracy of sum on iterables
2021-02-10 17:17:49 +01:00
ubIQio
b4f54900bf
Add vector 2-norm axis = 0 test case
2021-02-10 16:21:57 +01:00
Zoltán Vörös
0acf90433e
simplified all/any implementation, fixed tools_reduce_axes function
2021-02-10 07:28:09 +01:00
ubIQio
1754a2eb14
Add vector norm test
2021-02-10 06:08:30 +01:00
Zoltán Vörös
96a944cc38
Merge pull request #313 from v923z/norm-fix
...
removed redundant exception from linalg.norm
2021-02-09 19:24:46 +01:00
Zoltán Vörös
93822e6e13
removed redundant exception from linalg.norm
2021-02-09 19:23:51 +01:00
Zoltán Vörös
5f716a7883
Merge pull request #312 from v923z/norm
...
improved linalg.norm
2021-02-09 18:57:11 +01:00
Zoltán Vörös
6867951ab4
fixed indexing glitch in tools_reduce_axes
2021-02-09 18:53:43 +01:00
Zoltán Vörös
cacb1b66bd
fixed linalg.norm for a special case
2021-02-09 18:26:57 +01:00
Zoltán Vörös
674220c959
updated change log
2021-02-09 17:34:14 +01:00
Zoltán Vörös
0d1379d62b
linalg.norm should not work with the axis keyword argument
2021-02-09 17:32:41 +01:00
Zoltán Vörös
2c71434eab
moved the reduce_axes helper function to ulab_tools
2021-02-09 07:00:47 +01:00
Zoltán Vörös
e00ad9ca11
Merge pull request #311 from v923z/norm
...
improved accuracy of linalg.norm, and extended it to generic iterables
2021-02-08 20:27:12 +01:00
Zoltán Vörös
7c4f4dba48
improved accuracy of linalg.norm, and extended it to generic iterables
2021-02-08 20:24:45 +01:00