Zoltán Vörös
e3a74453a8
trying to fix test routines
2020-03-11 18:53:06 +01:00
Zoltán Vörös
18d13e4252
added tests for inv, and det
2020-03-11 17:15:30 +01:00
Zoltán Vörös
cb1b1d352b
added test files for the poly sub-module
2020-03-11 07:31:00 +01:00
Zoltán Vörös
c354657eda
added test files for the Cholesky decomposition
2020-03-11 07:04:26 +01:00
Zoltán Vörös
037cd6e733
re-named spectrum->spectrogram, updated manual
2020-03-10 21:11:44 +01:00
Jeff Epler
1095994a4a
Merge pull request #59 from v923z/cholesky
...
added Cholesky decomposition to linalg.c, updated documentation
2020-03-10 14:51:48 -05:00
Jeff Epler
ea2bf3c236
Merge pull request #57 from v923z/spectrum
...
moved spectrum to extras module
2020-03-10 14:51:37 -05:00
Zoltán Vörös
525fbb6527
added Cholesky decomposition to linalg.c, updated documentation
2020-03-10 20:40:11 +01:00
Zoltán Vörös
5d0eab244b
added function declarations to linalg.h
2020-03-09 21:22:31 +01:00
Zoltán Vörös
6b3d43846f
moved spectrum to extras module
2020-03-09 20:47:58 +01:00
Jeff Epler
8241546378
Merge pull request #56 from v923z/workflow
...
include only code changes in workflow file
2020-03-07 20:31:00 -06:00
Zoltán Vörös
0434045293
Update README.md
...
Clarified statement on CP builds.
2020-03-07 09:46:50 +01:00
Zoltán Vörös
34c2355a2a
tried to fix workflow file
2020-03-07 09:36:10 +01:00
Zoltán Vörös
0faa89e3a5
tried to fix workflow file
2020-03-07 09:33:48 +01:00
Zoltán Vörös
c0979509b4
run CI only for changes in code/, and tests/
2020-03-07 09:31:30 +01:00
Zoltán Vörös
ef2c91c1fb
Merge pull request #55 from v923z/readme
...
updated readme
2020-03-06 21:18:54 +01:00
Zoltán Vörös
fb1153d3b3
updated readme
2020-03-06 21:15:49 +01:00
Zoltán Vörös
847c7f9d63
Merge pull request #54 from v923z/readme
...
updated readme
2020-03-06 18:31:04 +01:00
Zoltán Vörös
ab8b5fe4b1
updated readme
2020-03-06 18:27:59 +01:00
Zoltán Vörös
700e3ff1ac
Merge pull request #53 from v923z/jepler-patch-1
...
Update README.md with circuitpython mentions
2020-03-05 19:24:42 +01:00
Jeff Epler
a35c4ff1d8
Update README.md with circuitpython mentions
2020-03-05 07:22:22 -06:00
Zoltán Vörös
a6ebfc1ade
Merge pull request #52 from codemee/master
...
Deleting "#define MODULE_ULAB_ENABLED (1)"
2020-03-02 07:57:33 +01:00
codemee
882294dabf
Deleting "#define MODULE_ULAB_ENABLED (1)"
...
Since the micropython.mk file has added the following line
```
CFLAGS_EXTRA = -DMODULE_ULAB_ENABLED=1
```
There's no need to add #define MODULE_ULAB_ENABLED (1) in the mpconfigport.h.Or it would make redefined errors while compiling code.
2020-03-02 12:26:19 +08:00
Zoltán Vörös
adda973b56
Merge pull request #50 from jepler/slicing-fixes
...
Slicing fixes
2020-03-01 18:47:59 +01:00
Jeff Epler
903016ec44
slicing: add test of slice assignment
...
This tests that ulab and python3/numpy match on various slice assignments
that preserve the length of the array. slice assignments that change
the length of the array are not tested.
Unlike the case of "load slice", this case of "modify slice" is not
compared to the built in list type, since "modify slice" is only
implemented in micropython for simple (stride=1) slices.
2020-02-29 17:11:56 -06:00
Jeff Epler
380b8b0347
Add new test of slicing
...
Closes : #32
2020-02-29 17:00:53 -06:00
Jeff Epler
f9fabc5079
Fix handling of negative indices
...
I don't know why, but mp_seq_get_fast_slice_indexes adjusts "stop" in a
surprising way, and that led to the (remaining) differences in slicing
between ulab and built-in lists.
// If the index is negative then stop points to the last item, not after it
if (indexes->step < 0) {
indexes->stop++;
}
Call the underlying routine, mp_obj_slice_indices, instead.
2020-02-29 17:00:42 -06:00
Jeff Epler
585513ce76
Return empty slices as empty ndarrays, not exceptions
...
This matches the behavior of built-in lists as well as numpy
2020-02-29 16:57:59 -06:00
Jeff Epler
2ea9656d3f
build: include debug information (may also disable optimization)
...
.. this makes it much more pleasant to trace down problems using gdb.
2020-02-29 16:57:09 -06:00
Jeff Epler
66b89de8c7
Always include creation functions
2020-02-27 14:07:04 -06:00
Jeff Epler
844b85018b
Merge pull request #49 from jepler/gitignore
...
ignore files created by ./build.sh
2020-02-27 13:58:25 -06:00
Jeff Epler
1c1a693a2b
Merge pull request #48 from v923z/create
...
created new create sub-module for ndarray initialisation functions
2020-02-27 13:58:14 -06:00
Jeff Epler
f81e950513
ignore files created by ./build.sh
2020-02-27 13:56:09 -06:00
Jeff Epler
ffff7606c8
fix tests after 'eye' was moved
2020-02-27 13:53:29 -06:00
Zoltán Vörös
bee25781b9
added new source file...
2020-02-27 20:46:52 +01:00
Zoltán Vörös
47bf2ec9a7
created new create sub-module for ndarray initialisation functions
2020-02-27 20:39:13 +01:00
Jeff Epler
badeee48df
Merge pull request #47 from jepler/local-build-script
...
a script to build and run tests locally
2020-02-27 10:12:03 -06:00
Jeff Epler
e370e56a15
a script to build and run tests locally
2020-02-27 10:11:34 -06:00
Jeff Epler
db5f1f85bb
Merge pull request #46 from jepler/ndarray-properties-sort
...
Ndarray properties sort
2020-02-27 10:11:17 -06:00
Jeff Epler
2bddc94df5
Merge pull request #45 from jepler/move-ones-zeros
...
Move zeros(), ones() to base ulab module
2020-02-27 10:08:29 -06:00
Jeff Epler
aa5ef4afb9
Enable sort method in circuitpython
2020-02-27 10:06:33 -06:00
Jeff Epler
d99d834d87
Enable properties in circuitpython
...
I verified that these work for us as coded.
2020-02-27 10:06:27 -06:00
Jeff Epler
83479f115b
Move zeros(), ones() to base ulab module
2020-02-27 10:05:50 -06:00
924dc7012a
Merge pull request #44 from jepler/circuitpy-fixes
...
Circuitpy fixes
2020-02-27 09:29:43 -06:00
Jeff Epler
daaacac16f
Remove CIRCUITPY special cases
2020-02-27 08:56:07 -06:00
Jeff Epler
aa4d53e292
Use circuitpy-compat for none
2020-02-27 08:56:04 -06:00
3febd79aa0
Merge pull request #41 from v923z/2dim
...
Split ulab into multiple modules
2020-02-26 11:29:17 -06:00
Zoltán Vörös
7e2be88dff
Merge branch '2dim' of github.com:v923z/micropython-ulab into 2dim
...
added circuitpython-related stuff to code and manual
2020-02-26 18:06:19 +01:00
Zoltán Vörös
e0e840f6d5
added circuitpython-related stuff to the manual
2020-02-26 18:05:49 +01:00
102ba5032e
add missing expected-file
2020-02-18 21:40:31 -06:00