update to ulab 4.0.0
This commit is contained in:
parent
ae58858036
commit
af353c9b59
|
@ -1 +1 @@
|
|||
Subproject commit a99e0b98787266369eaa33bdae271de761eca05b
|
||||
Subproject commit 0c7c6b88f3ec1b1d11d2f7d8b185e28ac657c06d
|
|
@ -2624,7 +2624,7 @@ msgstr ""
|
|||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
#: extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2680,11 +2680,11 @@ msgstr ""
|
|||
msgid "branch not in range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
|
||||
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
|
||||
msgid "buffer is smaller than requested size"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
|
||||
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
|
||||
msgid "buffer size must be a multiple of element size"
|
||||
msgstr ""
|
||||
|
||||
|
@ -2776,6 +2776,10 @@ msgstr ""
|
|||
msgid "can't convert '%q' object to %q implicitly"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "can't convert complex to float"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c
|
||||
msgid "can't convert to %q"
|
||||
msgstr ""
|
||||
|
@ -2870,6 +2874,14 @@ msgstr ""
|
|||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot convert complex to dtype"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot convert complex type"
|
||||
msgstr ""
|
||||
|
||||
#: py/objtype.c
|
||||
msgid "cannot create '%q' instances"
|
||||
msgstr ""
|
||||
|
@ -3061,6 +3073,10 @@ msgstr ""
|
|||
msgid "divisor must be 4"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "dtype must be float, or complex"
|
||||
msgstr ""
|
||||
|
||||
#: py/objdeque.c
|
||||
msgid "empty"
|
||||
msgstr ""
|
||||
|
@ -3164,7 +3180,7 @@ msgstr ""
|
|||
msgid "first argument must be a function"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3229,6 +3245,10 @@ msgstr ""
|
|||
msgid "function is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/carray/carray.c
|
||||
msgid "function is implemented for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
#, c-format
|
||||
msgid "function missing %d required positional arguments"
|
||||
|
@ -3342,7 +3362,7 @@ msgstr ""
|
|||
msgid "input and output shapes are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "input argument must be an integer, a tuple, or a list"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3350,7 +3370,7 @@ msgstr ""
|
|||
msgid "input array length must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3358,6 +3378,10 @@ msgstr ""
|
|||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "input dtype must be float or complex"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "input matrix is asymmetric"
|
||||
msgstr ""
|
||||
|
@ -3367,18 +3391,26 @@ msgstr ""
|
|||
msgid "input matrix is singular"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/carray/carray.c
|
||||
msgid "input must be a 1D ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
|
||||
msgid "input must be a dense ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "input must be a tensor of rank 2"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
|
||||
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
|
||||
msgid "input must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/carray/carray.c
|
||||
msgid "input must be an ndarray, or a scalar"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/scipy/signal/signal.c
|
||||
msgid "input must be one-dimensional"
|
||||
msgstr ""
|
||||
|
@ -3749,7 +3781,11 @@ msgstr ""
|
|||
msgid "not enough arguments for format string"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/carray/carray_tools.c
|
||||
msgid "not implemented for complex dtype"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "number of points must be at least 2"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3807,7 +3843,7 @@ msgstr ""
|
|||
msgid "odd-length string"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
|
||||
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
|
||||
msgid "offset is too large"
|
||||
msgstr ""
|
||||
|
||||
|
@ -3815,7 +3851,7 @@ msgstr ""
|
|||
msgid "offset must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "offset must be non-negative and no greater than buffer length"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4294,7 +4330,7 @@ msgstr ""
|
|||
msgid "too many arguments provided with the given format"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
|
||||
msgid "too many dimensions"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4495,7 +4531,7 @@ msgstr ""
|
|||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c
|
||||
#: extmod/ulab/code/numpy/create.c
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
|
@ -4503,7 +4539,11 @@ msgstr ""
|
|||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "wrong length of condition array"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -337,6 +337,10 @@ extern const struct _mp_obj_module_t nvm_module;
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef ULAB_SUPPORTS_COMPLEX
|
||||
#define ULAB_SUPPORTS_COMPLEX (0)
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_ULAB
|
||||
// ulab requires reverse special methods
|
||||
#if defined(MICROPY_PY_REVERSE_SPECIAL_METHODS) && !MICROPY_PY_REVERSE_SPECIAL_METHODS
|
||||
|
|
Loading…
Reference in New Issue