Zoltán Vörös
a8b78fa051
fixed dot test
2021-03-08 17:15:18 +01:00
Zoltán Vörös
c00c7c9c39
Update ulab-utils.rst
2021-03-08 09:17:55 +01:00
Zoltán Vörös
84062fc1cd
Update index.rst
2021-03-08 09:17:06 +01:00
Zoltán Vörös
c147c90a1e
Merge pull request #342 from v923z/utils
...
added first implementation of utils sub-module
2021-03-08 09:07:35 +01:00
Zoltán Vörös
c501569dd7
add from_buffer tests
2021-03-08 07:18:55 +01:00
Zoltán Vörös
663a7d2fe0
add from_int16_buffer, from_uint16_buffer functions
2021-03-05 15:25:46 +01:00
Zoltán Vörös
48418d46ab
fix header constants
2021-03-05 08:03:56 +01:00
Zoltán Vörös
e6ac55a142
change function names to from_int32_buffer, from_uint32_buffer
2021-03-05 07:59:39 +01:00
Zoltán Vörös
9a78b59ab5
fix loop counter
2021-03-05 07:39:37 +01:00
Zoltán Vörös
ebf2cc4bc1
wrote docs for the utils module
2021-03-04 20:11:22 +01:00
Zoltán Vörös
3929e6b49d
added from_uintbuffer function
2021-03-04 19:16:34 +01:00
Zoltán Vörös
c84bf46d7e
added first implementation of utils sub-module
2021-03-03 20:15:06 +01:00
Zoltán Vörös
cd51012fa0
Merge pull request #340 from v923z/dot-fix
...
fix dot function
2021-02-23 23:23:58 +01:00
Zoltán Vörös
3fb04aedac
fix dot function
2021-02-23 23:17:45 +01:00
Zoltán Vörös
42212622ff
Merge pull request #338 from v923z/master-buffer
...
re-introduce ndarray_get_buffer, and buffer protocol
2021-02-21 21:34:06 +01:00
Zoltán Vörös
06cb1c2388
buffer tests pass now
2021-02-21 21:31:46 +01:00
Zoltán Vörös
b8b98be91b
add trailing newline in buffer.py.exp
2021-02-21 21:21:17 +01:00
Zoltán Vörös
f821c2a8fe
fix import error buffer test
2021-02-21 21:19:47 +01:00
Zoltán Vörös
0aef4a9e25
add buffer tests
2021-02-21 21:09:28 +01:00
Zoltán Vörös
6fb6f2383f
re-introduce ndarray_get_buffer, and buffer protocol
2021-02-21 21:06:02 +01:00
Zoltán Vörös
ce763eba4b
Merge pull request #337 from v923z/dense-fix
...
fix ndarray_is_dense, eye, ones, full, and zeros for Boolean type
2021-02-21 18:07:00 +01:00
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