micropython-ulab
micropython-ulab copied to clipboard
a numpy-like fast vector module for micropython, circuitpython, and their derivatives
If you find that you would need a `numpy` function that is not implemented in `ulab`, please, open a new issue for each function you want to have implemented. This...
**Describe the bug** Latest changes in micropython break ulab (using latest version) **To Reproduce** Try to recompile latest micropython version with ulab included **Additional context** 
I would like the ability to use one ndarray to index into another one, aka “Advanced indexing” (https://numpy.org/doc/stable/user/basics.indexing.html) eg: x = np.arange(10, 1, -1) -> x array([10, 9, 8, 7,...
**Describe the solution you'd like** Implement fancy indexing based on https://numpy.org/doc/stable/reference/generated/numpy.take.html **Additional context** The implementation would resolve https://github.com/v923z/micropython-ulab/issues/607 in the most frequent use cases.
Details and rationale are outlined in https://github.com/v923z/micropython-ulab/blob/spectrum/docs/ulab-utils.ipynb, but the gist is that `spectrogram` now allows for the re-use of allocated memory (through the `out`, and `scratchpad` keyword arguments), as well...
Close #607. This implements integer array indexing with the following limitations as of now: TODO: - [x] u/int index types - [x] multi-dimensional index arrays - [ ] negative indices...
ulab commit: eacb0c9 ARM _just_ released a gcc13 toolchain: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads. CircuitPython just converted the `main` branch of CircuitPython to use gcc 13. In general we see a decrease of code...
**Describe the bug** built from main branch Issue is while rearranging 2 dimensional array, giving below error IndexError: indices must be integers, slices, or Boolean lists but works good with...
**numpy.load() feature upgrade** Hi, Can you please add a very useful feature of using memmap to load only a part of numpy array from a file? For example 1. Let's...
Not building with latest micropython with esp32