summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-06-01 17:01:16 -0700
committerScott Shawcroft <scott@tannewt.org>2020-06-01 17:01:16 -0700
commit959f7297dae60b1f39e50727346b037670822f39 (patch)
tree4674f045e53016fc36f6f140de96e34b657d1889
parent323cca8910012e6cbd38a353961e4766fb1c9d1e (diff)
parente889287f6cf0d1f7541297cb9a178eefef5babbe (diff)
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
m---------extmod/ulab0
-rw-r--r--locale/ID.po46
-rw-r--r--locale/circuitpython.pot2
-rw-r--r--locale/cs.po74
-rw-r--r--locale/de_DE.po46
-rw-r--r--locale/en_US.po74
-rw-r--r--locale/en_x_pirate.po74
-rw-r--r--locale/es.po46
-rw-r--r--locale/fil.po46
-rw-r--r--locale/fr.po44
-rw-r--r--locale/it_IT.po46
-rw-r--r--locale/ko.po46
-rw-r--r--locale/nl.po46
-rw-r--r--locale/pl.po46
-rw-r--r--locale/pt_BR.po46
-rw-r--r--locale/sv.po50
-rw-r--r--locale/zh_Latn_pinyin.po46
-rw-r--r--ports/nrf/common-hal/audiobusio/I2SOut.c9
-rw-r--r--ports/nrf/common-hal/audiopwmio/PWMAudioOut.c6
-rw-r--r--ports/stm/boards/nucleo_f746zg/mpconfigboard.h1
-rw-r--r--ports/stm/boards/nucleo_f767zi/mpconfigboard.h2
-rw-r--r--ports/stm/boards/nucleo_h743zi_2/mpconfigboard.h2
-rw-r--r--ports/stm/boards/stm32f412zg_discovery/mpconfigboard.h1
-rw-r--r--ports/stm/boards/stm32f4_discovery/mpconfigboard.h3
-rw-r--r--ports/stm/boards/stm32f746g_discovery/mpconfigboard.h2
-rw-r--r--py/py.mk14
-rw-r--r--shared-bindings/ulab/approx/__init__.pyi52
-rw-r--r--shared-bindings/ulab/compare/__init__.pyi8
-rw-r--r--shared-bindings/ulab/vector/__init__.pyi116
29 files changed, 776 insertions, 218 deletions
diff --git a/extmod/ulab b/extmod/ulab
-Subproject cf61d728e70b9ec57e5711b40540793a89296f5
+Subproject 0394801933f6e68a5bc7cdb0da76c7884e8cf70
diff --git a/locale/ID.po b/locale/ID.po
index 60c4cbd41..17d54d3a1 100644
--- a/locale/ID.po
+++ b/locale/ID.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -885,7 +885,7 @@ msgstr ""
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -975,7 +975,8 @@ msgstr "Pin untuk channel kanan tidak valid"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pin-pin tidak valid"
@@ -1372,7 +1373,8 @@ msgid "Running in safe mode! Not running saved code.\n"
msgstr ""
"Berjalan di mode aman(safe mode)! tidak menjalankan kode yang tersimpan.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA atau SCL membutuhkan pull up"
@@ -2109,6 +2111,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2241,6 +2251,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2294,6 +2312,10 @@ msgstr "fungsi diharapkan setidaknya %d argumen, hanya mendapatkan %d"
msgid "function got multiple values for argument '%q'"
msgstr "fungsi mendapatkan nilai ganda untuk argumen '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2380,6 +2402,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler harus sebuah fungsi"
@@ -2424,6 +2450,10 @@ msgstr ""
msgid "integer required"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3220,6 +3250,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3232,6 +3266,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot
index c657d2ec5..0167992b5 100644
--- a/locale/circuitpython.pot
+++ b/locale/circuitpython.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-06-01 15:17-0700\n"
+"POT-Creation-Date: 2020-06-01 16:52-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/locale/cs.po b/locale/cs.po
index 36f800ebf..38cc92fcc 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-29 10:15-0700\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2020-05-24 03:22+0000\n"
"Last-Translator: dronecz <mzuzelka@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -882,7 +882,7 @@ msgstr ""
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -972,7 +972,8 @@ msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@@ -1364,7 +1365,8 @@ msgstr ""
msgid "Running in safe mode! Not running saved code.\n"
msgstr ""
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr ""
@@ -1658,26 +1660,6 @@ msgstr ""
msgid "WARNING: Your code filename has two extensions\n"
msgstr ""
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer is not currently running"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.timeout must be greater than 0"
-msgstr ""
-
-#: supervisor/shared/safe_mode.c
-msgid "Watchdog timer expired."
-msgstr ""
-
#: py/builtinhelp.c
#, c-format
msgid ""
@@ -2113,6 +2095,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2245,6 +2235,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2298,6 +2296,10 @@ msgstr ""
msgid "function got multiple values for argument '%q'"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2384,6 +2386,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
@@ -2428,6 +2434,10 @@ msgstr ""
msgid "integer required"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3057,10 +3067,6 @@ msgstr ""
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
-#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
-msgid "timeout duration exceeded the maximum supported value"
-msgstr ""
-
#: shared-bindings/busio/UART.c
msgid "timeout must be 0.0-100.0 seconds"
msgstr ""
@@ -3214,10 +3220,6 @@ msgstr ""
msgid "value_count must be > 0"
msgstr ""
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "watchdog timeout must be greater than 0"
-msgstr ""
-
#: shared-bindings/_bleio/Adapter.c
msgid "window must be <= interval"
msgstr ""
@@ -3230,6 +3232,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3242,6 +3248,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 429aedc29..69948e690 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2020-05-29 17:42+0000\n"
"Last-Translator: Thomas Friehoff <thomas.friehoff@googlemail.com>\n"
"Language-Team: German <https://later.unpythonic.net/projects/circuitpython/"
@@ -901,7 +901,7 @@ msgstr "Ungültige BMP-Datei"
msgid "Invalid DAC pin supplied"
msgstr "Ungültiger DAC-Pin angegeben"
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr "Ungültige I2C-Pinauswahl"
@@ -991,7 +991,8 @@ msgstr "Ungültiger Pin für rechten Kanal"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Ungültige Pins"
@@ -1396,7 +1397,8 @@ msgstr "Sicherheitsmodus aktiv! Automatisches Neuladen ist deaktiviert.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Sicherheitsmodus aktiv! Gespeicherter Code wird nicht ausgeführt\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA oder SCL brauchen pull up"
@@ -2163,6 +2165,14 @@ msgstr "Eingabearray konnte nicht aus der Form übertragen werden"
msgid "could not invert Vandermonde matrix"
msgstr "Vandermonde-Matrix konnte nicht invertiert werden"
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr "ddof muss kleiner als die Länge des Datensatzes sein"
@@ -2297,6 +2307,14 @@ msgstr "Die Datei muss eine im Byte-Modus geöffnete Datei sein"
msgid "filesystem must provide mount method"
msgstr "Das Dateisystem muss eine Mount-Methode bereitstellen"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr "Das erste Argument muss iterierbar sein"
@@ -2350,6 +2368,10 @@ msgstr "Funktion erwartet maximal %d Argumente, aber hat %d erhalten"
msgid "function got multiple values for argument '%q'"
msgstr "Funktion hat mehrere Werte für Argument '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr "Die Funktion ist nur für Skalare und Ndarrays implementiert"
@@ -2437,6 +2459,10 @@ msgstr "Indizes müssen Integer sein"
msgid "indices must be integers, slices, or Boolean lists"
msgstr "Indizes müssen Integer, Slices oder Boolesche Listen sein"
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler muss eine function sein"
@@ -2481,6 +2507,10 @@ msgstr "int() arg 2 muss >= 2 und <= 36 sein"
msgid "integer required"
msgstr "integer erforderlich"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3292,6 +3322,10 @@ msgstr "falscher Argumenttyp"
msgid "wrong index type"
msgstr "falscher Indextyp"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "falsche Anzahl an Argumenten"
@@ -3304,6 +3338,10 @@ msgstr "falsche Anzahl zu entpackender Werte"
msgid "wrong operand type"
msgstr "falscher Operandentyp"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x Wert außerhalb der Grenzen"
diff --git a/locale/en_US.po b/locale/en_US.po
index 5ef3da275..579fc6501 100644
--- a/locale/en_US.po
+++ b/locale/en_US.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 10:46-0700\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -874,7 +874,7 @@ msgstr ""
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -964,7 +964,8 @@ msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@@ -1356,7 +1357,8 @@ msgstr ""
msgid "Running in safe mode! Not running saved code.\n"
msgstr ""
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr ""
@@ -1650,26 +1652,6 @@ msgstr ""
msgid "WARNING: Your code filename has two extensions\n"
msgstr ""
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer is not currently running"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.timeout must be greater than 0"
-msgstr ""
-
-#: supervisor/shared/safe_mode.c
-msgid "Watchdog timer expired."
-msgstr ""
-
#: py/builtinhelp.c
#, c-format
msgid ""
@@ -2105,6 +2087,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2237,6 +2227,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2290,6 +2288,10 @@ msgstr ""
msgid "function got multiple values for argument '%q'"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2376,6 +2378,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
@@ -2420,6 +2426,10 @@ msgstr ""
msgid "integer required"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3049,10 +3059,6 @@ msgstr ""
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
-#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
-msgid "timeout duration exceeded the maximum supported value"
-msgstr ""
-
#: shared-bindings/busio/UART.c
msgid "timeout must be 0.0-100.0 seconds"
msgstr ""
@@ -3206,10 +3212,6 @@ msgstr ""
msgid "value_count must be > 0"
msgstr ""
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "watchdog timeout must be greater than 0"
-msgstr ""
-
#: shared-bindings/_bleio/Adapter.c
msgid "window must be <= interval"
msgstr ""
@@ -3222,6 +3224,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3234,6 +3240,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/en_x_pirate.po b/locale/en_x_pirate.po
index f131144ae..b240ab689 100644
--- a/locale/en_x_pirate.po
+++ b/locale/en_x_pirate.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 10:46-0700\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2020-03-30 22:11+0000\n"
"Last-Translator: Tannewt <devnull@unpythonic.net>\n"
"Language-Team: English <https://later.unpythonic.net/projects/circuitpython/"
@@ -883,7 +883,7 @@ msgstr ""
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -973,7 +973,8 @@ msgstr "Belay that! Invalid pin for starboard-side channel"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@@ -1365,7 +1366,8 @@ msgstr "Runnin' in safe mode! Auto-reload be off.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Runnin' in safe mode! Nay runnin' saved code.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr ""
@@ -1659,26 +1661,6 @@ msgstr ""
msgid "WARNING: Your code filename has two extensions\n"
msgstr "Blimey! Yer code filename has two extensions\n"
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer is not currently running"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
-msgstr ""
-
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "WatchDogTimer.timeout must be greater than 0"
-msgstr ""
-
-#: supervisor/shared/safe_mode.c
-msgid "Watchdog timer expired."
-msgstr ""
-
#: py/builtinhelp.c
#, c-format
msgid ""
@@ -2114,6 +2096,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2246,6 +2236,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2299,6 +2297,10 @@ msgstr ""
msgid "function got multiple values for argument '%q'"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2385,6 +2387,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
@@ -2429,6 +2435,10 @@ msgstr ""
msgid "integer required"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3058,10 +3068,6 @@ msgstr ""
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
-#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
-msgid "timeout duration exceeded the maximum supported value"
-msgstr ""
-
#: shared-bindings/busio/UART.c
msgid "timeout must be 0.0-100.0 seconds"
msgstr ""
@@ -3215,10 +3221,6 @@ msgstr ""
msgid "value_count must be > 0"
msgstr ""
-#: shared-bindings/watchdog/WatchDogTimer.c
-msgid "watchdog timeout must be greater than 0"
-msgstr ""
-
#: shared-bindings/_bleio/Adapter.c
msgid "window must be <= interval"
msgstr ""
@@ -3231,6 +3233,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3243,6 +3249,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/es.po b/locale/es.po
index b4f86face..b41121c4d 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2020-05-17 20:56+0000\n"
"Last-Translator: Jeff Epler <jepler@gmail.com>\n"
"Language-Team: \n"
@@ -883,7 +883,7 @@ msgstr "Archivo BMP inválido"
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -973,7 +973,8 @@ msgstr "Pin inválido para canal derecho"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "pines inválidos"
@@ -1374,7 +1375,8 @@ msgstr "Ejecutando en modo seguro! La auto-recarga esta deshabilitada.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Ejecutando en modo seguro! No se esta ejecutando el código guardado.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA o SCL necesitan una pull up"
@@ -2116,6 +2118,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2250,6 +2260,14 @@ msgstr "el archivo deberia ser una archivo abierto en modo byte"
msgid "filesystem must provide mount method"
msgstr "sistema de archivos debe proporcionar método de montaje"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2303,6 +2321,10 @@ msgstr "la función esperaba minimo %d argumentos, tiene %d"
msgid "function got multiple values for argument '%q'"
msgstr "la función tiene múltiples valores para el argumento '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2389,6 +2411,10 @@ msgstr "indices deben ser enteros"
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "ensamblador en línea debe ser una función"
@@ -2433,6 +2459,10 @@ msgstr "int() arg 2 debe ser >= 2 y <= 36"
msgid "integer required"
msgstr "Entero requerido"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3237,6 +3267,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "numero erroneo de argumentos"
@@ -3249,6 +3283,10 @@ msgstr "numero erroneo de valores a descomprimir"
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/fil.po b/locale/fil.po
index 08052a9be..e4c52dced 100644
--- a/locale/fil.po
+++ b/locale/fil.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
"Last-Translator: Timothy <me@timothygarcia.ca>\n"
"Language-Team: fil\n"
@@ -890,7 +890,7 @@ msgstr "Mali ang BMP file"
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -980,7 +980,8 @@ msgstr "Mali ang pin para sa kanang channel"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Mali ang pins"
@@ -1379,7 +1380,8 @@ msgstr "Tumatakbo sa safe mode! Awtomatikong pag re-reload ay OFF.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Tumatakbo sa safe mode! Hindi tumatakbo ang nai-save na code.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "Kailangan ng pull up resistors ang SDA o SCL"
@@ -2125,6 +2127,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2262,6 +2272,14 @@ msgstr "file ay dapat buksan sa byte mode"
msgid "filesystem must provide mount method"
msgstr "ang filesystem dapat mag bigay ng mount method"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2315,6 +2333,10 @@ msgstr "function na inaasahang %d ang argumento, ngunit %d ang nakuha"
msgid "function got multiple values for argument '%q'"
msgstr "ang function ay nakakuha ng maraming values para sa argument '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2402,6 +2424,10 @@ msgstr "ang mga indeks ay dapat na integer"
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler ay dapat na function"
@@ -2446,6 +2472,10 @@ msgstr "int() arg 2 ay dapat >=2 at <= 36"
msgid "integer required"
msgstr "kailangan ng int"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3250,6 +3280,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "mali ang bilang ng argumento"
@@ -3262,6 +3296,10 @@ msgstr "maling number ng value na i-unpack"
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/fr.po b/locale/fr.po
index 9de062b54..1dcf5f004 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -905,7 +905,7 @@ msgstr "Fichier BMP invalide"
msgid "Invalid DAC pin supplied"
msgstr "Broche DAC non valide fournie"
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr "Sélection de broches I2C non valide"
@@ -995,7 +995,8 @@ msgstr "Broche invalide pour le canal droit"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Broches invalides"
@@ -1400,7 +1401,8 @@ msgstr "Mode sans-échec ! Auto-chargement désactivé.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Mode sans-échec ! Le code sauvegardé n'est pas éxecuté.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA ou SCL a besoin d'une résistance de tirage ('pull up')"
@@ -2163,6 +2165,14 @@ msgstr "n'a pas pu diffuser le tableau d'entrée à partir de la forme"
msgid "could not invert Vandermonde matrix"
msgstr "n'a pas pu inverser la matrice Vandermonde"
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr "ddof doit être inférieur à la longueur de l'ensemble de données"
@@ -2299,6 +2309,14 @@ msgstr "le fichier doit être un fichier ouvert en mode 'byte'"
msgid "filesystem must provide mount method"
msgstr "le system de fichier doit fournir une méthode 'mount'"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr "le premier argument doit être un itérable"
@@ -2352,6 +2370,10 @@ msgstr "la fonction attendait au plus %d arguments, reçu %d"
msgid "function got multiple values for argument '%q'"
msgstr "la fonction a reçu plusieurs valeurs pour l'argument '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2440,6 +2462,10 @@ msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
"les indices doivent être des entiers, des tranches ou des listes booléennes"
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "l'assembleur doit être une fonction"
@@ -2484,6 +2510,10 @@ msgstr "l'argument 2 de int() doit être >=2 et <=36"
msgid "integer required"
msgstr "entier requis"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3290,6 +3320,10 @@ msgstr "type d'argument incorrect"
msgid "wrong index type"
msgstr "type d'index incorrect"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "mauvais nombres d'arguments"
@@ -3302,6 +3336,10 @@ msgstr "mauvais nombre de valeurs à dégrouper"
msgid "wrong operand type"
msgstr "type d'opérande incorrect"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "valeur x hors limites"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 4225fe337..960542a04 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2018-10-02 16:27+0200\n"
"Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n"
"Language-Team: \n"
@@ -890,7 +890,7 @@ msgstr "File BMP non valido"
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -982,7 +982,8 @@ msgstr "Pin non valido per il canale destro"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pin non validi"
@@ -1388,7 +1389,8 @@ msgstr "Modalità sicura in esecuzione! Auto-reload disattivato.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Modalità sicura in esecuzione! Codice salvato non in esecuzione.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA o SCL necessitano un pull-up"
@@ -2127,6 +2129,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2263,6 +2273,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr "il filesystem deve fornire un metodo di mount"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2316,6 +2334,10 @@ msgstr "la funzione prevede al massimo %d argmoneti, ma ne ha ricevuti %d"
msgid "function got multiple values for argument '%q'"
msgstr "la funzione ha ricevuto valori multipli per l'argomento '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2403,6 +2425,10 @@ msgstr "gli indici devono essere interi"
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler deve essere una funzione"
@@ -2447,6 +2473,10 @@ msgstr "il secondo argomanto di int() deve essere >= 2 e <= 36"
msgid "integer required"
msgstr "intero richiesto"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3257,6 +3287,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "numero di argomenti errato"
@@ -3269,6 +3303,10 @@ msgstr "numero di valori da scompattare non corretto"
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/ko.po b/locale/ko.po
index af4fd3e7e..4f31e320d 100644
--- a/locale/ko.po
+++ b/locale/ko.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2019-05-06 14:22-0700\n"
"Last-Translator: \n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -878,7 +878,7 @@ msgstr ""
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -968,7 +968,8 @@ msgstr "오른쪽 채널 핀이 잘못되었습니다"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "핀이 유효하지 않습니다"
@@ -1360,7 +1361,8 @@ msgstr ""
msgid "Running in safe mode! Not running saved code.\n"
msgstr ""
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr ""
@@ -2090,6 +2092,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2222,6 +2232,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2275,6 +2293,10 @@ msgstr ""
msgid "function got multiple values for argument '%q'"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2361,6 +2383,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
@@ -2405,6 +2431,10 @@ msgstr ""
msgid "integer required"
msgstr "정수가 필요합니다"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3199,6 +3229,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3211,6 +3245,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/nl.po b/locale/nl.po
index 55241b3bd..13ca26261 100644
--- a/locale/nl.po
+++ b/locale/nl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2020-05-31 11:41+0000\n"
"Last-Translator: _fonzlate <vooralfred@gmail.com>\n"
"Language-Team: none\n"
@@ -894,7 +894,7 @@ msgstr "Ongeldig BMP bestand"
msgid "Invalid DAC pin supplied"
msgstr "Ongeldige DAC pin opgegeven"
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr "Ongeldige I2C pin selectie"
@@ -984,7 +984,8 @@ msgstr "Ongeldige pin voor rechter kanaal"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Ongeldige pinnen"
@@ -1390,7 +1391,8 @@ msgstr "Draaiende in veilige modus! Auto-herlaad is uit.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Draaiende in veilige modus! Opgeslagen code wordt niet uitgevoerd.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA of SCL hebben een pullup nodig"
@@ -2136,6 +2138,14 @@ msgstr "kon de invoerarray niet vanuit vorm uitzenden"
msgid "could not invert Vandermonde matrix"
msgstr "kon de Vandermonde matrix niet omkeren"
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr "ddof kleiner dan de lengte van de data set"
@@ -2270,6 +2280,14 @@ msgstr "bestand moet een bestand zijn geopend in byte modus"
msgid "filesystem must provide mount method"
msgstr "bestandssysteem moet een mount methode bieden"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr "eerst argument moet een iterabel zijn"
@@ -2323,6 +2341,10 @@ msgstr "functie verwachtte op zijn meest %d argumenten, maar kreeg %d"
msgid "function got multiple values for argument '%q'"
msgstr "functie kreeg meedere waarden voor argument '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr "funtie is alleen geïmplementeerd voor scalars en ndarrays"
@@ -2410,6 +2432,10 @@ msgstr "indices moeten integers zijn"
msgid "indices must be integers, slices, or Boolean lists"
msgstr "indices moeten integers, segmenten (slices) of Boolean lijsten zijn"
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler moet een functie zijn"
@@ -2454,6 +2480,10 @@ msgstr "int() argument 2 moet >=2 en <= 36 zijn"
msgid "integer required"
msgstr "integer vereist"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3254,6 +3284,10 @@ msgstr "onjuist argumenttype"
msgid "wrong index type"
msgstr "onjuist indextype"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "onjuist aantal argumenten"
@@ -3266,6 +3300,10 @@ msgstr "verkeerd aantal waarden om uit te pakken"
msgid "wrong operand type"
msgstr "verkeerd operandtype"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x-waarde buiten bereik"
diff --git a/locale/pl.po b/locale/pl.po
index b218a7b7c..694e1d351 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2019-03-19 18:37-0700\n"
"Last-Translator: Radomir Dopieralski <circuitpython@sheep.art.pl>\n"
"Language-Team: pl\n"
@@ -879,7 +879,7 @@ msgstr "Zły BMP"
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -969,7 +969,8 @@ msgstr "Zła nóżka dla prawego kanału"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Złe nóżki"
@@ -1361,7 +1362,8 @@ msgstr "Uruchomiony tryb bezpieczeństwa! Samo-przeładowanie wyłączone.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Uruchomiony tryb bezpieczeństwa! Zapisany kod nie jest uruchamiany.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA lub SCL wymagają podciągnięcia"
@@ -2093,6 +2095,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2226,6 +2236,14 @@ msgstr "file musi być otwarte w trybie bajtowym"
msgid "filesystem must provide mount method"
msgstr "system plików musi mieć metodę mount"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2279,6 +2297,10 @@ msgstr "funkcja bierze najwyżej %d argumentów, jest %d"
msgid "function got multiple values for argument '%q'"
msgstr "funkcja dostała wiele wartości dla argumentu '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2365,6 +2387,10 @@ msgstr "indeksy muszą być całkowite"
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "wtrącony asembler musi być funkcją"
@@ -2409,6 +2435,10 @@ msgstr "argument 2 do int() busi być pomiędzy 2 a 36"
msgid "integer required"
msgstr "wymagana liczba całkowita"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3205,6 +3235,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "zła liczba argumentów"
@@ -3217,6 +3251,10 @@ msgstr "zła liczba wartości do rozpakowania"
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x poza zakresem"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 7223c2e02..e8e42fa20 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2018-10-02 21:14-0000\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -883,7 +883,7 @@ msgstr "Arquivo BMP inválido"
msgid "Invalid DAC pin supplied"
msgstr ""
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr ""
@@ -975,7 +975,8 @@ msgstr "Pino inválido para canal direito"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pinos inválidos"
@@ -1373,7 +1374,8 @@ msgstr "Rodando em modo seguro! Atualização automática está desligada.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Rodando em modo seguro! Não está executando o código salvo.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA ou SCL precisa de um pull up"
@@ -2106,6 +2108,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2239,6 +2249,14 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr "sistema de arquivos deve fornecer método de montagem"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2292,6 +2310,10 @@ msgstr "função esperada na maioria dos %d argumentos, obteve %d"
msgid "function got multiple values for argument '%q'"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2378,6 +2400,10 @@ msgstr ""
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
@@ -2422,6 +2448,10 @@ msgstr ""
msgid "integer required"
msgstr "inteiro requerido"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3218,6 +3248,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -3230,6 +3264,10 @@ msgstr ""
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/sv.po b/locale/sv.po
index e9c7c7fdf..1f41b3fec 100644
--- a/locale/sv.po
+++ b/locale/sv.po
@@ -7,9 +7,9 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
-"PO-Revision-Date: 2020-06-01 13:17+0000\n"
-"Last-Translator: Jeff Epler <jepler@gmail.com>\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
+"PO-Revision-Date: 2020-05-30 02:52+0000\n"
+"Last-Translator: Jonny Bergdahl <jonny@bergdahl.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
@@ -893,7 +893,7 @@ msgstr "Ogiltig BMP-fil"
msgid "Invalid DAC pin supplied"
msgstr "Ogiltig DAC-pinne angiven"
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr "Ogiltigt val av I2C-pinne"
@@ -983,7 +983,8 @@ msgstr "Ogiltig pinne för höger kanal"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Ogiltiga pinnar"
@@ -1387,7 +1388,8 @@ msgstr "Kör i säkert läge! Autoladdning är avstängd.\n"
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Kör i säkert läge! Sparad kod körs inte.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA eller SCL behöver en pullup"
@@ -2133,6 +2135,14 @@ msgstr "Kan inte sända indatamatris från form"
msgid "could not invert Vandermonde matrix"
msgstr "kan inte invertera Vandermonde-matris"
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr "ddof måste vara mindre än längden på datauppsättningen"
@@ -2268,6 +2278,14 @@ msgstr "filen måste vara en fil som öppnats i byte-läge"
msgid "filesystem must provide mount method"
msgstr "filsystemet måste tillhandahålla mount-metod"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr "första argumentet måste vara en iterable"
@@ -2321,6 +2339,10 @@ msgstr "funktionen förväntar som mest %d argument, fick %d"
msgid "function got multiple values for argument '%q'"
msgstr "funktionen fick flera värden för argumentet '%q'"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr "funktionen är endast implementerad för scalar och ndarray"
@@ -2407,6 +2429,10 @@ msgstr "index måste vara heltal"
msgid "indices must be integers, slices, or Boolean lists"
msgstr "index måste vara heltal, slices, eller Boolean-listor"
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler måste vara en funktion"
@@ -2451,6 +2477,10 @@ msgstr "int() arg 2 måste vara >= 2 och <= 36"
msgid "integer required"
msgstr "heltal krävs"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3251,6 +3281,10 @@ msgstr "fel typ av argument"
msgid "wrong index type"
msgstr "fel indextyp"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "fel antal argument"
@@ -3263,6 +3297,10 @@ msgstr "fel antal värden för att packa upp"
msgid "wrong operand type"
msgstr "fel operandtyp"
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x-värde utanför intervall"
diff --git a/locale/zh_Latn_pinyin.po b/locale/zh_Latn_pinyin.po
index 289fd03a5..d2fb379db 100644
--- a/locale/zh_Latn_pinyin.po
+++ b/locale/zh_Latn_pinyin.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: circuitpython-cn\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-05-27 20:51-0500\n"
+"POT-Creation-Date: 2020-06-01 08:56-0500\n"
"PO-Revision-Date: 2019-04-13 10:10-0700\n"
"Last-Translator: hexthat\n"
"Language-Team: Chinese Hanyu Pinyin\n"
@@ -887,7 +887,7 @@ msgstr "Wúxiào de BMP wénjiàn"
msgid "Invalid DAC pin supplied"
msgstr "Tí gōng liǎo wúxiào de DAC yǐn jiǎo"
-#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
+#: ports/stm/common-hal/busio/I2C.c
msgid "Invalid I2C pin selection"
msgstr "Wúxiào de I2C yǐn jiǎo xuǎnzé"
@@ -977,7 +977,8 @@ msgstr "Yòuxián tōngdào yǐn jiǎo wúxiào"
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
-#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/SPI.c
+#: ports/cxd56/common-hal/busio/UART.c ports/mimxrt10xx/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Wúxiào de yǐn jiǎo"
@@ -1375,7 +1376,8 @@ msgstr "Zài ānquán móshì xià yùnxíng! Zìdòng chóngxīn jiāzài yǐ g
msgid "Running in safe mode! Not running saved code.\n"
msgstr "Zài ānquán móshì xià yùnxíng! Bù yùnxíng yǐ bǎocún de dàimǎ.\n"
-#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
+#: ports/atmel-samd/common-hal/busio/I2C.c
+#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "SDA or SCL needs a pull up"
msgstr "SDA huò SCL xūyào lādòng"
@@ -2121,6 +2123,14 @@ msgstr ""
msgid "could not invert Vandermonde matrix"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "data must be iterable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "data must be of equal length"
+msgstr ""
+
#: extmod/ulab/code/numerical.c
msgid "ddof must be smaller than length of data set"
msgstr ""
@@ -2254,6 +2264,14 @@ msgstr "wénjiàn bìxū shì zài zì jié móshì xià dǎkāi de wénjiàn"
msgid "filesystem must provide mount method"
msgstr "wénjiàn xìtǒng bìxū tígōng guà zài fāngfǎ"
+#: extmod/ulab/code/vectorise.c
+msgid "first argument must be a callable"
+msgstr ""
+
+#: extmod/ulab/code/approx.c
+msgid "first argument must be a function"
+msgstr ""
+
#: extmod/ulab/code/ndarray.c
msgid "first argument must be an iterable"
msgstr ""
@@ -2307,6 +2325,10 @@ msgstr "hánshù yùjì zuìduō %d cānshù, huòdé %d"
msgid "function got multiple values for argument '%q'"
msgstr "hánshù huòdé cānshù '%q' de duōchóng zhí"
+#: extmod/ulab/code/approx.c
+msgid "function has the same sign at the ends of interval"
+msgstr ""
+
#: extmod/ulab/code/compare.c
msgid "function is implemented for scalars and ndarrays only"
msgstr ""
@@ -2393,6 +2415,10 @@ msgstr "suǒyǐn bìxū shì zhěngshù"
msgid "indices must be integers, slices, or Boolean lists"
msgstr ""
+#: extmod/ulab/code/approx.c
+msgid "initial values must be iterable"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "nèi lián jíhé bìxū shì yīgè hánshù"
@@ -2437,6 +2463,10 @@ msgstr "zhěngshù() cānshù 2 bìxū > = 2 qiě <= 36"
msgid "integer required"
msgstr "xūyào zhěngshù"
+#: extmod/ulab/code/approx.c
+msgid "interp is defined for 1D arrays of equal length"
+msgstr ""
+
#: shared-bindings/_bleio/Adapter.c
#, c-format
msgid "interval must be in range %s-%s"
@@ -3235,6 +3265,10 @@ msgstr ""
msgid "wrong index type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "cānshù shù cuòwù"
@@ -3247,6 +3281,10 @@ msgstr "wúfǎ jiě bāo de zhí shù"
msgid "wrong operand type"
msgstr ""
+#: extmod/ulab/code/vectorise.c
+msgid "wrong output type"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x zhí chāochū biānjiè"
diff --git a/ports/nrf/common-hal/audiobusio/I2SOut.c b/ports/nrf/common-hal/audiobusio/I2SOut.c
index 2fa28afac..34eecf8d5 100644
--- a/ports/nrf/common-hal/audiobusio/I2SOut.c
+++ b/ports/nrf/common-hal/audiobusio/I2SOut.c
@@ -31,6 +31,7 @@
#include "common-hal/audiobusio/I2SOut.h"
#include "shared-bindings/audiobusio/I2SOut.h"
#include "shared-module/audiocore/__init__.h"
+#include "supervisor/shared/tick.h"
#include "py/obj.h"
#include "py/runtime.h"
@@ -158,7 +159,7 @@ static void i2s_buffer_fill(audiobusio_i2sout_obj_t* self) {
// Find the last frame of real audio data and replicate its samples until
// you have 32 bits worth, which is the fundamental unit of nRF I2S DMA
- if(buffer != buffer_start) {
+ if (buffer != buffer_start) {
if (self->bytes_per_sample == 1 && self->channel_count == 1) {
// For 8-bit mono, 4 copies of the final sample are required
self->hold_value = 0x01010101 * *(uint8_t*)(buffer-1);
@@ -211,6 +212,8 @@ void common_hal_audiobusio_i2sout_construct(audiobusio_i2sout_obj_t* self,
NRF_I2S->CONFIG.ALIGN = I2S_CONFIG_ALIGN_ALIGN_Left;
NRF_I2S->CONFIG.FORMAT = left_justified ? I2S_CONFIG_FORMAT_FORMAT_Aligned
: I2S_CONFIG_FORMAT_FORMAT_I2S;
+
+ supervisor_enable_tick();
}
bool common_hal_audiobusio_i2sout_deinited(audiobusio_i2sout_obj_t* self) {
@@ -230,6 +233,7 @@ void common_hal_audiobusio_i2sout_deinit(audiobusio_i2sout_obj_t* self) {
reset_pin_number(self->data_pin_number);
self->data_pin_number = 0xff;
instance = NULL;
+ supervisor_disable_tick();
}
void common_hal_audiobusio_i2sout_play(audiobusio_i2sout_obj_t* self,
@@ -340,5 +344,8 @@ void i2s_reset(void) {
NRF_I2S->PSEL.LRCK = 0xFFFFFFFF;
NRF_I2S->PSEL.SDOUT = 0xFFFFFFFF;
NRF_I2S->PSEL.SDIN = 0xFFFFFFFF;
+ if (instance) {
+ supervisor_disable_tick();
+ }
instance = NULL;
}
diff --git a/ports/nrf/common-hal/audiopwmio/PWMAudioOut.c b/ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
index 89966b7da..7fec766fb 100644
--- a/ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
+++ b/ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
@@ -36,6 +36,7 @@
#include "shared-bindings/audiopwmio/PWMAudioOut.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/microcontroller/Pin.h"
+#include "supervisor/shared/tick.h"
#include "supervisor/shared/translate.h"
// TODO: This should be the same size as PWMOut.c:pwms[], but there's no trivial way to accomplish that
@@ -67,6 +68,7 @@ STATIC void activate_audiopwmout_obj(audiopwmio_pwmaudioout_obj_t *self) {
for (size_t i=0; i < MP_ARRAY_SIZE(active_audio); i++) {
if (!active_audio[i]) {
active_audio[i] = self;
+ supervisor_enable_tick();
break;
}
}
@@ -77,12 +79,16 @@ STATIC void deactivate_audiopwmout_obj(audiopwmio_pwmaudioout_obj_t *self) {
for (size_t i=0; i < MP_ARRAY_SIZE(active_audio); i++) {
if (active_audio[i] == self) {
active_audio[i] = NULL;
+ supervisor_disable_tick();
}
}
}
void audiopwmout_reset() {
for (size_t i=0; i < MP_ARRAY_SIZE(active_audio); i++) {
+ if (active_audio[i]) {
+ supervisor_disable_tick();
+ }
active_audio[i] = NULL;
}
}
diff --git a/ports/stm/boards/nucleo_f746zg/mpconfigboard.h b/ports/stm/boards/nucleo_f746zg/mpconfigboard.h
index b1abd140f..cd2c61b91 100644
--- a/ports/stm/boards/nucleo_f746zg/mpconfigboard.h
+++ b/ports/stm/boards/nucleo_f746zg/mpconfigboard.h
@@ -34,6 +34,7 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8)
+#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
#define DEBUG_UART_TX (&pin_PD08)
#define DEBUG_UART_RX (&pin_PD09)
diff --git a/ports/stm/boards/nucleo_f767zi/mpconfigboard.h b/ports/stm/boards/nucleo_f767zi/mpconfigboard.h
index 314c96cb5..1dcb26f49 100644
--- a/ports/stm/boards/nucleo_f767zi/mpconfigboard.h
+++ b/ports/stm/boards/nucleo_f767zi/mpconfigboard.h
@@ -33,4 +33,4 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8)
-#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
+#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
diff --git a/ports/stm/boards/nucleo_h743zi_2/mpconfigboard.h b/ports/stm/boards/nucleo_h743zi_2/mpconfigboard.h
index 8909cc5be..14c2dfe30 100644
--- a/ports/stm/boards/nucleo_h743zi_2/mpconfigboard.h
+++ b/ports/stm/boards/nucleo_h743zi_2/mpconfigboard.h
@@ -32,4 +32,4 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8)
-#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
+#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
diff --git a/ports/stm/boards/stm32f412zg_discovery/mpconfigboard.h b/ports/stm/boards/stm32f412zg_discovery/mpconfigboard.h
index 112d2a83c..c0590b80c 100644
--- a/ports/stm/boards/stm32f412zg_discovery/mpconfigboard.h
+++ b/ports/stm/boards/stm32f412zg_discovery/mpconfigboard.h
@@ -33,7 +33,6 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8)
-
#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
#define DEFAULT_I2C_BUS_SCL (&pin_PB10)
diff --git a/ports/stm/boards/stm32f4_discovery/mpconfigboard.h b/ports/stm/boards/stm32f4_discovery/mpconfigboard.h
index 28a370afd..6274345ad 100644
--- a/ports/stm/boards/stm32f4_discovery/mpconfigboard.h
+++ b/ports/stm/boards/stm32f4_discovery/mpconfigboard.h
@@ -33,5 +33,4 @@
#define FLASH_PAGE_SIZE (0x4000)
#define BOARD_OSC_DIV (8)
-
-#define BOARD_HAS_LOW_SPEED_CRYSTAL (1)
+#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
diff --git a/ports/stm/boards/stm32f746g_discovery/mpconfigboard.h b/ports/stm/boards/stm32f746g_discovery/mpconfigboard.h
index 28784f6ab..cace54e9b 100644
--- a/ports/stm/boards/stm32f746g_discovery/mpconfigboard.h
+++ b/ports/stm/boards/stm32f746g_discovery/mpconfigboard.h
@@ -39,5 +39,7 @@
#define BOARD_OSC_PLLN (400)
#define BOARD_OSC_PLLQ (9)
+#define BOARD_HAS_LOW_SPEED_CRYSTAL (0) // TODO: enable this once LSE is fixed for H7/F7
+
#define BOARD_FLASH_LATENCY FLASH_LATENCY_6
#define BOARD_NO_VBUS_SENSE 1
diff --git a/py/py.mk b/py/py.mk
index a5c8a7dc6..3cb505920 100644
--- a/py/py.mk
+++ b/py/py.mk
@@ -106,19 +106,7 @@ $(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif
ifeq ($(CIRCUITPY_ULAB),1)
-SRC_MOD += $(addprefix extmod/ulab/code/, \
-compare.c \
-create.c \
-extras.c \
-fft.c \
-filter.c \
-linalg.c \
-ndarray.c \
-numerical.c \
-poly.c \
-ulab.c \
-vectorise.c \
- )
+SRC_MOD += $(patsubst $(TOP)/%,%,$(wildcard $(TOP)/extmod/ulab/code/*.c))
CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-float-equal -Wno-sign-compare -DCIRCUITPY
endif
diff --git a/shared-bindings/ulab/approx/__init__.pyi b/shared-bindings/ulab/approx/__init__.pyi
new file mode 100644
index 000000000..89f136f69
--- /dev/null
+++ b/shared-bindings/ulab/approx/__init__.pyi
@@ -0,0 +1,52 @@
+"""Numerical approximation methods"""
+
+def bisect(fun, a, b, *, xtol=2.4e-7, maxiter=100) -> float:
+ """
+ :param callable f: The function to bisect
+ :param float a: The left side of the interval
+ :param float b: The right side of the interval
+ :param float xtol: The tolerance value
+ :param float maxiter: The maximum number of iterations to perform
+
+ Find a solution (zero) of the function ``f(x)`` on the interval
+ (``a``..``b``) using the bisection method. The result is accurate to within
+ ``xtol`` unless more than ``maxiter`` steps are required."""
+ ...
+
+def newton(fun, x0, *, xtol=2.4e-7, rtol=0.0, maxiter=50) -> float:
+ """
+ :param callable f: The function to bisect
+ :param float x0: The initial x value
+ :param float xtol: The absolute tolerance value
+ :param float rtol: The relative tolerance value
+ :param float maxiter: The maximum number of iterations to perform
+
+ Find a solution (zero) of the function ``f(x)`` using Newton's Method.
+ The result is accurate to within ``xtol * rtol * |f(x)|`` unless more than
+ ``maxiter`` steps are requried."""
+ ...
+
+def fmin(fun, x0, *, xatol=2.4e-7, fatol=2.4e-7, maxiter=200) -> float:
+ """
+ :param callable f: The function to bisect
+ :param float x0: The initial x value
+ :param float xatol: The absolute tolerance value
+ :param float fatol: The relative tolerance value
+
+ Find a minimum of the function ``f(x)`` using the downhill simplex method.
+ The located ``x`` is within ``fxtol`` of the actual minimum, and ``f(x)``
+ is within ``fatol`` of the actual minimum unless more than ``maxiter``
+ steps are requried."""
+ ...
+
+def interp(x: ulab.array, xp:ulab.array, fp:ulab.array, *, left=None, right=None) -> ulab.array:
+ """
+ :param ulab.array x: The x-coordinates at which to evaluate the interpolated values.
+ :param ulab.array xp: The x-coordinates of the data points, must be increasing
+ :param ulab.array fp: The y-coordinates of the data points, same length as xp
+ :param left: Value to return for ``x < xp[0]``, default is ``fp[0]``.
+ :param right: Value to return for ``x > xp[-1]``, default is ``fp[-1]``.
+
+ Returns the one-dimensional piecewise linear interpolant to a function with given discrete data points (xp, fp), evaluated at x."""
+ ...
+
diff --git a/shared-bindings/ulab/compare/__init__.pyi b/shared-bindings/ulab/compare/__init__.pyi
index 00a9eae1e..1606e43c2 100644
--- a/shared-bindings/ulab/compare/__init__.pyi
+++ b/shared-bindings/ulab/compare/__init__.pyi
@@ -28,3 +28,11 @@ def minimum(x1, x2):
must be the same size. If the inputs are both scalars, a number is
returned"""
...
+
+def equal(x1, x2):
+ """Return an array of bool which is true where x1[i] == x2[i] and false elsewhere"""
+ ...
+
+def not_equal(x1, x2):
+ """Return an array of bool which is false where x1[i] == x2[i] and true elsewhere"""
+ ...
diff --git a/shared-bindings/ulab/vector/__init__.pyi b/shared-bindings/ulab/vector/__init__.pyi
index 2c7a80446..bf57e419c 100644
--- a/shared-bindings/ulab/vector/__init__.pyi
+++ b/shared-bindings/ulab/vector/__init__.pyi
@@ -5,104 +5,114 @@ applying the function to every element in the array. This is typically
much more efficient than expressing the same operation as a Python loop."""
def acos():
- """Computes the inverse cosine function"""
- ...
+ """Computes the inverse cosine function"""
+ ...
def acosh():
- """Computes the inverse hyperbolic cosine function"""
- ...
+ """Computes the inverse hyperbolic cosine function"""
+ ...
def asin():
- """Computes the inverse sine function"""
- ...
+ """Computes the inverse sine function"""
+ ...
def asinh():
- """Computes the inverse hyperbolic sine function"""
- ...
+ """Computes the inverse hyperbolic sine function"""
+ ...
def around(a, *, decimals):
- """Returns a new float array in which each element is rounded to
- ``decimals`` places."""
- ...
+ """Returns a new float array in which each element is rounded to
+ ``decimals`` places."""
+ ...
def atan():
- """Computes the inverse tangent function; the return values are in the
- range [-pi/2,pi/2]."""
- ...
+ """Computes the inverse tangent function; the return values are in the
+ range [-pi/2,pi/2]."""
+ ...
def atan2(y,x):
- """Computes the inverse tangent function of y/x; the return values are in
- the range [-pi, pi]."""
- ...
+ """Computes the inverse tangent function of y/x; the return values are in
+ the range [-pi, pi]."""
+ ...
def atanh():
- """Computes the inverse hyperbolic tangent function"""
- ...
+ """Computes the inverse hyperbolic tangent function"""
+ ...
def ceil():
- """Rounds numbers up to the next whole number"""
- ...
+ """Rounds numbers up to the next whole number"""
+ ...
def cos():
- """Computes the cosine function"""
- ...
+ """Computes the cosine function"""
+ ...
def erf():
- """Computes the error function, which has applications in statistics"""
- ...
+ """Computes the error function, which has applications in statistics"""
+ ...
def erfc():
- """Computes the complementary error function, which has applications in statistics"""
- ...
+ """Computes the complementary error function, which has applications in statistics"""
+ ...
def exp():
- """Computes the exponent function."""
- ...
+ """Computes the exponent function."""
+ ...
def expm1():
- """Computes $e^x-1$. In certain applications, using this function preserves numeric accuracy better than the `exp` function."""
- ...
+ """Computes $e^x-1$. In certain applications, using this function preserves numeric accuracy better than the `exp` function."""
+ ...
def floor():
- """Rounds numbers up to the next whole number"""
- ...
+ """Rounds numbers up to the next whole number"""
+ ...
def gamma():
- """Computes the gamma function"""
- ...
+ """Computes the gamma function"""
+ ...
def lgamma():
- """Computes the natural log of the gamma function"""
- ...
+ """Computes the natural log of the gamma function"""
+ ...
def log():
- """Computes the natural log"""
- ...
+ """Computes the natural log"""
+ ...
def log10():
- """Computes the log base 10"""
- ...
+ """Computes the log base 10"""
+ ...
def log2():
- """Computes the log base 2"""
- ...
+ """Computes the log base 2"""
+ ...
def sin():
- """Computes the sine"""
- ...
+ """Computes the sine"""
+ ...
def sinh():
- """Computes the hyperbolic sine"""
- ...
+ """Computes the hyperbolic sine"""
+ ...
def sqrt():
- """Computes the square root"""
- ...
+ """Computes the square root"""
+ ...
def tan():
- """Computes the tangent"""
- ...
+ """Computes the tangent"""
+ ...
def tanh():
- """Computes the hyperbolic tangent"""
- ...
+ """Computes the hyperbolic tangent"""
+ ...
+
+def vectorize(f, *, otypes=None):
+ """
+ :param callable f: The function to wrap
+ :param otypes: List of array types that may be returned by the function. None is intepreted to mean the return value is float.
+
+ Wrap a Python function ``f`` so that it can be applied to arrays.
+
+ The callable must return only values of the types specified by otypes, or the result is undefined."""
+ ...