micropython-ulab
micropython-ulab copied to clipboard
a numpy-like fast vector module for micropython, circuitpython, and their derivatives
First of all, thanks for bring numpy and scipy to embedded Python. It's so cool to have all these math abilities now available in micropython! I'm working on an online...
**Describe the bug** The qr functions seems to calculate wrong values if i'm not totally wrong. The proof "np.dot(q,r)" == A is true, but when i calculate the eigenvectors based...
I am trying to add ulab to Lego's spike prime product. This should be possible because it uses an [STM32F413](https://www.st.com/en/microcontrollers-microprocessors/stm32f413-423.html). Is it possible to compile and add ulab without flashing...
Hi, I wonder if it's possible to implement the hilbert transform with micropython ulab. Best regards
[https://numpy.org/doc/1.21/reference/generated/numpy.insert.html](https://numpy.org/doc/1.21/reference/generated/numpy.insert.html) ```python b = np.array([[1, 2, 3], [4, 5, 6]]) ``` >array([[1, 2, 3], > [4, 5, 6]]) ```python np.insert(b, 1, [7, 8, 9]) ``` >array([1, 7, 8, 9, 2,...
[https://numpy.org/doc/stable/reference/maskedarray.generic.html](https://numpy.org/doc/stable/reference/maskedarray.generic.html) `numpy.ma` have some functions, can we implement several? `numpy.ma.array`, `numpy.ma.ones`, `numpy.ma.empty`, `numpy.ma.arange`, `numpy.ma.masked_where` ```python import numpy.ma as ma a = ma.arange(25).reshape(5, 5) a ``` >masked_array( > data=[[ 0, 1,...
[https://numpy.org/doc/stable/reference/generated/numpy.unique.html](https://numpy.org/doc/stable/reference/generated/numpy.unique.html)
@vikas-udupa Vikas, according to the documentation, https://docs.scipy.org/doc/scipy/reference/generated/scipy.linalg.cho_solve.html, the first argument of `cho_solve` is a tuple, while https://github.com/v923z/micropython-ulab/pull/391 implements it with a single matrix. I overlooked the issue at the time,...
On formal Numpy, the output for **print(type((np.array([1],dtype=np.int32)[0])))** is ****, the array items keeps their types when used as scalars. On ulab the items out of the array becomes 'int' or...
Two bugs: 1. numpy casting does not follow expected casting (compared with my python 3 or https://www.onlinegdb.com/) Adding the value '1' to an 8-bits array changes the type of the...