0s autopkgtest [19:41:06]: starting date and time: 2024-03-20 19:41:06+0000 0s autopkgtest [19:41:06]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [19:41:06]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d3wh4tkl/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:octave --apt-upgrade octave-symbolic --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=octave/8.4.0-1build4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-arm64-18.secgroup --name adt-noble-arm64-octave-symbolic-20240320-194106-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 128s autopkgtest [19:43:14]: testbed dpkg architecture: arm64 128s autopkgtest [19:43:14]: testbed apt version: 2.7.12 128s autopkgtest [19:43:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 129s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 130s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3754 kB] 131s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [502 kB] 131s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 131s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 131s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [697 kB] 131s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 131s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [41.7 kB] 131s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 131s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4226 kB] 132s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 132s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [67.6 kB] 132s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 144s Fetched 9477 kB in 5s (1772 kB/s) 144s Reading package lists... 151s Reading package lists... 152s Building dependency tree... 152s Reading state information... 154s Calculating upgrade... 155s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 155s Reading package lists... 156s Building dependency tree... 156s Reading state information... 158s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 159s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 159s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 159s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 159s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 165s Reading package lists... 165s Reading package lists... 166s Building dependency tree... 166s Reading state information... 168s Calculating upgrade... 169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 169s Reading package lists... 170s Building dependency tree... 170s Reading state information... 172s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 176s autopkgtest [19:44:02]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 176s autopkgtest [19:44:02]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-symbolic 179s Get:1 http://ftpmaster.internal/ubuntu noble/universe octave-symbolic 3.1.1-2 (dsc) [2289 B] 179s Get:2 http://ftpmaster.internal/ubuntu noble/universe octave-symbolic 3.1.1-2 (tar) [266 kB] 179s Get:3 http://ftpmaster.internal/ubuntu noble/universe octave-symbolic 3.1.1-2 (diff) [6096 B] 180s gpgv: Signature made Tue Jun 13 21:02:30 2023 UTC 180s gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 180s gpgv: issuer "rafael@debian.org" 180s gpgv: Can't check signature: No public key 180s dpkg-source: warning: cannot verify inline signature for ./octave-symbolic_3.1.1-2.dsc: no acceptable signature found 180s autopkgtest [19:44:06]: testing package octave-symbolic version 3.1.1-2 181s autopkgtest [19:44:07]: build not needed 182s autopkgtest [19:44:08]: test command1: preparing testbed 184s Reading package lists... 185s Building dependency tree... 185s Reading state information... 186s Starting pkgProblemResolver with broken count: 4 186s Starting 2 pkgProblemResolver with broken count: 4 186s Investigating (0) gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mK Ib > 186s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0:arm64 < 2.79.2-1~ubuntu1 @ii pmR > (= 2.79.2-1~ubuntu1) 186s Considering libglib2.0-0:arm64 0 as a solution to gir1.2-glib-2.0:arm64 19 186s Added libglib2.0-0:arm64 to the remove list 186s Investigating (0) curl:arm64 < 8.5.0-2ubuntu2 @ii mK Ib > 186s Broken curl:arm64 Depends on libcurl4:arm64 < 8.5.0-2ubuntu2 @ii pmR > (= 8.5.0-2ubuntu2) 186s Considering libcurl4:arm64 0 as a solution to curl:arm64 4 186s Added libcurl4:arm64 to the remove list 186s Investigating (0) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (0) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Investigating (1) gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mK Ib > 186s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0:arm64 < 2.79.2-1~ubuntu1 @ii pmR > (= 2.79.2-1~ubuntu1) 186s Considering libglib2.0-0:arm64 19 as a solution to gir1.2-glib-2.0:arm64 19 186s Removing gir1.2-glib-2.0:arm64 rather than change libglib2.0-0:arm64 186s Investigating (1) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 186s Broken python3-gi:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mR > (>= 1.64.0) 186s Considering gir1.2-glib-2.0:arm64 19 as a solution to python3-gi:arm64 18 186s Removing python3-gi:arm64 rather than change gir1.2-glib-2.0:arm64 186s Investigating (1) gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mK Ib > 186s Broken gir1.2-girepository-2.0:arm64 Depends on gir1.2-gobject-2.0:arm64 < none @un mH > (>= 2.79.0) 186s Considering gir1.2-glib-2.0:arm64 19 as a solution to gir1.2-girepository-2.0:arm64 7 186s Removing gir1.2-girepository-2.0:arm64 rather than change gir1.2-gobject-2.0:arm64 186s Investigating (1) apport:arm64 < 2.28.0-0ubuntu1 @ii mK Ib > 186s Broken apport:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mR > (>= 1.29.17) 186s Considering gir1.2-glib-2.0:arm64 19 as a solution to apport:arm64 6 186s Removing apport:arm64 rather than change gir1.2-glib-2.0:arm64 186s Investigating (1) apport-core-dump-handler:arm64 < 2.28.0-0ubuntu1 @ii mK Ib > 186s Broken apport-core-dump-handler:arm64 Depends on apport:arm64 < 2.28.0-0ubuntu1 @ii mR > (>= 2.27.0-0ubuntu7~) 186s Considering apport:arm64 6 as a solution to apport-core-dump-handler:arm64 4 186s Removing apport-core-dump-handler:arm64 rather than change apport:arm64 186s Investigating (1) curl:arm64 < 8.5.0-2ubuntu2 @ii mK Ib > 186s Broken curl:arm64 Depends on libcurl4:arm64 < 8.5.0-2ubuntu2 @ii pmR > (= 8.5.0-2ubuntu2) 186s Considering libcurl4:arm64 4 as a solution to curl:arm64 4 186s Removing curl:arm64 rather than change libcurl4:arm64 186s Investigating (1) pollinate:arm64 < 4.33-3.1ubuntu1 @ii mK Ib > 186s Broken pollinate:arm64 Depends on curl:arm64 < 8.5.0-2ubuntu2 @ii mR > 186s Considering curl:arm64 4 as a solution to pollinate:arm64 0 186s Removing pollinate:arm64 rather than change curl:arm64 186s Investigating (1) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (1) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Investigating (2) networkd-dispatcher:arm64 < 2.2.4-1 @ii mK Ib > 186s Broken networkd-dispatcher:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mR > 186s Considering gir1.2-glib-2.0:arm64 19 as a solution to networkd-dispatcher:arm64 23 186s Added gir1.2-glib-2.0:arm64 to the remove list 186s Broken networkd-dispatcher:arm64 Depends on python3-gi:arm64 < 3.47.0-3 @ii mR > 186s Considering python3-gi:arm64 18 as a solution to networkd-dispatcher:arm64 23 186s Added python3-gi:arm64 to the remove list 186s Fixing networkd-dispatcher:arm64 via keep of gir1.2-glib-2.0:arm64 186s Fixing networkd-dispatcher:arm64 via keep of python3-gi:arm64 186s Investigating (2) gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mK Ib > 186s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0:arm64 < 2.79.2-1~ubuntu1 @ii pmR > (= 2.79.2-1~ubuntu1) 186s Considering libglib2.0-0:arm64 19 as a solution to gir1.2-glib-2.0:arm64 23 186s Added libglib2.0-0:arm64 to the remove list 186s Investigating (2) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 186s Broken python3-gi:arm64 Depends on gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mR > 186s Considering gir1.2-girepository-2.0:arm64 7 as a solution to python3-gi:arm64 23 186s Added gir1.2-girepository-2.0:arm64 to the remove list 186s Fixing python3-gi:arm64 via keep of gir1.2-girepository-2.0:arm64 186s Investigating (2) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (2) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Investigating (3) gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mK Ib > 186s Broken gir1.2-glib-2.0:arm64 Depends on libglib2.0-0:arm64 < 2.79.2-1~ubuntu1 @ii pmR > (= 2.79.2-1~ubuntu1) 186s Considering libglib2.0-0:arm64 23 as a solution to gir1.2-glib-2.0:arm64 23 186s Removing gir1.2-glib-2.0:arm64 rather than change libglib2.0-0:arm64 186s Investigating (3) python3-gi:arm64 < 3.47.0-3 @ii mK Ib > 186s Broken python3-gi:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mR > (>= 1.64.0) 186s Considering gir1.2-glib-2.0:arm64 23 as a solution to python3-gi:arm64 23 186s Removing python3-gi:arm64 rather than change gir1.2-glib-2.0:arm64 186s Investigating (3) gir1.2-girepository-2.0:arm64 < 1.79.1-1 @ii mK Ib > 186s Broken gir1.2-girepository-2.0:arm64 Depends on gir1.2-gobject-2.0:arm64 < none @un mH > (>= 2.79.0) 186s Considering gir1.2-glib-2.0:arm64 23 as a solution to gir1.2-girepository-2.0:arm64 23 186s Removing gir1.2-girepository-2.0:arm64 rather than change gir1.2-gobject-2.0:arm64 186s Investigating (3) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (3) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Investigating (4) networkd-dispatcher:arm64 < 2.2.4-1 @ii mK Ib > 186s Broken networkd-dispatcher:arm64 Depends on gir1.2-glib-2.0:arm64 < 2.79.2-1~ubuntu1 @ii mR > 186s Considering gir1.2-glib-2.0:arm64 23 as a solution to networkd-dispatcher:arm64 23 186s Removing networkd-dispatcher:arm64 rather than change gir1.2-glib-2.0:arm64 186s Investigating (4) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (4) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Investigating (5) octave-dev:arm64 < none -> 8.4.0-1build4 @un puN Ib > 186s Broken octave-dev:arm64 Depends on libhdf5-dev:arm64 < none @un H > 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-openmpi-dev:arm64 < none @un H > 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-openmpi-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Broken octave-dev:arm64 Depends on libhdf5-mpich-dev:arm64 < none @un H > 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Considering libhdf5-mpich-dev:arm64 1 as a solution to octave-dev:arm64 0 186s Investigating (5) libreadline-dev:arm64 < none -> 8.2-3 @un puN Ib > 186s Broken libreadline-dev:arm64 Depends on libreadline8:arm64 < 8.2-3 @ii pmR > (= 8.2-3) 186s Considering libreadline8:arm64 0 as a solution to libreadline-dev:arm64 0 186s Done 186s Some packages could not be installed. This may mean that you have 186s requested an impossible situation or if you are using the unstable 186s distribution that some required packages have not yet been created 186s or been moved out of Incoming. 186s The following information may help to resolve the situation: 186s 186s The following packages have unmet dependencies: 187s libreadline-dev : Depends: libreadline8 (= 8.2-3) 187s octave-dev : Depends: libhdf5-dev but it is not installable or 187s libhdf5-openmpi-dev but it is not installable or 187s libhdf5-mpich-dev but it is not installable 187s E: Unable to correct problems, you have held broken packages. 187s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 189s Reading package lists... 189s Building dependency tree... 189s Reading state information... 191s Starting pkgProblemResolver with broken count: 0 191s Starting 2 pkgProblemResolver with broken count: 0 191s Done 193s The following additional packages will be installed: 193s aglfn apt apt-utils autoconf automake autopoint autotools-dev cme cpp cpp-13 193s cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu curl debhelper debugedit 193s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 193s diffstat dwz fontconfig fontconfig-config fonts-dejavu-core 193s fonts-dejavu-mono fonts-freefont-otf g++ g++-13 g++-13-aarch64-linux-gnu 193s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu gcc-13-base 193s gcc-14-base gcc-aarch64-linux-gnu gettext gfortran gfortran-13 193s gfortran-13-aarch64-linux-gnu gfortran-aarch64-linux-gnu gir1.2-glib-2.0 193s gnuplot-data gnuplot-nox hdf5-helpers ibverbs-providers info install-info 193s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 193s libamd-comgr2 libamd3 libamdhip64-5 libapp-cmd-perl libapt-pkg-perl 193s libapt-pkg6.0t64 libarchive-zip-perl libarpack2t64 libarray-intspan-perl 193s libasan8 libasound2-data libasound2t64 libatomic1 libavahi-client3 193s libavahi-common-data libavahi-common3 libb-hooks-endofscope-perl 193s libb-hooks-op-check-perl libberkeleydb-perl libblas-dev libblas3 193s libboolean-perl libbtf2 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 193s libcamd3 libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 193s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 193s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 193s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 193s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 193s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 193s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 193s libcurl3t64-gnutls libcurl4-openssl-dev libcurl4t64 libcxsparse4 193s libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl 193s libdata-section-perl libdata-validate-domain-perl libdata-validate-ip-perl 193s libdata-validate-uri-perl libdatrie1 libdav1d7 libdb5.3t64 libde265-0 193s libdebhelper-perl libdeflate0 libdevel-callchecker-perl libdevel-size-perl 193s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 193s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 193s libegl-mesa0 libegl1 libelf1t64 libemail-address-xs-perl 193s libencode-locale-perl liberror-perl libevent-core-2.1-7 193s libevent-pthreads-2.1-7 libexception-class-perl libexporter-lite-perl 193s libexporter-tiny-perl libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 193s libfftw3-long3 libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl 193s libfile-find-rule-perl libfile-homedir-perl libfile-listing-perl 193s libfile-stripnondeterminism-perl libfile-which-perl libflac12t64 193s libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 libfontenc1 193s libgbm1 libgcc-13-dev libgcc-s1 libgd3 libgdbm-compat4t64 libgdbm6t64 193s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 193s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libglib2.0-0t64 193s libglib2.0-data libglpk40 libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 193s libglx0 libgnutls30t64 libgomp1 libgraphicsmagick++-q16-12t64 193s libgraphicsmagick-q16-3t64 libgraphite2-3 libharfbuzz0b libhash-merge-perl 193s libhdf5-103-1t64 libhdf5-cpp-103-1t64 libhdf5-dev libhdf5-fortran-102t64 193s libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 libhdf5-hl-fortran-100t64 193s libhdf5-openmpi-103-1t64 libheif-plugin-dav1d libheif-plugin-libde265 193s libheif1 libhogweed6t64 libhsa-runtime64-1 libhsakmt1 libhtml-form-perl 193s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 193s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 193s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhwasan0 193s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libibverbs1 libice6 193s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 193s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 193s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 193s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 193s libitm1 libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 193s libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl 193s libjxl0.7 libklu2 liblapack-dev liblapack3 liblcms2-2 liblerc4 193s liblist-compare-perl liblist-moreutils-perl liblist-moreutils-xs-perl 193s liblist-someutils-perl liblist-utilsby-perl libllvm17t64 193s liblog-any-adapter-screen-perl liblog-any-perl liblog-log4perl-perl liblsan0 193s libltdl7 liblua5.4-0 liblwp-mediatypes-perl liblwp-protocol-https-perl 193s libmailtools-perl libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl 193s libmldbm-perl libmodule-implementation-perl libmodule-pluggable-perl 193s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 193s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 193s libmpc3 libmpg123-0 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 193s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 193s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 193s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl libnettle8t64 193s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 193s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 193s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 193s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 193s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 193s libperl5.38t64 libperlio-gzip-perl libperlio-utf8-strict-perl 193s libpetsc-real3.19t64 libpixman-1-0 libpmix2t64 libpng16-16t64 193s libpod-constants-perl libpod-parser-perl libpod-pom-perl libportaudio2 193s libproc-processtable-perl libpsl5t64 libpthread-stubs0-dev libptscotch-7.0 193s libqhull-r8.0 libqrupdate1 libqscintilla2-qt5-15 libqscintilla2-qt5-l10n 193s libqt5core5t64 libqt5dbus5t64 libqt5gui5t64 libqt5help5 libqt5network5t64 193s libqt5printsupport5t64 libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 193s librdmacm1t64 libreadline-dev libreadline8t64 libregexp-common-perl 193s libregexp-pattern-license-perl libregexp-pattern-perl 193s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 193s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 193s libsereal-encoder-perl libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 193s libsoftware-copyright-perl libsoftware-license-perl 193s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 193s libssl3t64 libstdc++-13-dev libstdc++6 libstrictures-perl 193s libstring-copyright-perl libstring-escape-perl libstring-license-perl 193s libstring-rewriteprefix-perl libsub-exporter-perl 193s libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl 193s libsub-name-perl libsub-override-perl libsub-quote-perl libsub-uplevel-perl 193s libsuitesparseconfig7 libsundials-ida6 libsundials-nvecparallel-petsc6 193s libsundials-sunlinsol3 libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 193s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 193s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 193s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 193s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 193s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 193s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 193s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 193s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 193s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 193s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 193s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libtsan2 193s libubsan1 libucx0 libumfpack6 libunicode-utf8-perl libunwind8 liburi-perl 193s libvariable-magic-perl libvorbis0a libvorbisenc2 libvulkan1 libwacom-common 193s libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwebpmux3 193s libwmflite-0.2-7 libwww-mechanize-perl libwww-perl libwww-robotrules-perl 193s libx11-dev libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 193s libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 193s libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 193s libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 193s libxcb-xkb1 libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 193s libxft2 libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 193s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 193s libxmuu1 libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 193s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 193s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 193s linux-libc-dev locales lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 193s octave octave-common octave-dev octave-symbolic openmpi-bin openmpi-common 193s openssl patchutils perl perl-base perl-modules-5.38 perl-openssl-defaults 193s po-debconf python3-mpmath python3-sympy readline-common rpcsvc-proto t1utils 193s tex-common texinfo texinfo-lib unzip x11-common x11-xkb-utils x11proto-dev 193s xorg-sgml-doctools xserver-common xtrans-dev xvfb zlib1g zlib1g-dev 193s Suggested packages: 193s apt-doc aptitude | synaptic | wajig autoconf-archive gnu-standards 193s autoconf-doc libconfig-model-cursesui-perl libconfig-model-itself-perl 193s cpp-doc gcc-13-locales cpp-13-doc dh-make gcc-13-doc gcc-multilib 193s manpages-dev flex bison gdb gcc-doc gdb-aarch64-linux-gnu gettext-doc 193s libasprintf-dev libgettextpo-dev gfortran-doc gfortran-13-doc 193s libcoarrays-dev gnuplot-doc alsa-utils libasound2-plugins liblapack-doc 193s manpages glibc-doc libnss-nis libnss-nisplus libconfig-model-openssh-perl 193s libterm-readline-perl-perl | libterm-readline-gnu-perl cups-common 193s libcurl4-doc libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev 193s pkg-config libfftw3-doc libfftw3-mpi-dev libxml-parser-perl libgd-tools 193s gdbm-l10n low-memory-monitor libiodbc2-dev default-libmysqlclient-dev 193s gnutls-bin graphicsmagick-dbg libhdf5-doc libheif-plugin-ffmpegdec 193s libheif-plugin-jpegdec libheif-plugin-jpegenc libheif-plugin-j2kdec 193s libheif-plugin-j2kenc libheif-plugin-rav1e libheif-plugin-svtenc 193s libdata-dump-perl libio-compress-brotli-perl jackd2 liblcms2-utils 193s libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl 193s libcrypt-ssleay-perl ncurses-doc opus-tools libscalar-number-perl 193s libqscintilla2-doc qgnomeplatform-qt5 qt5-image-formats-plugins readline-doc 193s scalapack-doc libssl-doc libstdc++-13-doc libbareword-filehandles-perl 193s libmultidimensional-perl libxstring-perl libdatetime-format-rfc3339-perl 193s libtool-doc gcj-jdk libbusiness-isbn-perl libregexp-ipv6-perl libwacom-bin 193s libauthen-ntlm-perl libx11-doc libxcb-doc binutils-multiarch m4-doc 193s opencl-icd perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl 193s libtap-harness-archive-perl libmail-box-perl python-mpmath-doc python3-gmpy2 193s python3-matplotlib texlive-fonts-extra dvipng python-sympy-doc texlive-base 193s texlive-latex-base texlive-plain-generic texlive-fonts-recommended zip 193s Recommended packages: 193s libconfig-model-approx-perl libconfig-model-lcdproc-perl 193s libconfig-model-openssh-perl libconfig-model-systemd-perl 193s libconfig-model-tkui-perl fonts-liberation groff alsa-ucm-conf 193s alsa-topology-conf manpages manpages-dev libc-devtools libcgi-fast-perl 193s libclass-c3-xs-perl libfuse-perl libarchive-cpio-perl libgl1-amber-dri 193s xdg-user-dirs ghostscript fonts-urw-base35 libheif-plugin-aomenc 193s libheif-plugin-x265 libhtml-format-perl libjson-xs-perl 193s liblist-someutils-xs-perl libipc-shareable-perl liblog-dispatch-perl 193s libfreezethaw-perl libmath-base85-perl libauthen-sasl-perl libsocket6-perl 193s libpackage-stash-xs-perl libtie-ixhash-perl qttranslations5-l10n libqt5svg5 193s qt5-gtk-platformtheme qtwayland5 libqt5sql5-sqlite | libqt5sql5-mysql 193s | libqt5sql5-odbc | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase 193s libre-engine-re2-perl libtypes-serialiser-perl libltdl-dev 193s mesa-vulkan-drivers | vulkan-icd libdata-dump-perl libhttp-daemon-perl 193s libxml-sax-expat-perl libopenblas0 | libblis4 pstoedit epstool 193s default-jre-headless octave-doc libmail-sendmail-perl python3-pil 193s python3-numpy isympy-common xfonts-base 194s The following packages will be REMOVED: 194s libapt-pkg6.0 libcurl3-gnutls libcurl4 libdb5.3 libelf1 libgdbm-compat4 194s libgdbm6 libglib2.0-0 libgnutls30 libhogweed6 libnettle8 libperl5.38 194s libpng16-16 libpsl5 libreadline8 libssl3 194s The following NEW packages will be installed: 194s aglfn autoconf automake autopkgtest-satdep autopoint autotools-dev cme cpp 194s cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 194s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 194s diffstat dwz fontconfig fontconfig-config fonts-dejavu-core 194s fonts-dejavu-mono fonts-freefont-otf g++ g++-13 g++-13-aarch64-linux-gnu 194s g++-aarch64-linux-gnu gcc gcc-13 gcc-13-aarch64-linux-gnu 194s gcc-aarch64-linux-gnu gettext gfortran gfortran-13 194s gfortran-13-aarch64-linux-gnu gfortran-aarch64-linux-gnu gnuplot-data 194s gnuplot-nox hdf5-helpers intltool-debian libaec-dev libaec0 194s libalgorithm-c3-perl libaliased-perl libamd-comgr2 libamd3 libamdhip64-5 194s libapp-cmd-perl libapt-pkg-perl libapt-pkg6.0t64 libarchive-zip-perl 194s libarpack2t64 libarray-intspan-perl libasan8 libasound2-data libasound2t64 194s libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 194s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 194s libblas-dev libblas3 libboolean-perl libbtf2 libc-dev-bin libc6-dev 194s libcairo2 libcamd3 libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 194s libccolamd3 libcgi-pm-perl libcholmod5 libclass-c3-perl 194s libclass-data-inheritable-perl libclass-load-perl 194s libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-choose-perl 194s libclone-perl libcolamd3 libcombblas2.0.0t64 194s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 194s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 194s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 194s libcurl3t64-gnutls libcurl4-openssl-dev libcurl4t64 libcxsparse4 194s libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl 194s libdata-section-perl libdata-validate-domain-perl libdata-validate-ip-perl 194s libdata-validate-uri-perl libdatrie1 libdav1d7 libdb5.3t64 libde265-0 194s libdebhelper-perl libdeflate0 libdevel-callchecker-perl libdevel-size-perl 194s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 194s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 194s libegl-mesa0 libegl1 libelf1t64 libemail-address-xs-perl 194s libencode-locale-perl liberror-perl libevent-pthreads-2.1-7 194s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 194s libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 194s libfftw3-mpi3 libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 194s libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl 194s libfile-which-perl libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 194s libfont-ttf-perl libfontconfig1 libfontenc1 libgbm1 libgcc-13-dev libgd3 194s libgdbm-compat4t64 libgdbm6t64 libgetopt-long-descriptive-perl 194s libgfortran-13-dev libgfortran5 libgl-dev libgl1 libgl1-mesa-dri libgl2ps1.4 194s libglapi-mesa libglib2.0-0t64 libglpk40 libglu1-mesa libglvnd0 libglx-dev 194s libglx-mesa0 libglx0 libgnutls30t64 libgomp1 libgraphicsmagick++-q16-12t64 194s libgraphicsmagick-q16-3t64 libgraphite2-3 libharfbuzz0b libhash-merge-perl 194s libhdf5-103-1t64 libhdf5-cpp-103-1t64 libhdf5-dev libhdf5-fortran-102t64 194s libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 libhdf5-hl-fortran-100t64 194s libhdf5-openmpi-103-1t64 libheif-plugin-dav1d libheif-plugin-libde265 194s libheif1 libhogweed6t64 libhsa-runtime64-1 libhsakmt1 libhtml-form-perl 194s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 194s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 194s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhwasan0 194s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 194s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 194s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 194s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 194s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 194s libitm1 libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 194s libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl 194s libjxl0.7 libklu2 liblapack-dev liblapack3 liblcms2-2 liblerc4 194s liblist-compare-perl liblist-moreutils-perl liblist-moreutils-xs-perl 194s liblist-someutils-perl liblist-utilsby-perl libllvm17t64 194s liblog-any-adapter-screen-perl liblog-any-perl liblog-log4perl-perl liblsan0 194s libltdl7 liblua5.4-0 liblwp-mediatypes-perl liblwp-protocol-https-perl 194s libmailtools-perl libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl 194s libmldbm-perl libmodule-implementation-perl libmodule-pluggable-perl 194s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 194s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 194s libmpc3 libmpg123-0 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 194s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 194s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 194s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl libnettle8t64 194s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 194s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 194s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 194s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 194s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 194s libperl5.38t64 libperlio-gzip-perl libperlio-utf8-strict-perl 194s libpetsc-real3.19t64 libpixman-1-0 libpmix2t64 libpng16-16t64 194s libpod-constants-perl libpod-parser-perl libpod-pom-perl libportaudio2 194s libproc-processtable-perl libpsl5t64 libpthread-stubs0-dev libptscotch-7.0 194s libqhull-r8.0 libqrupdate1 libqscintilla2-qt5-15 libqscintilla2-qt5-l10n 194s libqt5core5t64 libqt5dbus5t64 libqt5gui5t64 libqt5help5 libqt5network5t64 194s libqt5printsupport5t64 libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 194s librdmacm1t64 libreadline-dev libreadline8t64 libregexp-common-perl 194s libregexp-pattern-license-perl libregexp-pattern-perl 194s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 194s libscalapack-openmpi2.2 libscotch-7.0 libsereal-decoder-perl 194s libsereal-encoder-perl libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 194s libsoftware-copyright-perl libsoftware-license-perl 194s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 194s libssl3t64 libstdc++-13-dev libstrictures-perl libstring-copyright-perl 194s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 194s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 194s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 194s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 194s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 194s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 194s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 194s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 194s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 194s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 194s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 194s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 194s libtool libtrilinos-amesos-13.2 libtrilinos-aztecoo-13.2 194s libtrilinos-epetra-13.2 libtrilinos-epetraext-13.2 libtrilinos-galeri-13.2 194s libtrilinos-ifpack-13.2 libtrilinos-kokkos-13.2 libtrilinos-ml-13.2 194s libtrilinos-teuchos-13.2 libtrilinos-trilinosss-13.2 194s libtrilinos-triutils-13.2 libtrilinos-zoltan-13.2 libtry-tiny-perl libtsan2 194s libubsan1 libucx0 libumfpack6 libunicode-utf8-perl libunwind8 liburi-perl 194s libvariable-magic-perl libvorbis0a libvorbisenc2 libvulkan1 libwacom-common 194s libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwebpmux3 194s libwmflite-0.2-7 libwww-mechanize-perl libwww-perl libwww-robotrules-perl 194s libx11-dev libx11-xcb1 libxau-dev libxaw7 libxcb-dri2-0 libxcb-dri3-0 194s libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 194s libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 194s libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 194s libxcb-xkb1 libxcb1-dev libxcursor1 libxdmcp-dev libxfixes3 libxfont2 194s libxft2 libxinerama1 libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 194s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 194s libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 194s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 194s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 194s linux-libc-dev lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave 194s octave-common octave-dev octave-symbolic openmpi-bin openmpi-common 194s patchutils perl-openssl-defaults po-debconf python3-mpmath python3-sympy 194s rpcsvc-proto t1utils tex-common texinfo texinfo-lib unzip x11-common 194s x11-xkb-utils x11proto-dev xorg-sgml-doctools xserver-common xtrans-dev xvfb 194s zlib1g-dev 194s The following packages will be upgraded: 194s apt apt-utils curl gcc-13-base gcc-14-base gir1.2-glib-2.0 ibverbs-providers 194s info install-info libc-bin libc6 libevent-core-2.1-7 libgcc-s1 194s libglib2.0-data libibverbs1 libstdc++6 libxmuu1 locales openssl perl 194s perl-base perl-modules-5.38 readline-common zlib1g 194s 24 upgraded, 512 newly installed, 16 to remove and 226 not upgraded. 194s Need to get 271 MB/271 MB of archives. 194s After this operation, 941 MB of additional disk space will be used. 194s Get:1 /tmp/autopkgtest.YBAQ4g/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 194s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdb5.3t64 arm64 5.3.28+dfsg2-5build1 [719 kB] 196s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgdbm6t64 arm64 1.23-5.1 [34.3 kB] 196s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgdbm-compat4t64 arm64 1.23-5.1 [6576 B] 196s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libperl5.38t64 arm64 5.38.2-3.2 [4771 kB] 199s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 perl arm64 5.38.2-3.2 [231 kB] 199s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 perl-base arm64 5.38.2-3.2 [1777 kB] 201s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 203s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-14-base arm64 14-20240315-1ubuntu1 [47.0 kB] 203s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgcc-s1 arm64 14-20240315-1ubuntu1 [49.9 kB] 203s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libstdc++6 arm64 14-20240315-1ubuntu1 [748 kB] 203s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc6 arm64 2.39-0ubuntu6 [2776 kB] 205s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g arm64 1:1.3.dfsg-3.1ubuntu1 [61.7 kB] 205s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc-bin arm64 2.39-0ubuntu6 [591 kB] 205s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libnettle8t64 arm64 3.9.1-2.2 [192 kB] 205s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libhogweed6t64 arm64 3.9.1-2.2 [199 kB] 205s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgnutls30t64 arm64 3.8.3-1.1ubuntu2 [1042 kB] 206s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu2 [985 kB] 206s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB] 207s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl4t64 arm64 8.5.0-2ubuntu7 [332 kB] 207s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 curl arm64 8.5.0-2ubuntu7 [222 kB] 207s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpsl5t64 arm64 0.21.2-1.1 [57.4 kB] 207s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl3t64-gnutls arm64 8.5.0-2ubuntu7 [327 kB] 207s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libapt-pkg6.0t64 arm64 2.7.13ubuntu1 [933 kB] 207s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 apt arm64 2.7.13ubuntu1 [1335 kB] 208s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 apt-utils arm64 2.7.13ubuntu1 [205 kB] 208s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build2 [57.9 kB] 208s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu5 [182 kB] 208s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu5 [1527 kB] 208s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpng16-16t64 arm64 1.6.43-3 [185 kB] 208s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 readline-common all 8.2-3.1 [56.4 kB] 208s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline8t64 arm64 8.2-3.1 [153 kB] 209s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 install-info arm64 7.1-3build1 [61.4 kB] 209s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13-base arm64 13.2.0-19ubuntu1 [47.8 kB] 209s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 209s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 locales all 2.39-0ubuntu6 [4232 kB] 209s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 info arm64 7.1-3build1 [141 kB] 209s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxmuu1 arm64 2:1.1.3-3build1 [9252 B] 209s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 m4 arm64 1.4.19-4 [240 kB] 210s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 autoconf all 2.71-3 [339 kB] 210s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 autotools-dev all 20220109.1 [44.9 kB] 210s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 210s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 autopoint all 0.21-14ubuntu1 [422 kB] 210s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libcapture-tiny-perl all 0.48-2 [20.2 kB] 210s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libparams-util-perl arm64 1.102-2build2 [20.5 kB] 210s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-install-perl all 0.929-1 [9764 B] 210s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libdata-optlist-perl all 0.114-1 [9708 B] 210s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libb-hooks-op-check-perl arm64 0.22-3 [9380 B] 210s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libdynaloader-functions-perl all 0.003-3 [12.1 kB] 210s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdevel-callchecker-perl arm64 0.008-2build2 [13.4 kB] 210s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libparams-classify-perl arm64 0.015-2build4 [19.6 kB] 210s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libmodule-runtime-perl all 0.016-2 [16.4 kB] 210s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libtry-tiny-perl all 0.31-2 [20.8 kB] 210s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 libmodule-implementation-perl all 0.09-2 [12.0 kB] 210s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libpackage-stash-perl all 0.40-1 [19.5 kB] 210s Get:56 http://ftpmaster.internal/ubuntu noble/universe arm64 libclass-load-perl all 0.25-2 [12.7 kB] 210s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libio-stringy-perl all 2.111-3 [55.8 kB] 210s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libparams-validate-perl arm64 1.31-2build2 [52.1 kB] 210s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-exporter-perl all 0.990-1 [49.0 kB] 210s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 libgetopt-long-descriptive-perl all 0.111-1 [25.5 kB] 210s Get:61 http://ftpmaster.internal/ubuntu noble/universe arm64 libio-tiecombine-perl all 1.005-3 [9464 B] 210s Get:62 http://ftpmaster.internal/ubuntu noble/universe arm64 libmodule-pluggable-perl all 5.2-4 [20.0 kB] 210s Get:63 http://ftpmaster.internal/ubuntu noble/universe arm64 libstring-rewriteprefix-perl all 0.009-1 [6310 B] 210s Get:64 http://ftpmaster.internal/ubuntu noble/universe arm64 libapp-cmd-perl all 0.336-1 [62.1 kB] 210s Get:65 http://ftpmaster.internal/ubuntu noble/universe arm64 libboolean-perl all 0.46-3 [8430 B] 210s Get:66 http://ftpmaster.internal/ubuntu noble/universe arm64 libsub-uplevel-perl all 0.2800-3 [11.6 kB] 210s Get:67 http://ftpmaster.internal/ubuntu noble/universe arm64 libtest-exception-perl all 0.43-3 [13.4 kB] 210s Get:68 http://ftpmaster.internal/ubuntu noble/universe arm64 libcarp-assert-more-perl all 2.3.0-1 [17.6 kB] 210s Get:69 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-which-perl all 1.27-2 [12.5 kB] 210s Get:70 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-homedir-perl all 1.006-2 [37.0 kB] 210s Get:71 http://ftpmaster.internal/ubuntu noble/universe arm64 libclone-choose-perl all 0.010-2 [7738 B] 210s Get:72 http://ftpmaster.internal/ubuntu noble/universe arm64 libhash-merge-perl all 0.302-1 [13.0 kB] 210s Get:73 http://ftpmaster.internal/ubuntu noble/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 210s Get:74 http://ftpmaster.internal/ubuntu noble/main arm64 libexporter-tiny-perl all 1.006002-1 [36.8 kB] 210s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 liblist-moreutils-xs-perl arm64 0.430-3build4 [41.0 kB] 210s Get:76 http://ftpmaster.internal/ubuntu noble/universe arm64 liblist-moreutils-perl all 0.430-2 [38.2 kB] 210s Get:77 http://ftpmaster.internal/ubuntu noble/universe arm64 liblog-log4perl-perl all 1.57-1 [345 kB] 210s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libmouse-perl arm64 2.5.10-1build7 [133 kB] 210s Get:79 http://ftpmaster.internal/ubuntu noble/universe arm64 libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 210s Get:80 http://ftpmaster.internal/ubuntu noble/universe arm64 libmousex-strictconstructor-perl all 0.02-3 [4582 B] 210s Get:81 http://ftpmaster.internal/ubuntu noble/universe arm64 libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 210s Get:82 http://ftpmaster.internal/ubuntu noble/main arm64 libpath-tiny-perl all 0.144-1 [47.7 kB] 210s Get:83 http://ftpmaster.internal/ubuntu noble/universe arm64 libpod-pom-perl all 2.01-4 [61.3 kB] 210s Get:84 http://ftpmaster.internal/ubuntu noble/universe arm64 libregexp-common-perl all 2017060201-3 [171 kB] 210s Get:85 http://ftpmaster.internal/ubuntu noble/main arm64 libyaml-tiny-perl all 1.74-1 [25.3 kB] 210s Get:86 http://ftpmaster.internal/ubuntu noble/universe arm64 libconfig-model-perl all 2.153-3 [408 kB] 210s Get:87 http://ftpmaster.internal/ubuntu noble/universe arm64 libyaml-pp-perl all 0.38.0-1 [105 kB] 210s Get:88 http://ftpmaster.internal/ubuntu noble/universe arm64 cme all 1.040-1 [64.8 kB] 210s Get:89 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 210s Get:90 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 210s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [10.3 MB] 212s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 cpp-13 arm64 13.2.0-19ubuntu1 [1032 B] 212s Get:93 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 212s Get:94 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 212s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 212s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcc1-0 arm64 14-20240315-1ubuntu1 [44.7 kB] 212s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgomp1 arm64 14-20240315-1ubuntu1 [144 kB] 212s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libitm1 arm64 14-20240315-1ubuntu1 [27.8 kB] 212s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libatomic1 arm64 14-20240315-1ubuntu1 [11.4 kB] 212s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libasan8 arm64 14-20240315-1ubuntu1 [2919 kB] 212s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 liblsan0 arm64 14-20240315-1ubuntu1 [1282 kB] 212s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtsan2 arm64 14-20240315-1ubuntu1 [2687 kB] 213s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libubsan1 arm64 14-20240315-1ubuntu1 [1150 kB] 213s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libhwasan0 arm64 14-20240315-1ubuntu1 [1597 kB] 213s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgcc-13-dev arm64 13.2.0-19ubuntu1 [2464 kB] 214s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [20.1 MB] 215s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gcc-13 arm64 13.2.0-19ubuntu1 [467 kB] 215s Get:108 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 215s Get:109 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 215s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc-dev-bin arm64 2.39-0ubuntu6 [19.7 kB] 215s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 linux-libc-dev arm64 6.8.0-20.20 [1570 kB] 215s Get:112 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 215s Get:113 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 215s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libc6-dev arm64 2.39-0ubuntu6 [1596 kB] 215s Get:115 http://ftpmaster.internal/ubuntu noble/main arm64 libtool all 2.4.7-7 [166 kB] 215s Get:116 http://ftpmaster.internal/ubuntu noble/main arm64 dh-autoreconf all 20 [16.1 kB] 215s Get:117 http://ftpmaster.internal/ubuntu noble/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 215s Get:118 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-override-perl all 0.10-1 [10.0 kB] 215s Get:119 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 215s Get:120 http://ftpmaster.internal/ubuntu noble/main arm64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] 215s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdw1t64 arm64 0.190-1.1build2 [258 kB] 215s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 debugedit arm64 1:5.0-5build1 [45.4 kB] 215s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dwz arm64 0.15-1build5 [113 kB] 215s Get:124 http://ftpmaster.internal/ubuntu noble/main arm64 gettext arm64 0.21-14ubuntu1 [846 kB] 215s Get:125 http://ftpmaster.internal/ubuntu noble/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 215s Get:126 http://ftpmaster.internal/ubuntu noble/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 215s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 debhelper all 13.14.1ubuntu5 [869 kB] 215s Get:128 http://ftpmaster.internal/ubuntu noble/universe arm64 aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 215s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 gnuplot-data all 6.0.0+dfsg1-1ubuntu2 [75.3 kB] 215s Get:130 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 215s Get:131 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 215s Get:132 http://ftpmaster.internal/ubuntu noble/universe arm64 fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 216s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 fontconfig-config arm64 2.15.0-1.1ubuntu1 [37.4 kB] 216s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfontconfig1 arm64 2.15.0-1.1ubuntu1 [142 kB] 216s Get:135 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 216s Get:136 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] 216s Get:137 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 216s Get:138 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 216s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcairo2 arm64 1.18.0-1ubuntu1 [555 kB] 216s Get:140 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB] 216s Get:141 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 216s Get:142 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB] 216s Get:143 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB] 216s Get:144 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB] 216s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsharpyuv0 arm64 1.3.2-0.4build2 [14.5 kB] 216s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwebp7 arm64 1.3.2-0.4build2 [191 kB] 216s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu1 [191 kB] 216s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxpm4 arm64 1:3.5.17-1build1 [35.4 kB] 216s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgd3 arm64 2.3.3-9ubuntu3 [121 kB] 216s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 liblua5.4-0 arm64 5.4.6-3build1 [158 kB] 216s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 fontconfig arm64 2.15.0-1.1ubuntu1 [190 kB] 216s Get:152 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB] 216s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libharfbuzz0b arm64 8.3.0-2build1 [463 kB] 216s Get:154 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB] 216s Get:155 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB] 216s Get:156 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB] 216s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpango-1.0-0 arm64 1.52.1+ds-1 [228 kB] 216s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpangoft2-1.0-0 arm64 1.52.1+ds-1 [41.9 kB] 216s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libpangocairo-1.0-0 arm64 1.52.1+ds-1 [27.3 kB] 216s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwebpmux3 arm64 1.3.2-0.4build2 [25.0 kB] 216s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 gnuplot-nox arm64 6.0.0+dfsg1-1ubuntu2 [956 kB] 216s Get:162 http://ftpmaster.internal/ubuntu noble/universe arm64 dh-octave-autopkgtest all 1.8.0 [10.1 kB] 216s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libapt-pkg-perl arm64 0.1.40build5 [66.9 kB] 216s Get:164 http://ftpmaster.internal/ubuntu noble/main arm64 libarray-intspan-perl all 2.004-2 [25.0 kB] 216s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libyaml-libyaml-perl arm64 0.89+ds-1build1 [29.8 kB] 216s Get:166 http://ftpmaster.internal/ubuntu noble/universe arm64 libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 216s Get:167 http://ftpmaster.internal/ubuntu noble/universe arm64 libexporter-lite-perl all 0.09-2 [9748 B] 216s Get:168 http://ftpmaster.internal/ubuntu noble/main arm64 libencode-locale-perl all 1.05-3 [11.6 kB] 216s Get:169 http://ftpmaster.internal/ubuntu noble/main arm64 libtimedate-perl all 2.3300-2 [34.0 kB] 216s Get:170 http://ftpmaster.internal/ubuntu noble/main arm64 libhttp-date-perl all 6.06-1 [10.2 kB] 216s Get:171 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-listing-perl all 6.16-1 [11.3 kB] 216s Get:172 http://ftpmaster.internal/ubuntu noble/main arm64 libhtml-tagset-perl all 3.20-6 [11.3 kB] 216s Get:173 http://ftpmaster.internal/ubuntu noble/main arm64 liburi-perl all 5.27-1 [88.0 kB] 216s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libhtml-parser-perl arm64 3.81-1build2 [84.9 kB] 216s Get:175 http://ftpmaster.internal/ubuntu noble/main arm64 libhtml-tree-perl all 5.07-3 [200 kB] 216s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libclone-perl arm64 0.46-1build2 [10.4 kB] 216s Get:177 http://ftpmaster.internal/ubuntu noble/main arm64 libio-html-perl all 1.004-3 [15.9 kB] 216s Get:178 http://ftpmaster.internal/ubuntu noble/main arm64 liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 216s Get:179 http://ftpmaster.internal/ubuntu noble/main arm64 libhttp-message-perl all 6.45-1ubuntu1 [78.2 kB] 216s Get:180 http://ftpmaster.internal/ubuntu noble/main arm64 libhttp-cookies-perl all 6.11-1 [18.2 kB] 216s Get:181 http://ftpmaster.internal/ubuntu noble/main arm64 libhttp-negotiate-perl all 6.01-2 [12.4 kB] 216s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 perl-openssl-defaults arm64 7build1 [6542 B] 216s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libnet-ssleay-perl arm64 1.94-1build2 [311 kB] 216s Get:184 http://ftpmaster.internal/ubuntu noble/main arm64 libio-socket-ssl-perl all 2.085-1 [195 kB] 216s Get:185 http://ftpmaster.internal/ubuntu noble/main arm64 libnet-http-perl all 6.23-1 [22.3 kB] 216s Get:186 http://ftpmaster.internal/ubuntu noble/main arm64 liblwp-protocol-https-perl all 6.13-1 [9006 B] 216s Get:187 http://ftpmaster.internal/ubuntu noble/main arm64 libwww-robotrules-perl all 6.02-1 [12.6 kB] 216s Get:188 http://ftpmaster.internal/ubuntu noble/main arm64 libwww-perl all 6.76-1 [138 kB] 216s Get:189 http://ftpmaster.internal/ubuntu noble/main arm64 liberror-perl all 0.17029-2 [25.6 kB] 216s Get:190 http://ftpmaster.internal/ubuntu noble/universe arm64 libparse-debcontrol-perl all 2.005-6 [20.4 kB] 216s Get:191 http://ftpmaster.internal/ubuntu noble/universe arm64 libsoftware-copyright-perl all 0.012-2 [17.4 kB] 216s Get:192 http://ftpmaster.internal/ubuntu noble/universe arm64 libalgorithm-c3-perl all 0.11-2 [10.2 kB] 216s Get:193 http://ftpmaster.internal/ubuntu noble/universe arm64 libclass-c3-perl all 0.35-2 [18.4 kB] 216s Get:194 http://ftpmaster.internal/ubuntu noble/universe arm64 libmro-compat-perl all 0.15-2 [10.1 kB] 216s Get:195 http://ftpmaster.internal/ubuntu noble/universe arm64 libdata-section-perl all 0.200008-1 [11.6 kB] 216s Get:196 http://ftpmaster.internal/ubuntu noble/universe arm64 libtext-template-perl all 1.61-1 [48.5 kB] 216s Get:197 http://ftpmaster.internal/ubuntu noble/universe arm64 libsoftware-license-perl all 0.104006-1 [117 kB] 216s Get:198 http://ftpmaster.internal/ubuntu noble/universe arm64 libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 216s Get:199 http://ftpmaster.internal/ubuntu noble/main arm64 libsort-versions-perl all 1.62-3 [7378 B] 216s Get:200 http://ftpmaster.internal/ubuntu noble/universe arm64 libtext-reform-perl all 1.20-5 [35.4 kB] 216s Get:201 http://ftpmaster.internal/ubuntu noble/universe arm64 libtext-autoformat-perl all 1.750000-2 [29.8 kB] 217s Get:202 http://ftpmaster.internal/ubuntu noble/universe arm64 libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 217s Get:203 http://ftpmaster.internal/ubuntu noble/universe arm64 libtoml-tiny-perl all 0.16-1 [22.0 kB] 217s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libindirect-perl arm64 0.39-2build3 [21.5 kB] 217s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxs-parse-keyword-perl arm64 0.39-1build2 [53.7 kB] 217s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxs-parse-sublike-perl arm64 0.21-2build2 [39.0 kB] 217s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libobject-pad-perl arm64 0.808-1build2 [107 kB] 217s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsyntax-keyword-try-perl arm64 0.29-1build2 [24.0 kB] 217s Get:209 http://ftpmaster.internal/ubuntu noble/main arm64 libio-interactive-perl all 1.025-1 [10.4 kB] 217s Get:210 http://ftpmaster.internal/ubuntu noble/main arm64 liblog-any-perl all 1.717-1 [73.2 kB] 217s Get:211 http://ftpmaster.internal/ubuntu noble/main arm64 liblog-any-adapter-screen-perl all 0.140-2 [12.4 kB] 217s Get:212 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 217s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libvariable-magic-perl arm64 0.63-1build2 [34.2 kB] 217s Get:214 http://ftpmaster.internal/ubuntu noble/main arm64 libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 217s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsub-identify-perl arm64 0.14-3build2 [9606 B] 217s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsub-name-perl arm64 0.27-1build2 [10.4 kB] 217s Get:217 http://ftpmaster.internal/ubuntu noble/main arm64 libnamespace-clean-perl all 0.27-2 [14.0 kB] 217s Get:218 http://ftpmaster.internal/ubuntu noble/main arm64 libnumber-compare-perl all 0.03-3 [5974 B] 217s Get:219 http://ftpmaster.internal/ubuntu noble/main arm64 libtext-glob-perl all 0.11-3 [6780 B] 217s Get:220 http://ftpmaster.internal/ubuntu noble/main arm64 libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 217s Get:221 http://ftpmaster.internal/ubuntu noble/main arm64 libpod-parser-perl all 1.67-1 [80.6 kB] 217s Get:222 http://ftpmaster.internal/ubuntu noble/main arm64 libpod-constants-perl all 0.19-2 [16.3 kB] 217s Get:223 http://ftpmaster.internal/ubuntu noble/main arm64 libset-intspan-perl all 1.19-3 [24.8 kB] 217s Get:224 http://ftpmaster.internal/ubuntu noble/main arm64 libstring-copyright-perl all 0.003014-1 [20.5 kB] 217s Get:225 http://ftpmaster.internal/ubuntu noble/main arm64 libstring-escape-perl all 2010.002-3 [16.1 kB] 217s Get:226 http://ftpmaster.internal/ubuntu noble/main arm64 libregexp-pattern-license-perl all 3.11.0-1 [85.8 kB] 217s Get:227 http://ftpmaster.internal/ubuntu noble/main arm64 libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 217s Get:228 http://ftpmaster.internal/ubuntu noble/main arm64 libstring-license-perl all 0.0.9-2ubuntu1 [35.0 kB] 217s Get:229 http://ftpmaster.internal/ubuntu noble/main arm64 licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 217s Get:230 http://ftpmaster.internal/ubuntu noble/main arm64 diffstat arm64 1.66-1 [28.0 kB] 217s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libberkeleydb-perl arm64 0.64-2build2 [122 kB] 217s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libclass-xsaccessor-perl arm64 1.19-4build3 [32.9 kB] 217s Get:233 http://ftpmaster.internal/ubuntu noble/main arm64 libconfig-tiny-perl all 2.30-1 [14.7 kB] 217s Get:234 http://ftpmaster.internal/ubuntu noble/main arm64 libconst-fast-perl all 0.014-2 [8034 B] 217s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcpanel-json-xs-perl arm64 4.37-1build2 [113 kB] 217s Get:236 http://ftpmaster.internal/ubuntu noble/main arm64 libaliased-perl all 0.34-3 [12.8 kB] 217s Get:237 http://ftpmaster.internal/ubuntu noble/main arm64 libclass-data-inheritable-perl all 0.08-3 [8084 B] 217s Get:238 http://ftpmaster.internal/ubuntu noble/main arm64 libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 217s Get:239 http://ftpmaster.internal/ubuntu noble/main arm64 libexception-class-perl all 1.45-1 [28.6 kB] 217s Get:240 http://ftpmaster.internal/ubuntu noble/main arm64 libiterator-perl all 0.03+ds1-2 [18.8 kB] 217s Get:241 http://ftpmaster.internal/ubuntu noble/main arm64 libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 217s Get:242 http://ftpmaster.internal/ubuntu noble/main arm64 libdata-dpath-perl all 0.59-1 [39.2 kB] 217s Get:243 http://ftpmaster.internal/ubuntu noble/main arm64 libnet-domain-tld-perl all 1.75-3 [29.4 kB] 217s Get:244 http://ftpmaster.internal/ubuntu noble/main arm64 libdata-validate-domain-perl all 0.10-1.1 [9992 B] 217s Get:245 http://ftpmaster.internal/ubuntu noble/main arm64 libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 217s Get:246 http://ftpmaster.internal/ubuntu noble/main arm64 libnet-netmask-perl all 2.0002-2 [24.8 kB] 217s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libnetaddr-ip-perl arm64 4.079+dfsg-2build3 [79.7 kB] 217s Get:248 http://ftpmaster.internal/ubuntu noble/main arm64 libdata-validate-ip-perl all 0.31-1 [17.2 kB] 217s Get:249 http://ftpmaster.internal/ubuntu noble/main arm64 libdata-validate-uri-perl all 0.07-3 [10.8 kB] 217s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdevel-size-perl arm64 0.83-2build3 [19.1 kB] 217s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libemail-address-xs-perl arm64 1.05-1build3 [28.9 kB] 217s Get:252 http://ftpmaster.internal/ubuntu noble/main arm64 libipc-system-simple-perl all 1.30-2 [22.3 kB] 217s Get:253 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-basedir-perl all 0.09-2 [14.4 kB] 217s Get:254 http://ftpmaster.internal/ubuntu noble/main arm64 libfile-find-rule-perl all 0.34-3 [24.4 kB] 217s Get:255 http://ftpmaster.internal/ubuntu noble/main arm64 libio-string-perl all 1.08-4 [11.1 kB] 217s Get:256 http://ftpmaster.internal/ubuntu noble/main arm64 libfont-ttf-perl all 1.06-2 [323 kB] 218s Get:257 http://ftpmaster.internal/ubuntu noble/main arm64 libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 218s Get:258 http://ftpmaster.internal/ubuntu noble/main arm64 libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 218s Get:259 http://ftpmaster.internal/ubuntu noble/main arm64 libipc-run3-perl all 0.049-1 [28.8 kB] 218s Get:260 http://ftpmaster.internal/ubuntu noble/main arm64 libjson-maybexs-perl all 1.004005-1 [11.3 kB] 218s Get:261 http://ftpmaster.internal/ubuntu noble/main arm64 liblist-compare-perl all 0.55-2 [62.9 kB] 218s Get:262 http://ftpmaster.internal/ubuntu noble/main arm64 liblist-someutils-perl all 0.59-1 [30.4 kB] 218s Get:263 http://ftpmaster.internal/ubuntu noble/main arm64 liblist-utilsby-perl all 0.12-2 [14.9 kB] 218s Get:264 http://ftpmaster.internal/ubuntu noble/main arm64 libmldbm-perl all 2.05-4 [16.0 kB] 218s Get:265 http://ftpmaster.internal/ubuntu noble/main arm64 libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 218s Get:266 http://ftpmaster.internal/ubuntu noble/main arm64 libimport-into-perl all 1.002005-2 [10.7 kB] 218s Get:267 http://ftpmaster.internal/ubuntu noble/main arm64 librole-tiny-perl all 2.002004-1 [16.3 kB] 218s Get:268 http://ftpmaster.internal/ubuntu noble/main arm64 libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 218s Get:269 http://ftpmaster.internal/ubuntu noble/main arm64 libmoo-perl all 2.005005-1 [47.4 kB] 218s Get:270 http://ftpmaster.internal/ubuntu noble/main arm64 libstrictures-perl all 2.000006-1 [16.3 kB] 218s Get:271 http://ftpmaster.internal/ubuntu noble/main arm64 libmoox-aliases-perl all 0.001006-2 [6796 B] 218s Get:272 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libperlio-gzip-perl arm64 0.20-1build3 [14.5 kB] 218s Get:273 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libperlio-utf8-strict-perl arm64 0.010-1build2 [10.9 kB] 218s Get:274 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libproc-processtable-perl arm64 0.636-1build2 [35.3 kB] 218s Get:275 http://ftpmaster.internal/ubuntu noble/main arm64 libregexp-wildcards-perl all 1.05-3 [12.9 kB] 218s Get:276 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsereal-decoder-perl arm64 5.004+ds-1build2 [99.6 kB] 218s Get:277 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsereal-encoder-perl arm64 5.004+ds-1build2 [102 kB] 218s Get:278 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libterm-readkey-perl arm64 2.38-2build3 [23.0 kB] 218s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtext-levenshteinxs-perl arm64 0.03-5build3 [7832 B] 218s Get:280 http://ftpmaster.internal/ubuntu noble/main arm64 libmarkdown2 arm64 2.2.7-2 [37.0 kB] 218s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtext-markdown-discount-perl arm64 0.16-1build2 [12.1 kB] 218s Get:282 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdata-messagepack-perl arm64 1.02-1build3 [29.9 kB] 218s Get:283 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtext-xslate-perl arm64 3.5.9-1build4 [161 kB] 218s Get:284 http://ftpmaster.internal/ubuntu noble/main arm64 libtime-duration-perl all 1.21-2 [12.3 kB] 218s Get:285 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libtime-moment-perl arm64 0.44-2build3 [72.1 kB] 218s Get:286 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libunicode-utf8-perl arm64 0.62-2build2 [18.1 kB] 218s Get:287 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcgi-pm-perl all 4.63-1 [185 kB] 218s Get:288 http://ftpmaster.internal/ubuntu noble/main arm64 libhtml-form-perl all 6.11-1 [32.1 kB] 218s Get:289 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwww-mechanize-perl all 2.18-1ubuntu1 [93.1 kB] 218s Get:290 http://ftpmaster.internal/ubuntu noble/main arm64 libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 218s Get:291 http://ftpmaster.internal/ubuntu noble/main arm64 libxml-sax-base-perl all 1.09-3 [18.9 kB] 218s Get:292 http://ftpmaster.internal/ubuntu noble/main arm64 libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] 218s Get:293 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxml-libxml-perl arm64 2.0207+dfsg+really+2.0134-1build3 [296 kB] 218s Get:294 http://ftpmaster.internal/ubuntu noble/main arm64 lzip arm64 1.24.1-1 [81.6 kB] 218s Get:295 http://ftpmaster.internal/ubuntu noble/main arm64 lzop arm64 1.04-2build2 [84.0 kB] 218s Get:296 http://ftpmaster.internal/ubuntu noble/main arm64 patchutils arm64 0.4.2-1build2 [75.8 kB] 218s Get:297 http://ftpmaster.internal/ubuntu noble/main arm64 t1utils arm64 1.41-4build2 [61.5 kB] 218s Get:298 http://ftpmaster.internal/ubuntu noble/main arm64 unzip arm64 6.0-28ubuntu3 [171 kB] 218s Get:299 http://ftpmaster.internal/ubuntu noble/main arm64 lintian all 2.117.0ubuntu1 [1065 kB] 218s Get:300 http://ftpmaster.internal/ubuntu noble/universe arm64 libconfig-model-dpkg-perl all 3.004 [174 kB] 218s Get:301 http://ftpmaster.internal/ubuntu noble/main arm64 libconvert-binhex-perl all 1.125-3 [27.1 kB] 218s Get:302 http://ftpmaster.internal/ubuntu noble/main arm64 libnet-smtp-ssl-perl all 1.04-2 [6218 B] 218s Get:303 http://ftpmaster.internal/ubuntu noble/main arm64 libmailtools-perl all 2.21-2 [80.4 kB] 219s Get:304 http://ftpmaster.internal/ubuntu noble/main arm64 libmime-tools-perl all 5.514-1 [187 kB] 219s Get:305 http://ftpmaster.internal/ubuntu noble/main arm64 libsuitesparseconfig7 arm64 1:7.6.1+dfsg-1 [12.4 kB] 219s Get:306 http://ftpmaster.internal/ubuntu noble/universe arm64 libamd3 arm64 1:7.6.1+dfsg-1 [25.7 kB] 219s Get:307 http://ftpmaster.internal/ubuntu noble/main arm64 libblas3 arm64 3.12.0-3 [143 kB] 219s Get:308 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgfortran5 arm64 14-20240315-1ubuntu1 [444 kB] 219s Get:309 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack3 arm64 3.12.0-3 [2241 kB] 219s Get:310 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libarpack2t64 arm64 3.9.1-1.1build1 [90.6 kB] 219s Get:311 http://ftpmaster.internal/ubuntu noble/universe arm64 libccolamd3 arm64 1:7.6.1+dfsg-1 [25.2 kB] 219s Get:312 http://ftpmaster.internal/ubuntu noble/universe arm64 libcamd3 arm64 1:7.6.1+dfsg-1 [22.0 kB] 219s Get:313 http://ftpmaster.internal/ubuntu noble/main arm64 libcolamd3 arm64 1:7.6.1+dfsg-1 [18.1 kB] 219s Get:314 http://ftpmaster.internal/ubuntu noble/universe arm64 libcholmod5 arm64 1:7.6.1+dfsg-1 [582 kB] 219s Get:315 http://ftpmaster.internal/ubuntu noble/universe arm64 libcxsparse4 arm64 1:7.6.1+dfsg-1 [70.6 kB] 219s Get:316 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfftw3-double3 arm64 3.3.10-1ubuntu2 [384 kB] 219s Get:317 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfftw3-single3 arm64 3.3.10-1ubuntu2 [584 kB] 219s Get:318 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 219s Get:319 http://ftpmaster.internal/ubuntu noble/main arm64 libxcursor1 arm64 1:1.2.1-1 [21.3 kB] 219s Get:320 http://ftpmaster.internal/ubuntu noble/main arm64 libxft2 arm64 2.3.6-1 [43.3 kB] 219s Get:321 http://ftpmaster.internal/ubuntu noble/main arm64 libxinerama1 arm64 2:1.1.4-3 [7056 B] 219s Get:322 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libfltk1.3t64 arm64 1.3.8-6.1 [597 kB] 219s Get:323 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 219s Get:324 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglapi-mesa arm64 24.0.2-1ubuntu8 [58.0 kB] 219s Get:325 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 219s Get:326 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 219s Get:327 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 219s Get:328 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 219s Get:329 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 219s Get:330 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 219s Get:331 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 219s Get:332 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 219s Get:333 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 219s Get:334 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 219s Get:335 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 219s Get:336 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 219s Get:337 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 219s Get:338 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 219s Get:339 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libllvm17t64 arm64 1:17.0.6-9build1 [25.0 MB] 220s Get:340 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgl1-mesa-dri arm64 24.0.2-1ubuntu8 [8237 kB] 221s Get:341 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglx-mesa0 arm64 24.0.2-1ubuntu8 [177 kB] 221s Get:342 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 221s Get:343 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 221s Get:344 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libfltk-gl1.3t64 arm64 1.3.8-6.1 [42.1 kB] 221s Get:345 http://ftpmaster.internal/ubuntu noble/universe arm64 libgl2ps1.4 arm64 1.4.2+dfsg1-2 [41.5 kB] 221s Get:346 http://ftpmaster.internal/ubuntu noble/main arm64 libltdl7 arm64 2.4.7-7 [40.3 kB] 221s Get:347 http://ftpmaster.internal/ubuntu noble/universe arm64 libglpk40 arm64 5.0-1build1 [336 kB] 221s Get:348 http://ftpmaster.internal/ubuntu noble/main arm64 libopengl0 arm64 1.7.0-1 [35.9 kB] 221s Get:349 http://ftpmaster.internal/ubuntu noble/main arm64 libglu1-mesa arm64 9.0.2-1.1 [137 kB] 221s Get:350 http://ftpmaster.internal/ubuntu noble/universe arm64 libdav1d7 arm64 1.4.0-1 [297 kB] 221s Get:351 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libheif-plugin-dav1d arm64 1.17.6-1ubuntu2 [9914 B] 221s Get:352 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libde265-0 arm64 1.0.15-1build1 [143 kB] 221s Get:353 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libheif-plugin-libde265 arm64 1.17.6-1ubuntu2 [8030 B] 221s Get:354 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libheif1 arm64 1.17.6-1ubuntu2 [260 kB] 221s Get:355 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhwy1t64 arm64 1.0.7-8.1 [437 kB] 221s Get:356 http://ftpmaster.internal/ubuntu noble/main arm64 liblcms2-2 arm64 2.14-2 [159 kB] 221s Get:357 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libjxl0.7 arm64 0.7.0-10.2ubuntu3 [690 kB] 221s Get:358 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwmflite-0.2-7 arm64 0.2.13-1.1build2 [68.5 kB] 221s Get:359 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libgraphicsmagick-q16-3t64 arm64 1.4+really1.3.42-1.1build1 [1197 kB] 221s Get:360 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libgraphicsmagick++-q16-12t64 arm64 1.4+really1.3.42-1.1build1 [111 kB] 221s Get:361 http://ftpmaster.internal/ubuntu noble/universe arm64 libaec0 arm64 1.1.2-1 [21.7 kB] 221s Get:362 http://ftpmaster.internal/ubuntu noble/universe arm64 libsz2 arm64 1.1.2-1 [5168 B] 221s Get:363 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-103-1t64 arm64 1.10.10+repack-3.1ubuntu3 [1192 kB] 221s Get:364 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libasound2-data all 1.2.11-1build1 [21.0 kB] 221s Get:365 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libasound2t64 arm64 1.2.11-1build1 [386 kB] 221s Get:366 http://ftpmaster.internal/ubuntu noble/main arm64 libopus0 arm64 1.4-1 [194 kB] 221s Get:367 http://ftpmaster.internal/ubuntu noble/main arm64 libsamplerate0 arm64 0.2.2-4 [1342 kB] 221s Get:368 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libjack-jackd2-0 arm64 1.9.21~dfsg-3ubuntu1 [285 kB] 221s Get:369 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libportaudio2 arm64 19.6.0-1.2build1 [65.6 kB] 221s Get:370 http://ftpmaster.internal/ubuntu noble/universe arm64 libqhull-r8.0 arm64 2020.2-6 [188 kB] 221s Get:371 http://ftpmaster.internal/ubuntu noble/universe arm64 libqrupdate1 arm64 1.1.2-4 [30.0 kB] 221s Get:372 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqscintilla2-qt5-l10n all 2.14.1+dfsg-1build2 [56.4 kB] 221s Get:373 http://ftpmaster.internal/ubuntu noble/universe arm64 libdouble-conversion3 arm64 3.3.0-1 [37.2 kB] 221s Get:374 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 221s Get:375 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5core5t64 arm64 5.15.12+dfsg-3ubuntu6 [1971 kB] 221s Get:376 http://ftpmaster.internal/ubuntu noble/main arm64 libwayland-server0 arm64 1.22.0-2.1 [34.0 kB] 221s Get:377 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgbm1 arm64 24.0.2-1ubuntu8 [43.3 kB] 221s Get:378 http://ftpmaster.internal/ubuntu noble/main arm64 libwayland-client0 arm64 1.22.0-2.1 [25.6 kB] 221s Get:379 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libegl-mesa0 arm64 24.0.2-1ubuntu8 [127 kB] 221s Get:380 http://ftpmaster.internal/ubuntu noble/main arm64 libegl1 arm64 1.7.0-1 [29.2 kB] 221s Get:381 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 221s Get:382 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 221s Get:383 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libmtdev1t64 arm64 1.1.6-1.1 [14.3 kB] 221s Get:384 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwacom-common all 2.10.0-1build1 [63.5 kB] 221s Get:385 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libwacom9 arm64 2.10.0-1build1 [23.8 kB] 221s Get:386 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libinput-bin arm64 1.25.0-1build1 [22.0 kB] 221s Get:387 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libinput10 arm64 1.25.0-1build1 [129 kB] 221s Get:388 http://ftpmaster.internal/ubuntu noble/universe arm64 libmd4c0 arm64 0.4.8-1 [41.2 kB] 221s Get:389 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5dbus5t64 arm64 5.15.12+dfsg-3ubuntu6 [224 kB] 222s Get:390 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5network5t64 arm64 5.15.12+dfsg-3ubuntu6 [740 kB] 222s Get:391 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 222s Get:392 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-icccm4 arm64 0.4.1-1.1build2 [11.0 kB] 222s Get:393 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-util1 arm64 0.4.0-1build2 [11.2 kB] 222s Get:394 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-image0 arm64 0.4.0-2 [11.1 kB] 222s Get:395 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-keysyms1 arm64 0.4.0-1build3 [8606 B] 222s Get:396 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render-util0 arm64 0.3.9-1build3 [10.2 kB] 222s Get:397 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shape0 arm64 1.15-1 [6106 B] 222s Get:398 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xinerama0 arm64 1.15-1 [5434 B] 222s Get:399 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xinput0 arm64 1.15-1 [33.5 kB] 222s Get:400 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xkb1 arm64 1.15-1 [31.7 kB] 222s Get:401 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbcommon-x11-0 arm64 1.6.0-1 [13.6 kB] 222s Get:402 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5gui5t64 arm64 5.15.12+dfsg-3ubuntu6 [3616 kB] 222s Get:403 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libavahi-common-data arm64 0.8-13ubuntu4 [29.5 kB] 222s Get:404 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libavahi-common3 arm64 0.8-13ubuntu4 [23.3 kB] 222s Get:405 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libavahi-client3 arm64 0.8-13ubuntu4 [27.2 kB] 222s Get:406 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcups2t64 arm64 2.4.7-1.2ubuntu1 [273 kB] 222s Get:407 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5widgets5t64 arm64 5.15.12+dfsg-3ubuntu6 [2569 kB] 223s Get:408 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5printsupport5t64 arm64 5.15.12+dfsg-3ubuntu6 [210 kB] 223s Get:409 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqscintilla2-qt5-15 arm64 2.14.1+dfsg-1build2 [1130 kB] 223s Get:410 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5sql5t64 arm64 5.15.12+dfsg-3ubuntu6 [123 kB] 223s Get:411 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5help5 arm64 5.15.12-2build2 [165 kB] 223s Get:412 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libqt5xml5t64 arm64 5.15.12+dfsg-3ubuntu6 [125 kB] 223s Get:413 http://ftpmaster.internal/ubuntu noble/main arm64 libogg0 arm64 1.3.5-3 [22.1 kB] 223s Get:414 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libflac12t64 arm64 1.4.3+ds-2.1ubuntu1 [169 kB] 223s Get:415 http://ftpmaster.internal/ubuntu noble/main arm64 libmp3lame0 arm64 3.100-6 [141 kB] 223s Get:416 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libmpg123-0 arm64 1.32.5-1build1 [171 kB] 223s Get:417 http://ftpmaster.internal/ubuntu noble/main arm64 libvorbis0a arm64 1.3.7-1build2 [95.5 kB] 223s Get:418 http://ftpmaster.internal/ubuntu noble/main arm64 libvorbisenc2 arm64 1.3.7-1build2 [82.3 kB] 223s Get:419 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libsndfile1 arm64 1.2.2-1ubuntu3 [208 kB] 223s Get:420 http://ftpmaster.internal/ubuntu noble/universe arm64 libspqr4 arm64 1:7.6.1+dfsg-1 [125 kB] 223s Get:421 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libsundials-ida6 arm64 6.4.1+dfsg1-3build3 [123 kB] 223s Get:422 http://ftpmaster.internal/ubuntu noble/universe arm64 libbtf2 arm64 1:7.6.1+dfsg-1 [13.0 kB] 223s Get:423 http://ftpmaster.internal/ubuntu noble/universe arm64 libklu2 arm64 1:7.6.1+dfsg-1 [72.3 kB] 223s Get:424 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfftw3-long3 arm64 3.3.10-1ubuntu2 [642 kB] 223s Get:425 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libevent-core-2.1-7 arm64 2.1.12-stable-9build1 [89.6 kB] 223s Get:426 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-9build1 [7754 B] 223s Get:427 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libibverbs1 arm64 50.0-2build1 [67.3 kB] 223s Get:428 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 ibverbs-providers arm64 50.0-2build1 [367 kB] 223s Get:429 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 librdmacm1t64 arm64 50.0-2build1 [70.6 kB] 223s Get:430 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libfabric1 arm64 1.17.0-3build1 [541 kB] 223s Get:431 http://ftpmaster.internal/ubuntu noble/universe arm64 libhwloc15 arm64 2.10.0-1 [158 kB] 223s Get:432 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libmunge2 arm64 0.5.15-4 [14.9 kB] 223s Get:433 http://ftpmaster.internal/ubuntu noble/main arm64 libpciaccess0 arm64 0.17-3 [18.6 kB] 223s Get:434 http://ftpmaster.internal/ubuntu noble/main arm64 libxnvctrl0 arm64 510.47.03-0ubuntu1 [11.1 kB] 223s Get:435 http://ftpmaster.internal/ubuntu noble/universe arm64 ocl-icd-libopencl1 arm64 2.3.2-1 [37.3 kB] 223s Get:436 http://ftpmaster.internal/ubuntu noble/universe arm64 libhwloc-plugins arm64 2.10.0-1 [15.7 kB] 223s Get:437 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libpmix2t64 arm64 5.0.1-4.1 [655 kB] 223s Get:438 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libamd-comgr2 arm64 6.0+git20231212.4510c28+dfsg-3build1 [14.1 MB] 224s Get:439 http://ftpmaster.internal/ubuntu noble/universe arm64 libhsakmt1 arm64 5.7.0-1 [63.6 kB] 224s Get:440 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhsa-runtime64-1 arm64 5.7.1-1build1 [286 kB] 224s Get:441 http://ftpmaster.internal/ubuntu noble/universe arm64 libamdhip64-5 arm64 5.2.3-12 [5134 kB] 224s Get:442 http://ftpmaster.internal/ubuntu noble/universe arm64 libucx0 arm64 1.16.0+ds-4 [1076 kB] 224s Get:443 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libopenmpi3t64 arm64 4.1.6-7ubuntu1 [2463 kB] 224s Get:444 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libfftw3-mpi3 arm64 3.3.10-1ubuntu2 [45.0 kB] 224s Get:445 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-openmpi-103-1t64 arm64 1.10.10+repack-3.1ubuntu3 [1242 kB] 224s Get:446 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libcombblas2.0.0t64 arm64 2.0.0-3.1build1 [267 kB] 224s Get:447 http://ftpmaster.internal/ubuntu noble/universe arm64 libmetis5 arm64 5.1.0.dfsg-7build2 [175 kB] 224s Get:448 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libptscotch-7.0 arm64 7.0.4-1ubuntu1 [709 kB] 224s Get:449 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libsuperlu-dist8 arm64 8.2.1+dfsg1-1build1 [579 kB] 224s Get:450 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhypre-2.28.0 arm64 2.28.0-8build1 [1630 kB] 224s Get:451 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 openmpi-common all 4.1.6-7ubuntu1 [170 kB] 224s Get:452 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 openmpi-bin arm64 4.1.6-7ubuntu1 [113 kB] 224s Get:453 http://ftpmaster.internal/ubuntu noble/universe arm64 mpi-default-bin arm64 1.15 [2336 B] 224s Get:454 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libscalapack-openmpi2.2 arm64 2.2.1-3build1 [1581 kB] 224s Get:455 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libmumps-5.6t64 arm64 5.6.2-2.1build1 [1853 kB] 224s Get:456 http://ftpmaster.internal/ubuntu noble/universe arm64 libsuperlu6 arm64 6.0.1+dfsg1-1 [166 kB] 224s Get:457 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libscotch-7.0 arm64 7.0.4-1ubuntu1 [426 kB] 224s Get:458 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-kokkos-13.2 arm64 13.2.0-5build1 [104 kB] 224s Get:459 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-teuchos-13.2 arm64 13.2.0-5build1 [1073 kB] 224s Get:460 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-epetra-13.2 arm64 13.2.0-5build1 [414 kB] 224s Get:461 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-triutils-13.2 arm64 13.2.0-5build1 [117 kB] 224s Get:462 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-epetraext-13.2 arm64 13.2.0-5build1 [408 kB] 224s Get:463 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-trilinosss-13.2 arm64 13.2.0-5build1 [87.2 kB] 224s Get:464 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-amesos-13.2 arm64 13.2.0-5build1 [101 kB] 224s Get:465 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-aztecoo-13.2 arm64 13.2.0-5build1 [205 kB] 224s Get:466 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-galeri-13.2 arm64 13.2.0-5build1 [87.5 kB] 224s Get:467 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-ifpack-13.2 arm64 13.2.0-5build1 [397 kB] 224s Get:468 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-zoltan-13.2 arm64 13.2.0-5build1 [380 kB] 224s Get:469 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libtrilinos-ml-13.2 arm64 13.2.0-5build1 [926 kB] 225s Get:470 http://ftpmaster.internal/ubuntu noble/universe arm64 libumfpack6 arm64 1:7.6.1+dfsg-1 [234 kB] 225s Get:471 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libpetsc-real3.19t64 arm64 3.19.6+dfsg1-2.2ubuntu1 [5767 kB] 225s Get:472 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libsundials-nvecparallel-petsc6 arm64 6.4.1+dfsg1-3build3 [35.4 kB] 225s Get:473 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libsundials-sunmatrix4 arm64 6.4.1+dfsg1-3build3 [83.0 kB] 225s Get:474 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libsundials-sunlinsol3 arm64 6.4.1+dfsg1-3build3 [175 kB] 225s Get:475 http://ftpmaster.internal/ubuntu noble/universe arm64 libtext-unidecode-perl all 1.30-3 [105 kB] 225s Get:476 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 texinfo-lib arm64 7.1-3build1 [130 kB] 225s Get:477 http://ftpmaster.internal/ubuntu noble/universe arm64 tex-common all 6.18 [32.8 kB] 225s Get:478 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 texinfo all 7.1-3build1 [1273 kB] 225s Get:479 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 octave-common all 8.4.0-1build4 [5925 kB] 225s Get:480 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 octave arm64 8.4.0-1build4 [9018 kB] 225s Get:481 http://ftpmaster.internal/ubuntu noble/main arm64 libncurses-dev arm64 6.4+20240113-1ubuntu1 [385 kB] 225s Get:482 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libreadline-dev arm64 8.2-3.1 [177 kB] 225s Get:483 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-fortran-102t64 arm64 1.10.10+repack-3.1ubuntu3 [86.3 kB] 225s Get:484 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-hl-100t64 arm64 1.10.10+repack-3.1ubuntu3 [55.8 kB] 225s Get:485 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-hl-fortran-100t64 arm64 1.10.10+repack-3.1ubuntu3 [31.0 kB] 226s Get:486 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-cpp-103-1t64 arm64 1.10.10+repack-3.1ubuntu3 [120 kB] 226s Get:487 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-hl-cpp-100t64 arm64 1.10.10+repack-3.1ubuntu3 [11.0 kB] 226s Get:488 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3.1ubuntu1 [894 kB] 226s Get:489 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8-dev arm64 2.1.5-2ubuntu1 [304 kB] 226s Get:490 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8-dev arm64 8c-2ubuntu11 [1484 B] 226s Get:491 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-dev arm64 8c-2ubuntu11 [1482 B] 226s Get:492 http://ftpmaster.internal/ubuntu noble/universe arm64 libaec-dev arm64 1.1.2-1 [18.8 kB] 226s Get:493 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libcurl4-openssl-dev arm64 8.5.0-2ubuntu7 [454 kB] 226s Get:494 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl-dev arm64 3.0.13-0ubuntu2 [2335 kB] 226s Get:495 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 hdf5-helpers arm64 1.10.10+repack-3.1ubuntu3 [15.8 kB] 226s Get:496 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libhdf5-dev arm64 1.10.10+repack-3.1ubuntu3 [3038 kB] 226s Get:497 http://ftpmaster.internal/ubuntu noble/main arm64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 226s Get:498 http://ftpmaster.internal/ubuntu noble/main arm64 x11proto-dev all 2023.2-1 [602 kB] 226s Get:499 http://ftpmaster.internal/ubuntu noble/main arm64 libxau-dev arm64 1:1.0.9-1build5 [10.1 kB] 226s Get:500 http://ftpmaster.internal/ubuntu noble/main arm64 libxdmcp-dev arm64 1:1.1.3-0ubuntu5 [26.4 kB] 226s Get:501 http://ftpmaster.internal/ubuntu noble/main arm64 xtrans-dev all 1.4.0-1 [68.9 kB] 226s Get:502 http://ftpmaster.internal/ubuntu noble/main arm64 libpthread-stubs0-dev arm64 0.4-1build2 [5496 B] 226s Get:503 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb1-dev arm64 1.15-1 [89.6 kB] 226s Get:504 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-dev arm64 2:1.8.7-1 [738 kB] 226s Get:505 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-dev arm64 1.7.0-1 [14.2 kB] 226s Get:506 http://ftpmaster.internal/ubuntu noble/main arm64 libgl-dev arm64 1.7.0-1 [102 kB] 226s Get:507 http://ftpmaster.internal/ubuntu noble/main arm64 libblas-dev arm64 3.12.0-3 [111 kB] 226s Get:508 http://ftpmaster.internal/ubuntu noble/main arm64 liblapack-dev arm64 3.12.0-3 [4293 kB] 227s Get:509 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfftw3-bin arm64 3.3.10-1ubuntu2 [33.0 kB] 227s Get:510 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libfftw3-dev arm64 3.3.10-1ubuntu2 [1473 kB] 227s Get:511 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgfortran-13-dev arm64 13.2.0-19ubuntu1 [478 kB] 227s Get:512 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gfortran-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [10.8 MB] 227s Get:513 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gfortran-13 arm64 13.2.0-19ubuntu1 [10.4 kB] 227s Get:514 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1022 B] 227s Get:515 http://ftpmaster.internal/ubuntu noble/main arm64 gfortran arm64 4:13.2.0-7ubuntu1 [1164 B] 227s Get:516 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libstdc++-13-dev arm64 13.2.0-19ubuntu1 [2322 kB] 227s Get:517 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-19ubuntu1 [11.7 MB] 228s Get:518 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 g++-13 arm64 13.2.0-19ubuntu1 [14.5 kB] 228s Get:519 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 228s Get:520 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 228s Get:521 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 octave-dev arm64 8.4.0-1build4 [469 kB] 228s Get:522 http://ftpmaster.internal/ubuntu noble/universe arm64 dh-octave all 1.8.0 [19.7 kB] 228s Get:523 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.8-1 [13.9 kB] 228s Get:524 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 228s Get:525 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxt6t64 arm64 1:1.2.1-1.2 [168 kB] 228s Get:526 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxmu6 arm64 2:1.1.3-3build1 [47.4 kB] 228s Get:527 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libxaw7 arm64 2:1.0.14-1build1 [183 kB] 228s Get:528 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 228s Get:529 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 228s Get:530 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 228s Get:531 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-mpmath all 1.2.1-3 [421 kB] 228s Get:532 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-sympy all 1.12-7 [3966 kB] 228s Get:533 http://ftpmaster.internal/ubuntu noble/universe arm64 octave-symbolic all 3.1.1-2 [207 kB] 228s Get:534 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 x11-xkb-utils arm64 7.7+8build1 [165 kB] 228s Get:535 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 228s Get:536 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 232s Preconfiguring packages ... 233s Fetched 271 MB in 34s (7924 kB/s) 233s dpkg: libperl5.38:arm64: dependency problems, but removing anyway as you requested: 233s perl depends on libperl5.38 (= 5.38.2-3). 233s 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75850 files and directories currently installed.) 233s Removing libperl5.38:arm64 (5.38.2-3) ... 233s dpkg: libdb5.3:arm64: dependency problems, but removing anyway as you requested: 233s libsasl2-modules-db:arm64 depends on libdb5.3. 233s libpython3.12-stdlib:arm64 depends on libdb5.3. 233s libpython3.11-stdlib:arm64 depends on libdb5.3. 233s libpam-modules:arm64 depends on libdb5.3. 233s iproute2 depends on libdb5.3. 233s apt-utils depends on libdb5.3. 233s 233s Removing libdb5.3:arm64 (5.3.28+dfsg2-4) ... 233s Selecting previously unselected package libdb5.3t64:arm64. 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75315 files and directories currently installed.) 234s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-5build1_arm64.deb ... 234s Unpacking libdb5.3t64:arm64 (5.3.28+dfsg2-5build1) ... 234s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75321 files and directories currently installed.) 234s Removing libgdbm-compat4:arm64 (1.23-5) ... 234s dpkg: libgdbm6:arm64: dependency problems, but removing anyway as you requested: 234s python3-gdbm:arm64 depends on libgdbm6 (>= 1.16). 234s man-db depends on libgdbm6 (>= 1.16). 234s 234s Removing libgdbm6:arm64 (1.23-5) ... 234s Selecting previously unselected package libgdbm6t64:arm64. 235s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75311 files and directories currently installed.) 235s Preparing to unpack .../libgdbm6t64_1.23-5.1_arm64.deb ... 235s Unpacking libgdbm6t64:arm64 (1.23-5.1) ... 235s Selecting previously unselected package libgdbm-compat4t64:arm64. 235s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_arm64.deb ... 235s Unpacking libgdbm-compat4t64:arm64 (1.23-5.1) ... 235s Selecting previously unselected package libperl5.38t64:arm64. 235s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_arm64.deb ... 235s Unpacking libperl5.38t64:arm64 (5.38.2-3.2) ... 235s Preparing to unpack .../perl_5.38.2-3.2_arm64.deb ... 235s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 236s Preparing to unpack .../perl-base_5.38.2-3.2_arm64.deb ... 236s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 237s Setting up perl-base (5.38.2-3.2) ... 237s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 237s Preparing to unpack .../perl-modules-5.38_5.38.2-3.2_all.deb ... 237s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 239s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_arm64.deb ... 239s Unpacking gcc-14-base:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 239s Setting up gcc-14-base:arm64 (14-20240315-1ubuntu1) ... 239s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 239s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_arm64.deb ... 239s Unpacking libgcc-s1:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 239s Setting up libgcc-s1:arm64 (14-20240315-1ubuntu1) ... 239s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 239s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_arm64.deb ... 239s Unpacking libstdc++6:arm64 (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 240s Setting up libstdc++6:arm64 (14-20240315-1ubuntu1) ... 240s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 240s Preparing to unpack .../libc6_2.39-0ubuntu6_arm64.deb ... 241s Unpacking libc6:arm64 (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 241s Setting up libc6:arm64 (2.39-0ubuntu6) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 244s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 244s Unpacking zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 244s Setting up zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 244s Preparing to unpack .../libc-bin_2.39-0ubuntu6_arm64.deb ... 244s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 244s Setting up libc-bin (2.39-0ubuntu6) ... 244s dpkg: libnettle8:arm64: dependency problems, but removing anyway as you requested: 244s librtmp1:arm64 depends on libnettle8. 244s libhogweed6:arm64 depends on libnettle8. 244s libgnutls30:arm64 depends on libnettle8 (>= 3.9~). 244s libcurl3-gnutls:arm64 depends on libnettle8. 244s libarchive13:arm64 depends on libnettle8. 244s 244s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75852 files and directories currently installed.) 244s Removing libnettle8:arm64 (3.9.1-2) ... 245s Selecting previously unselected package libnettle8t64:arm64. 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75845 files and directories currently installed.) 245s Preparing to unpack .../libnettle8t64_3.9.1-2.2_arm64.deb ... 245s Unpacking libnettle8t64:arm64 (3.9.1-2.2) ... 245s Setting up libnettle8t64:arm64 (3.9.1-2.2) ... 245s dpkg: libhogweed6:arm64: dependency problems, but removing anyway as you requested: 245s librtmp1:arm64 depends on libhogweed6. 245s libjcat1:arm64 depends on libhogweed6. 245s libgnutls30:arm64 depends on libhogweed6 (>= 3.6). 245s 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75853 files and directories currently installed.) 245s Removing libhogweed6:arm64 (3.9.1-2) ... 245s Selecting previously unselected package libhogweed6t64:arm64. 245s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75848 files and directories currently installed.) 245s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_arm64.deb ... 245s Unpacking libhogweed6t64:arm64 (3.9.1-2.2) ... 245s Setting up libhogweed6t64:arm64 (3.9.1-2.2) ... 245s dpkg: libgnutls30:arm64: dependency problems, but removing anyway as you requested: 245s u-boot-tools depends on libgnutls30 (>= 3.7.3). 245s librtmp1:arm64 depends on libgnutls30 (>= 3.7.2). 245s libldap2:arm64 depends on libgnutls30 (>= 3.8.2). 245s libjcat1:arm64 depends on libgnutls30 (>= 3.7.3). 245s libcurl3-gnutls:arm64 depends on libgnutls30 (>= 3.8.2). 245s fwupd depends on libgnutls30 (>= 3.7.3). 245s dirmngr depends on libgnutls30 (>= 3.8.1). 245s apt depends on libgnutls30 (>= 3.8.1). 245s 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75854 files and directories currently installed.) 246s Removing libgnutls30:arm64 (3.8.3-1ubuntu1) ... 246s Selecting previously unselected package libgnutls30t64:arm64. 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75845 files and directories currently installed.) 246s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_arm64.deb ... 246s Unpacking libgnutls30t64:arm64 (3.8.3-1.1ubuntu2) ... 246s Setting up libgnutls30t64:arm64 (3.8.3-1.1ubuntu2) ... 246s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75873 files and directories currently installed.) 246s Preparing to unpack .../openssl_3.0.13-0ubuntu2_arm64.deb ... 246s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 247s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 247s wget depends on libssl3 (>= 3.0.0). 247s u-boot-tools depends on libssl3 (>= 3.0.0). 247s tnftp depends on libssl3 (>= 3.0.0). 247s tcpdump depends on libssl3 (>= 3.0.0). 247s systemd-resolved depends on libssl3 (>= 3.0.0). 247s systemd depends on libssl3 (>= 3.0.0). 247s sudo depends on libssl3 (>= 3.0.0). 247s sbsigntool depends on libssl3 (>= 3.0.0). 247s rsync depends on libssl3 (>= 3.0.0). 247s python3-cryptography depends on libssl3 (>= 3.0.0). 247s openssh-server depends on libssl3 (>= 3.0.10). 247s openssh-client depends on libssl3 (>= 3.0.10). 247s mtd-utils depends on libssl3 (>= 3.0.0). 247s mokutil depends on libssl3 (>= 3.0.0). 247s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 247s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 247s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 247s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 247s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 247s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 247s libpython3.11-minimal:arm64 depends on libssl3 (>= 3.0.0). 247s libnvme1 depends on libssl3 (>= 3.0.0). 247s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 247s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 247s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 247s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 247s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 247s kmod depends on libssl3 (>= 3.0.0). 247s dhcpcd-base depends on libssl3 (>= 3.0.0). 247s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 247s 247s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75873 files and directories currently installed.) 247s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 247s Selecting previously unselected package libssl3t64:arm64. 247s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75862 files and directories currently installed.) 247s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ... 247s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ... 247s dpkg: libcurl4:arm64: dependency problems, but removing anyway as you requested: 247s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 247s 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75875 files and directories currently installed.) 248s Removing libcurl4:arm64 (8.5.0-2ubuntu2) ... 248s Selecting previously unselected package libcurl4t64:arm64. 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 248s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_arm64.deb ... 248s Unpacking libcurl4t64:arm64 (8.5.0-2ubuntu7) ... 248s Preparing to unpack .../curl_8.5.0-2ubuntu7_arm64.deb ... 248s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 248s dpkg: libpsl5:arm64: dependency problems, but removing anyway as you requested: 248s wget depends on libpsl5 (>= 0.16.0). 248s libcurl3-gnutls:arm64 depends on libpsl5 (>= 0.16.0). 248s 248s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75876 files and directories currently installed.) 248s Removing libpsl5:arm64 (0.21.2-1build1) ... 249s Selecting previously unselected package libpsl5t64:arm64. 249s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75871 files and directories currently installed.) 249s Preparing to unpack .../libpsl5t64_0.21.2-1.1_arm64.deb ... 249s Unpacking libpsl5t64:arm64 (0.21.2-1.1) ... 249s dpkg: libcurl3-gnutls:arm64: dependency problems, but removing anyway as you requested: 249s libfwupd2:arm64 depends on libcurl3-gnutls (>= 7.63.0). 249s fwupd depends on libcurl3-gnutls (>= 7.63.0). 249s 249s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75877 files and directories currently installed.) 249s Removing libcurl3-gnutls:arm64 (8.5.0-2ubuntu2) ... 249s Selecting previously unselected package libcurl3t64-gnutls:arm64. 249s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75870 files and directories currently installed.) 249s Preparing to unpack .../libcurl3t64-gnutls_8.5.0-2ubuntu7_arm64.deb ... 249s Unpacking libcurl3t64-gnutls:arm64 (8.5.0-2ubuntu7) ... 249s dpkg: libapt-pkg6.0:arm64: dependency problems, but removing anyway as you requested: 249s ubuntu-pro-client depends on libapt-pkg6.0 (>= 1.9~). 249s python3-apt depends on libapt-pkg6.0 (>= 2.7.11). 249s apt-utils depends on libapt-pkg6.0 (>= 2.7.12). 249s apt depends on libapt-pkg6.0 (>= 2.7.12). 249s 249s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75877 files and directories currently installed.) 249s Removing libapt-pkg6.0:arm64 (2.7.12) ... 249s Selecting previously unselected package libapt-pkg6.0t64:arm64. 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75828 files and directories currently installed.) 250s Preparing to unpack .../libapt-pkg6.0t64_2.7.13ubuntu1_arm64.deb ... 250s Unpacking libapt-pkg6.0t64:arm64 (2.7.13ubuntu1) ... 250s Setting up libapt-pkg6.0t64:arm64 (2.7.13ubuntu1) ... 250s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75878 files and directories currently installed.) 250s Preparing to unpack .../apt_2.7.13ubuntu1_arm64.deb ... 250s Unpacking apt (2.7.13ubuntu1) over (2.7.12) ... 251s Setting up apt (2.7.13ubuntu1) ... 254s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75878 files and directories currently installed.) 254s Preparing to unpack .../apt-utils_2.7.13ubuntu1_arm64.deb ... 254s Unpacking apt-utils (2.7.13ubuntu1) over (2.7.12) ... 254s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 254s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 254s libbpf1:arm64 depends on libelf1 (>= 0.144). 254s iproute2 depends on libelf1 (>= 0.131). 254s 254s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75878 files and directories currently installed.) 254s Removing libelf1:arm64 (0.190-1) ... 254s Selecting previously unselected package libelf1t64:arm64. 254s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75873 files and directories currently installed.) 254s Preparing to unpack .../libelf1t64_0.190-1.1build2_arm64.deb ... 254s Unpacking libelf1t64:arm64 (0.190-1.1build2) ... 255s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu5_arm64.deb ... 255s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 255s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 255s udisks2 depends on libglib2.0-0 (>= 2.77.0). 255s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 255s python3-gi depends on libglib2.0-0 (>= 2.77.0). 255s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 255s netplan.io depends on libglib2.0-0 (>= 2.70.0). 255s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 255s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 255s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 255s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 255s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 255s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 255s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 255s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 255s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 255s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 255s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 255s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 255s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 255s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 255s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 255s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 255s fwupd depends on libglib2.0-0 (>= 2.79.0). 255s bolt depends on libglib2.0-0 (>= 2.56.0). 255s 255s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75878 files and directories currently installed.) 255s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 255s Selecting previously unselected package libglib2.0-0t64:arm64. 255s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75853 files and directories currently installed.) 255s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_arm64.deb ... 255s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:arm64.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 255s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 255s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 255s dpkg: libpng16-16:arm64: dependency problems, but removing anyway as you requested: 255s libplymouth5:arm64 depends on libpng16-16 (>= 1.6.2). 255s libfreetype6:arm64 depends on libpng16-16 (>= 1.6.2-1). 255s 256s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75878 files and directories currently installed.) 256s Removing libpng16-16:arm64 (1.6.43-1) ... 256s Selecting previously unselected package libpng16-16t64:arm64. 256s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75868 files and directories currently installed.) 256s Preparing to unpack .../libpng16-16t64_1.6.43-3_arm64.deb ... 256s Unpacking libpng16-16t64:arm64 (1.6.43-3) ... 256s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 256s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 256s dpkg: libreadline8:arm64: dependency problems, but removing anyway as you requested: 256s parted depends on libreadline8 (>= 6.0). 256s libpython3.12-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 256s libpython3.11-stdlib:arm64 depends on libreadline8 (>= 7.0~beta). 256s gpgsm depends on libreadline8 (>= 6.0). 256s gpgconf depends on libreadline8 (>= 6.0). 256s gpg depends on libreadline8 (>= 6.0). 256s gawk depends on libreadline8 (>= 6.0). 256s fdisk depends on libreadline8 (>= 6.0). 256s 256s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75879 files and directories currently installed.) 256s Removing libreadline8:arm64 (8.2-3) ... 256s Selecting previously unselected package libreadline8t64:arm64. 257s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75867 files and directories currently installed.) 257s Preparing to unpack .../libreadline8t64_8.2-3.1_arm64.deb ... 257s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8 to /lib/aarch64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 257s Adding 'diversion of /lib/aarch64-linux-gnu/libhistory.so.8.2 to /lib/aarch64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 257s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8 to /lib/aarch64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 257s Adding 'diversion of /lib/aarch64-linux-gnu/libreadline.so.8.2 to /lib/aarch64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 257s Unpacking libreadline8t64:arm64 (8.2-3.1) ... 257s Preparing to unpack .../install-info_7.1-3build1_arm64.deb ... 257s Unpacking install-info (7.1-3build1) over (7.1-3) ... 257s Setting up install-info (7.1-3build1) ... 258s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75887 files and directories currently installed.) 258s Preparing to unpack .../000-gcc-13-base_13.2.0-19ubuntu1_arm64.deb ... 258s Unpacking gcc-13-base:arm64 (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 258s Preparing to unpack .../001-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 258s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 258s Preparing to unpack .../002-locales_2.39-0ubuntu6_all.deb ... 258s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 259s Preparing to unpack .../003-info_7.1-3build1_arm64.deb ... 259s Unpacking info (7.1-3build1) over (7.1-3) ... 259s Preparing to unpack .../004-libxmuu1_2%3a1.1.3-3build1_arm64.deb ... 259s Unpacking libxmuu1:arm64 (2:1.1.3-3build1) over (2:1.1.3-3) ... 259s Selecting previously unselected package m4. 259s Preparing to unpack .../005-m4_1.4.19-4_arm64.deb ... 259s Unpacking m4 (1.4.19-4) ... 259s Selecting previously unselected package autoconf. 259s Preparing to unpack .../006-autoconf_2.71-3_all.deb ... 259s Unpacking autoconf (2.71-3) ... 259s Selecting previously unselected package autotools-dev. 259s Preparing to unpack .../007-autotools-dev_20220109.1_all.deb ... 259s Unpacking autotools-dev (20220109.1) ... 260s Selecting previously unselected package automake. 260s Preparing to unpack .../008-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 260s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 260s Selecting previously unselected package autopoint. 260s Preparing to unpack .../009-autopoint_0.21-14ubuntu1_all.deb ... 260s Unpacking autopoint (0.21-14ubuntu1) ... 260s Selecting previously unselected package libcapture-tiny-perl. 260s Preparing to unpack .../010-libcapture-tiny-perl_0.48-2_all.deb ... 260s Unpacking libcapture-tiny-perl (0.48-2) ... 260s Selecting previously unselected package libparams-util-perl. 260s Preparing to unpack .../011-libparams-util-perl_1.102-2build2_arm64.deb ... 260s Unpacking libparams-util-perl (1.102-2build2) ... 260s Selecting previously unselected package libsub-install-perl. 260s Preparing to unpack .../012-libsub-install-perl_0.929-1_all.deb ... 260s Unpacking libsub-install-perl (0.929-1) ... 260s Selecting previously unselected package libdata-optlist-perl. 260s Preparing to unpack .../013-libdata-optlist-perl_0.114-1_all.deb ... 260s Unpacking libdata-optlist-perl (0.114-1) ... 260s Selecting previously unselected package libb-hooks-op-check-perl:arm64. 260s Preparing to unpack .../014-libb-hooks-op-check-perl_0.22-3_arm64.deb ... 260s Unpacking libb-hooks-op-check-perl:arm64 (0.22-3) ... 260s Selecting previously unselected package libdynaloader-functions-perl. 260s Preparing to unpack .../015-libdynaloader-functions-perl_0.003-3_all.deb ... 260s Unpacking libdynaloader-functions-perl (0.003-3) ... 261s Selecting previously unselected package libdevel-callchecker-perl:arm64. 261s Preparing to unpack .../016-libdevel-callchecker-perl_0.008-2build2_arm64.deb ... 261s Unpacking libdevel-callchecker-perl:arm64 (0.008-2build2) ... 261s Selecting previously unselected package libparams-classify-perl:arm64. 261s Preparing to unpack .../017-libparams-classify-perl_0.015-2build4_arm64.deb ... 261s Unpacking libparams-classify-perl:arm64 (0.015-2build4) ... 261s Selecting previously unselected package libmodule-runtime-perl. 261s Preparing to unpack .../018-libmodule-runtime-perl_0.016-2_all.deb ... 261s Unpacking libmodule-runtime-perl (0.016-2) ... 261s Selecting previously unselected package libtry-tiny-perl. 261s Preparing to unpack .../019-libtry-tiny-perl_0.31-2_all.deb ... 261s Unpacking libtry-tiny-perl (0.31-2) ... 261s Selecting previously unselected package libmodule-implementation-perl. 261s Preparing to unpack .../020-libmodule-implementation-perl_0.09-2_all.deb ... 261s Unpacking libmodule-implementation-perl (0.09-2) ... 261s Selecting previously unselected package libpackage-stash-perl. 262s Preparing to unpack .../021-libpackage-stash-perl_0.40-1_all.deb ... 262s Unpacking libpackage-stash-perl (0.40-1) ... 262s Selecting previously unselected package libclass-load-perl. 262s Preparing to unpack .../022-libclass-load-perl_0.25-2_all.deb ... 262s Unpacking libclass-load-perl (0.25-2) ... 262s Selecting previously unselected package libio-stringy-perl. 262s Preparing to unpack .../023-libio-stringy-perl_2.111-3_all.deb ... 262s Unpacking libio-stringy-perl (2.111-3) ... 262s Selecting previously unselected package libparams-validate-perl:arm64. 262s Preparing to unpack .../024-libparams-validate-perl_1.31-2build2_arm64.deb ... 262s Unpacking libparams-validate-perl:arm64 (1.31-2build2) ... 262s Selecting previously unselected package libsub-exporter-perl. 262s Preparing to unpack .../025-libsub-exporter-perl_0.990-1_all.deb ... 262s Unpacking libsub-exporter-perl (0.990-1) ... 262s Selecting previously unselected package libgetopt-long-descriptive-perl. 262s Preparing to unpack .../026-libgetopt-long-descriptive-perl_0.111-1_all.deb ... 262s Unpacking libgetopt-long-descriptive-perl (0.111-1) ... 262s Selecting previously unselected package libio-tiecombine-perl. 262s Preparing to unpack .../027-libio-tiecombine-perl_1.005-3_all.deb ... 262s Unpacking libio-tiecombine-perl (1.005-3) ... 262s Selecting previously unselected package libmodule-pluggable-perl. 262s Preparing to unpack .../028-libmodule-pluggable-perl_5.2-4_all.deb ... 262s Unpacking libmodule-pluggable-perl (5.2-4) ... 262s Selecting previously unselected package libstring-rewriteprefix-perl. 262s Preparing to unpack .../029-libstring-rewriteprefix-perl_0.009-1_all.deb ... 262s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 262s Selecting previously unselected package libapp-cmd-perl. 262s Preparing to unpack .../030-libapp-cmd-perl_0.336-1_all.deb ... 262s Unpacking libapp-cmd-perl (0.336-1) ... 262s Selecting previously unselected package libboolean-perl. 262s Preparing to unpack .../031-libboolean-perl_0.46-3_all.deb ... 262s Unpacking libboolean-perl (0.46-3) ... 262s Selecting previously unselected package libsub-uplevel-perl. 262s Preparing to unpack .../032-libsub-uplevel-perl_0.2800-3_all.deb ... 262s Unpacking libsub-uplevel-perl (0.2800-3) ... 262s Selecting previously unselected package libtest-exception-perl. 262s Preparing to unpack .../033-libtest-exception-perl_0.43-3_all.deb ... 262s Unpacking libtest-exception-perl (0.43-3) ... 263s Selecting previously unselected package libcarp-assert-more-perl. 263s Preparing to unpack .../034-libcarp-assert-more-perl_2.3.0-1_all.deb ... 263s Unpacking libcarp-assert-more-perl (2.3.0-1) ... 263s Selecting previously unselected package libfile-which-perl. 263s Preparing to unpack .../035-libfile-which-perl_1.27-2_all.deb ... 263s Unpacking libfile-which-perl (1.27-2) ... 263s Selecting previously unselected package libfile-homedir-perl. 263s Preparing to unpack .../036-libfile-homedir-perl_1.006-2_all.deb ... 263s Unpacking libfile-homedir-perl (1.006-2) ... 263s Selecting previously unselected package libclone-choose-perl. 263s Preparing to unpack .../037-libclone-choose-perl_0.010-2_all.deb ... 263s Unpacking libclone-choose-perl (0.010-2) ... 263s Selecting previously unselected package libhash-merge-perl. 263s Preparing to unpack .../038-libhash-merge-perl_0.302-1_all.deb ... 263s Unpacking libhash-merge-perl (0.302-1) ... 263s Selecting previously unselected package libjson-perl. 263s Preparing to unpack .../039-libjson-perl_4.10000-1_all.deb ... 263s Unpacking libjson-perl (4.10000-1) ... 263s Selecting previously unselected package libexporter-tiny-perl. 263s Preparing to unpack .../040-libexporter-tiny-perl_1.006002-1_all.deb ... 263s Unpacking libexporter-tiny-perl (1.006002-1) ... 263s Selecting previously unselected package liblist-moreutils-xs-perl. 263s Preparing to unpack .../041-liblist-moreutils-xs-perl_0.430-3build4_arm64.deb ... 263s Unpacking liblist-moreutils-xs-perl (0.430-3build4) ... 263s Selecting previously unselected package liblist-moreutils-perl. 263s Preparing to unpack .../042-liblist-moreutils-perl_0.430-2_all.deb ... 263s Unpacking liblist-moreutils-perl (0.430-2) ... 264s Selecting previously unselected package liblog-log4perl-perl. 264s Preparing to unpack .../043-liblog-log4perl-perl_1.57-1_all.deb ... 264s Unpacking liblog-log4perl-perl (1.57-1) ... 264s Selecting previously unselected package libmouse-perl. 264s Preparing to unpack .../044-libmouse-perl_2.5.10-1build7_arm64.deb ... 264s Unpacking libmouse-perl (2.5.10-1build7) ... 264s Selecting previously unselected package libmousex-nativetraits-perl. 264s Preparing to unpack .../045-libmousex-nativetraits-perl_1.09-3_all.deb ... 264s Unpacking libmousex-nativetraits-perl (1.09-3) ... 264s Selecting previously unselected package libmousex-strictconstructor-perl. 264s Preparing to unpack .../046-libmousex-strictconstructor-perl_0.02-3_all.deb ... 264s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 264s Selecting previously unselected package libparse-recdescent-perl. 264s Preparing to unpack .../047-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 264s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 264s Selecting previously unselected package libpath-tiny-perl. 264s Preparing to unpack .../048-libpath-tiny-perl_0.144-1_all.deb ... 264s Unpacking libpath-tiny-perl (0.144-1) ... 264s Selecting previously unselected package libpod-pom-perl. 265s Preparing to unpack .../049-libpod-pom-perl_2.01-4_all.deb ... 265s Unpacking libpod-pom-perl (2.01-4) ... 265s Selecting previously unselected package libregexp-common-perl. 265s Preparing to unpack .../050-libregexp-common-perl_2017060201-3_all.deb ... 265s Unpacking libregexp-common-perl (2017060201-3) ... 265s Selecting previously unselected package libyaml-tiny-perl. 265s Preparing to unpack .../051-libyaml-tiny-perl_1.74-1_all.deb ... 265s Unpacking libyaml-tiny-perl (1.74-1) ... 265s Selecting previously unselected package libconfig-model-perl. 265s Preparing to unpack .../052-libconfig-model-perl_2.153-3_all.deb ... 265s Unpacking libconfig-model-perl (2.153-3) ... 265s Selecting previously unselected package libyaml-pp-perl. 265s Preparing to unpack .../053-libyaml-pp-perl_0.38.0-1_all.deb ... 265s Unpacking libyaml-pp-perl (0.38.0-1) ... 265s Selecting previously unselected package cme. 265s Preparing to unpack .../054-cme_1.040-1_all.deb ... 265s Unpacking cme (1.040-1) ... 265s Selecting previously unselected package libisl23:arm64. 266s Preparing to unpack .../055-libisl23_0.26-3_arm64.deb ... 266s Unpacking libisl23:arm64 (0.26-3) ... 266s Selecting previously unselected package libmpc3:arm64. 266s Preparing to unpack .../056-libmpc3_1.3.1-1_arm64.deb ... 266s Unpacking libmpc3:arm64 (1.3.1-1) ... 266s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 266s Preparing to unpack .../057-cpp-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 266s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 266s Selecting previously unselected package cpp-13. 267s Preparing to unpack .../058-cpp-13_13.2.0-19ubuntu1_arm64.deb ... 267s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 267s Selecting previously unselected package cpp-aarch64-linux-gnu. 267s Preparing to unpack .../059-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 267s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 267s Selecting previously unselected package cpp. 267s Preparing to unpack .../060-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 267s Unpacking cpp (4:13.2.0-7ubuntu1) ... 267s Selecting previously unselected package libdebhelper-perl. 267s Preparing to unpack .../061-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 267s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 267s Selecting previously unselected package libcc1-0:arm64. 267s Preparing to unpack .../062-libcc1-0_14-20240315-1ubuntu1_arm64.deb ... 267s Unpacking libcc1-0:arm64 (14-20240315-1ubuntu1) ... 267s Selecting previously unselected package libgomp1:arm64. 267s Preparing to unpack .../063-libgomp1_14-20240315-1ubuntu1_arm64.deb ... 267s Unpacking libgomp1:arm64 (14-20240315-1ubuntu1) ... 267s Selecting previously unselected package libitm1:arm64. 267s Preparing to unpack .../064-libitm1_14-20240315-1ubuntu1_arm64.deb ... 267s Unpacking libitm1:arm64 (14-20240315-1ubuntu1) ... 267s Selecting previously unselected package libatomic1:arm64. 267s Preparing to unpack .../065-libatomic1_14-20240315-1ubuntu1_arm64.deb ... 267s Unpacking libatomic1:arm64 (14-20240315-1ubuntu1) ... 267s Selecting previously unselected package libasan8:arm64. 267s Preparing to unpack .../066-libasan8_14-20240315-1ubuntu1_arm64.deb ... 267s Unpacking libasan8:arm64 (14-20240315-1ubuntu1) ... 268s Selecting previously unselected package liblsan0:arm64. 268s Preparing to unpack .../067-liblsan0_14-20240315-1ubuntu1_arm64.deb ... 268s Unpacking liblsan0:arm64 (14-20240315-1ubuntu1) ... 268s Selecting previously unselected package libtsan2:arm64. 268s Preparing to unpack .../068-libtsan2_14-20240315-1ubuntu1_arm64.deb ... 268s Unpacking libtsan2:arm64 (14-20240315-1ubuntu1) ... 268s Selecting previously unselected package libubsan1:arm64. 268s Preparing to unpack .../069-libubsan1_14-20240315-1ubuntu1_arm64.deb ... 268s Unpacking libubsan1:arm64 (14-20240315-1ubuntu1) ... 268s Selecting previously unselected package libhwasan0:arm64. 268s Preparing to unpack .../070-libhwasan0_14-20240315-1ubuntu1_arm64.deb ... 268s Unpacking libhwasan0:arm64 (14-20240315-1ubuntu1) ... 269s Selecting previously unselected package libgcc-13-dev:arm64. 269s Preparing to unpack .../071-libgcc-13-dev_13.2.0-19ubuntu1_arm64.deb ... 269s Unpacking libgcc-13-dev:arm64 (13.2.0-19ubuntu1) ... 269s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 269s Preparing to unpack .../072-gcc-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 269s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 271s Selecting previously unselected package gcc-13. 271s Preparing to unpack .../073-gcc-13_13.2.0-19ubuntu1_arm64.deb ... 271s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 271s Selecting previously unselected package gcc-aarch64-linux-gnu. 271s Preparing to unpack .../074-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 271s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 271s Selecting previously unselected package gcc. 271s Preparing to unpack .../075-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 271s Unpacking gcc (4:13.2.0-7ubuntu1) ... 271s Selecting previously unselected package libc-dev-bin. 271s Preparing to unpack .../076-libc-dev-bin_2.39-0ubuntu6_arm64.deb ... 271s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 271s Selecting previously unselected package linux-libc-dev:arm64. 271s Preparing to unpack .../077-linux-libc-dev_6.8.0-20.20_arm64.deb ... 271s Unpacking linux-libc-dev:arm64 (6.8.0-20.20) ... 272s Selecting previously unselected package libcrypt-dev:arm64. 272s Preparing to unpack .../078-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 272s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 272s Selecting previously unselected package rpcsvc-proto. 272s Preparing to unpack .../079-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 272s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 272s Selecting previously unselected package libc6-dev:arm64. 272s Preparing to unpack .../080-libc6-dev_2.39-0ubuntu6_arm64.deb ... 272s Unpacking libc6-dev:arm64 (2.39-0ubuntu6) ... 273s Selecting previously unselected package libtool. 273s Preparing to unpack .../081-libtool_2.4.7-7_all.deb ... 273s Unpacking libtool (2.4.7-7) ... 273s Selecting previously unselected package dh-autoreconf. 273s Preparing to unpack .../082-dh-autoreconf_20_all.deb ... 273s Unpacking dh-autoreconf (20) ... 273s Selecting previously unselected package libarchive-zip-perl. 273s Preparing to unpack .../083-libarchive-zip-perl_1.68-1_all.deb ... 273s Unpacking libarchive-zip-perl (1.68-1) ... 273s Selecting previously unselected package libsub-override-perl. 273s Preparing to unpack .../084-libsub-override-perl_0.10-1_all.deb ... 273s Unpacking libsub-override-perl (0.10-1) ... 273s Selecting previously unselected package libfile-stripnondeterminism-perl. 273s Preparing to unpack .../085-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 273s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 273s Selecting previously unselected package dh-strip-nondeterminism. 273s Preparing to unpack .../086-dh-strip-nondeterminism_1.13.1-1_all.deb ... 273s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 273s Selecting previously unselected package libdw1t64:arm64. 274s Preparing to unpack .../087-libdw1t64_0.190-1.1build2_arm64.deb ... 274s Unpacking libdw1t64:arm64 (0.190-1.1build2) ... 274s Selecting previously unselected package debugedit. 274s Preparing to unpack .../088-debugedit_1%3a5.0-5build1_arm64.deb ... 274s Unpacking debugedit (1:5.0-5build1) ... 274s Selecting previously unselected package dwz. 274s Preparing to unpack .../089-dwz_0.15-1build5_arm64.deb ... 274s Unpacking dwz (0.15-1build5) ... 274s Selecting previously unselected package gettext. 274s Preparing to unpack .../090-gettext_0.21-14ubuntu1_arm64.deb ... 274s Unpacking gettext (0.21-14ubuntu1) ... 274s Selecting previously unselected package intltool-debian. 274s Preparing to unpack .../091-intltool-debian_0.35.0+20060710.6_all.deb ... 274s Unpacking intltool-debian (0.35.0+20060710.6) ... 274s Selecting previously unselected package po-debconf. 274s Preparing to unpack .../092-po-debconf_1.0.21+nmu1_all.deb ... 274s Unpacking po-debconf (1.0.21+nmu1) ... 274s Selecting previously unselected package debhelper. 275s Preparing to unpack .../093-debhelper_13.14.1ubuntu5_all.deb ... 275s Unpacking debhelper (13.14.1ubuntu5) ... 275s Selecting previously unselected package aglfn. 275s Preparing to unpack .../094-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 275s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 275s Selecting previously unselected package gnuplot-data. 275s Preparing to unpack .../095-gnuplot-data_6.0.0+dfsg1-1ubuntu2_all.deb ... 275s Unpacking gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 275s Selecting previously unselected package fonts-dejavu-mono. 275s Preparing to unpack .../096-fonts-dejavu-mono_2.37-8_all.deb ... 275s Unpacking fonts-dejavu-mono (2.37-8) ... 275s Selecting previously unselected package fonts-dejavu-core. 275s Preparing to unpack .../097-fonts-dejavu-core_2.37-8_all.deb ... 276s Unpacking fonts-dejavu-core (2.37-8) ... 276s Selecting previously unselected package fonts-freefont-otf. 276s Preparing to unpack .../098-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 276s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 276s Selecting previously unselected package fontconfig-config. 276s Preparing to unpack .../099-fontconfig-config_2.15.0-1.1ubuntu1_arm64.deb ... 277s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 277s Selecting previously unselected package libfontconfig1:arm64. 277s Preparing to unpack .../100-libfontconfig1_2.15.0-1.1ubuntu1_arm64.deb ... 277s Unpacking libfontconfig1:arm64 (2.15.0-1.1ubuntu1) ... 277s Selecting previously unselected package libpixman-1-0:arm64. 277s Preparing to unpack .../101-libpixman-1-0_0.42.2-1_arm64.deb ... 277s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 277s Selecting previously unselected package libxcb-render0:arm64. 277s Preparing to unpack .../102-libxcb-render0_1.15-1_arm64.deb ... 277s Unpacking libxcb-render0:arm64 (1.15-1) ... 277s Selecting previously unselected package libxcb-shm0:arm64. 277s Preparing to unpack .../103-libxcb-shm0_1.15-1_arm64.deb ... 277s Unpacking libxcb-shm0:arm64 (1.15-1) ... 277s Selecting previously unselected package libxrender1:arm64. 277s Preparing to unpack .../104-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 277s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 277s Selecting previously unselected package libcairo2:arm64. 277s Preparing to unpack .../105-libcairo2_1.18.0-1ubuntu1_arm64.deb ... 277s Unpacking libcairo2:arm64 (1.18.0-1ubuntu1) ... 278s Selecting previously unselected package libjpeg-turbo8:arm64. 278s Preparing to unpack .../106-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ... 278s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 278s Selecting previously unselected package libjpeg8:arm64. 278s Preparing to unpack .../107-libjpeg8_8c-2ubuntu11_arm64.deb ... 278s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 278s Selecting previously unselected package libdeflate0:arm64. 278s Preparing to unpack .../108-libdeflate0_1.19-1_arm64.deb ... 278s Unpacking libdeflate0:arm64 (1.19-1) ... 278s Selecting previously unselected package libjbig0:arm64. 278s Preparing to unpack .../109-libjbig0_2.1-6.1ubuntu1_arm64.deb ... 278s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ... 278s Selecting previously unselected package liblerc4:arm64. 278s Preparing to unpack .../110-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ... 278s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 278s Selecting previously unselected package libsharpyuv0:arm64. 278s Preparing to unpack .../111-libsharpyuv0_1.3.2-0.4build2_arm64.deb ... 278s Unpacking libsharpyuv0:arm64 (1.3.2-0.4build2) ... 278s Selecting previously unselected package libwebp7:arm64. 278s Preparing to unpack .../112-libwebp7_1.3.2-0.4build2_arm64.deb ... 278s Unpacking libwebp7:arm64 (1.3.2-0.4build2) ... 278s Selecting previously unselected package libtiff6:arm64. 278s Preparing to unpack .../113-libtiff6_4.5.1+git230720-4ubuntu1_arm64.deb ... 278s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu1) ... 278s Selecting previously unselected package libxpm4:arm64. 278s Preparing to unpack .../114-libxpm4_1%3a3.5.17-1build1_arm64.deb ... 278s Unpacking libxpm4:arm64 (1:3.5.17-1build1) ... 279s Selecting previously unselected package libgd3:arm64. 279s Preparing to unpack .../115-libgd3_2.3.3-9ubuntu3_arm64.deb ... 279s Unpacking libgd3:arm64 (2.3.3-9ubuntu3) ... 279s Selecting previously unselected package liblua5.4-0:arm64. 279s Preparing to unpack .../116-liblua5.4-0_5.4.6-3build1_arm64.deb ... 279s Unpacking liblua5.4-0:arm64 (5.4.6-3build1) ... 279s Selecting previously unselected package fontconfig. 279s Preparing to unpack .../117-fontconfig_2.15.0-1.1ubuntu1_arm64.deb ... 279s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 279s Selecting previously unselected package libgraphite2-3:arm64. 279s Preparing to unpack .../118-libgraphite2-3_1.3.14-2_arm64.deb ... 279s Unpacking libgraphite2-3:arm64 (1.3.14-2) ... 279s Selecting previously unselected package libharfbuzz0b:arm64. 279s Preparing to unpack .../119-libharfbuzz0b_8.3.0-2build1_arm64.deb ... 279s Unpacking libharfbuzz0b:arm64 (8.3.0-2build1) ... 279s Selecting previously unselected package libthai-data. 279s Preparing to unpack .../120-libthai-data_0.1.29-2_all.deb ... 279s Unpacking libthai-data (0.1.29-2) ... 279s Selecting previously unselected package libdatrie1:arm64. 279s Preparing to unpack .../121-libdatrie1_0.2.13-3_arm64.deb ... 279s Unpacking libdatrie1:arm64 (0.2.13-3) ... 279s Selecting previously unselected package libthai0:arm64. 279s Preparing to unpack .../122-libthai0_0.1.29-2_arm64.deb ... 279s Unpacking libthai0:arm64 (0.1.29-2) ... 279s Selecting previously unselected package libpango-1.0-0:arm64. 279s Preparing to unpack .../123-libpango-1.0-0_1.52.1+ds-1_arm64.deb ... 279s Unpacking libpango-1.0-0:arm64 (1.52.1+ds-1) ... 280s Selecting previously unselected package libpangoft2-1.0-0:arm64. 280s Preparing to unpack .../124-libpangoft2-1.0-0_1.52.1+ds-1_arm64.deb ... 280s Unpacking libpangoft2-1.0-0:arm64 (1.52.1+ds-1) ... 280s Selecting previously unselected package libpangocairo-1.0-0:arm64. 280s Preparing to unpack .../125-libpangocairo-1.0-0_1.52.1+ds-1_arm64.deb ... 280s Unpacking libpangocairo-1.0-0:arm64 (1.52.1+ds-1) ... 280s Selecting previously unselected package libwebpmux3:arm64. 280s Preparing to unpack .../126-libwebpmux3_1.3.2-0.4build2_arm64.deb ... 280s Unpacking libwebpmux3:arm64 (1.3.2-0.4build2) ... 280s Selecting previously unselected package gnuplot-nox. 280s Preparing to unpack .../127-gnuplot-nox_6.0.0+dfsg1-1ubuntu2_arm64.deb ... 280s Unpacking gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 280s Selecting previously unselected package dh-octave-autopkgtest. 280s Preparing to unpack .../128-dh-octave-autopkgtest_1.8.0_all.deb ... 280s Unpacking dh-octave-autopkgtest (1.8.0) ... 280s Selecting previously unselected package libapt-pkg-perl. 280s Preparing to unpack .../129-libapt-pkg-perl_0.1.40build5_arm64.deb ... 280s Unpacking libapt-pkg-perl (0.1.40build5) ... 280s Selecting previously unselected package libarray-intspan-perl. 280s Preparing to unpack .../130-libarray-intspan-perl_2.004-2_all.deb ... 280s Unpacking libarray-intspan-perl (2.004-2) ... 280s Selecting previously unselected package libyaml-libyaml-perl. 280s Preparing to unpack .../131-libyaml-libyaml-perl_0.89+ds-1build1_arm64.deb ... 280s Unpacking libyaml-libyaml-perl (0.89+ds-1build1) ... 281s Selecting previously unselected package libconfig-model-backend-yaml-perl. 281s Preparing to unpack .../132-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 281s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 281s Selecting previously unselected package libexporter-lite-perl. 281s Preparing to unpack .../133-libexporter-lite-perl_0.09-2_all.deb ... 281s Unpacking libexporter-lite-perl (0.09-2) ... 281s Selecting previously unselected package libencode-locale-perl. 281s Preparing to unpack .../134-libencode-locale-perl_1.05-3_all.deb ... 281s Unpacking libencode-locale-perl (1.05-3) ... 281s Selecting previously unselected package libtimedate-perl. 281s Preparing to unpack .../135-libtimedate-perl_2.3300-2_all.deb ... 281s Unpacking libtimedate-perl (2.3300-2) ... 281s Selecting previously unselected package libhttp-date-perl. 281s Preparing to unpack .../136-libhttp-date-perl_6.06-1_all.deb ... 281s Unpacking libhttp-date-perl (6.06-1) ... 281s Selecting previously unselected package libfile-listing-perl. 281s Preparing to unpack .../137-libfile-listing-perl_6.16-1_all.deb ... 281s Unpacking libfile-listing-perl (6.16-1) ... 281s Selecting previously unselected package libhtml-tagset-perl. 281s Preparing to unpack .../138-libhtml-tagset-perl_3.20-6_all.deb ... 281s Unpacking libhtml-tagset-perl (3.20-6) ... 281s Selecting previously unselected package liburi-perl. 281s Preparing to unpack .../139-liburi-perl_5.27-1_all.deb ... 281s Unpacking liburi-perl (5.27-1) ... 282s Selecting previously unselected package libhtml-parser-perl:arm64. 282s Preparing to unpack .../140-libhtml-parser-perl_3.81-1build2_arm64.deb ... 282s Unpacking libhtml-parser-perl:arm64 (3.81-1build2) ... 282s Selecting previously unselected package libhtml-tree-perl. 282s Preparing to unpack .../141-libhtml-tree-perl_5.07-3_all.deb ... 282s Unpacking libhtml-tree-perl (5.07-3) ... 282s Selecting previously unselected package libclone-perl:arm64. 282s Preparing to unpack .../142-libclone-perl_0.46-1build2_arm64.deb ... 282s Unpacking libclone-perl:arm64 (0.46-1build2) ... 282s Selecting previously unselected package libio-html-perl. 282s Preparing to unpack .../143-libio-html-perl_1.004-3_all.deb ... 282s Unpacking libio-html-perl (1.004-3) ... 282s Selecting previously unselected package liblwp-mediatypes-perl. 282s Preparing to unpack .../144-liblwp-mediatypes-perl_6.04-2_all.deb ... 282s Unpacking liblwp-mediatypes-perl (6.04-2) ... 282s Selecting previously unselected package libhttp-message-perl. 282s Preparing to unpack .../145-libhttp-message-perl_6.45-1ubuntu1_all.deb ... 282s Unpacking libhttp-message-perl (6.45-1ubuntu1) ... 282s Selecting previously unselected package libhttp-cookies-perl. 282s Preparing to unpack .../146-libhttp-cookies-perl_6.11-1_all.deb ... 282s Unpacking libhttp-cookies-perl (6.11-1) ... 282s Selecting previously unselected package libhttp-negotiate-perl. 282s Preparing to unpack .../147-libhttp-negotiate-perl_6.01-2_all.deb ... 282s Unpacking libhttp-negotiate-perl (6.01-2) ... 283s Selecting previously unselected package perl-openssl-defaults:arm64. 283s Preparing to unpack .../148-perl-openssl-defaults_7build1_arm64.deb ... 283s Unpacking perl-openssl-defaults:arm64 (7build1) ... 283s Selecting previously unselected package libnet-ssleay-perl:arm64. 283s Preparing to unpack .../149-libnet-ssleay-perl_1.94-1build2_arm64.deb ... 283s Unpacking libnet-ssleay-perl:arm64 (1.94-1build2) ... 283s Selecting previously unselected package libio-socket-ssl-perl. 283s Preparing to unpack .../150-libio-socket-ssl-perl_2.085-1_all.deb ... 283s Unpacking libio-socket-ssl-perl (2.085-1) ... 283s Selecting previously unselected package libnet-http-perl. 283s Preparing to unpack .../151-libnet-http-perl_6.23-1_all.deb ... 283s Unpacking libnet-http-perl (6.23-1) ... 283s Selecting previously unselected package liblwp-protocol-https-perl. 283s Preparing to unpack .../152-liblwp-protocol-https-perl_6.13-1_all.deb ... 283s Unpacking liblwp-protocol-https-perl (6.13-1) ... 284s Selecting previously unselected package libwww-robotrules-perl. 284s Preparing to unpack .../153-libwww-robotrules-perl_6.02-1_all.deb ... 284s Unpacking libwww-robotrules-perl (6.02-1) ... 284s Selecting previously unselected package libwww-perl. 284s Preparing to unpack .../154-libwww-perl_6.76-1_all.deb ... 284s Unpacking libwww-perl (6.76-1) ... 284s Selecting previously unselected package liberror-perl. 284s Preparing to unpack .../155-liberror-perl_0.17029-2_all.deb ... 284s Unpacking liberror-perl (0.17029-2) ... 284s Selecting previously unselected package libparse-debcontrol-perl. 284s Preparing to unpack .../156-libparse-debcontrol-perl_2.005-6_all.deb ... 284s Unpacking libparse-debcontrol-perl (2.005-6) ... 284s Selecting previously unselected package libsoftware-copyright-perl. 284s Preparing to unpack .../157-libsoftware-copyright-perl_0.012-2_all.deb ... 284s Unpacking libsoftware-copyright-perl (0.012-2) ... 284s Selecting previously unselected package libalgorithm-c3-perl. 284s Preparing to unpack .../158-libalgorithm-c3-perl_0.11-2_all.deb ... 284s Unpacking libalgorithm-c3-perl (0.11-2) ... 284s Selecting previously unselected package libclass-c3-perl. 284s Preparing to unpack .../159-libclass-c3-perl_0.35-2_all.deb ... 284s Unpacking libclass-c3-perl (0.35-2) ... 284s Selecting previously unselected package libmro-compat-perl. 284s Preparing to unpack .../160-libmro-compat-perl_0.15-2_all.deb ... 284s Unpacking libmro-compat-perl (0.15-2) ... 284s Selecting previously unselected package libdata-section-perl. 284s Preparing to unpack .../161-libdata-section-perl_0.200008-1_all.deb ... 284s Unpacking libdata-section-perl (0.200008-1) ... 284s Selecting previously unselected package libtext-template-perl. 285s Preparing to unpack .../162-libtext-template-perl_1.61-1_all.deb ... 285s Unpacking libtext-template-perl (1.61-1) ... 285s Selecting previously unselected package libsoftware-license-perl. 285s Preparing to unpack .../163-libsoftware-license-perl_0.104006-1_all.deb ... 285s Unpacking libsoftware-license-perl (0.104006-1) ... 285s Selecting previously unselected package libsoftware-licensemoreutils-perl. 285s Preparing to unpack .../164-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 285s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 285s Selecting previously unselected package libsort-versions-perl. 285s Preparing to unpack .../165-libsort-versions-perl_1.62-3_all.deb ... 285s Unpacking libsort-versions-perl (1.62-3) ... 285s Selecting previously unselected package libtext-reform-perl. 285s Preparing to unpack .../166-libtext-reform-perl_1.20-5_all.deb ... 285s Unpacking libtext-reform-perl (1.20-5) ... 285s Selecting previously unselected package libtext-autoformat-perl. 285s Preparing to unpack .../167-libtext-autoformat-perl_1.750000-2_all.deb ... 285s Unpacking libtext-autoformat-perl (1.750000-2) ... 285s Selecting previously unselected package libtext-levenshtein-damerau-perl. 285s Preparing to unpack .../168-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 285s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 285s Selecting previously unselected package libtoml-tiny-perl. 285s Preparing to unpack .../169-libtoml-tiny-perl_0.16-1_all.deb ... 285s Unpacking libtoml-tiny-perl (0.16-1) ... 285s Selecting previously unselected package libindirect-perl. 285s Preparing to unpack .../170-libindirect-perl_0.39-2build3_arm64.deb ... 285s Unpacking libindirect-perl (0.39-2build3) ... 285s Selecting previously unselected package libxs-parse-keyword-perl. 285s Preparing to unpack .../171-libxs-parse-keyword-perl_0.39-1build2_arm64.deb ... 285s Unpacking libxs-parse-keyword-perl (0.39-1build2) ... 286s Selecting previously unselected package libxs-parse-sublike-perl:arm64. 286s Preparing to unpack .../172-libxs-parse-sublike-perl_0.21-2build2_arm64.deb ... 286s Unpacking libxs-parse-sublike-perl:arm64 (0.21-2build2) ... 286s Selecting previously unselected package libobject-pad-perl. 286s Preparing to unpack .../173-libobject-pad-perl_0.808-1build2_arm64.deb ... 286s Unpacking libobject-pad-perl (0.808-1build2) ... 286s Selecting previously unselected package libsyntax-keyword-try-perl. 286s Preparing to unpack .../174-libsyntax-keyword-try-perl_0.29-1build2_arm64.deb ... 286s Unpacking libsyntax-keyword-try-perl (0.29-1build2) ... 286s Selecting previously unselected package libio-interactive-perl. 286s Preparing to unpack .../175-libio-interactive-perl_1.025-1_all.deb ... 286s Unpacking libio-interactive-perl (1.025-1) ... 286s Selecting previously unselected package liblog-any-perl. 286s Preparing to unpack .../176-liblog-any-perl_1.717-1_all.deb ... 286s Unpacking liblog-any-perl (1.717-1) ... 286s Selecting previously unselected package liblog-any-adapter-screen-perl. 286s Preparing to unpack .../177-liblog-any-adapter-screen-perl_0.140-2_all.deb ... 286s Unpacking liblog-any-adapter-screen-perl (0.140-2) ... 286s Selecting previously unselected package libsub-exporter-progressive-perl. 286s Preparing to unpack .../178-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 286s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 286s Selecting previously unselected package libvariable-magic-perl. 286s Preparing to unpack .../179-libvariable-magic-perl_0.63-1build2_arm64.deb ... 286s Unpacking libvariable-magic-perl (0.63-1build2) ... 286s Selecting previously unselected package libb-hooks-endofscope-perl. 286s Preparing to unpack .../180-libb-hooks-endofscope-perl_0.28-1_all.deb ... 286s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 287s Selecting previously unselected package libsub-identify-perl. 287s Preparing to unpack .../181-libsub-identify-perl_0.14-3build2_arm64.deb ... 287s Unpacking libsub-identify-perl (0.14-3build2) ... 287s Selecting previously unselected package libsub-name-perl:arm64. 287s Preparing to unpack .../182-libsub-name-perl_0.27-1build2_arm64.deb ... 287s Unpacking libsub-name-perl:arm64 (0.27-1build2) ... 287s Selecting previously unselected package libnamespace-clean-perl. 287s Preparing to unpack .../183-libnamespace-clean-perl_0.27-2_all.deb ... 287s Unpacking libnamespace-clean-perl (0.27-2) ... 287s Selecting previously unselected package libnumber-compare-perl. 287s Preparing to unpack .../184-libnumber-compare-perl_0.03-3_all.deb ... 287s Unpacking libnumber-compare-perl (0.03-3) ... 287s Selecting previously unselected package libtext-glob-perl. 287s Preparing to unpack .../185-libtext-glob-perl_0.11-3_all.deb ... 287s Unpacking libtext-glob-perl (0.11-3) ... 287s Selecting previously unselected package libpath-iterator-rule-perl. 287s Preparing to unpack .../186-libpath-iterator-rule-perl_1.015-2_all.deb ... 287s Unpacking libpath-iterator-rule-perl (1.015-2) ... 287s Selecting previously unselected package libpod-parser-perl. 287s Preparing to unpack .../187-libpod-parser-perl_1.67-1_all.deb ... 287s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 287s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 287s Unpacking libpod-parser-perl (1.67-1) ... 287s Selecting previously unselected package libpod-constants-perl. 287s Preparing to unpack .../188-libpod-constants-perl_0.19-2_all.deb ... 287s Unpacking libpod-constants-perl (0.19-2) ... 287s Selecting previously unselected package libset-intspan-perl. 287s Preparing to unpack .../189-libset-intspan-perl_1.19-3_all.deb ... 287s Unpacking libset-intspan-perl (1.19-3) ... 288s Selecting previously unselected package libstring-copyright-perl. 288s Preparing to unpack .../190-libstring-copyright-perl_0.003014-1_all.deb ... 288s Unpacking libstring-copyright-perl (0.003014-1) ... 288s Selecting previously unselected package libstring-escape-perl. 288s Preparing to unpack .../191-libstring-escape-perl_2010.002-3_all.deb ... 288s Unpacking libstring-escape-perl (2010.002-3) ... 288s Selecting previously unselected package libregexp-pattern-license-perl. 288s Preparing to unpack .../192-libregexp-pattern-license-perl_3.11.0-1_all.deb ... 288s Unpacking libregexp-pattern-license-perl (3.11.0-1) ... 288s Selecting previously unselected package libregexp-pattern-perl. 288s Preparing to unpack .../193-libregexp-pattern-perl_0.2.14-2_all.deb ... 288s Unpacking libregexp-pattern-perl (0.2.14-2) ... 288s Selecting previously unselected package libstring-license-perl. 288s Preparing to unpack .../194-libstring-license-perl_0.0.9-2ubuntu1_all.deb ... 288s Unpacking libstring-license-perl (0.0.9-2ubuntu1) ... 288s Selecting previously unselected package licensecheck. 288s Preparing to unpack .../195-licensecheck_3.3.9-1ubuntu1_all.deb ... 288s Unpacking licensecheck (3.3.9-1ubuntu1) ... 288s Selecting previously unselected package diffstat. 288s Preparing to unpack .../196-diffstat_1.66-1_arm64.deb ... 288s Unpacking diffstat (1.66-1) ... 288s Selecting previously unselected package libberkeleydb-perl:arm64. 288s Preparing to unpack .../197-libberkeleydb-perl_0.64-2build2_arm64.deb ... 288s Unpacking libberkeleydb-perl:arm64 (0.64-2build2) ... 288s Selecting previously unselected package libclass-xsaccessor-perl. 288s Preparing to unpack .../198-libclass-xsaccessor-perl_1.19-4build3_arm64.deb ... 288s Unpacking libclass-xsaccessor-perl (1.19-4build3) ... 289s Selecting previously unselected package libconfig-tiny-perl. 289s Preparing to unpack .../199-libconfig-tiny-perl_2.30-1_all.deb ... 289s Unpacking libconfig-tiny-perl (2.30-1) ... 289s Selecting previously unselected package libconst-fast-perl. 289s Preparing to unpack .../200-libconst-fast-perl_0.014-2_all.deb ... 289s Unpacking libconst-fast-perl (0.014-2) ... 289s Selecting previously unselected package libcpanel-json-xs-perl:arm64. 289s Preparing to unpack .../201-libcpanel-json-xs-perl_4.37-1build2_arm64.deb ... 289s Unpacking libcpanel-json-xs-perl:arm64 (4.37-1build2) ... 289s Selecting previously unselected package libaliased-perl. 289s Preparing to unpack .../202-libaliased-perl_0.34-3_all.deb ... 289s Unpacking libaliased-perl (0.34-3) ... 289s Selecting previously unselected package libclass-data-inheritable-perl. 289s Preparing to unpack .../203-libclass-data-inheritable-perl_0.08-3_all.deb ... 289s Unpacking libclass-data-inheritable-perl (0.08-3) ... 289s Selecting previously unselected package libdevel-stacktrace-perl. 289s Preparing to unpack .../204-libdevel-stacktrace-perl_2.0500-1_all.deb ... 289s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 289s Selecting previously unselected package libexception-class-perl. 289s Preparing to unpack .../205-libexception-class-perl_1.45-1_all.deb ... 289s Unpacking libexception-class-perl (1.45-1) ... 289s Selecting previously unselected package libiterator-perl. 289s Preparing to unpack .../206-libiterator-perl_0.03+ds1-2_all.deb ... 289s Unpacking libiterator-perl (0.03+ds1-2) ... 289s Selecting previously unselected package libiterator-util-perl. 289s Preparing to unpack .../207-libiterator-util-perl_0.02+ds1-2_all.deb ... 290s Unpacking libiterator-util-perl (0.02+ds1-2) ... 290s Selecting previously unselected package libdata-dpath-perl. 290s Preparing to unpack .../208-libdata-dpath-perl_0.59-1_all.deb ... 290s Unpacking libdata-dpath-perl (0.59-1) ... 290s Selecting previously unselected package libnet-domain-tld-perl. 290s Preparing to unpack .../209-libnet-domain-tld-perl_1.75-3_all.deb ... 290s Unpacking libnet-domain-tld-perl (1.75-3) ... 290s Selecting previously unselected package libdata-validate-domain-perl. 290s Preparing to unpack .../210-libdata-validate-domain-perl_0.10-1.1_all.deb ... 290s Unpacking libdata-validate-domain-perl (0.10-1.1) ... 290s Selecting previously unselected package libnet-ipv6addr-perl. 290s Preparing to unpack .../211-libnet-ipv6addr-perl_1.02-1_all.deb ... 290s Unpacking libnet-ipv6addr-perl (1.02-1) ... 290s Selecting previously unselected package libnet-netmask-perl. 290s Preparing to unpack .../212-libnet-netmask-perl_2.0002-2_all.deb ... 290s Unpacking libnet-netmask-perl (2.0002-2) ... 290s Selecting previously unselected package libnetaddr-ip-perl. 290s Preparing to unpack .../213-libnetaddr-ip-perl_4.079+dfsg-2build3_arm64.deb ... 290s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build3) ... 290s Selecting previously unselected package libdata-validate-ip-perl. 290s Preparing to unpack .../214-libdata-validate-ip-perl_0.31-1_all.deb ... 290s Unpacking libdata-validate-ip-perl (0.31-1) ... 290s Selecting previously unselected package libdata-validate-uri-perl. 290s Preparing to unpack .../215-libdata-validate-uri-perl_0.07-3_all.deb ... 290s Unpacking libdata-validate-uri-perl (0.07-3) ... 290s Selecting previously unselected package libdevel-size-perl. 290s Preparing to unpack .../216-libdevel-size-perl_0.83-2build3_arm64.deb ... 290s Unpacking libdevel-size-perl (0.83-2build3) ... 291s Selecting previously unselected package libemail-address-xs-perl. 291s Preparing to unpack .../217-libemail-address-xs-perl_1.05-1build3_arm64.deb ... 291s Unpacking libemail-address-xs-perl (1.05-1build3) ... 291s Selecting previously unselected package libipc-system-simple-perl. 291s Preparing to unpack .../218-libipc-system-simple-perl_1.30-2_all.deb ... 291s Unpacking libipc-system-simple-perl (1.30-2) ... 291s Selecting previously unselected package libfile-basedir-perl. 291s Preparing to unpack .../219-libfile-basedir-perl_0.09-2_all.deb ... 291s Unpacking libfile-basedir-perl (0.09-2) ... 291s Selecting previously unselected package libfile-find-rule-perl. 291s Preparing to unpack .../220-libfile-find-rule-perl_0.34-3_all.deb ... 291s Unpacking libfile-find-rule-perl (0.34-3) ... 291s Selecting previously unselected package libio-string-perl. 291s Preparing to unpack .../221-libio-string-perl_1.08-4_all.deb ... 291s Unpacking libio-string-perl (1.08-4) ... 291s Selecting previously unselected package libfont-ttf-perl. 291s Preparing to unpack .../222-libfont-ttf-perl_1.06-2_all.deb ... 291s Unpacking libfont-ttf-perl (1.06-2) ... 291s Selecting previously unselected package libhtml-html5-entities-perl. 291s Preparing to unpack .../223-libhtml-html5-entities-perl_0.004-3_all.deb ... 291s Unpacking libhtml-html5-entities-perl (0.004-3) ... 291s Selecting previously unselected package libhtml-tokeparser-simple-perl. 291s Preparing to unpack .../224-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 291s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 291s Selecting previously unselected package libipc-run3-perl. 292s Preparing to unpack .../225-libipc-run3-perl_0.049-1_all.deb ... 292s Unpacking libipc-run3-perl (0.049-1) ... 292s Selecting previously unselected package libjson-maybexs-perl. 292s Preparing to unpack .../226-libjson-maybexs-perl_1.004005-1_all.deb ... 292s Unpacking libjson-maybexs-perl (1.004005-1) ... 292s Selecting previously unselected package liblist-compare-perl. 292s Preparing to unpack .../227-liblist-compare-perl_0.55-2_all.deb ... 292s Unpacking liblist-compare-perl (0.55-2) ... 292s Selecting previously unselected package liblist-someutils-perl. 292s Preparing to unpack .../228-liblist-someutils-perl_0.59-1_all.deb ... 292s Unpacking liblist-someutils-perl (0.59-1) ... 292s Selecting previously unselected package liblist-utilsby-perl. 292s Preparing to unpack .../229-liblist-utilsby-perl_0.12-2_all.deb ... 292s Unpacking liblist-utilsby-perl (0.12-2) ... 292s Selecting previously unselected package libmldbm-perl. 292s Preparing to unpack .../230-libmldbm-perl_2.05-4_all.deb ... 292s Unpacking libmldbm-perl (2.05-4) ... 292s Selecting previously unselected package libclass-method-modifiers-perl. 292s Preparing to unpack .../231-libclass-method-modifiers-perl_2.15-1_all.deb ... 292s Unpacking libclass-method-modifiers-perl (2.15-1) ... 292s Selecting previously unselected package libimport-into-perl. 292s Preparing to unpack .../232-libimport-into-perl_1.002005-2_all.deb ... 292s Unpacking libimport-into-perl (1.002005-2) ... 293s Selecting previously unselected package librole-tiny-perl. 293s Preparing to unpack .../233-librole-tiny-perl_2.002004-1_all.deb ... 293s Unpacking librole-tiny-perl (2.002004-1) ... 293s Selecting previously unselected package libsub-quote-perl. 293s Preparing to unpack .../234-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 293s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 293s Selecting previously unselected package libmoo-perl. 293s Preparing to unpack .../235-libmoo-perl_2.005005-1_all.deb ... 293s Unpacking libmoo-perl (2.005005-1) ... 293s Selecting previously unselected package libstrictures-perl. 293s Preparing to unpack .../236-libstrictures-perl_2.000006-1_all.deb ... 293s Unpacking libstrictures-perl (2.000006-1) ... 293s Selecting previously unselected package libmoox-aliases-perl. 293s Preparing to unpack .../237-libmoox-aliases-perl_0.001006-2_all.deb ... 293s Unpacking libmoox-aliases-perl (0.001006-2) ... 293s Selecting previously unselected package libperlio-gzip-perl. 293s Preparing to unpack .../238-libperlio-gzip-perl_0.20-1build3_arm64.deb ... 293s Unpacking libperlio-gzip-perl (0.20-1build3) ... 293s Selecting previously unselected package libperlio-utf8-strict-perl. 293s Preparing to unpack .../239-libperlio-utf8-strict-perl_0.010-1build2_arm64.deb ... 293s Unpacking libperlio-utf8-strict-perl (0.010-1build2) ... 293s Selecting previously unselected package libproc-processtable-perl:arm64. 293s Preparing to unpack .../240-libproc-processtable-perl_0.636-1build2_arm64.deb ... 293s Unpacking libproc-processtable-perl:arm64 (0.636-1build2) ... 293s Selecting previously unselected package libregexp-wildcards-perl. 293s Preparing to unpack .../241-libregexp-wildcards-perl_1.05-3_all.deb ... 293s Unpacking libregexp-wildcards-perl (1.05-3) ... 294s Selecting previously unselected package libsereal-decoder-perl. 294s Preparing to unpack .../242-libsereal-decoder-perl_5.004+ds-1build2_arm64.deb ... 294s Unpacking libsereal-decoder-perl (5.004+ds-1build2) ... 294s Selecting previously unselected package libsereal-encoder-perl. 294s Preparing to unpack .../243-libsereal-encoder-perl_5.004+ds-1build2_arm64.deb ... 294s Unpacking libsereal-encoder-perl (5.004+ds-1build2) ... 294s Selecting previously unselected package libterm-readkey-perl. 294s Preparing to unpack .../244-libterm-readkey-perl_2.38-2build3_arm64.deb ... 294s Unpacking libterm-readkey-perl (2.38-2build3) ... 294s Selecting previously unselected package libtext-levenshteinxs-perl. 294s Preparing to unpack .../245-libtext-levenshteinxs-perl_0.03-5build3_arm64.deb ... 294s Unpacking libtext-levenshteinxs-perl (0.03-5build3) ... 294s Selecting previously unselected package libmarkdown2:arm64. 294s Preparing to unpack .../246-libmarkdown2_2.2.7-2_arm64.deb ... 294s Unpacking libmarkdown2:arm64 (2.2.7-2) ... 294s Selecting previously unselected package libtext-markdown-discount-perl. 294s Preparing to unpack .../247-libtext-markdown-discount-perl_0.16-1build2_arm64.deb ... 294s Unpacking libtext-markdown-discount-perl (0.16-1build2) ... 294s Selecting previously unselected package libdata-messagepack-perl. 294s Preparing to unpack .../248-libdata-messagepack-perl_1.02-1build3_arm64.deb ... 294s Unpacking libdata-messagepack-perl (1.02-1build3) ... 294s Selecting previously unselected package libtext-xslate-perl:arm64. 294s Preparing to unpack .../249-libtext-xslate-perl_3.5.9-1build4_arm64.deb ... 295s Unpacking libtext-xslate-perl:arm64 (3.5.9-1build4) ... 295s Selecting previously unselected package libtime-duration-perl. 295s Preparing to unpack .../250-libtime-duration-perl_1.21-2_all.deb ... 295s Unpacking libtime-duration-perl (1.21-2) ... 295s Selecting previously unselected package libtime-moment-perl. 295s Preparing to unpack .../251-libtime-moment-perl_0.44-2build3_arm64.deb ... 295s Unpacking libtime-moment-perl (0.44-2build3) ... 295s Selecting previously unselected package libunicode-utf8-perl. 295s Preparing to unpack .../252-libunicode-utf8-perl_0.62-2build2_arm64.deb ... 295s Unpacking libunicode-utf8-perl (0.62-2build2) ... 295s Selecting previously unselected package libcgi-pm-perl. 295s Preparing to unpack .../253-libcgi-pm-perl_4.63-1_all.deb ... 295s Unpacking libcgi-pm-perl (4.63-1) ... 295s Selecting previously unselected package libhtml-form-perl. 295s Preparing to unpack .../254-libhtml-form-perl_6.11-1_all.deb ... 295s Unpacking libhtml-form-perl (6.11-1) ... 295s Selecting previously unselected package libwww-mechanize-perl. 295s Preparing to unpack .../255-libwww-mechanize-perl_2.18-1ubuntu1_all.deb ... 295s Unpacking libwww-mechanize-perl (2.18-1ubuntu1) ... 295s Selecting previously unselected package libxml-namespacesupport-perl. 295s Preparing to unpack .../256-libxml-namespacesupport-perl_1.12-2_all.deb ... 295s Unpacking libxml-namespacesupport-perl (1.12-2) ... 296s Selecting previously unselected package libxml-sax-base-perl. 296s Preparing to unpack .../257-libxml-sax-base-perl_1.09-3_all.deb ... 296s Unpacking libxml-sax-base-perl (1.09-3) ... 296s Selecting previously unselected package libxml-sax-perl. 296s Preparing to unpack .../258-libxml-sax-perl_1.02+dfsg-3_all.deb ... 296s Unpacking libxml-sax-perl (1.02+dfsg-3) ... 296s Selecting previously unselected package libxml-libxml-perl. 296s Preparing to unpack .../259-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build3_arm64.deb ... 296s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 296s Selecting previously unselected package lzip. 296s Preparing to unpack .../260-lzip_1.24.1-1_arm64.deb ... 296s Unpacking lzip (1.24.1-1) ... 296s Selecting previously unselected package lzop. 296s Preparing to unpack .../261-lzop_1.04-2build2_arm64.deb ... 296s Unpacking lzop (1.04-2build2) ... 296s Selecting previously unselected package patchutils. 296s Preparing to unpack .../262-patchutils_0.4.2-1build2_arm64.deb ... 296s Unpacking patchutils (0.4.2-1build2) ... 296s Selecting previously unselected package t1utils. 296s Preparing to unpack .../263-t1utils_1.41-4build2_arm64.deb ... 296s Unpacking t1utils (1.41-4build2) ... 296s Selecting previously unselected package unzip. 297s Preparing to unpack .../264-unzip_6.0-28ubuntu3_arm64.deb ... 297s Unpacking unzip (6.0-28ubuntu3) ... 297s Selecting previously unselected package lintian. 297s Preparing to unpack .../265-lintian_2.117.0ubuntu1_all.deb ... 297s Unpacking lintian (2.117.0ubuntu1) ... 298s Selecting previously unselected package libconfig-model-dpkg-perl. 298s Preparing to unpack .../266-libconfig-model-dpkg-perl_3.004_all.deb ... 298s Unpacking libconfig-model-dpkg-perl (3.004) ... 299s Selecting previously unselected package libconvert-binhex-perl. 299s Preparing to unpack .../267-libconvert-binhex-perl_1.125-3_all.deb ... 299s Unpacking libconvert-binhex-perl (1.125-3) ... 299s Selecting previously unselected package libnet-smtp-ssl-perl. 299s Preparing to unpack .../268-libnet-smtp-ssl-perl_1.04-2_all.deb ... 299s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 299s Selecting previously unselected package libmailtools-perl. 299s Preparing to unpack .../269-libmailtools-perl_2.21-2_all.deb ... 299s Unpacking libmailtools-perl (2.21-2) ... 299s Selecting previously unselected package libmime-tools-perl. 299s Preparing to unpack .../270-libmime-tools-perl_5.514-1_all.deb ... 299s Unpacking libmime-tools-perl (5.514-1) ... 299s Selecting previously unselected package libsuitesparseconfig7:arm64. 299s Preparing to unpack .../271-libsuitesparseconfig7_1%3a7.6.1+dfsg-1_arm64.deb ... 299s Unpacking libsuitesparseconfig7:arm64 (1:7.6.1+dfsg-1) ... 299s Selecting previously unselected package libamd3:arm64. 299s Preparing to unpack .../272-libamd3_1%3a7.6.1+dfsg-1_arm64.deb ... 299s Unpacking libamd3:arm64 (1:7.6.1+dfsg-1) ... 299s Selecting previously unselected package libblas3:arm64. 299s Preparing to unpack .../273-libblas3_3.12.0-3_arm64.deb ... 299s Unpacking libblas3:arm64 (3.12.0-3) ... 299s Selecting previously unselected package libgfortran5:arm64. 299s Preparing to unpack .../274-libgfortran5_14-20240315-1ubuntu1_arm64.deb ... 299s Unpacking libgfortran5:arm64 (14-20240315-1ubuntu1) ... 300s Selecting previously unselected package liblapack3:arm64. 300s Preparing to unpack .../275-liblapack3_3.12.0-3_arm64.deb ... 300s Unpacking liblapack3:arm64 (3.12.0-3) ... 300s Selecting previously unselected package libarpack2t64:arm64. 300s Preparing to unpack .../276-libarpack2t64_3.9.1-1.1build1_arm64.deb ... 300s Unpacking libarpack2t64:arm64 (3.9.1-1.1build1) ... 300s Selecting previously unselected package libccolamd3:arm64. 300s Preparing to unpack .../277-libccolamd3_1%3a7.6.1+dfsg-1_arm64.deb ... 300s Unpacking libccolamd3:arm64 (1:7.6.1+dfsg-1) ... 300s Selecting previously unselected package libcamd3:arm64. 300s Preparing to unpack .../278-libcamd3_1%3a7.6.1+dfsg-1_arm64.deb ... 300s Unpacking libcamd3:arm64 (1:7.6.1+dfsg-1) ... 300s Selecting previously unselected package libcolamd3:arm64. 300s Preparing to unpack .../279-libcolamd3_1%3a7.6.1+dfsg-1_arm64.deb ... 300s Unpacking libcolamd3:arm64 (1:7.6.1+dfsg-1) ... 300s Selecting previously unselected package libcholmod5:arm64. 300s Preparing to unpack .../280-libcholmod5_1%3a7.6.1+dfsg-1_arm64.deb ... 300s Unpacking libcholmod5:arm64 (1:7.6.1+dfsg-1) ... 300s Selecting previously unselected package libcxsparse4:arm64. 300s Preparing to unpack .../281-libcxsparse4_1%3a7.6.1+dfsg-1_arm64.deb ... 300s Unpacking libcxsparse4:arm64 (1:7.6.1+dfsg-1) ... 301s Selecting previously unselected package libfftw3-double3:arm64. 301s Preparing to unpack .../282-libfftw3-double3_3.3.10-1ubuntu2_arm64.deb ... 301s Unpacking libfftw3-double3:arm64 (3.3.10-1ubuntu2) ... 301s Selecting previously unselected package libfftw3-single3:arm64. 301s Preparing to unpack .../283-libfftw3-single3_3.3.10-1ubuntu2_arm64.deb ... 301s Unpacking libfftw3-single3:arm64 (3.3.10-1ubuntu2) ... 301s Selecting previously unselected package libxfixes3:arm64. 301s Preparing to unpack .../284-libxfixes3_1%3a6.0.0-2_arm64.deb ... 301s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 301s Selecting previously unselected package libxcursor1:arm64. 301s Preparing to unpack .../285-libxcursor1_1%3a1.2.1-1_arm64.deb ... 301s Unpacking libxcursor1:arm64 (1:1.2.1-1) ... 301s Selecting previously unselected package libxft2:arm64. 301s Preparing to unpack .../286-libxft2_2.3.6-1_arm64.deb ... 301s Unpacking libxft2:arm64 (2.3.6-1) ... 301s Selecting previously unselected package libxinerama1:arm64. 301s Preparing to unpack .../287-libxinerama1_2%3a1.1.4-3_arm64.deb ... 301s Unpacking libxinerama1:arm64 (2:1.1.4-3) ... 301s Selecting previously unselected package libfltk1.3t64:arm64. 301s Preparing to unpack .../288-libfltk1.3t64_1.3.8-6.1_arm64.deb ... 301s Unpacking libfltk1.3t64:arm64 (1.3.8-6.1) ... 301s Selecting previously unselected package libglvnd0:arm64. 301s Preparing to unpack .../289-libglvnd0_1.7.0-1_arm64.deb ... 301s Unpacking libglvnd0:arm64 (1.7.0-1) ... 302s Selecting previously unselected package libglapi-mesa:arm64. 302s Preparing to unpack .../290-libglapi-mesa_24.0.2-1ubuntu8_arm64.deb ... 302s Unpacking libglapi-mesa:arm64 (24.0.2-1ubuntu8) ... 302s Selecting previously unselected package libx11-xcb1:arm64. 302s Preparing to unpack .../291-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 302s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 302s Selecting previously unselected package libxcb-dri2-0:arm64. 302s Preparing to unpack .../292-libxcb-dri2-0_1.15-1_arm64.deb ... 302s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 302s Selecting previously unselected package libxcb-dri3-0:arm64. 302s Preparing to unpack .../293-libxcb-dri3-0_1.15-1_arm64.deb ... 302s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 302s Selecting previously unselected package libxcb-glx0:arm64. 302s Preparing to unpack .../294-libxcb-glx0_1.15-1_arm64.deb ... 302s Unpacking libxcb-glx0:arm64 (1.15-1) ... 302s Selecting previously unselected package libxcb-present0:arm64. 302s Preparing to unpack .../295-libxcb-present0_1.15-1_arm64.deb ... 302s Unpacking libxcb-present0:arm64 (1.15-1) ... 302s Selecting previously unselected package libxcb-randr0:arm64. 302s Preparing to unpack .../296-libxcb-randr0_1.15-1_arm64.deb ... 302s Unpacking libxcb-randr0:arm64 (1.15-1) ... 302s Selecting previously unselected package libxcb-sync1:arm64. 302s Preparing to unpack .../297-libxcb-sync1_1.15-1_arm64.deb ... 302s Unpacking libxcb-sync1:arm64 (1.15-1) ... 303s Selecting previously unselected package libxcb-xfixes0:arm64. 303s Preparing to unpack .../298-libxcb-xfixes0_1.15-1_arm64.deb ... 303s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 303s Selecting previously unselected package libxshmfence1:arm64. 303s Preparing to unpack .../299-libxshmfence1_1.3-1build4_arm64.deb ... 303s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 303s Selecting previously unselected package libxxf86vm1:arm64. 303s Preparing to unpack .../300-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 303s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 303s Selecting previously unselected package libvulkan1:arm64. 303s Preparing to unpack .../301-libvulkan1_1.3.275.0-1_arm64.deb ... 303s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 303s Selecting previously unselected package libdrm-amdgpu1:arm64. 303s Preparing to unpack .../302-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 303s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 303s Selecting previously unselected package libdrm-nouveau2:arm64. 303s Preparing to unpack .../303-libdrm-nouveau2_2.4.120-2_arm64.deb ... 303s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 303s Selecting previously unselected package libdrm-radeon1:arm64. 303s Preparing to unpack .../304-libdrm-radeon1_2.4.120-2_arm64.deb ... 303s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 303s Selecting previously unselected package libllvm17t64:arm64. 303s Preparing to unpack .../305-libllvm17t64_1%3a17.0.6-9build1_arm64.deb ... 303s Unpacking libllvm17t64:arm64 (1:17.0.6-9build1) ... 307s Selecting previously unselected package libgl1-mesa-dri:arm64. 307s Preparing to unpack .../306-libgl1-mesa-dri_24.0.2-1ubuntu8_arm64.deb ... 307s Unpacking libgl1-mesa-dri:arm64 (24.0.2-1ubuntu8) ... 307s Selecting previously unselected package libglx-mesa0:arm64. 307s Preparing to unpack .../307-libglx-mesa0_24.0.2-1ubuntu8_arm64.deb ... 307s Unpacking libglx-mesa0:arm64 (24.0.2-1ubuntu8) ... 307s Selecting previously unselected package libglx0:arm64. 307s Preparing to unpack .../308-libglx0_1.7.0-1_arm64.deb ... 307s Unpacking libglx0:arm64 (1.7.0-1) ... 308s Selecting previously unselected package libgl1:arm64. 308s Preparing to unpack .../309-libgl1_1.7.0-1_arm64.deb ... 308s Unpacking libgl1:arm64 (1.7.0-1) ... 308s Selecting previously unselected package libfltk-gl1.3t64:arm64. 308s Preparing to unpack .../310-libfltk-gl1.3t64_1.3.8-6.1_arm64.deb ... 308s Unpacking libfltk-gl1.3t64:arm64 (1.3.8-6.1) ... 308s Selecting previously unselected package libgl2ps1.4. 308s Preparing to unpack .../311-libgl2ps1.4_1.4.2+dfsg1-2_arm64.deb ... 308s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... 308s Selecting previously unselected package libltdl7:arm64. 308s Preparing to unpack .../312-libltdl7_2.4.7-7_arm64.deb ... 308s Unpacking libltdl7:arm64 (2.4.7-7) ... 308s Selecting previously unselected package libglpk40:arm64. 308s Preparing to unpack .../313-libglpk40_5.0-1build1_arm64.deb ... 308s Unpacking libglpk40:arm64 (5.0-1build1) ... 308s Selecting previously unselected package libopengl0:arm64. 308s Preparing to unpack .../314-libopengl0_1.7.0-1_arm64.deb ... 308s Unpacking libopengl0:arm64 (1.7.0-1) ... 308s Selecting previously unselected package libglu1-mesa:arm64. 308s Preparing to unpack .../315-libglu1-mesa_9.0.2-1.1_arm64.deb ... 308s Unpacking libglu1-mesa:arm64 (9.0.2-1.1) ... 308s Selecting previously unselected package libdav1d7:arm64. 308s Preparing to unpack .../316-libdav1d7_1.4.0-1_arm64.deb ... 308s Unpacking libdav1d7:arm64 (1.4.0-1) ... 308s Selecting previously unselected package libheif-plugin-dav1d:arm64. 309s Preparing to unpack .../317-libheif-plugin-dav1d_1.17.6-1ubuntu2_arm64.deb ... 309s Unpacking libheif-plugin-dav1d:arm64 (1.17.6-1ubuntu2) ... 309s Selecting previously unselected package libde265-0:arm64. 309s Preparing to unpack .../318-libde265-0_1.0.15-1build1_arm64.deb ... 309s Unpacking libde265-0:arm64 (1.0.15-1build1) ... 309s Selecting previously unselected package libheif-plugin-libde265:arm64. 309s Preparing to unpack .../319-libheif-plugin-libde265_1.17.6-1ubuntu2_arm64.deb ... 309s Unpacking libheif-plugin-libde265:arm64 (1.17.6-1ubuntu2) ... 309s Selecting previously unselected package libheif1:arm64. 309s Preparing to unpack .../320-libheif1_1.17.6-1ubuntu2_arm64.deb ... 309s Unpacking libheif1:arm64 (1.17.6-1ubuntu2) ... 309s Selecting previously unselected package libhwy1t64:arm64. 309s Preparing to unpack .../321-libhwy1t64_1.0.7-8.1_arm64.deb ... 309s Unpacking libhwy1t64:arm64 (1.0.7-8.1) ... 309s Selecting previously unselected package liblcms2-2:arm64. 309s Preparing to unpack .../322-liblcms2-2_2.14-2_arm64.deb ... 309s Unpacking liblcms2-2:arm64 (2.14-2) ... 309s Selecting previously unselected package libjxl0.7:arm64. 309s Preparing to unpack .../323-libjxl0.7_0.7.0-10.2ubuntu3_arm64.deb ... 309s Unpacking libjxl0.7:arm64 (0.7.0-10.2ubuntu3) ... 309s Selecting previously unselected package libwmflite-0.2-7:arm64. 309s Preparing to unpack .../324-libwmflite-0.2-7_0.2.13-1.1build2_arm64.deb ... 309s Unpacking libwmflite-0.2-7:arm64 (0.2.13-1.1build2) ... 309s Selecting previously unselected package libgraphicsmagick-q16-3t64. 310s Preparing to unpack .../325-libgraphicsmagick-q16-3t64_1.4+really1.3.42-1.1build1_arm64.deb ... 310s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 310s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 310s Preparing to unpack .../326-libgraphicsmagick++-q16-12t64_1.4+really1.3.42-1.1build1_arm64.deb ... 310s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 310s Selecting previously unselected package libaec0:arm64. 310s Preparing to unpack .../327-libaec0_1.1.2-1_arm64.deb ... 310s Unpacking libaec0:arm64 (1.1.2-1) ... 310s Selecting previously unselected package libsz2:arm64. 310s Preparing to unpack .../328-libsz2_1.1.2-1_arm64.deb ... 310s Unpacking libsz2:arm64 (1.1.2-1) ... 310s Selecting previously unselected package libhdf5-103-1t64:arm64. 310s Preparing to unpack .../329-libhdf5-103-1t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 310s Unpacking libhdf5-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 310s Selecting previously unselected package libasound2-data. 310s Preparing to unpack .../330-libasound2-data_1.2.11-1build1_all.deb ... 310s Unpacking libasound2-data (1.2.11-1build1) ... 310s Selecting previously unselected package libasound2t64:arm64. 310s Preparing to unpack .../331-libasound2t64_1.2.11-1build1_arm64.deb ... 310s Unpacking libasound2t64:arm64 (1.2.11-1build1) ... 311s Selecting previously unselected package libopus0:arm64. 311s Preparing to unpack .../332-libopus0_1.4-1_arm64.deb ... 311s Unpacking libopus0:arm64 (1.4-1) ... 311s Selecting previously unselected package libsamplerate0:arm64. 311s Preparing to unpack .../333-libsamplerate0_0.2.2-4_arm64.deb ... 311s Unpacking libsamplerate0:arm64 (0.2.2-4) ... 311s Selecting previously unselected package libjack-jackd2-0:arm64. 311s Preparing to unpack .../334-libjack-jackd2-0_1.9.21~dfsg-3ubuntu1_arm64.deb ... 311s Unpacking libjack-jackd2-0:arm64 (1.9.21~dfsg-3ubuntu1) ... 311s Selecting previously unselected package libportaudio2:arm64. 311s Preparing to unpack .../335-libportaudio2_19.6.0-1.2build1_arm64.deb ... 311s Unpacking libportaudio2:arm64 (19.6.0-1.2build1) ... 311s Selecting previously unselected package libqhull-r8.0:arm64. 311s Preparing to unpack .../336-libqhull-r8.0_2020.2-6_arm64.deb ... 311s Unpacking libqhull-r8.0:arm64 (2020.2-6) ... 311s Selecting previously unselected package libqrupdate1:arm64. 311s Preparing to unpack .../337-libqrupdate1_1.1.2-4_arm64.deb ... 311s Unpacking libqrupdate1:arm64 (1.1.2-4) ... 311s Selecting previously unselected package libqscintilla2-qt5-l10n. 311s Preparing to unpack .../338-libqscintilla2-qt5-l10n_2.14.1+dfsg-1build2_all.deb ... 311s Unpacking libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 311s Selecting previously unselected package libdouble-conversion3:arm64. 311s Preparing to unpack .../339-libdouble-conversion3_3.3.0-1_arm64.deb ... 311s Unpacking libdouble-conversion3:arm64 (3.3.0-1) ... 312s Selecting previously unselected package libpcre2-16-0:arm64. 312s Preparing to unpack .../340-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 312s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 312s Selecting previously unselected package libqt5core5t64:arm64. 312s Preparing to unpack .../341-libqt5core5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 312s Unpacking libqt5core5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 312s Selecting previously unselected package libwayland-server0:arm64. 312s Preparing to unpack .../342-libwayland-server0_1.22.0-2.1_arm64.deb ... 312s Unpacking libwayland-server0:arm64 (1.22.0-2.1) ... 312s Selecting previously unselected package libgbm1:arm64. 312s Preparing to unpack .../343-libgbm1_24.0.2-1ubuntu8_arm64.deb ... 312s Unpacking libgbm1:arm64 (24.0.2-1ubuntu8) ... 312s Selecting previously unselected package libwayland-client0:arm64. 312s Preparing to unpack .../344-libwayland-client0_1.22.0-2.1_arm64.deb ... 312s Unpacking libwayland-client0:arm64 (1.22.0-2.1) ... 312s Selecting previously unselected package libegl-mesa0:arm64. 312s Preparing to unpack .../345-libegl-mesa0_24.0.2-1ubuntu8_arm64.deb ... 312s Unpacking libegl-mesa0:arm64 (24.0.2-1ubuntu8) ... 312s Selecting previously unselected package libegl1:arm64. 313s Preparing to unpack .../346-libegl1_1.7.0-1_arm64.deb ... 313s Unpacking libegl1:arm64 (1.7.0-1) ... 313s Selecting previously unselected package x11-common. 313s Preparing to unpack .../347-x11-common_1%3a7.7+23ubuntu2_all.deb ... 313s Unpacking x11-common (1:7.7+23ubuntu2) ... 313s Selecting previously unselected package libice6:arm64. 313s Preparing to unpack .../348-libice6_2%3a1.0.10-1build2_arm64.deb ... 313s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 313s Selecting previously unselected package libmtdev1t64:arm64. 313s Preparing to unpack .../349-libmtdev1t64_1.1.6-1.1_arm64.deb ... 313s Unpacking libmtdev1t64:arm64 (1.1.6-1.1) ... 313s Selecting previously unselected package libwacom-common. 313s Preparing to unpack .../350-libwacom-common_2.10.0-1build1_all.deb ... 313s Unpacking libwacom-common (2.10.0-1build1) ... 313s Selecting previously unselected package libwacom9:arm64. 313s Preparing to unpack .../351-libwacom9_2.10.0-1build1_arm64.deb ... 313s Unpacking libwacom9:arm64 (2.10.0-1build1) ... 313s Selecting previously unselected package libinput-bin. 314s Preparing to unpack .../352-libinput-bin_1.25.0-1build1_arm64.deb ... 314s Unpacking libinput-bin (1.25.0-1build1) ... 314s Selecting previously unselected package libinput10:arm64. 314s Preparing to unpack .../353-libinput10_1.25.0-1build1_arm64.deb ... 314s Unpacking libinput10:arm64 (1.25.0-1build1) ... 314s Selecting previously unselected package libmd4c0:arm64. 314s Preparing to unpack .../354-libmd4c0_0.4.8-1_arm64.deb ... 314s Unpacking libmd4c0:arm64 (0.4.8-1) ... 314s Selecting previously unselected package libqt5dbus5t64:arm64. 314s Preparing to unpack .../355-libqt5dbus5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 314s Unpacking libqt5dbus5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 314s Selecting previously unselected package libqt5network5t64:arm64. 314s Preparing to unpack .../356-libqt5network5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 314s Unpacking libqt5network5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 314s Selecting previously unselected package libsm6:arm64. 314s Preparing to unpack .../357-libsm6_2%3a1.2.3-1build2_arm64.deb ... 314s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 314s Selecting previously unselected package libxcb-icccm4:arm64. 314s Preparing to unpack .../358-libxcb-icccm4_0.4.1-1.1build2_arm64.deb ... 314s Unpacking libxcb-icccm4:arm64 (0.4.1-1.1build2) ... 314s Selecting previously unselected package libxcb-util1:arm64. 314s Preparing to unpack .../359-libxcb-util1_0.4.0-1build2_arm64.deb ... 314s Unpacking libxcb-util1:arm64 (0.4.0-1build2) ... 314s Selecting previously unselected package libxcb-image0:arm64. 314s Preparing to unpack .../360-libxcb-image0_0.4.0-2_arm64.deb ... 314s Unpacking libxcb-image0:arm64 (0.4.0-2) ... 315s Selecting previously unselected package libxcb-keysyms1:arm64. 315s Preparing to unpack .../361-libxcb-keysyms1_0.4.0-1build3_arm64.deb ... 315s Unpacking libxcb-keysyms1:arm64 (0.4.0-1build3) ... 315s Selecting previously unselected package libxcb-render-util0:arm64. 315s Preparing to unpack .../362-libxcb-render-util0_0.3.9-1build3_arm64.deb ... 315s Unpacking libxcb-render-util0:arm64 (0.3.9-1build3) ... 315s Selecting previously unselected package libxcb-shape0:arm64. 315s Preparing to unpack .../363-libxcb-shape0_1.15-1_arm64.deb ... 315s Unpacking libxcb-shape0:arm64 (1.15-1) ... 315s Selecting previously unselected package libxcb-xinerama0:arm64. 315s Preparing to unpack .../364-libxcb-xinerama0_1.15-1_arm64.deb ... 315s Unpacking libxcb-xinerama0:arm64 (1.15-1) ... 315s Selecting previously unselected package libxcb-xinput0:arm64. 315s Preparing to unpack .../365-libxcb-xinput0_1.15-1_arm64.deb ... 315s Unpacking libxcb-xinput0:arm64 (1.15-1) ... 315s Selecting previously unselected package libxcb-xkb1:arm64. 315s Preparing to unpack .../366-libxcb-xkb1_1.15-1_arm64.deb ... 315s Unpacking libxcb-xkb1:arm64 (1.15-1) ... 315s Selecting previously unselected package libxkbcommon-x11-0:arm64. 315s Preparing to unpack .../367-libxkbcommon-x11-0_1.6.0-1_arm64.deb ... 315s Unpacking libxkbcommon-x11-0:arm64 (1.6.0-1) ... 315s Selecting previously unselected package libqt5gui5t64:arm64. 315s Preparing to unpack .../368-libqt5gui5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 315s Unpacking libqt5gui5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 316s Selecting previously unselected package libavahi-common-data:arm64. 316s Preparing to unpack .../369-libavahi-common-data_0.8-13ubuntu4_arm64.deb ... 316s Unpacking libavahi-common-data:arm64 (0.8-13ubuntu4) ... 316s Selecting previously unselected package libavahi-common3:arm64. 316s Preparing to unpack .../370-libavahi-common3_0.8-13ubuntu4_arm64.deb ... 316s Unpacking libavahi-common3:arm64 (0.8-13ubuntu4) ... 316s Selecting previously unselected package libavahi-client3:arm64. 316s Preparing to unpack .../371-libavahi-client3_0.8-13ubuntu4_arm64.deb ... 316s Unpacking libavahi-client3:arm64 (0.8-13ubuntu4) ... 316s Selecting previously unselected package libcups2t64:arm64. 316s Preparing to unpack .../372-libcups2t64_2.4.7-1.2ubuntu1_arm64.deb ... 316s Unpacking libcups2t64:arm64 (2.4.7-1.2ubuntu1) ... 316s Selecting previously unselected package libqt5widgets5t64:arm64. 316s Preparing to unpack .../373-libqt5widgets5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 316s Unpacking libqt5widgets5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 316s Selecting previously unselected package libqt5printsupport5t64:arm64. 317s Preparing to unpack .../374-libqt5printsupport5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 317s Unpacking libqt5printsupport5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 317s Selecting previously unselected package libqscintilla2-qt5-15:arm64. 317s Preparing to unpack .../375-libqscintilla2-qt5-15_2.14.1+dfsg-1build2_arm64.deb ... 317s Unpacking libqscintilla2-qt5-15:arm64 (2.14.1+dfsg-1build2) ... 317s Selecting previously unselected package libqt5sql5t64:arm64. 317s Preparing to unpack .../376-libqt5sql5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 317s Unpacking libqt5sql5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 317s Selecting previously unselected package libqt5help5:arm64. 317s Preparing to unpack .../377-libqt5help5_5.15.12-2build2_arm64.deb ... 317s Unpacking libqt5help5:arm64 (5.15.12-2build2) ... 317s Selecting previously unselected package libqt5xml5t64:arm64. 317s Preparing to unpack .../378-libqt5xml5t64_5.15.12+dfsg-3ubuntu6_arm64.deb ... 317s Unpacking libqt5xml5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 317s Selecting previously unselected package libogg0:arm64. 317s Preparing to unpack .../379-libogg0_1.3.5-3_arm64.deb ... 317s Unpacking libogg0:arm64 (1.3.5-3) ... 317s Selecting previously unselected package libflac12t64:arm64. 317s Preparing to unpack .../380-libflac12t64_1.4.3+ds-2.1ubuntu1_arm64.deb ... 317s Unpacking libflac12t64:arm64 (1.4.3+ds-2.1ubuntu1) ... 317s Selecting previously unselected package libmp3lame0:arm64. 317s Preparing to unpack .../381-libmp3lame0_3.100-6_arm64.deb ... 317s Unpacking libmp3lame0:arm64 (3.100-6) ... 318s Selecting previously unselected package libmpg123-0:arm64. 318s Preparing to unpack .../382-libmpg123-0_1.32.5-1build1_arm64.deb ... 318s Unpacking libmpg123-0:arm64 (1.32.5-1build1) ... 318s Selecting previously unselected package libvorbis0a:arm64. 318s Preparing to unpack .../383-libvorbis0a_1.3.7-1build2_arm64.deb ... 318s Unpacking libvorbis0a:arm64 (1.3.7-1build2) ... 318s Selecting previously unselected package libvorbisenc2:arm64. 318s Preparing to unpack .../384-libvorbisenc2_1.3.7-1build2_arm64.deb ... 318s Unpacking libvorbisenc2:arm64 (1.3.7-1build2) ... 318s Selecting previously unselected package libsndfile1:arm64. 318s Preparing to unpack .../385-libsndfile1_1.2.2-1ubuntu3_arm64.deb ... 318s Unpacking libsndfile1:arm64 (1.2.2-1ubuntu3) ... 318s Selecting previously unselected package libspqr4:arm64. 318s Preparing to unpack .../386-libspqr4_1%3a7.6.1+dfsg-1_arm64.deb ... 318s Unpacking libspqr4:arm64 (1:7.6.1+dfsg-1) ... 318s Selecting previously unselected package libsundials-ida6:arm64. 318s Preparing to unpack .../387-libsundials-ida6_6.4.1+dfsg1-3build3_arm64.deb ... 318s Unpacking libsundials-ida6:arm64 (6.4.1+dfsg1-3build3) ... 318s Selecting previously unselected package libbtf2:arm64. 318s Preparing to unpack .../388-libbtf2_1%3a7.6.1+dfsg-1_arm64.deb ... 318s Unpacking libbtf2:arm64 (1:7.6.1+dfsg-1) ... 318s Selecting previously unselected package libklu2:arm64. 318s Preparing to unpack .../389-libklu2_1%3a7.6.1+dfsg-1_arm64.deb ... 318s Unpacking libklu2:arm64 (1:7.6.1+dfsg-1) ... 318s Selecting previously unselected package libfftw3-long3:arm64. 318s Preparing to unpack .../390-libfftw3-long3_3.3.10-1ubuntu2_arm64.deb ... 318s Unpacking libfftw3-long3:arm64 (3.3.10-1ubuntu2) ... 319s Preparing to unpack .../391-libevent-core-2.1-7_2.1.12-stable-9build1_arm64.deb ... 319s Unpacking libevent-core-2.1-7:arm64 (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 319s Selecting previously unselected package libevent-pthreads-2.1-7:arm64. 319s Preparing to unpack .../392-libevent-pthreads-2.1-7_2.1.12-stable-9build1_arm64.deb ... 319s Unpacking libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9build1) ... 319s Preparing to unpack .../393-libibverbs1_50.0-2build1_arm64.deb ... 319s Unpacking libibverbs1:arm64 (50.0-2build1) over (50.0-2) ... 319s Preparing to unpack .../394-ibverbs-providers_50.0-2build1_arm64.deb ... 319s Unpacking ibverbs-providers:arm64 (50.0-2build1) over (50.0-2) ... 319s Selecting previously unselected package librdmacm1t64:arm64. 319s Preparing to unpack .../395-librdmacm1t64_50.0-2build1_arm64.deb ... 319s Unpacking librdmacm1t64:arm64 (50.0-2build1) ... 319s Selecting previously unselected package libfabric1:arm64. 319s Preparing to unpack .../396-libfabric1_1.17.0-3build1_arm64.deb ... 319s Unpacking libfabric1:arm64 (1.17.0-3build1) ... 320s Selecting previously unselected package libhwloc15:arm64. 320s Preparing to unpack .../397-libhwloc15_2.10.0-1_arm64.deb ... 320s Unpacking libhwloc15:arm64 (2.10.0-1) ... 320s Selecting previously unselected package libmunge2:arm64. 320s Preparing to unpack .../398-libmunge2_0.5.15-4_arm64.deb ... 320s Unpacking libmunge2:arm64 (0.5.15-4) ... 320s Selecting previously unselected package libpciaccess0:arm64. 320s Preparing to unpack .../399-libpciaccess0_0.17-3_arm64.deb ... 320s Unpacking libpciaccess0:arm64 (0.17-3) ... 320s Selecting previously unselected package libxnvctrl0:arm64. 320s Preparing to unpack .../400-libxnvctrl0_510.47.03-0ubuntu1_arm64.deb ... 320s Unpacking libxnvctrl0:arm64 (510.47.03-0ubuntu1) ... 320s Selecting previously unselected package ocl-icd-libopencl1:arm64. 320s Preparing to unpack .../401-ocl-icd-libopencl1_2.3.2-1_arm64.deb ... 320s Unpacking ocl-icd-libopencl1:arm64 (2.3.2-1) ... 320s Selecting previously unselected package libhwloc-plugins:arm64. 320s Preparing to unpack .../402-libhwloc-plugins_2.10.0-1_arm64.deb ... 320s Unpacking libhwloc-plugins:arm64 (2.10.0-1) ... 320s Selecting previously unselected package libpmix2t64:arm64. 320s Preparing to unpack .../403-libpmix2t64_5.0.1-4.1_arm64.deb ... 320s Unpacking libpmix2t64:arm64 (5.0.1-4.1) ... 320s Selecting previously unselected package libamd-comgr2:arm64. 320s Preparing to unpack .../404-libamd-comgr2_6.0+git20231212.4510c28+dfsg-3build1_arm64.deb ... 320s Unpacking libamd-comgr2:arm64 (6.0+git20231212.4510c28+dfsg-3build1) ... 322s Selecting previously unselected package libhsakmt1:arm64. 322s Preparing to unpack .../405-libhsakmt1_5.7.0-1_arm64.deb ... 322s Unpacking libhsakmt1:arm64 (5.7.0-1) ... 322s Selecting previously unselected package libhsa-runtime64-1. 322s Preparing to unpack .../406-libhsa-runtime64-1_5.7.1-1build1_arm64.deb ... 322s Unpacking libhsa-runtime64-1 (5.7.1-1build1) ... 322s Selecting previously unselected package libamdhip64-5. 322s Preparing to unpack .../407-libamdhip64-5_5.2.3-12_arm64.deb ... 322s Unpacking libamdhip64-5 (5.2.3-12) ... 323s Selecting previously unselected package libucx0:arm64. 323s Preparing to unpack .../408-libucx0_1.16.0+ds-4_arm64.deb ... 323s Unpacking libucx0:arm64 (1.16.0+ds-4) ... 323s Selecting previously unselected package libopenmpi3t64:arm64. 323s Preparing to unpack .../409-libopenmpi3t64_4.1.6-7ubuntu1_arm64.deb ... 323s Unpacking libopenmpi3t64:arm64 (4.1.6-7ubuntu1) ... 323s Selecting previously unselected package libfftw3-mpi3:arm64. 323s Preparing to unpack .../410-libfftw3-mpi3_3.3.10-1ubuntu2_arm64.deb ... 323s Unpacking libfftw3-mpi3:arm64 (3.3.10-1ubuntu2) ... 324s Selecting previously unselected package libhdf5-openmpi-103-1t64:arm64. 324s Preparing to unpack .../411-libhdf5-openmpi-103-1t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 324s Unpacking libhdf5-openmpi-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 324s Selecting previously unselected package libcombblas2.0.0t64:arm64. 324s Preparing to unpack .../412-libcombblas2.0.0t64_2.0.0-3.1build1_arm64.deb ... 324s Unpacking libcombblas2.0.0t64:arm64 (2.0.0-3.1build1) ... 324s Selecting previously unselected package libmetis5:arm64. 324s Preparing to unpack .../413-libmetis5_5.1.0.dfsg-7build2_arm64.deb ... 324s Unpacking libmetis5:arm64 (5.1.0.dfsg-7build2) ... 324s Selecting previously unselected package libptscotch-7.0:arm64. 324s Preparing to unpack .../414-libptscotch-7.0_7.0.4-1ubuntu1_arm64.deb ... 324s Unpacking libptscotch-7.0:arm64 (7.0.4-1ubuntu1) ... 324s Selecting previously unselected package libsuperlu-dist8:arm64. 324s Preparing to unpack .../415-libsuperlu-dist8_8.2.1+dfsg1-1build1_arm64.deb ... 324s Unpacking libsuperlu-dist8:arm64 (8.2.1+dfsg1-1build1) ... 324s Selecting previously unselected package libhypre-2.28.0:arm64. 324s Preparing to unpack .../416-libhypre-2.28.0_2.28.0-8build1_arm64.deb ... 324s Unpacking libhypre-2.28.0:arm64 (2.28.0-8build1) ... 325s Selecting previously unselected package openmpi-common. 325s Preparing to unpack .../417-openmpi-common_4.1.6-7ubuntu1_all.deb ... 325s Unpacking openmpi-common (4.1.6-7ubuntu1) ... 325s Selecting previously unselected package openmpi-bin. 325s Preparing to unpack .../418-openmpi-bin_4.1.6-7ubuntu1_arm64.deb ... 325s Unpacking openmpi-bin (4.1.6-7ubuntu1) ... 325s Selecting previously unselected package mpi-default-bin. 325s Preparing to unpack .../419-mpi-default-bin_1.15_arm64.deb ... 325s Unpacking mpi-default-bin (1.15) ... 325s Selecting previously unselected package libscalapack-openmpi2.2:arm64. 325s Preparing to unpack .../420-libscalapack-openmpi2.2_2.2.1-3build1_arm64.deb ... 325s Unpacking libscalapack-openmpi2.2:arm64 (2.2.1-3build1) ... 325s Selecting previously unselected package libmumps-5.6t64:arm64. 325s Preparing to unpack .../421-libmumps-5.6t64_5.6.2-2.1build1_arm64.deb ... 325s Unpacking libmumps-5.6t64:arm64 (5.6.2-2.1build1) ... 326s Selecting previously unselected package libsuperlu6:arm64. 326s Preparing to unpack .../422-libsuperlu6_6.0.1+dfsg1-1_arm64.deb ... 326s Unpacking libsuperlu6:arm64 (6.0.1+dfsg1-1) ... 326s Selecting previously unselected package libscotch-7.0:arm64. 326s Preparing to unpack .../423-libscotch-7.0_7.0.4-1ubuntu1_arm64.deb ... 326s Unpacking libscotch-7.0:arm64 (7.0.4-1ubuntu1) ... 326s Selecting previously unselected package libtrilinos-kokkos-13.2:arm64. 326s Preparing to unpack .../424-libtrilinos-kokkos-13.2_13.2.0-5build1_arm64.deb ... 326s Unpacking libtrilinos-kokkos-13.2:arm64 (13.2.0-5build1) ... 326s Selecting previously unselected package libtrilinos-teuchos-13.2:arm64. 326s Preparing to unpack .../425-libtrilinos-teuchos-13.2_13.2.0-5build1_arm64.deb ... 326s Unpacking libtrilinos-teuchos-13.2:arm64 (13.2.0-5build1) ... 326s Selecting previously unselected package libtrilinos-epetra-13.2:arm64. 326s Preparing to unpack .../426-libtrilinos-epetra-13.2_13.2.0-5build1_arm64.deb ... 326s Unpacking libtrilinos-epetra-13.2:arm64 (13.2.0-5build1) ... 326s Selecting previously unselected package libtrilinos-triutils-13.2:arm64. 326s Preparing to unpack .../427-libtrilinos-triutils-13.2_13.2.0-5build1_arm64.deb ... 326s Unpacking libtrilinos-triutils-13.2:arm64 (13.2.0-5build1) ... 327s Selecting previously unselected package libtrilinos-epetraext-13.2:arm64. 327s Preparing to unpack .../428-libtrilinos-epetraext-13.2_13.2.0-5build1_arm64.deb ... 327s Unpacking libtrilinos-epetraext-13.2:arm64 (13.2.0-5build1) ... 327s Selecting previously unselected package libtrilinos-trilinosss-13.2:arm64. 327s Preparing to unpack .../429-libtrilinos-trilinosss-13.2_13.2.0-5build1_arm64.deb ... 327s Unpacking libtrilinos-trilinosss-13.2:arm64 (13.2.0-5build1) ... 327s Selecting previously unselected package libtrilinos-amesos-13.2:arm64. 327s Preparing to unpack .../430-libtrilinos-amesos-13.2_13.2.0-5build1_arm64.deb ... 327s Unpacking libtrilinos-amesos-13.2:arm64 (13.2.0-5build1) ... 327s Selecting previously unselected package libtrilinos-aztecoo-13.2:arm64. 327s Preparing to unpack .../431-libtrilinos-aztecoo-13.2_13.2.0-5build1_arm64.deb ... 327s Unpacking libtrilinos-aztecoo-13.2:arm64 (13.2.0-5build1) ... 327s Selecting previously unselected package libtrilinos-galeri-13.2:arm64. 327s Preparing to unpack .../432-libtrilinos-galeri-13.2_13.2.0-5build1_arm64.deb ... 327s Unpacking libtrilinos-galeri-13.2:arm64 (13.2.0-5build1) ... 329s Selecting previously unselected package libtrilinos-ifpack-13.2:arm64. 329s Preparing to unpack .../433-libtrilinos-ifpack-13.2_13.2.0-5build1_arm64.deb ... 329s Unpacking libtrilinos-ifpack-13.2:arm64 (13.2.0-5build1) ... 329s Selecting previously unselected package libtrilinos-zoltan-13.2:arm64. 329s Preparing to unpack .../434-libtrilinos-zoltan-13.2_13.2.0-5build1_arm64.deb ... 329s Unpacking libtrilinos-zoltan-13.2:arm64 (13.2.0-5build1) ... 329s Selecting previously unselected package libtrilinos-ml-13.2:arm64. 329s Preparing to unpack .../435-libtrilinos-ml-13.2_13.2.0-5build1_arm64.deb ... 329s Unpacking libtrilinos-ml-13.2:arm64 (13.2.0-5build1) ... 329s Selecting previously unselected package libumfpack6:arm64. 329s Preparing to unpack .../436-libumfpack6_1%3a7.6.1+dfsg-1_arm64.deb ... 329s Unpacking libumfpack6:arm64 (1:7.6.1+dfsg-1) ... 329s Selecting previously unselected package libpetsc-real3.19t64:arm64. 329s Preparing to unpack .../437-libpetsc-real3.19t64_3.19.6+dfsg1-2.2ubuntu1_arm64.deb ... 329s Unpacking libpetsc-real3.19t64:arm64 (3.19.6+dfsg1-2.2ubuntu1) ... 329s Selecting previously unselected package libsundials-nvecparallel-petsc6:arm64. 329s Preparing to unpack .../438-libsundials-nvecparallel-petsc6_6.4.1+dfsg1-3build3_arm64.deb ... 329s Unpacking libsundials-nvecparallel-petsc6:arm64 (6.4.1+dfsg1-3build3) ... 329s Selecting previously unselected package libsundials-sunmatrix4:arm64. 329s Preparing to unpack .../439-libsundials-sunmatrix4_6.4.1+dfsg1-3build3_arm64.deb ... 329s Unpacking libsundials-sunmatrix4:arm64 (6.4.1+dfsg1-3build3) ... 329s Selecting previously unselected package libsundials-sunlinsol3:arm64. 329s Preparing to unpack .../440-libsundials-sunlinsol3_6.4.1+dfsg1-3build3_arm64.deb ... 329s Unpacking libsundials-sunlinsol3:arm64 (6.4.1+dfsg1-3build3) ... 329s Selecting previously unselected package libtext-unidecode-perl. 329s Preparing to unpack .../441-libtext-unidecode-perl_1.30-3_all.deb ... 329s Unpacking libtext-unidecode-perl (1.30-3) ... 329s Selecting previously unselected package texinfo-lib. 329s Preparing to unpack .../442-texinfo-lib_7.1-3build1_arm64.deb ... 329s Unpacking texinfo-lib (7.1-3build1) ... 329s Selecting previously unselected package tex-common. 329s Preparing to unpack .../443-tex-common_6.18_all.deb ... 329s Unpacking tex-common (6.18) ... 329s Selecting previously unselected package texinfo. 329s Preparing to unpack .../444-texinfo_7.1-3build1_all.deb ... 329s Unpacking texinfo (7.1-3build1) ... 330s Selecting previously unselected package octave-common. 330s Preparing to unpack .../445-octave-common_8.4.0-1build4_all.deb ... 330s Unpacking octave-common (8.4.0-1build4) ... 332s Selecting previously unselected package octave. 332s Preparing to unpack .../446-octave_8.4.0-1build4_arm64.deb ... 332s Unpacking octave (8.4.0-1build4) ... 332s Selecting previously unselected package libncurses-dev:arm64. 333s Preparing to unpack .../447-libncurses-dev_6.4+20240113-1ubuntu1_arm64.deb ... 333s Unpacking libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 333s Selecting previously unselected package libreadline-dev:arm64. 333s Preparing to unpack .../448-libreadline-dev_8.2-3.1_arm64.deb ... 333s Unpacking libreadline-dev:arm64 (8.2-3.1) ... 333s Selecting previously unselected package libhdf5-fortran-102t64:arm64. 333s Preparing to unpack .../449-libhdf5-fortran-102t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 333s Unpacking libhdf5-fortran-102t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 333s Selecting previously unselected package libhdf5-hl-100t64:arm64. 333s Preparing to unpack .../450-libhdf5-hl-100t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 333s Unpacking libhdf5-hl-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 333s Selecting previously unselected package libhdf5-hl-fortran-100t64:arm64. 333s Preparing to unpack .../451-libhdf5-hl-fortran-100t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 333s Unpacking libhdf5-hl-fortran-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 333s Selecting previously unselected package libhdf5-cpp-103-1t64:arm64. 333s Preparing to unpack .../452-libhdf5-cpp-103-1t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 333s Unpacking libhdf5-cpp-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 333s Selecting previously unselected package libhdf5-hl-cpp-100t64:arm64. 333s Preparing to unpack .../453-libhdf5-hl-cpp-100t64_1.10.10+repack-3.1ubuntu3_arm64.deb ... 333s Unpacking libhdf5-hl-cpp-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 333s Selecting previously unselected package zlib1g-dev:arm64. 333s Preparing to unpack .../454-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 333s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 334s Selecting previously unselected package libjpeg-turbo8-dev:arm64. 334s Preparing to unpack .../455-libjpeg-turbo8-dev_2.1.5-2ubuntu1_arm64.deb ... 334s Unpacking libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 334s Selecting previously unselected package libjpeg8-dev:arm64. 334s Preparing to unpack .../456-libjpeg8-dev_8c-2ubuntu11_arm64.deb ... 334s Unpacking libjpeg8-dev:arm64 (8c-2ubuntu11) ... 334s Selecting previously unselected package libjpeg-dev:arm64. 334s Preparing to unpack .../457-libjpeg-dev_8c-2ubuntu11_arm64.deb ... 334s Unpacking libjpeg-dev:arm64 (8c-2ubuntu11) ... 334s Selecting previously unselected package libaec-dev:arm64. 334s Preparing to unpack .../458-libaec-dev_1.1.2-1_arm64.deb ... 334s Unpacking libaec-dev:arm64 (1.1.2-1) ... 334s Selecting previously unselected package libcurl4-openssl-dev:arm64. 334s Preparing to unpack .../459-libcurl4-openssl-dev_8.5.0-2ubuntu7_arm64.deb ... 334s Unpacking libcurl4-openssl-dev:arm64 (8.5.0-2ubuntu7) ... 334s Selecting previously unselected package libssl-dev:arm64. 334s Preparing to unpack .../460-libssl-dev_3.0.13-0ubuntu2_arm64.deb ... 334s Unpacking libssl-dev:arm64 (3.0.13-0ubuntu2) ... 335s Selecting previously unselected package hdf5-helpers. 335s Preparing to unpack .../461-hdf5-helpers_1.10.10+repack-3.1ubuntu3_arm64.deb ... 335s Unpacking hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 335s Selecting previously unselected package libhdf5-dev. 335s Preparing to unpack .../462-libhdf5-dev_1.10.10+repack-3.1ubuntu3_arm64.deb ... 335s Unpacking libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 335s Selecting previously unselected package xorg-sgml-doctools. 335s Preparing to unpack .../463-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 335s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 335s Selecting previously unselected package x11proto-dev. 335s Preparing to unpack .../464-x11proto-dev_2023.2-1_all.deb ... 335s Unpacking x11proto-dev (2023.2-1) ... 336s Selecting previously unselected package libxau-dev:arm64. 336s Preparing to unpack .../465-libxau-dev_1%3a1.0.9-1build5_arm64.deb ... 336s Unpacking libxau-dev:arm64 (1:1.0.9-1build5) ... 336s Selecting previously unselected package libxdmcp-dev:arm64. 336s Preparing to unpack .../466-libxdmcp-dev_1%3a1.1.3-0ubuntu5_arm64.deb ... 336s Unpacking libxdmcp-dev:arm64 (1:1.1.3-0ubuntu5) ... 336s Selecting previously unselected package xtrans-dev. 336s Preparing to unpack .../467-xtrans-dev_1.4.0-1_all.deb ... 336s Unpacking xtrans-dev (1.4.0-1) ... 336s Selecting previously unselected package libpthread-stubs0-dev:arm64. 336s Preparing to unpack .../468-libpthread-stubs0-dev_0.4-1build2_arm64.deb ... 336s Unpacking libpthread-stubs0-dev:arm64 (0.4-1build2) ... 336s Selecting previously unselected package libxcb1-dev:arm64. 336s Preparing to unpack .../469-libxcb1-dev_1.15-1_arm64.deb ... 336s Unpacking libxcb1-dev:arm64 (1.15-1) ... 336s Selecting previously unselected package libx11-dev:arm64. 336s Preparing to unpack .../470-libx11-dev_2%3a1.8.7-1_arm64.deb ... 336s Unpacking libx11-dev:arm64 (2:1.8.7-1) ... 336s Selecting previously unselected package libglx-dev:arm64. 336s Preparing to unpack .../471-libglx-dev_1.7.0-1_arm64.deb ... 336s Unpacking libglx-dev:arm64 (1.7.0-1) ... 337s Selecting previously unselected package libgl-dev:arm64. 337s Preparing to unpack .../472-libgl-dev_1.7.0-1_arm64.deb ... 337s Unpacking libgl-dev:arm64 (1.7.0-1) ... 337s Selecting previously unselected package libblas-dev:arm64. 337s Preparing to unpack .../473-libblas-dev_3.12.0-3_arm64.deb ... 337s Unpacking libblas-dev:arm64 (3.12.0-3) ... 337s Selecting previously unselected package liblapack-dev:arm64. 337s Preparing to unpack .../474-liblapack-dev_3.12.0-3_arm64.deb ... 337s Unpacking liblapack-dev:arm64 (3.12.0-3) ... 338s Selecting previously unselected package libfftw3-bin. 338s Preparing to unpack .../475-libfftw3-bin_3.3.10-1ubuntu2_arm64.deb ... 338s Unpacking libfftw3-bin (3.3.10-1ubuntu2) ... 338s Selecting previously unselected package libfftw3-dev:arm64. 338s Preparing to unpack .../476-libfftw3-dev_3.3.10-1ubuntu2_arm64.deb ... 338s Unpacking libfftw3-dev:arm64 (3.3.10-1ubuntu2) ... 338s Selecting previously unselected package libgfortran-13-dev:arm64. 338s Preparing to unpack .../477-libgfortran-13-dev_13.2.0-19ubuntu1_arm64.deb ... 338s Unpacking libgfortran-13-dev:arm64 (13.2.0-19ubuntu1) ... 338s Selecting previously unselected package gfortran-13-aarch64-linux-gnu. 338s Preparing to unpack .../478-gfortran-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 338s Unpacking gfortran-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 339s Selecting previously unselected package gfortran-13. 339s Preparing to unpack .../479-gfortran-13_13.2.0-19ubuntu1_arm64.deb ... 339s Unpacking gfortran-13 (13.2.0-19ubuntu1) ... 339s Selecting previously unselected package gfortran-aarch64-linux-gnu. 339s Preparing to unpack .../480-gfortran-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 339s Unpacking gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 339s Selecting previously unselected package gfortran. 339s Preparing to unpack .../481-gfortran_4%3a13.2.0-7ubuntu1_arm64.deb ... 339s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 340s Selecting previously unselected package libstdc++-13-dev:arm64. 340s Preparing to unpack .../482-libstdc++-13-dev_13.2.0-19ubuntu1_arm64.deb ... 340s Unpacking libstdc++-13-dev:arm64 (13.2.0-19ubuntu1) ... 341s Selecting previously unselected package g++-13-aarch64-linux-gnu. 341s Preparing to unpack .../483-g++-13-aarch64-linux-gnu_13.2.0-19ubuntu1_arm64.deb ... 341s Unpacking g++-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 341s Selecting previously unselected package g++-13. 341s Preparing to unpack .../484-g++-13_13.2.0-19ubuntu1_arm64.deb ... 341s Unpacking g++-13 (13.2.0-19ubuntu1) ... 341s Selecting previously unselected package g++-aarch64-linux-gnu. 341s Preparing to unpack .../485-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 342s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 342s Selecting previously unselected package g++. 342s Preparing to unpack .../486-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 342s Unpacking g++ (4:13.2.0-7ubuntu1) ... 342s Selecting previously unselected package octave-dev. 342s Preparing to unpack .../487-octave-dev_8.4.0-1build4_arm64.deb ... 342s Unpacking octave-dev (8.4.0-1build4) ... 342s Selecting previously unselected package dh-octave. 342s Preparing to unpack .../488-dh-octave_1.8.0_all.deb ... 342s Unpacking dh-octave (1.8.0) ... 343s Selecting previously unselected package libfontenc1:arm64. 343s Preparing to unpack .../489-libfontenc1_1%3a1.1.8-1_arm64.deb ... 343s Unpacking libfontenc1:arm64 (1:1.1.8-1) ... 343s Selecting previously unselected package libunwind8:arm64. 343s Preparing to unpack .../490-libunwind8_1.6.2-3_arm64.deb ... 343s Unpacking libunwind8:arm64 (1.6.2-3) ... 343s Selecting previously unselected package libxt6t64:arm64. 343s Preparing to unpack .../491-libxt6t64_1%3a1.2.1-1.2_arm64.deb ... 343s Unpacking libxt6t64:arm64 (1:1.2.1-1.2) ... 343s Selecting previously unselected package libxmu6:arm64. 343s Preparing to unpack .../492-libxmu6_2%3a1.1.3-3build1_arm64.deb ... 343s Unpacking libxmu6:arm64 (2:1.1.3-3build1) ... 343s Selecting previously unselected package libxaw7:arm64. 343s Preparing to unpack .../493-libxaw7_2%3a1.0.14-1build1_arm64.deb ... 343s Unpacking libxaw7:arm64 (2:1.0.14-1build1) ... 343s Selecting previously unselected package libxfont2:arm64. 343s Preparing to unpack .../494-libxfont2_1%3a2.0.6-1_arm64.deb ... 343s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 343s Selecting previously unselected package libxkbfile1:arm64. 343s Preparing to unpack .../495-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 343s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 343s Selecting previously unselected package libxrandr2:arm64. 343s Preparing to unpack .../496-libxrandr2_2%3a1.5.2-2_arm64.deb ... 343s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 344s Selecting previously unselected package python3-mpmath. 344s Preparing to unpack .../497-python3-mpmath_1.2.1-3_all.deb ... 344s Unpacking python3-mpmath (1.2.1-3) ... 344s Selecting previously unselected package python3-sympy. 344s Preparing to unpack .../498-python3-sympy_1.12-7_all.deb ... 344s Unpacking python3-sympy (1.12-7) ... 345s Selecting previously unselected package octave-symbolic. 345s Preparing to unpack .../499-octave-symbolic_3.1.1-2_all.deb ... 345s Unpacking octave-symbolic (3.1.1-2) ... 346s Selecting previously unselected package x11-xkb-utils. 346s Preparing to unpack .../500-x11-xkb-utils_7.7+8build1_arm64.deb ... 346s Unpacking x11-xkb-utils (7.7+8build1) ... 346s Selecting previously unselected package xserver-common. 346s Preparing to unpack .../501-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 346s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 346s Selecting previously unselected package xvfb. 346s Preparing to unpack .../502-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 346s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 346s Selecting previously unselected package autopkgtest-satdep. 346s Preparing to unpack .../503-1-autopkgtest-satdep.deb ... 346s Unpacking autopkgtest-satdep (0) ... 346s Setting up libhwy1t64:arm64 (1.0.7-8.1) ... 346s Setting up libgraphite2-3:arm64 (1.3.14-2) ... 346s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 346s Setting up liblcms2-2:arm64 (2.14-2) ... 346s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 346s Setting up libsharpyuv0:arm64 (1.3.2-0.4build2) ... 346s Setting up libwayland-server0:arm64 (1.22.0-2.1) ... 346s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 346s Setting up libpciaccess0:arm64 (0.17-3) ... 346s Setting up libibverbs1:arm64 (50.0-2build1) ... 346s Setting up libdouble-conversion3:arm64 (3.3.0-1) ... 346s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 346s Setting up libmpg123-0:arm64 (1.32.5-1build1) ... 346s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 346s Setting up libogg0:arm64 (1.3.5-3) ... 346s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 346s Setting up libgdbm6t64:arm64 (1.23-5.1) ... 346s Setting up libxpm4:arm64 (1:3.5.17-1build1) ... 346s Setting up hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 346s Setting up libwmflite-0.2-7:arm64 (0.2.13-1.1build2) ... 346s Setting up libxcb-xinput0:arm64 (1.15-1) ... 346s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 346s Setting up libdatrie1:arm64 (0.2.13-3) ... 346s Setting up libtext-glob-perl (0.11-3) ... 346s Setting up libgdbm-compat4t64:arm64 (1.23-5.1) ... 346s Setting up ibverbs-providers:arm64 (50.0-2build1) ... 347s Setting up libxcb-render0:arm64 (1.15-1) ... 347s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ... 347s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 347s Setting up libglvnd0:arm64 (1.7.0-1) ... 347s Setting up libscotch-7.0:arm64 (7.0.4-1ubuntu1) ... 347s Setting up libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 347s Setting up libxcb-glx0:arm64 (1.15-1) ... 347s Setting up unzip (6.0-28ubuntu3) ... 347s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 347s Setting up libxcb-keysyms1:arm64 (0.4.0-1build3) ... 347s Setting up libxcb-shape0:arm64 (1.15-1) ... 347s Setting up x11-common (1:7.7+23ubuntu2) ... 348s Setting up libcxsparse4:arm64 (1:7.6.1+dfsg-1) ... 348s Setting up libpsl5t64:arm64 (0.21.2-1.1) ... 348s Setting up libdeflate0:arm64 (1.19-1) ... 348s Setting up libcurl3t64-gnutls:arm64 (8.5.0-2ubuntu7) ... 348s Setting up perl-openssl-defaults:arm64 (7build1) ... 348s Setting up linux-libc-dev:arm64 (6.8.0-20.20) ... 348s Setting up m4 (1.4.19-4) ... 348s Setting up libqhull-r8.0:arm64 (2020.2-6) ... 348s Setting up libxcb-render-util0:arm64 (0.3.9-1build3) ... 348s Setting up libtrilinos-kokkos-13.2:arm64 (13.2.0-5build1) ... 348s Setting up libmetis5:arm64 (5.1.0.dfsg-7build2) ... 348s Setting up libxcb-shm0:arm64 (1.15-1) ... 348s Setting up libxcb-icccm4:arm64 (0.4.1-1.1build2) ... 348s Setting up libgomp1:arm64 (14-20240315-1ubuntu1) ... 348s Setting up locales (2.39-0ubuntu6) ... 351s Generating locales (this might take a while)... 361s en_US.UTF-8... done 361s Generation complete. 361s Setting up libunwind8:arm64 (1.6.2-3) ... 361s Setting up libpthread-stubs0-dev:arm64 (0.4-1build2) ... 361s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ... 361s Setting up octave-common (8.4.0-1build4) ... 361s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 361s Setting up libaec0:arm64 (1.1.2-1) ... 361s Setting up libopengl0:arm64 (1.7.0-1) ... 361s Setting up libelf1t64:arm64 (0.190-1.1build2) ... 361s Setting up libxcb-util1:arm64 (0.4.0-1build2) ... 361s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 361s Setting up libxcb-xkb1:arm64 (1.15-1) ... 361s Setting up libxcb-image0:arm64 (0.4.0-2) ... 361s Setting up libnumber-compare-perl (0.03-3) ... 361s Setting up libdw1t64:arm64 (0.190-1.1build2) ... 361s Setting up libxnvctrl0:arm64 (510.47.03-0ubuntu1) ... 361s Setting up libxcb-present0:arm64 (1.15-1) ... 361s Setting up libtrilinos-trilinosss-13.2:arm64 (13.2.0-5build1) ... 361s Setting up libasound2-data (1.2.11-1build1) ... 361s Setting up tex-common (6.18) ... 362s update-language: texlive-base not installed and configured, doing nothing! 362s Setting up libbtf2:arm64 (1:7.6.1+dfsg-1) ... 362s Setting up xtrans-dev (1.4.0-1) ... 362s Setting up libfontenc1:arm64 (1:1.1.8-1) ... 362s Setting up autotools-dev (20220109.1) ... 362s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu5) ... 362s No schema files found: doing nothing. 362s Setting up libblas3:arm64 (3.12.0-3) ... 362s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 362s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 362s Setting up libxcb-xinerama0:arm64 (1.15-1) ... 362s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 362s Setting up libasound2t64:arm64 (1.2.11-1build1) ... 362s Setting up gcc-13-base:arm64 (13.2.0-19ubuntu1) ... 362s Setting up libmunge2:arm64 (0.5.15-4) ... 362s Setting up libllvm17t64:arm64 (1:17.0.6-9build1) ... 362s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 362s Setting up libxcb-sync1:arm64 (1.15-1) ... 362s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 362s Setting up lzip (1.24.1-1) ... 362s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 362s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 362s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 362s Setting up libavahi-common-data:arm64 (0.8-13ubuntu4) ... 362s Setting up perl-modules-5.38 (5.38.2-3.2) ... 362s Setting up libopus0:arm64 (1.4-1) ... 362s Setting up t1utils (1.41-4build2) ... 362s Setting up libxinerama1:arm64 (2:1.1.4-3) ... 362s Setting up diffstat (1.66-1) ... 362s Setting up libxkbcommon-x11-0:arm64 (1.6.0-1) ... 362s Setting up fonts-dejavu-mono (2.37-8) ... 362s Setting up libssl-dev:arm64 (3.0.13-0ubuntu2) ... 362s Setting up libpng16-16t64:arm64 (1.6.43-3) ... 362s Setting up libhwloc15:arm64 (2.10.0-1) ... 362s Setting up libmpc3:arm64 (1.3.1-1) ... 362s Setting up libevent-core-2.1-7:arm64 (2.1.12-stable-9build1) ... 362s Setting up libatomic1:arm64 (14-20240315-1ubuntu1) ... 362s Setting up libvorbis0a:arm64 (1.3.7-1build2) ... 362s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 362s Setting up autopoint (0.21-14ubuntu1) ... 362s Setting up fonts-dejavu-core (2.37-8) ... 362s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu5) ... 362s Setting up libjxl0.7:arm64 (0.7.0-10.2ubuntu3) ... 362s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 362s Setting up libltdl7:arm64 (2.4.7-7) ... 362s Setting up libfftw3-double3:arm64 (3.3.10-1ubuntu2) ... 362s Setting up libglapi-mesa:arm64 (24.0.2-1ubuntu8) ... 362s Setting up libgfortran5:arm64 (14-20240315-1ubuntu1) ... 362s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 362s Setting up libwebp7:arm64 (1.3.2-0.4build2) ... 362s Setting up libdb5.3t64:arm64 (5.3.28+dfsg2-5build1) ... 362s Setting up libubsan1:arm64 (14-20240315-1ubuntu1) ... 362s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 362s Setting up dwz (0.15-1build5) ... 362s Setting up libdav1d7:arm64 (1.4.0-1) ... 362s Setting up libmtdev1t64:arm64 (1.1.6-1.1) ... 362s Setting up ocl-icd-libopencl1:arm64 (2.3.2-1) ... 362s Setting up libxshmfence1:arm64 (1.3-1build4) ... 362s Setting up libhwasan0:arm64 (14-20240315-1ubuntu1) ... 362s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 362s Setting up libxcb-randr0:arm64 (1.15-1) ... 362s Setting up libasan8:arm64 (14-20240315-1ubuntu1) ... 362s Setting up lzop (1.04-2build2) ... 362s Setting up openmpi-common (4.1.6-7ubuntu1) ... 362s Setting up debugedit (1:5.0-5build1) ... 362s Setting up libmd4c0:arm64 (0.4.8-1) ... 362s Setting up libsuitesparseconfig7:arm64 (1:7.6.1+dfsg-1) ... 362s Setting up librdmacm1t64:arm64 (50.0-2build1) ... 362s Setting up liblua5.4-0:arm64 (5.4.6-3build1) ... 362s Setting up libharfbuzz0b:arm64 (8.3.0-2build1) ... 362s Setting up libthai-data (0.1.29-2) ... 362s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 362s Setting up libglu1-mesa:arm64 (9.0.2-1.1) ... 362s Setting up libamd-comgr2:arm64 (6.0+git20231212.4510c28+dfsg-3build1) ... 362s Setting up libflac12t64:arm64 (1.4.3+ds-2.1ubuntu1) ... 362s Setting up libperl5.38t64:arm64 (5.38.2-3.2) ... 362s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 362s Setting up libtsan2:arm64 (14-20240315-1ubuntu1) ... 362s Setting up python3-mpmath (1.2.1-3) ... 365s Setting up libisl23:arm64 (0.26-3) ... 365s Setting up libde265-0:arm64 (1.0.15-1build1) ... 365s Setting up libc-dev-bin (2.39-0ubuntu6) ... 365s Setting up libsamplerate0:arm64 (0.2.2-4) ... 365s Setting up openssl (3.0.13-0ubuntu2) ... 365s Setting up libwebpmux3:arm64 (1.3.2-0.4build2) ... 365s Setting up libxfont2:arm64 (1:2.0.6-1) ... 365s Setting up readline-common (8.2-3.1) ... 365s Setting up libmarkdown2:arm64 (2.2.7-2) ... 365s Setting up libcc1-0:arm64 (14-20240315-1ubuntu1) ... 365s Setting up libxmuu1:arm64 (2:1.1.3-3build1) ... 365s Setting up info (7.1-3build1) ... 365s Setting up liblsan0:arm64 (14-20240315-1ubuntu1) ... 365s Setting up libmp3lame0:arm64 (3.100-6) ... 365s Setting up libblas-dev:arm64 (3.12.0-3) ... 365s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode 365s Setting up libsz2:arm64 (1.1.2-1) ... 365s Setting up libitm1:arm64 (14-20240315-1ubuntu1) ... 365s Setting up libvorbisenc2:arm64 (1.3.7-1build2) ... 365s Setting up libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9build1) ... 365s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 365s Setting up libwacom-common (2.10.0-1build1) ... 365s Setting up libwayland-client0:arm64 (1.22.0-2.1) ... 365s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 365s Setting up x11proto-dev (2023.2-1) ... 365s Setting up libfabric1:arm64 (1.17.0-3build1) ... 365s Setting up python3-sympy (1.12-7) ... 385s Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 385s Setting up libice6:arm64 (2:1.0.10-1build2) ... 385s Setting up liblapack3:arm64 (3.12.0-3) ... 385s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 385s Setting up gettext (0.21-14ubuntu1) ... 385s Setting up libarpack2t64:arm64 (3.9.1-1.1build1) ... 385s Setting up libfftw3-single3:arm64 (3.3.10-1ubuntu2) ... 385s Setting up apt-utils (2.7.13ubuntu1) ... 385s Setting up libamd3:arm64 (1:7.6.1+dfsg-1) ... 385s Setting up libxau-dev:arm64 (1:1.0.9-1build5) ... 385s Setting up cpp-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 385s Setting up libcurl4t64:arm64 (8.5.0-2ubuntu7) ... 385s Setting up libgbm1:arm64 (24.0.2-1ubuntu8) ... 385s Setting up libcolamd3:arm64 (1:7.6.1+dfsg-1) ... 385s Setting up libwacom9:arm64 (2.10.0-1build1) ... 385s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 386s Setting up libxcursor1:arm64 (1:1.2.1-1) ... 386s Setting up libgl1-mesa-dri:arm64 (24.0.2-1ubuntu8) ... 386s Setting up libaec-dev:arm64 (1.1.2-1) ... 386s Setting up libavahi-common3:arm64 (0.8-13ubuntu4) ... 386s Setting up libfftw3-long3:arm64 (3.3.10-1ubuntu2) ... 386s Setting up libsundials-sunmatrix4:arm64 (6.4.1+dfsg1-3build3) ... 386s Setting up libsuperlu6:arm64 (6.0.1+dfsg1-1) ... 386s Setting up libhwloc-plugins:arm64 (2.10.0-1) ... 386s Setting up libqrupdate1:arm64 (1.1.2-4) ... 386s Setting up libsundials-ida6:arm64 (6.4.1+dfsg1-3build3) ... 386s Setting up libcamd3:arm64 (1:7.6.1+dfsg-1) ... 386s Setting up libinput-bin (1.25.0-1build1) ... 386s Setting up libthai0:arm64 (0.1.29-2) ... 386s Setting up libxdmcp-dev:arm64 (1:1.1.3-0ubuntu5) ... 386s Setting up libqt5core5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 386s Setting up perl (5.38.2-3.2) ... 386s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 386s Setting up libegl-mesa0:arm64 (24.0.2-1ubuntu8) ... 386s Setting up libclass-data-inheritable-perl (0.08-3) ... 386s Setting up libxs-parse-keyword-perl (0.39-1build2) ... 386s Setting up libalgorithm-c3-perl (0.11-2) ... 386s Setting up liblog-log4perl-perl (1.57-1) ... 386s Setting up libtext-reform-perl (1.20-5) ... 386s Setting up libglpk40:arm64 (5.0-1build1) ... 386s Setting up libfile-find-rule-perl (0.34-3) ... 386s Setting up libcurl4-openssl-dev:arm64 (8.5.0-2ubuntu7) ... 386s Setting up libipc-system-simple-perl (1.30-2) ... 386s Setting up libio-tiecombine-perl (1.005-3) ... 386s Setting up libnet-domain-tld-perl (1.75-3) ... 386s Setting up libperlio-utf8-strict-perl (0.010-1build2) ... 386s Setting up liblapack-dev:arm64 (3.12.0-3) ... 386s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode 386s Setting up libvariable-magic-perl (0.63-1build2) ... 386s Setting up libio-html-perl (1.004-3) ... 386s Setting up libtext-template-perl (1.61-1) ... 386s Setting up libpod-parser-perl (1.67-1) ... 386s Setting up libb-hooks-op-check-perl:arm64 (0.22-3) ... 386s Setting up liblist-moreutils-xs-perl (0.430-3build4) ... 386s Setting up libpmix2t64:arm64 (5.0.1-4.1) ... 386s Setting up libparams-util-perl (1.102-2build2) ... 386s Setting up libtime-duration-perl (1.21-2) ... 386s Setting up autoconf (2.71-3) ... 386s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 386s Setting up libccolamd3:arm64 (1:7.6.1+dfsg-1) ... 386s Setting up libarray-intspan-perl (2.004-2) ... 386s Setting up libcapture-tiny-perl (0.48-2) ... 386s Setting up libtimedate-perl (2.3300-2) ... 386s Setting up libreadline8t64:arm64 (8.2-3.1) ... 386s Setting up libexporter-lite-perl (0.09-2) ... 386s Setting up libsub-name-perl:arm64 (0.27-1build2) ... 386s Setting up libsyntax-keyword-try-perl (0.29-1build2) ... 386s Setting up libjack-jackd2-0:arm64 (1.9.21~dfsg-3ubuntu1) ... 386s Setting up libdata-validate-domain-perl (0.10-1.1) ... 386s Setting up libproc-processtable-perl:arm64 (0.636-1build2) ... 386s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 386s Setting up libgcc-13-dev:arm64 (13.2.0-19ubuntu1) ... 386s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu1) ... 386s Setting up libpath-tiny-perl (0.144-1) ... 386s Setting up libjson-perl (4.10000-1) ... 386s Setting up libegl1:arm64 (1.7.0-1) ... 386s Setting up libqt5sql5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 386s Setting up libipc-run3-perl (0.049-1) ... 386s Setting up libregexp-wildcards-perl (1.05-3) ... 386s Setting up libsub-uplevel-perl (0.2800-3) ... 386s Setting up libsub-override-perl (0.10-1) ... 386s Setting up libc6-dev:arm64 (2.39-0ubuntu6) ... 386s Setting up libaliased-perl (0.34-3) ... 386s Setting up libstrictures-perl (2.000006-1) ... 386s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 386s Setting up libdevel-stacktrace-perl (2.0500-1) ... 386s Setting up libclass-xsaccessor-perl (1.19-4build3) ... 386s Setting up libtext-autoformat-perl (1.750000-2) ... 386s Setting up curl (8.5.0-2ubuntu7) ... 386s Setting up libtoml-tiny-perl (0.16-1) ... 386s Setting up libfontconfig1:arm64 (2.15.0-1.1ubuntu1) ... 386s Setting up libsndfile1:arm64 (1.2.2-1ubuntu3) ... 386s Setting up libsort-versions-perl (1.62-3) ... 386s Setting up libexporter-tiny-perl (1.006002-1) ... 386s Setting up libterm-readkey-perl (2.38-2build3) ... 386s Setting up libhdf5-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 386s Setting up libtext-unidecode-perl (1.30-3) ... 386s Setting up libgfortran-13-dev:arm64 (13.2.0-19ubuntu1) ... 386s Setting up libtext-levenshteinxs-perl (0.03-5build3) ... 386s Setting up libperlio-gzip-perl (0.20-1build3) ... 386s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 386s Setting up libhtml-html5-entities-perl (0.004-3) ... 386s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 386s Setting up libavahi-client3:arm64 (0.8-13ubuntu4) ... 386s Setting up libsereal-decoder-perl (5.004+ds-1build2) ... 386s Setting up liburi-perl (5.27-1) ... 386s Setting up libnet-ipv6addr-perl (1.02-1) ... 386s Setting up libhsakmt1:arm64 (5.7.0-1) ... 386s Setting up libstdc++-13-dev:arm64 (13.2.0-19ubuntu1) ... 386s Setting up libemail-address-xs-perl (1.05-1build3) ... 386s Setting up libnet-ssleay-perl:arm64 (1.94-1build2) ... 386s Setting up automake (1:1.16.5-1.3ubuntu1) ... 386s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 386s Setting up libapt-pkg-perl (0.1.40build5) ... 386s Setting up libmodule-pluggable-perl (5.2-4) ... 386s Setting up libstring-escape-perl (2010.002-3) ... 386s Setting up libberkeleydb-perl:arm64 (0.64-2build2) ... 386s Setting up libinput10:arm64 (1.25.0-1build1) ... 386s Setting up libhdf5-hl-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 386s Setting up libportaudio2:arm64 (19.6.0-1.2build1) ... 386s Setting up libhttp-date-perl (6.06-1) ... 386s Setting up libfile-which-perl (1.27-2) ... 386s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 388s Regenerating fonts cache... done. 388s Setting up libjpeg-turbo8-dev:arm64 (2.1.5-2ubuntu1) ... 388s Setting up libcholmod5:arm64 (1:7.6.1+dfsg-1) ... 389s Setting up libxft2:arm64 (2.3.6-1) ... 389s Setting up libncurses-dev:arm64 (6.4+20240113-1ubuntu1) ... 389s Setting up libqt5dbus5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 389s Setting up libfile-basedir-perl (0.09-2) ... 389s Setting up libunicode-utf8-perl (0.62-2build2) ... 389s Setting up libglx-mesa0:arm64 (24.0.2-1ubuntu8) ... 389s Setting up libset-intspan-perl (1.19-3) ... 389s Setting up libxcb1-dev:arm64 (1.15-1) ... 389s Setting up libmouse-perl (2.5.10-1build7) ... 389s Setting up libfile-listing-perl (6.16-1) ... 389s Setting up libpod-pom-perl (2.01-4) ... 389s Setting up libregexp-pattern-perl (0.2.14-2) ... 389s Setting up libglx0:arm64 (1.7.0-1) ... 389s Setting up cpp-13 (13.2.0-19ubuntu1) ... 389s Setting up libdata-messagepack-perl (1.02-1build3) ... 389s Setting up libdynaloader-functions-perl (0.003-3) ... 389s Setting up libclass-method-modifiers-perl (2.15-1) ... 389s Setting up liblist-compare-perl (0.55-2) ... 389s Setting up libspqr4:arm64 (1:7.6.1+dfsg-1) ... 389s Setting up libfftw3-bin (3.3.10-1ubuntu2) ... 389s Setting up libclone-perl:arm64 (0.46-1build2) ... 389s Setting up libarchive-zip-perl (1.68-1) ... 389s Setting up libsub-identify-perl (0.14-3build2) ... 389s Setting up libcpanel-json-xs-perl:arm64 (4.37-1build2) ... 389s Setting up libio-stringy-perl (2.111-3) ... 389s Setting up liblist-moreutils-perl (0.430-2) ... 389s Setting up libhtml-tagset-perl (3.20-6) ... 389s Setting up liblog-any-perl (1.717-1) ... 389s Setting up libyaml-pp-perl (0.38.0-1) ... 389s Setting up libdevel-size-perl (0.83-2build3) ... 389s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 389s Setting up libpod-constants-perl (0.19-2) ... 389s Setting up libregexp-pattern-license-perl (3.11.0-1) ... 389s Setting up libconvert-binhex-perl (1.125-3) ... 389s Setting up libpango-1.0-0:arm64 (1.52.1+ds-1) ... 389s Setting up libhdf5-cpp-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 389s Setting up liblwp-mediatypes-perl (6.04-2) ... 389s Setting up libqt5network5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 389s Setting up libyaml-libyaml-perl (0.89+ds-1build1) ... 389s Setting up libio-interactive-perl (1.025-1) ... 389s Setting up libtry-tiny-perl (0.31-2) ... 389s Setting up libx11-dev:arm64 (2:1.8.7-1) ... 389s Setting up libmldbm-perl (2.05-4) ... 389s Setting up libxml-namespacesupport-perl (1.12-2) ... 389s Setting up libnet-http-perl (6.23-1) ... 389s Setting up libpath-iterator-rule-perl (1.015-2) ... 389s Setting up libtext-markdown-discount-perl (0.16-1build2) ... 389s Setting up libhdf5-fortran-102t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 389s Setting up libclone-choose-perl (0.010-2) ... 389s Setting up libqt5xml5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 389s Setting up libtime-moment-perl (0.44-2build3) ... 389s Setting up libencode-locale-perl (1.05-3) ... 389s Setting up libexception-class-perl (1.45-1) ... 389s Setting up gcc-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 389s Setting up libclass-c3-perl (0.35-2) ... 389s Setting up texinfo-lib (7.1-3build1) ... 389s Setting up libreadline-dev:arm64 (8.2-3.1) ... 389s Setting up libconfig-tiny-perl (2.30-1) ... 389s Setting up libsereal-encoder-perl (5.004+ds-1build2) ... 389s Setting up libdevel-callchecker-perl:arm64 (0.008-2build2) ... 389s Setting up liblist-utilsby-perl (0.12-2) ... 389s Setting up libyaml-tiny-perl (1.74-1) ... 389s Setting up libcairo2:arm64 (1.18.0-1ubuntu1) ... 389s Setting up libregexp-common-perl (2017060201-3) ... 389s Setting up libnet-netmask-perl (2.0002-2) ... 389s Setting up libsub-install-perl (0.929-1) ... 389s Setting up libindirect-perl (0.39-2build3) ... 389s Setting up libxs-parse-sublike-perl:arm64 (0.21-2build2) ... 389s Setting up intltool-debian (0.35.0+20060710.6) ... 389s Setting up libobject-pad-perl (0.808-1build2) ... 389s Setting up liberror-perl (0.17029-2) ... 389s Setting up patchutils (0.4.2-1build2) ... 389s Setting up libjson-maybexs-perl (1.004005-1) ... 389s Setting up libxml-sax-base-perl (1.09-3) ... 389s Setting up libio-string-perl (1.08-4) ... 389s Setting up libboolean-perl (0.46-3) ... 389s Setting up libnetaddr-ip-perl (4.079+dfsg-2build3) ... 389s Setting up libgl1:arm64 (1.7.0-1) ... 389s Setting up libtest-exception-perl (0.43-3) ... 389s Setting up libstring-copyright-perl (0.003014-1) ... 389s Setting up libklu2:arm64 (1:7.6.1+dfsg-1) ... 389s Setting up libxt6t64:arm64 (1:1.2.1-1.2) ... 389s Setting up libgd3:arm64 (2.3.3-9ubuntu3) ... 389s Setting up gcc-13 (13.2.0-19ubuntu1) ... 389s Setting up libdata-optlist-perl (0.114-1) ... 389s Setting up libtext-xslate-perl:arm64 (3.5.9-1build4) ... 389s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 389s Setting up libwww-robotrules-perl (6.02-1) ... 389s Setting up libumfpack6:arm64 (1:7.6.1+dfsg-1) ... 389s Setting up libhsa-runtime64-1 (5.7.1-1build1) ... 389s Setting up cpp (4:13.2.0-7ubuntu1) ... 389s Setting up libhtml-parser-perl:arm64 (3.81-1build2) ... 389s Setting up liblog-any-adapter-screen-perl (0.140-2) ... 389s Setting up librole-tiny-perl (2.002004-1) ... 389s Setting up libmousex-strictconstructor-perl (0.02-3) ... 389s Setting up libglx-dev:arm64 (1.7.0-1) ... 389s Setting up libmro-compat-perl (0.15-2) ... 389s Setting up libpangoft2-1.0-0:arm64 (1.52.1+ds-1) ... 389s Setting up libjpeg8-dev:arm64 (8c-2ubuntu11) ... 389s Setting up libhdf5-hl-cpp-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 389s Setting up libfont-ttf-perl (1.06-2) ... 389s Setting up libfile-homedir-perl (1.006-2) ... 389s Setting up libfltk1.3t64:arm64 (1.3.8-6.1) ... 389s Setting up libfftw3-dev:arm64 (3.3.10-1ubuntu2) ... 389s Setting up libcups2t64:arm64 (2.4.7-1.2ubuntu1) ... 389s Setting up libgl-dev:arm64 (1.7.0-1) ... 389s Setting up libio-socket-ssl-perl (2.085-1) ... 389s Setting up libsub-exporter-perl (0.990-1) ... 389s Setting up libpangocairo-1.0-0:arm64 (1.52.1+ds-1) ... 389s Setting up libhttp-message-perl (6.45-1ubuntu1) ... 389s Setting up libdata-validate-ip-perl (0.31-1) ... 389s Setting up libmousex-nativetraits-perl (1.09-3) ... 389s Setting up libhtml-form-perl (6.11-1) ... 389s Setting up libiterator-perl (0.03+ds1-2) ... 389s Setting up g++-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 389s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 389s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 389s Setting up g++-13 (13.2.0-19ubuntu1) ... 389s Setting up libhttp-negotiate-perl (6.01-2) ... 389s Setting up libcarp-assert-more-perl (2.3.0-1) ... 389s Setting up libxmu6:arm64 (2:1.1.3-3build1) ... 389s Setting up libiterator-util-perl (0.02+ds1-2) ... 389s Setting up libhttp-cookies-perl (6.11-1) ... 389s Setting up libtool (2.4.7-7) ... 389s Setting up po-debconf (1.0.21+nmu1) ... 389s Setting up libhtml-tree-perl (5.07-3) ... 389s Setting up libparams-classify-perl:arm64 (0.015-2build4) ... 389s Setting up libcgi-pm-perl (4.63-1) ... 389s Setting up libhash-merge-perl (0.302-1) ... 389s Setting up libsoftware-copyright-perl (0.012-2) ... 389s Setting up libjpeg-dev:arm64 (8c-2ubuntu11) ... 389s Setting up gfortran-13-aarch64-linux-gnu (13.2.0-19ubuntu1) ... 389s Setting up libhdf5-hl-fortran-100t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 389s Setting up libxaw7:arm64 (2:1.0.14-1build1) ... 389s Setting up libxml-sax-perl (1.02+dfsg-3) ... 389s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 390s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 390s 390s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 390s Setting up gcc (4:13.2.0-7ubuntu1) ... 390s Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... 390s Setting up dh-autoreconf (20) ... 390s Setting up libfltk-gl1.3t64:arm64 (1.3.8-6.1) ... 390s Setting up libqt5gui5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 390s Setting up libdata-validate-uri-perl (0.07-3) ... 390s Setting up libamdhip64-5 (5.2.3-12) ... 390s Setting up libnet-smtp-ssl-perl (1.04-2) ... 390s Setting up libmodule-runtime-perl (0.016-2) ... 390s Setting up libmailtools-perl (2.21-2) ... 390s Setting up gfortran-13 (13.2.0-19ubuntu1) ... 390s Setting up libconfig-model-perl (2.153-3) ... 390s Setting up libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 390s update-alternatives: using /usr/lib/aarch64-linux-gnu/pkgconfig/hdf5-serial.pc to provide /usr/lib/aarch64-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 390s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 391s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 391s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 391s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 392s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 392s Setting up dh-strip-nondeterminism (1.13.1-1) ... 392s Setting up libconst-fast-perl (0.014-2) ... 392s Setting up libdata-section-perl (0.200008-1) ... 392s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 392s Setting up gfortran-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 392s Setting up gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 392s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 392s Setting up libdata-dpath-perl (0.59-1) ... 392s Setting up libstring-rewriteprefix-perl (0.009-1) ... 392s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 392s Setting up libucx0:arm64 (1.16.0+ds-4) ... 392s Setting up libmodule-implementation-perl (0.09-2) ... 392s Setting up libqt5widgets5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 392s Setting up libpackage-stash-perl (0.40-1) ... 392s Setting up libimport-into-perl (1.002005-2) ... 392s Setting up x11-xkb-utils (7.7+8build1) ... 392s Setting up libmoo-perl (2.005005-1) ... 392s Setting up liblist-someutils-perl (0.59-1) ... 392s Setting up debhelper (13.14.1ubuntu5) ... 392s Setting up libmime-tools-perl (5.514-1) ... 392s Setting up libqt5help5:arm64 (5.15.12-2build2) ... 392s Setting up gfortran (4:13.2.0-7ubuntu1) ... 392s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 392s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 392s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 392s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 392s Setting up libsoftware-license-perl (0.104006-1) ... 392s Setting up libclass-load-perl (0.25-2) ... 392s Setting up dh-octave-autopkgtest (1.8.0) ... 392s Setting up texinfo (7.1-3build1) ... 392s Setting up libopenmpi3t64:arm64 (4.1.6-7ubuntu1) ... 392s Setting up g++ (4:13.2.0-7ubuntu1) ... 392s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 392s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 392s Setting up libmoox-aliases-perl (0.001006-2) ... 392s Setting up libparams-validate-perl:arm64 (1.31-2build2) ... 392s Setting up libb-hooks-endofscope-perl (0.28-1) ... 392s Setting up openmpi-bin (4.1.6-7ubuntu1) ... 392s update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode 392s update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode 392s Setting up libqt5printsupport5t64:arm64 (5.15.12+dfsg-3ubuntu6) ... 392s Setting up libptscotch-7.0:arm64 (7.0.4-1ubuntu1) ... 392s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 392s Setting up xvfb (2:21.1.11-2ubuntu1) ... 392s Setting up mpi-default-bin (1.15) ... 392s Setting up libcombblas2.0.0t64:arm64 (2.0.0-3.1build1) ... 392s Setting up libfftw3-mpi3:arm64 (3.3.10-1ubuntu2) ... 392s Setting up libqscintilla2-qt5-15:arm64 (2.14.1+dfsg-1build2) ... 392s Setting up libtrilinos-zoltan-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libhdf5-openmpi-103-1t64:arm64 (1.10.10+repack-3.1ubuntu3) ... 392s Setting up libtrilinos-teuchos-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libtrilinos-epetra-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libnamespace-clean-perl (0.27-2) ... 392s Setting up libstring-license-perl (0.0.9-2ubuntu1) ... 392s Setting up libgetopt-long-descriptive-perl (0.111-1) ... 392s Setting up libtrilinos-aztecoo-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libtrilinos-triutils-13.2:arm64 (13.2.0-5build1) ... 392s Setting up licensecheck (3.3.9-1ubuntu1) ... 392s Setting up libscalapack-openmpi2.2:arm64 (2.2.1-3build1) ... 392s Setting up libsuperlu-dist8:arm64 (8.2.1+dfsg1-1build1) ... 392s Setting up libapp-cmd-perl (0.336-1) ... 392s Setting up libmumps-5.6t64:arm64 (5.6.2-2.1build1) ... 392s Setting up libhypre-2.28.0:arm64 (2.28.0-8build1) ... 392s Setting up libtrilinos-epetraext-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libtrilinos-galeri-13.2:arm64 (13.2.0-5build1) ... 392s Setting up cme (1.040-1) ... 392s Setting up libtrilinos-amesos-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libtrilinos-ifpack-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libtrilinos-ml-13.2:arm64 (13.2.0-5build1) ... 392s Setting up libpetsc-real3.19t64:arm64 (3.19.6+dfsg1-2.2ubuntu1) ... 392s update-alternatives: using /usr/lib/aarch64-linux-gnu/libpetsc_real.so.3.19.6 to provide /usr/lib/aarch64-linux-gnu/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode 392s Setting up libsundials-nvecparallel-petsc6:arm64 (6.4.1+dfsg1-3build3) ... 392s Setting up libsundials-sunlinsol3:arm64 (6.4.1+dfsg1-3build3) ... 392s Setting up libheif-plugin-dav1d:arm64 (1.17.6-1ubuntu2) ... 392s Setting up liblwp-protocol-https-perl (6.13-1) ... 392s Setting up libheif-plugin-libde265:arm64 (1.17.6-1ubuntu2) ... 392s Setting up libwww-perl (6.76-1) ... 392s Setting up libheif1:arm64 (1.17.6-1ubuntu2) ... 392s Setting up libparse-debcontrol-perl (2.005-6) ... 393s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 393s Setting up libwww-mechanize-perl (2.18-1ubuntu1) ... 393s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 393s Setting up lintian (2.117.0ubuntu1) ... 393s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 393s Setting up libconfig-model-dpkg-perl (3.004) ... 393s Setting up octave (8.4.0-1build4) ... 393s Setting up octave-dev (8.4.0-1build4) ... 393s Setting up dh-octave (1.8.0) ... 393s Setting up octave-symbolic (3.1.1-2) ... 393s Setting up autopkgtest-satdep (0) ... 393s Processing triggers for libc-bin (2.39-0ubuntu6) ... 393s Processing triggers for man-db (2.12.0-3) ... 398s Processing triggers for udev (255.2-3ubuntu2) ... 399s Processing triggers for install-info (7.1-3build1) ... 461s (Reading database ... 95562 files and directories currently installed.) 461s Removing autopkgtest-satdep (0) ... 462s autopkgtest [19:48:48]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 462s autopkgtest [19:48:48]: test command1: [----------------------- 462s Checking package... 465s Run the unit tests... 466s Checking m files ... 466s [inst/laguerreL.m] 466s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/laguerreL.m 466s ***** error laguerreL (1) 467s ***** error laguerreL (1, 2, 3) 467s ***** assert (isequal (laguerreL (0, rand), 1)) 467s ***** test 467s x = rand; 467s assert (isequal (laguerreL (1, x), 1 - x)) 467s ***** test 467s x=rand; 467s y1=laguerreL(2, x); 467s p2=[.5 -2 1]; 467s y2=polyval(p2,x); 467s assert(y1 - y2, 0, 10*eps); 467s ***** test 467s x=rand; 467s y1=laguerreL(3, x); 467s p3=[-1/6 9/6 -18/6 1]; 467s y2=polyval(p3,x); 467s assert(y1 - y2, 0, 20*eps); 467s ***** test 467s x=rand; 467s y1=laguerreL(4, x); 467s p4=[1/24 -16/24 72/24 -96/24 1]; 467s y2=polyval(p4,x); 467s assert(y1 - y2, 0, 30*eps) 467s ***** error laguerreL(1.5, 10) 467s ***** error laguerreL([0 1], [1 2 3]) 467s ***** error laguerreL([0 1], [1; 2]) 467s ***** test 467s % numerically stable implementation (in n) 467s L = laguerreL (10, 10); 467s Lex = 1763/63; 467s assert (L, Lex, -eps) 467s L = laguerreL (20, 10); 467s Lex = -177616901779/14849255421; % e.g., laguerreL(sym(20),10) 467s assert (L, Lex, -eps) 467s ***** test 467s % vectorized x 467s L = laguerreL (2, [5 6 7]); 467s Lex = [3.5 7 11.5]; 467s assert (L, Lex, eps) 467s ***** test 467s L = laguerreL (0, [4 5]); 467s assert (L, [1 1], eps) 467s ***** test 467s % vector n 467s L = laguerreL ([0 1 2 3], [4 5 6 9]); 467s assert (L, [1 -4 7 -26], eps) 467s ***** test 467s % vector n, scalar x 467s L = laguerreL ([0 1 2 3], 6); 467s assert (L, [1 -5 7 1], eps) 467s ***** assert (isa (laguerreL (0, single (1)), 'single')) 467s ***** assert (isa (laguerreL (1, single ([1 2])), 'single')) 467s ***** assert (isa (laguerreL ([1 2], single ([1 2])), 'single')) 467s 18 tests, 18 passed, 0 known failure, 0 skipped 467s [inst/poly2sym.m] 467s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/poly2sym.m 467s ***** shared x,y,a,b,c,p 467s syms x y a b c 467s p = x^3 + 2*x^2 + 3*x + 4; 470s Symbolic pkg v3.1.1: Python communication link active, SymPy v1.12. 472s ***** assert(isAlways( poly2sym([1 2 3 4]) == p )) 473s ***** assert(isAlways( poly2sym([1 2 3 4],x) == p )) 474s ***** assert(isAlways( poly2sym([1 2 3 4],y) == subs(p,x,y) )) 475s ***** assert(isAlways( poly2sym([1 2 3 4],5) == subs(p,x,5) )) 476s ***** assert(isequal( poly2sym ([1]), 1 )) 477s ***** assert(isequal( poly2sym ([]), 0 )) 477s ***** assert(isAlways( poly2sym(sym([1 2 3 4]),x) == p )) 478s ***** assert(isAlways( poly2sym([a b c],x) == a*x^2 + b*x + c )) 479s ***** assert(isAlways( poly2sym([a b c]) == a*x^2 + b*x + c )) 481s ***** assert(isequal( poly2sym(sym([])), 0 )) 481s ***** assert(isAlways( poly2sym({sym(1) sym(2)}, x) == x + 2 )) 482s ***** assert(isequal( poly2sym ({1}), 1 )) 482s ***** assert(isequal( poly2sym ({}), 0 )) 482s ***** assert(isequal( poly2sym ({1}, x), 1 )) 483s ***** assert(isequal( poly2sym ({}, x), 0 )) 483s ***** assert(isAlways( poly2sym([x x], x) == x^2 + x )) 484s ***** test 484s % mixed cell array with doubles and syms 484s assert (isequal (poly2sym ({2.0 sym(3) int64(4)}), 2*x^2 + 3*x + 4)) 485s ***** test 485s % string for x 485s p = poly2sym ([1 2], 's'); 485s syms s 485s assert (isequal (p, s + 2)) 486s warning: test: file /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/poly2sym.m leaked file descriptors 486s 18 tests, 18 passed, 0 known failure, 0 skipped 486s [inst/cell2sym.m] 486s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/cell2sym.m 486s ***** test 486s A = {1 2 3; 4 5 6}; 486s B = [1 2 3; 4 5 6]; 486s assert (isequal (cell2sym(A), sym(B))) 487s ***** test 487s A = {'a' 'b'; 'c' 10}; 487s B = [sym('a') sym('b'); sym('c') sym(10)]; 487s assert (isequal (cell2sym(A), B)) 488s 2 tests, 2 passed, 0 known failure, 0 skipped 488s [inst/assumptions.m] 488s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/assumptions.m 488s ***** test 488s syms x 488s assert(isempty(assumptions(x))) 488s ***** test 488s x = sym('x', 'positive'); 488s a = assumptions(x); 488s assert(~isempty(strfind(a{1}, 'positive'))) 489s ***** test 489s syms x 489s assert(isempty(assumptions(x))) 489s ***** test 489s clear variables % for matlab test script 489s syms x positive 489s assert(~isempty(assumptions())) 489s clear x 489s assert(isempty(assumptions())) 489s ***** test 489s % make sure we have at least these possible assumptions 489s A = {'real' 'positive' 'negative' 'integer' 'even' 'odd' 'rational'}; 489s B = assumptions('possible'); 489s assert (isempty (setdiff(A, B))) 489s ***** test 489s A = assumptions('possible'); 489s for i = 1:length(A) 489s x = sym('x', A{i}); 489s a = assumptions(x); 489s assert(strcmp(a{1}, ['x: ' A{i}] )) 489s s1 = sympy (x); 489s s2 = ['Symbol(''x'', ' A{i} '=True)']; 489s assert (strcmp (s1, s2)) 489s end 493s ***** test 493s syms x positive 493s syms y real 493s syms z 493s f = x*y*z; 493s a = assumptions(f); 493s assert(length(a) == 2) 493s assert(~isempty(strfind(a{1}, 'positive'))) 493s assert(~isempty(strfind(a{2}, 'real'))) 493s ***** test 493s % dict output 493s syms x positive 493s syms y real 493s syms z 493s f = x*y*z; 493s [v, d] = assumptions(f, 'dict'); 493s assert(length(v) == 2) 493s assert(iscell(v)) 493s assert(isa(v{1}, 'sym')) 493s assert(isa(v{2}, 'sym')) 493s assert(length(d) == 2) 493s assert(iscell(d)) 493s assert(isstruct(d{1})) 493s assert(isstruct(d{2})) 494s ***** test 494s %% assumptions on just the vars in an expression 494s clear variables % for matlab test script 494s syms x y positive 494s f = 2*x; 494s assert(length(assumptions(f))==1) 494s assert(length(assumptions())==2) 494s ***** test 494s %% assumptions in cell/struct 494s clear variables % for matlab test script 494s syms x y z w positive 494s f = {2*x [1 2 y] {1, {z}}}; 494s assert(length(assumptions())==4) 494s assert(length(assumptions(f))==3) 494s clear x y z w 494s assert(length(assumptions())==3) 494s assert(length(assumptions(f))==3) 496s ***** test 496s % multiple assumptions 496s n = sym('n', 'negative', 'even'); 496s assert (logical (n < 0)) 496s assert (~(logical (n > 0))) 496s assert (~(logical (n == -1))) 497s ***** test 497s % multiple assumptions: eqn neither true nor false 497s n = sym('n', 'negative', 'even'); 497s assert (~isequal (n, sym(true)) && ~isequal (n, sym(false))) 497s ***** test 497s %% TODO: rewrite later with https://github.com/cbm755/octsympy/issues/622 497s a = pycall_sympy__ ('return Symbol("a", real=False)'); 497s assert (strcmp (assumptions (a), {'a: ~real'})) 497s 13 tests, 13 passed, 0 known failure, 0 skipped 497s [inst/heaviside.m] 497s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/heaviside.m 497s ***** assert (heaviside (0) == 0.5) 497s ***** assert (isnan (heaviside (nan))) 497s ***** assert (isequal (heaviside ([-inf -eps 0 eps inf]), [0 0 0.5 1 1])) 497s ***** assert (isequaln (heaviside ([-1 1 nan]), [0 1 nan])) 497s ***** assert (heaviside (0, 1) == 1) 497s ***** error heaviside (1i) 497s ***** assert (isa (heaviside (single (0)), 'single')) 497s 7 tests, 7 passed, 0 known failure, 0 skipped 497s [inst/@symfun/isequaln.m] 497s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/isequaln.m 497s ***** error isequaln (symfun('x + 1', x)) 497s ***** test 497s syms x y 497s f(x) = 2*x; 497s g(x) = 2*x; 497s assert (isequaln (f, g)) 498s ***** test 498s syms x 498s f(x) = 2*x + 1; 498s g(x) = 2*x + 1; 498s h(x) = 2*x + 1; 498s assert (isequaln (f, g, h)) 498s ***** test 498s syms x 498s f(x) = 2*x + 1; 498s g(x) = 2*x + 1; 498s h(x) = 2*x; 498s assert (~ isequaln (f, g, h)) 499s ***** test 500s syms x y 500s f(x) = 2*x; 500s g(x, y) = 2*x; 500s assert (~ isequaln (f, g)) 500s ***** test 500s syms x y 500s f(x) = symfun(nan, x); 500s g(x) = symfun(nan, x); 500s assert (isequaln (f, g)) 500s ***** test 500s syms x y 500s f(x) = symfun(nan, x); 500s g(x, y) = symfun(nan, x); 500s assert (~ isequaln (f, g)) 501s 7 tests, 7 passed, 0 known failure, 0 skipped 501s [inst/@symfun/mldivide.m] 501s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/mldivide.m 501s ***** test 501s syms x 501s f(x) = x^2; 501s assert( isa(f\f, 'symfun')) 501s assert( isa(f\x, 'symfun')) 501s 1 test, 1 passed, 0 known failure, 0 skipped 501s [inst/@symfun/formula.m] 501s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/formula.m 501s ***** test 501s % simple 501s syms x 501s f(x) = sin(x); 501s g = formula(f); 501s assert (isequal (g, sin(x))); 502s ***** test 502s % concrete: return is a sym, not a symfun 502s syms x 502s f(x) = sin(x); 502s g = formula(f); 502s assert (~isa(g, 'symfun')); 502s ***** test 502s % abstract: return is a sym, not a symfun 502s syms f(x) 502s g = formula(f); 502s assert (~isa(g, 'symfun')); 502s 3 tests, 3 passed, 0 known failure, 0 skipped 502s [inst/@symfun/mpower.m] 502s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/mpower.m 502s ***** test 502s syms x 502s f(x) = 2*x; 502s h = f^f; 502s assert( isa(h, 'symfun')) 502s assert (isequal (formula (h), (2*x)^(2*x))) 502s h = f^sym(2); 502s assert( isa(h, 'symfun')) 502s assert (isequal (formula (h), 4*x^2)) 503s 1 test, 1 passed, 0 known failure, 0 skipped 503s [inst/@symfun/mtimes.m] 503s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/mtimes.m 503s ***** test 503s syms x 503s f(x) = x^2; 503s assert( isa(f * f, 'symfun')) 503s assert( isa(f * x, 'symfun')) 503s 1 test, 1 passed, 0 known failure, 0 skipped 504s [inst/@symfun/power.m] 504s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/power.m 504s ***** test 504s syms x 504s f(x) = 2*x; 504s h = f.^f; 504s assert( isa(h, 'symfun')) 504s assert (isequal (formula (h), (2*x)^(2*x))) 504s ***** test 504s syms x 504s f(x) = [x 2*x]; 504s h = f.^[x 3]; 504s assert( isa(h, 'symfun')) 504s assert (isequal (formula (h), [x^x 8*x^3])) 505s 2 tests, 2 passed, 0 known failure, 0 skipped 505s [inst/@symfun/private_disp_name.m] 505s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/private_disp_name.m 505s ***** test 505s syms f(x) 505s s = private_disp_name(f, 'f'); 505s assert (strcmp (s, 'f(x)')) 505s ***** test 505s syms x y 505s g(y, x) = x + y; 505s s = private_disp_name(g, 'g'); 505s assert (strcmp (s, 'g(y, x)')) 505s ***** test 505s syms f(x) 505s assert (isempty (private_disp_name(f, ''))) 506s 3 tests, 3 passed, 0 known failure, 0 skipped 506s [inst/@symfun/ldivide.m] 506s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/ldivide.m 506s ***** test 506s syms x 506s f(x) = x^2; 506s assert( isa(f .\ f, 'symfun')) 506s assert( isa(f .\ x, 'symfun')) 506s 1 test, 1 passed, 0 known failure, 0 skipped 506s [inst/@symfun/minus.m] 506s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/minus.m 506s ***** test 506s syms x 506s f(x) = x^2; 506s assert( isa(f - f, 'symfun')) 506s assert( isa(f - x, 'symfun')) 507s ***** test 507s % Octave bug #42735 fixed in 4.4.2 507s syms x 507s f(x) = x^2; 507s g = x^2; 507s h = x - f; assert (isa (h, 'symfun') && isequal (formula (h), x - g)) 507s h = x + f; assert (isa (h, 'symfun') && isequal (formula (h), x + g)) 507s h = x * f; assert (isa (h, 'symfun') && isequal (formula (h), x * g)) 507s h = x / f; assert (isa (h, 'symfun') && isequal (formula (h), x / g)) 507s h = x ^ f; assert (isa (h, 'symfun') && isequal (formula (h), x ^ g)) 507s h = x .* f; assert (isa (h, 'symfun') && isequal (formula (h), x .* g)) 507s h = x ./ f; assert (isa (h, 'symfun') && isequal (formula (h), x ./ g)) 507s h = x .^ f; assert (isa (h, 'symfun') && isequal (formula (h), x .^ g)) 509s ***** test 509s % different variables 509s syms x y 509s f(x) = 2*x; 509s g(y) = sin(y); 509s h = f - g(x); 509s assert( isa(h, 'symfun')) 509s assert( isequal (argnames (h), argnames (f))) 509s assert (isequal (formula (h), 2*x - sin(x))) 509s % and even if rh-sym has a dummy variable: 509s h = f - g(y); 509s assert( isa(h, 'symfun')) 509s assert( isequal (argnames (h), argnames(f))) 509s assert (isequal (formula (h), 2*x - sin(y))) 510s ***** test 510s % different variables, f has more 510s syms x y 510s f(x,y) = 2*x*y; 510s g(y) = sin(y); 510s h = f - g(y) + g(x); 510s assert( isa(h, 'symfun')) 510s assert( isequal (argnames (h), argnames (f))) 510s assert (isequal (formula (h), 2*x*y - sin(y) + sin(x))) 511s 4 tests, 4 passed, 0 known failure, 0 skipped 511s [inst/@symfun/mrdivide.m] 511s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/mrdivide.m 511s ***** test 511s syms x 511s f(x) = x^2; 511s assert( isa(f/f, 'symfun')) 511s assert( isa(f/x, 'symfun')) 512s 1 test, 1 passed, 0 known failure, 0 skipped 512s [inst/@symfun/symvar.m] 512s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/symvar.m 512s ***** test 512s % basic 512s syms f(t, s) 512s assert (isempty (symvar (f, 0))) 512s assert (isequal (symvar (f, 1), t)) 512s assert (isequal (symvar (f, 2), [t s])) 512s assert (isequal (symvar (f, 3), [t s])) 514s ***** test 514s % note preference for vars of symfun, if n requested 514s syms x f(y) 514s assert (isequal (symvar(f*x, 1), y)) 514s assert (isequal (symvar(f(y)*x, 1), x)) 514s ***** test 514s % symfun, checked smt 514s syms x f(y) 514s a = f*x; 514s b = f(y)*x; 514s assert (isequal (symvar(a), [x y])) 514s assert (isequal (symvar(b), [x y])) 516s ***** test 516s % preference for the explicit variables 516s syms a x f(t, s) 516s h = f*a + x; 516s assert (isequal (symvar (h, 1), t)) 516s assert (isequal (symvar (h, 2), [t s])) 516s assert (isequal (symvar (h, 3), [t s x])) 516s assert (isequal (symvar (h, 4), [t s x a])) 516s assert (isequal (symvar (h, 5), [t s x a])) 516s assert (isequal (symvar (h), [a s t x])) 523s ***** test 523s % symfun dep on some vars only, matches smt w/ n 523s syms x s t 523s f(s) = x; 523s g(s, t) = x*s; 523s assert (isequal (symvar(f, 1), s)) 523s assert (isequal (symvar(f, 2), [s x])) 523s assert (isequal (symvar(g, 1), s)) 523s assert (isequal (symvar(g, 2), [s t])) 523s assert (isequal (symvar(g, 3), [s t x])) 526s ***** test 526s % A documented difference from SMT on symvar(symfun) w/o n 526s syms x s t 526s f(s) = x; 526s g(s, t) = x*s; 526s % SMT would have 526s %assert (isequal (symvar(f), x)) % no s 526s %assert (isequal (symvar(g), [s x])) % no t 526s assert (isequal (symvar(f), [s x])) 526s assert (isequal (symvar(g), [s t x])) 528s 6 tests, 6 passed, 0 known failure, 0 skipped 528s [inst/@symfun/isequal.m] 528s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/isequal.m 528s ***** error isequal (symfun('x + 1', x)) 528s ***** test 528s syms x y 528s f(x) = 2*x; 528s g(x) = 2*x; 528s assert (isequal (f, g)) 528s ***** test 528s syms x 528s f(x) = 2*x + 1; 528s g(x) = 2*x + 1; 528s h(x) = 2*x + 1; 528s assert (isequal (f, g, h)) 529s ***** test 529s syms x 529s f(x) = 2*x + 1; 529s g(x) = 2*x + 1; 529s h(x) = 2*x; 529s assert (~ isequal (f, g, h)) 530s ***** test 530s syms x y 530s f(x) = 2*x; 530s g(x, y) = 2*x; 530s assert (~ isequal (f, g)) 530s ***** test 530s syms x y 530s f(x) = symfun(nan, x); 530s g(x) = symfun(nan, x); 530s assert (~ isequal (f, g)) 531s 6 tests, 6 passed, 0 known failure, 0 skipped 531s [inst/@symfun/diff.m] 531s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/diff.m 531s ***** test 531s % concrete fcn 531s syms x 531s f(x) = x*x; 531s g(x) = 2*x; 531s assert (logical (diff(f) == g)) 531s assert (isa (diff(f), 'symfun')) 532s ***** test 532s % abstract fcn 532s syms y(x) 532s assert (logical (diff(y) == diff(y(x)))) 532s assert (isa (diff(y), 'symfun')) 533s 2 tests, 2 passed, 0 known failure, 0 skipped 533s [inst/@symfun/uminus.m] 533s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/uminus.m 533s ***** test 533s % Issue #447 533s syms x 533s f(x) = x^2; 533s assert (isa (-f, 'symfun')) 533s ***** test 533s syms f(x) 533s h = -f; 533s assert (isa (h, 'symfun')) 533s 2 tests, 2 passed, 0 known failure, 0 skipped 533s [inst/@symfun/subsref.m] 533s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/subsref.m 533s ***** test 533s syms x 533s f(x) = x^2; 533s v = f.vars; 533s assert(iscell(v)) 533s assert(length(v)==1) 533s assert(isequal(v{1},x)) 534s ***** test 534s %% pass through to sym properties 534s syms x 534s f(x) = x^2; 534s y = x^2; % not a symfun 534s assert(strcmp(f.flat, y.flat)) 534s 2 tests, 2 passed, 0 known failure, 0 skipped 534s [inst/@symfun/numel.m] 534s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/numel.m 534s ***** test 534s syms x 534s f(x) = x^2; 534s assert(numel(f)==1) 534s ***** test 534s syms x 534s f(x) = [1 x]; 534s assert(numel(f)==1) 534s 2 tests, 2 passed, 0 known failure, 0 skipped 534s [inst/@symfun/int.m] 534s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/int.m 534s ***** test 534s % indefinite integral of symfun gives symfun 534s syms x 534s f(x) = x^2; 534s g = int(f); 534s assert (isa(g, 'symfun')) 534s g = int(f, x); 534s assert (isa(g, 'symfun')) 535s ***** test 535s % indefinite integral of abstract symfun gives symfun 535s syms f(x) 535s g = int(f); 535s assert (isa(g, 'symfun')) 535s g = int(f, x); 535s assert (isa(g, 'symfun')) 536s ***** test 536s % definite integral does not give symfun 536s syms x 536s f(x) = x^2; 536s g = int(f, x, 0, 2); 536s assert (isa(g, 'sym')) 536s assert (~isa(g, 'symfun')) 537s ***** test 537s % ... even if it has a variable in it 537s syms x t 537s f(x) = x; 537s g = int(f, x, 0, t); 537s assert (isa(g, 'sym')) 537s assert (~isa(g, 'symfun')) 537s ***** test 537s % ... even if the input is abstract funcion 537s syms f(x) 537s g = int(f, x, 0, 2); 537s assert (isa(g, 'sym')) 537s assert (~isa(g, 'symfun')) 537s ***** test 537s % symfun in x, integrated in y gives symfun still in x 537s % (SMT does this too). 537s syms f(x) y 537s g = int(f, y); 537s assert (isa (g, 'symfun')) 537s assert (isequal (argnames (g), x)) 538s ***** test 538s % same as above, but concrete symfun 538s syms x y 538s f(x) = x^2; 538s g = int(f, y); 538s assert (isa (g, 'symfun')) 538s assert (isequal (argnames (g), x)) 538s assert (isequal (formula(g), x^2*y)) 538s 7 tests, 7 passed, 0 known failure, 0 skipped 538s [inst/@symfun/plus.m] 538s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/plus.m 538s ***** test 538s syms x 538s f(x) = x^2; 538s assert( isa(f + f, 'symfun')) 538s assert( isa(f + x, 'symfun')) 539s 1 test, 1 passed, 0 known failure, 0 skipped 539s [inst/@symfun/rdivide.m] 539s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/rdivide.m 539s ***** test 539s syms x 539s f(x) = x^2; 539s assert( isa(f./f, 'symfun')) 539s assert( isa(f./[x x^2], 'symfun')) 539s ***** test 539s syms x 539s f(x) = [x 2*x]; 539s h = f./[x 2]; 539s assert( isa(h, 'symfun')) 539s assert (isequal (formula (h), [1 x])) 540s 2 tests, 2 passed, 0 known failure, 0 skipped 540s [inst/@symfun/argnames.m] 540s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/argnames.m 540s ***** test 540s % basic test 540s syms f(x) 540s assert (isequal (argnames (f), x)) 540s ***** test 540s % Multiple variables, abstract symfun 540s syms f(t, x, y) 540s assert (isequal (argnames (f), [t x y])) 541s ***** test 541s % Concrete symfun 541s syms x y z t 541s f(t, x, y) = x + y + z; 541s assert (isequal (argnames (f), [t x y])) 541s 3 tests, 3 passed, 0 known failure, 0 skipped 541s [inst/@symfun/symfun.m] 541s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/symfun.m 541s ***** error symfun (1, sym('x'), 3) 541s ***** error symfun ('f', sym('x')) 541s ***** test 541s syms x y 541s syms f(x) 541s assert(isa(f,'symfun')) 541s clear f 541s f(x,y) = sym('f(x,y)'); 541s assert(isa(f,'symfun')) 542s :18: SyntaxWarning: invalid escape sequence '\(' 542s ***** test 542s % symfuns are syms as well 542s syms x 542s f(x) = 2*x; 542s assert (isa (f, 'symfun')) 542s assert (isa (f, 'sym')) 542s assert (isequal (f(3), 6)) 542s assert (isequal (f(sin(x)), 2*sin(x))) 542s ***** test 542s syms x y 542s f = symfun(sym('f(x)'), {x}); 542s assert(isa(f, 'symfun')) 542s f = symfun(sym('f(x,y)'), [x y]); 542s assert(isa(f, 'symfun')) 542s f = symfun(sym('f(x,y)'), {x y}); 542s assert(isa(f, 'symfun')) 543s :18: SyntaxWarning: invalid escape sequence '\(' 543s :18: SyntaxWarning: invalid escape sequence '\(' 543s :18: SyntaxWarning: invalid escape sequence '\(' 543s ***** test 543s % rhs is not sym 543s syms x 543s f = symfun(8, x); 543s assert (isa (f,'symfun')) 543s assert (isequal (f(10), sym(8))) 543s ***** test 543s % vector symfun 543s syms x y 543s F(x,y) = [1; 2*x; y; y*sin(x)]; 543s assert (isa (F, 'symfun')) 543s assert (isa (F, 'sym')) 543s assert (isequal (F(sym(pi)/2,4) , [sym(1); sym(pi); 4; 4] )) 545s ***** test 545s x = sym('x'); 545s y = sym('y'); 545s f(x) = sym('f(x)'); 545s g(x,y) = sym('g(x,y)'); 545s % make sure these don't fail 545s f(1); 545s g(1,2); 545s g(x,y); 545s diff(g, x); 545s diff(g, y); 545s :18: SyntaxWarning: invalid escape sequence '\(' 545s :18: SyntaxWarning: invalid escape sequence '\(' 545s ***** test 545s % defining 1D symfun in terms of a 2D symfun 545s syms x y t 545s syms 'g(x,y)' 545s f(t) = g(t,t); 545s f(5); 545s assert (length (argnames (f)) == 1) 545s assert (isequal (argnames (f), t)) 545s assert (isequal( formula(diff(f,x)), sym(0))) 546s ***** test 546s % replace g with shorter and specific fcn 546s syms x g(x) 546s g; 546s g(x) = 2*x; 546s assert( isequal (g(5), 10)) 547s ***** test 547s % octave <= 3.8 needs quotes on 2D symfuns, so make sure it works 547s syms x y 547s syms 'f(x)' 547s syms 'g(x,y)' 547s assert (isa (f, 'symfun')) 547s assert (isa (g, 'symfun')) 547s ***** test 547s % Bug #41: Octave <= 3.8 parser fails without quotes around 2D fcn 547s syms x y 547s eval('syms g(x,y)') 547s assert (isa (g, 'symfun')) 547s ***** test 547s % and these days it works without eval trick 547s syms g(x,y) 547s assert (isa (g, 'symfun')) 547s ***** test 547s % syms f(x) without defining x 547s clear x 547s syms f(x) 547s assert(isa(f, 'symfun')) 547s assert(isa(x, 'sym')) 547s ***** test 547s % SMT compat: symfun indep var overwrites existing var 547s t = 6; 547s syms f(t) 547s assert (logical (t ~= 6)) 548s ***** test 548s % SMT compat: symfun indep var overwrites existing var, even if sym 548s syms x 548s t = x; 548s syms f(t) 548s assert (~ logical (t == x)) 548s ***** test 548s syms x y 548s f(x) = x^2; 548s g(x,y) = sym('g(x,y)'); 548s f2 = 2*f; 548s assert( isequal (f2(4), 32)) 548s assert( isa(f2, 'symfun')) 548s assert( isa(2*g, 'symfun')) 548s assert( isa(0*g, 'symfun')) % in SMT, this is the zero symfun 548s :18: SyntaxWarning: invalid escape sequence '\(' 549s ***** test 549s % syms has its own parsing code, check it works 549s syms f(x,y) 549s g = f; 549s syms f(x, y) 549s assert (isequal (f, g)) 549s syms 'f( x, y )' 549s assert (isequal (f, g)) 550s ***** test 550s % syms own parsing code should not reorder the vars 550s syms f(y, x) 550s v = argnames (f); 550s assert (isequal (v(1), y) && isequal (v(2), x)) 550s ***** test 550s % assignment of symfun to symfun, issue #189 550s syms t 550s x(t) = 2*t; 550s y(t) = x; 550s assert (isa (y, 'symfun')) 550s y = symfun(x, t); 550s assert (isa (y, 'symfun')) 550s % others 550s y = x; 550s assert (isa (y, 'symfun')) 550s y(t) = x(t); 550s assert (isa (y, 'symfun')) 551s ***** test 551s % assignment of generic symfun to symfun 551s syms t x(t) 551s y(t) = x; 551s assert (isa (y, 'symfun')) 551s y = symfun(x, t); 551s assert (isa (y, 'symfun')) 551s ***** error 551s % Issue #444: invalid args 551s syms x 551s f(x, x) = 2*x; 551s ***** error 551s % Issue #444: invalid args 551s syms x y 551s f(x, y, x) = x + y; 551s ***** error 551s % Issue #444: invalid args 551s syms x y 551s f(x, y, x) = x + y; 551s ***** error 551s % Issue #444: expression as arg 551s syms x 551s f(2*x) = 4*x; 552s 25 tests, 25 passed, 0 known failure, 0 skipped 552s [inst/@symfun/times.m] 552s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/times.m 552s ***** test 552s syms x 552s f(x) = x^2; 552s assert( isa(f .* f, 'symfun')) 552s assert( isa(f .* x, 'symfun')) 552s ***** test 552s syms x 552s f(x) = [x 2*x]; 552s h = f.*[x 3]; 552s assert( isa(h, 'symfun')) 552s assert (isequal (formula (h), [x^2 6*x])) 553s 2 tests, 2 passed, 0 known failure, 0 skipped 553s [inst/@symfun/size.m] 553s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@symfun/size.m 553s ***** test 553s syms x 553s f(x) = x; 553s d = size(f); 553s assert (isequal (d, [1 1])) 553s [n, m] = size(f); 553s assert (isequal ([n m], [1 1])) 553s assert (size(f, 1) == 1) 553s assert (size(f, 2) == 1) 553s ***** test 553s syms x 553s f(x) = [1 x]; 553s d = size(f); 553s assert (isequal (d, [1 1])) 553s [n, m] = size(f); 553s assert (isequal ([n m], [1 1])) 553s assert (size(f, 1) == 1) 553s assert (size(f, 2) == 1) 553s 2 tests, 2 passed, 0 known failure, 0 skipped 553s [inst/pycall_sympy__.m] 553s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/pycall_sympy__.m 553s ***** test 553s % general test 553s x = 10; y = 6; 553s cmd = '(x,y) = _ins; return (x+y,x-y)'; 553s [a,b] = pycall_sympy__ (cmd, x, y); 553s assert (a == x + y && b == x - y) 553s ***** test 553s % bool 553s assert (pycall_sympy__ ('return True,')) 553s assert (~pycall_sympy__ ('return False,')) 553s ***** test 553s % float 553s assert (abs(pycall_sympy__ ('return 1.0/3,') - 1/3) < 1e-15) 554s ***** test 554s % int 554s r = pycall_sympy__ ('return 123456'); 554s assert (r == 123456) 554s assert (isinteger (r)) 554s ***** test 554s % string 554s x = 'octave'; 554s cmd = 's = _ins[0]; return s.capitalize(),'; 554s y = pycall_sympy__ (cmd, x); 554s assert (strcmp(y, 'Octave')) 554s ***** test 554s % string with escaped newlines, comes back as escaped newlines 554s x = 'a string\nbroke off\nmy guitar\n'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % string with actual newlines, comes back as actual newlines 554s x = sprintf('a string\nbroke off\nmy guitar\n'); 554s y = pycall_sympy__ ('return _ins', x); 554s y2 = strrep(y, sprintf('\n'), sprintf('\r\n')); % windows 554s assert (strcmp(x, y) || strcmp(x, y2)) 554s ***** test 554s % cmd string with newlines, works with cell 554s y = pycall_sympy__ ('return "string\nbroke",'); 554s y2 = sprintf('string\nbroke'); 554s y3 = strrep(y2, sprintf('\n'), sprintf('\r\n')); % windows 554s assert (strcmp(y, y2) || strcmp(y, y3)) 554s ***** test 554s % string with XML escapes 554s x = '<> >< <<>>'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s x = '&'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % strings with double quotes 554s x = 'a\"b\"c'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s x = '\"'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % cmd has double quotes, these must be escaped by user 554s % (of course: she is writing python code) 554s expy = 'a"b"c'; 554s y = pycall_sympy__ ('return "a\"b\"c",'); 554s assert (strcmp(y, expy)) 554s ***** test 554s % strings with quotes 554s x = 'a''b'; % this is a single quote 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % strings with quotes 554s x = '\"a''b\"c''\"d'; 554s y = pycall_sympy__ ('return _ins[0]', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % strings with quotes 554s expy = '"a''b"c''"d'; 554s y = pycall_sympy__ ('s = "\"a''b\"c''\"d"; return s'); 554s assert (strcmp(y, expy)) 554s ***** test 554s % strings with printf escapes 554s x = '% %% %%% %%%% %s %g %%s'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % cmd with printf escapes 554s x = '% %% %%% %%%% %s %g %%s'; 554s y = pycall_sympy__ (['return "' x '",']); 554s assert (strcmp(y, x)) 554s ***** test 554s % cmd w/ backslash and \n must be escaped by user 554s expy = 'a\b\\c\nd\'; 554s y = pycall_sympy__ ('return "a\\b\\\\c\\nd\\",'); 554s assert (strcmp(y, expy)) 554s ***** test 554s % slashes 554s x = '/\\ // \\\\ \\/\\/\\'; 554s z = '/\ // \\ \/\/\'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % slashes 554s z = '/\ // \\ \/\/\'; 554s y = pycall_sympy__ ('return "/\\ // \\\\ \\/\\/\\"'); 554s assert (strcmp(y, z)) 554s ***** test 554s % strings with special chars 554s x = '!@#$^&* you!'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s x = '~-_=+[{]}|;:,.?'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** xtest 554s % string with backtick trouble for system -c (sysoneline) 554s x = '`'; 554s y = pycall_sympy__ ('return _ins', x); 554s assert (strcmp(y, x)) 554s ***** test 554s % unicode 554s s1 = '我爱你'; 554s cmd = 'return u"\u6211\u7231\u4f60",'; 554s s2 = pycall_sympy__ (cmd); 554s assert (strcmp (s1, s2)) 554s ***** test 554s % unicode with \x 554s s1 = '我'; 554s cmd = 'return b"\xe6\x88\x91".decode("utf-8")'; 554s s2 = pycall_sympy__ (cmd); 554s assert (strcmp (s1, s2)) 554s ***** test 554s % unicode with \x and some escaped backslashes 554s s1 = '\我\'; 554s cmd = 'return b"\\\xe6\x88\x91\\".decode("utf-8")'; 554s s2 = pycall_sympy__ (cmd); 554s assert (strcmp (s1, s2)) 554s ***** xtest 554s % unicode passthru 554s s = '我爱你'; 554s s2 = pycall_sympy__ ('return _ins', s); 554s assert (strcmp (s, s2)) 554s s = '我爱你<>\&//\#%% %\我'; 554s s2 = pycall_sympy__ ('return _ins', s); 554s assert (strcmp (s, s2)) 554s ***** xtest 554s % unicode w/ slashes, escapes 554s s = '我<>\&//\#%% %\我'; 554s s2 = pycall_sympy__ ('return "我<>\\&//\\#%% %\\我"'); 554s assert (strcmp (s, s2)) 554s ***** test 554s % list, tuple 554s assert (isequal (pycall_sympy__ ('return [1,2,3],'), {1, 2, 3})) 554s assert (isequal (pycall_sympy__ ('return (4,5),'), {4, 5})) 554s assert (isequal (pycall_sympy__ ('return (6,),'), {6,})) 554s assert (isequal (pycall_sympy__ ('return [],'), {})) 555s ***** test 555s % dict 555s cmd = 'd = dict(); d["a"] = 6; d["b"] = 10; return d,'; 555s d = pycall_sympy__ (cmd); 555s assert (d.a == 6 && d.b == 10) 555s ***** test 555s r = pycall_sympy__ ('return 6'); 555s assert (isequal (r, 6)) 555s ***** test 555s r = pycall_sympy__ ('return "Hi"'); 555s assert (strcmp (r, 'Hi')) 555s ***** test 555s % blank lines, lines with spaces 555s a = pycall_sympy__ ({ '', '', ' ', 'return 6', ' ', ''}); 555s assert (isequal (a, 6)) 555s ***** test 555s % blank lines, strange comment lines 555s cmd = {'a = 1', '', '#', '', '# ', ' #', 'a = a + 2', ' #', 'return a'}; 555s a = pycall_sympy__ (cmd); 555s assert (isequal (a, 3)) 555s ***** test 555s % return empty string (was https://bugs.python.org/issue25270) 555s assert (isempty (pycall_sympy__ ('return ""'))) 555s ***** test 555s % return nothing (via an empty list) 555s % note distinct from 'return [],' 555s pycall_sympy__ ('return []') 555s ***** test 555s % return nothing (because no return command) 555s pycall_sympy__ ('dummy = 1') 555s ***** test 555s % return nothing (because no command) 555s pycall_sympy__ ('') 555s ***** test 555s % return nothing (because no command) 555s pycall_sympy__ ({}) 555s ***** error 555s % python exception while passing variables to python 555s % This tests the "INTERNAL_PYTHON_ERROR" path. 555s % FIXME: this is a very specialized test, relies on internal octsympy 555s % implementation details, and may need to be adjusted for changes. 555s disp('') 555s disp('**********************************************************************') 555s disp('') 555s disp(' Some deliberate AttributeError and ValueError may appear next') 555s disp('') 555s disp('v v v v v v v v v v v v v v v v v v v v v v v v') 555s b = sym([], 'S.This_is_supposed_to_make_an_exception', [1 1], 'Test', 'Test', 'Test'); 555s c = b + 1; 555s 555s ********************************************************************** 555s 555s Some deliberate AttributeError and ValueError may appear next 555s 555s v v v v v v v v v v v v v v v v v v v v v v v v 555s Traceback (most recent call last): 555s File "", line 4, in 555s File "/usr/lib/python3/dist-packages/sympy/core/singleton.py", line 118, in __getattr__ 555s raise AttributeError( 555s AttributeError: Attribute 'This_is_supposed_to_make_an_exception' was not installed on SymPy registry S 555s ***** test 555s % ...and after the above test, the pipe should still work 555s a = pycall_sympy__ ('return _ins[0]*2', 3); 555s assert (isequal (a, 6)) 555s ***** test 555s % This command does not fail with native interface and '@pyobject' 555s s = warning ('off', 'OctSymPy:pythonic_no_convert'); 555s try 555s q = pycall_sympy__ ({'return type(int)'}); 555s catch 555s msg = lasterror.message; 555s assert (~ isempty (regexp (msg, '.*does not know how to.*'))) 555s end 555s warning (s) 555s disp('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^') 555s disp(' End of deliberate errors!') 555s disp(' You should see "46/46" or "Passes 46 out of 46 tests" below') 555s disp('**********************************************************************') 555s % ...and after the above test, the pipe should still work 555s a = pycall_sympy__ ('return _ins[0]*2', 3); 555s assert (isequal (a, 6)) 555s Traceback (most recent call last): 555s File "", line 2, in 555s File "", line 12, in octoutput_drv 555s File "", line 96, in octoutput 555s ValueError: octoutput does not know how to export type 555s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 555s End of deliberate errors! 555s You should see "46/46" or "Passes 46 out of 46 tests" below 555s ********************************************************************** 555s ***** test 555s % complex input 555s [A, B] = pycall_sympy__ ('z = 2*_ins[0]; return (z.real,z.imag)', 3+4i); 555s assert (A, 6) 555s assert (B, 8) 555s ***** test 555s % complex output 555s z = pycall_sympy__ ('return 3+2j'); 555s assert (z, 3+2i) 556s ***** error 556s s = char ('abc', 'defgh', '12345'); 556s r = pycall_sympy__ ('return _ins[0]', s); 556s ***** test 556s r = pycall_sympy__ ('return len(_ins[0])', ''); 556s assert (r == 0) 556s ***** test 556s % ensure the 0x0 matrix in octave gets mapped to the empty list in python 556s % @sym/subsasgn currently replies on this behaviour 556s assert (pycall_sympy__ ('return _ins[0] == []', [])); 556s ***** test 556s % ensure the empty string gets mapped to the empty string in python 556s assert (pycall_sympy__ ('return _ins[0] == ""', '')); 556s 46 tests, 46 passed, 0 known failure, 0 skipped 556s [inst/finiteset.m] 556s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/finiteset.m 556s ***** test 556s s1 = finiteset(sym(1), 2, 2); 556s s2 = finiteset(sym(1), 2, 2, 2); 556s assert (isequal (s1, s2)) 556s ***** test 556s s1 = finiteset(sym(0), 1); 556s s2 = finiteset(sym(0), 2, 3); 556s s = finiteset(sym(0), 1, 2, 3); 556s assert (isequal (s1 + s2, s)) 557s ***** test 557s e = finiteset(); 557s s = finiteset(sym(1)); 557s s2 = e + s; 557s assert (isequal (s, s2)) 557s 3 tests, 3 passed, 0 known failure, 0 skipped 557s [inst/octsympy_tests.m] 557s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/octsympy_tests.m 557s ***** assert(true) 557s 1 test, 1 passed, 0 known failure, 0 skipped 557s [inst/eulergamma.m] 557s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/eulergamma.m 557s ***** error catalan (sym(1)) 557s ***** assert (double (eulergamma ()) > 0.577215664901) 557s ***** assert (double (eulergamma ()) < 0.577215664902) 557s 3 tests, 3 passed, 0 known failure, 0 skipped 557s [inst/dirac.m] 557s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/dirac.m 557s ***** assert (isinf (dirac (0))) 557s ***** assert (dirac (1) == 0) 557s ***** assert (isnan (dirac (nan))) 557s ***** assert (isequaln (dirac ([-1 1 0 eps inf -inf nan]), [0 0 inf 0 0 0 nan])) 557s ***** error dirac (1i) 557s ***** assert (isa (dirac (single (0)), 'single')) 557s 6 tests, 6 passed, 0 known failure, 0 skipped 557s [inst/vpasolve.m] 557s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/vpasolve.m 558s ***** test 558s syms x 558s vpi = vpa(sym(pi), 64); 558s e = tan(x/4) == 1; 558s q = vpasolve(e, x, 3.0); 558s w = q - vpi ; 558s assert (double(w) < 1e-30) 558s ***** test 558s syms x 558s vpi = vpa(sym(pi), 64); 558s e = tan(x/4) == 1; 558s q = vpasolve(e, x); 558s w = q - vpi; 558s assert (double(w) < 1e-30) 558s q = vpasolve(e); 558s w = q - vpi; 558s assert (double(w) < 1e-30) 560s ***** test 560s % very accurate pi 560s syms x 560s e = tan(x/4) == 1; 560s m = digits(256); 560s q = vpasolve(e, x, 3); 560s assert (double(abs(sin(q))) < 1e-256) 560s digits(m); 560s ***** test 560s % very accurate sqrt 2 560s syms x 560s e = x*x == 2; 560s m = digits(256); 560s q = vpasolve(e, x, 1.5); 560s assert (double(abs(q*q - 2)) < 1e-256) 560s digits(m); 561s ***** test 561s % very accurate sqrt pi 561s % (used to fail https://github.com/sympy/sympy/issues/8564) 561s syms x 561s e = x*x == sym(pi); 561s m = digits(256); 561s q = vpasolve(e, x, 3); 561s assert (double(abs(sin(q*q))) < 1e-256) 561s digits(m); 561s ***** test 561s syms x 561s r = vpasolve(x^2 + 2 == 0, x, 1i); 561s assert (double (imag(r)^2 - 2), 0, 1e-32) 561s assert (double (real(r)^2), 0, 1e-32) 561s r = vpasolve(x^2 + 2 == 0, x, -3i + 5); 561s assert (double (imag(r)^2 - 2), 0, 1e-32) 561s assert (double (real(r)^2), 0, 1e-32) 563s ***** test 563s % system 563s syms x y 563s f = 3*x^2 - 2*y^2 - 1; 563s g = x^2 - 2*x + y^2 + 2*y - 8; 563s r = vpasolve([f; g], [x; y], sym([-1; 1])); 563s assert (isa (r, 'sym')) 563s assert (numel (r) == 2) 565s ***** test 565s % system, double guess 565s syms x y 565s f = 3*x^2 - 2*y^2 - 1; 565s g = x^2 - 2*x + y^2 + 2*y - 8; 565s r = vpasolve([f; g], [x; y], [-1.1 1.2]); 566s ***** test 566s % system, double guess 566s syms x y 566s f = 3*x^2 - 2*y^2 - 1; 566s g = x^2 - 2*x + y^2 + 2*y - 8; 566s r1 = vpasolve([f; g], [x; y], [-1.1]); 566s r2 = vpasolve([f; g], [x; y], [-1.1 -1.1]); 566s assert (isequal (r1, r2)) 568s ***** test 568s % system, more eqns than unknowns 568s syms x y 568s eqns = [x^3 - x - y == 0; y*exp(x) == 16; log(y) + x == 4*log(sym(2))]; 568s r = vpasolve (eqns, [x; y], [1; 1]); 568s A = subs (lhs (eqns), [x; y], r); 568s err = A - [0; 16; 4*log(sym(2))]; 568s assert (double (err), zeros (size (err)), 1e-31) 569s :7: SymPyDeprecationWarning: 569s 569s non-Expr objects in a Matrix is deprecated. Matrix represents 569s a mathematical matrix. To represent a container of non-numeric 569s entities, Use a list of lists, TableForm, NumPy array, or some 569s other data structure instead. 569s 569s See https://docs.sympy.org/latest/explanation/active-deprecations.html#deprecated-non-expr-in-matrix 569s for details. 569s 569s This has been deprecated since SymPy version 1.9. It 569s will be removed in a future version of SymPy. 569s 570s 10 tests, 10 passed, 0 known failure, 0 skipped 570s [inst/syms.m] 570s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/syms.m 570s ***** test 570s %% assumptions 570s syms x real 570s x2 = sym('x', 'real'); 570s assert (isequal (x, x2)) 571s ***** test 571s % assumptions and clearing them on a symbol 571s syms x real 571s assert (~isempty (assumptions (x))) 571s syms x 571s assert (isempty (assumptions (x))) 571s ***** test 571s % Note SMT would clear syms in existing expressions 571s syms x real 571s f = {x {2*x} cos(x/2)}; 571s assert (~isempty (assumptions (f))) 571s syms x 571s % but we do not: this would have to toggle for pure SMT compat 571s assert (~isempty (assumptions (f))) 571s % assert (isempty (assumptions (f))) 572s ***** error 572s syms x clear 572s ***** error 572s syms x positive y 572s ***** error 572s % this sometimes catches typos or errors in assumption names 572s % (if you need careful checking, use sym not syms) 572s syms x positive evne 572s ***** error 572s syms positive integer 572s ***** test 572s % does not create a variable called positive 572s syms x positive integer 572s assert (logical(exist('x', 'var'))) 572s assert (~logical(exist('positive', 'var'))) 572s ***** test 572s % Issue #885 572s syms S(x) I(x) O(x) 572s ***** test 572s % Issue #290 572s syms FF(x) 572s syms ff(x) 572s syms Eq(x) 572s ***** test 572s % Issue #290 572s syms beta(x) 572s ***** test 572s syms x real 572s syms f(x) 572s assert (~ isempty (assumptions (x))) 573s ***** test 573s syms x real 573s f(x) = symfun(sym('f(x)'), x); 573s assert (~ isempty (assumptions (x))) 573s assert (~ isempty (assumptions (argnames (f)))) 573s :18: SyntaxWarning: invalid escape sequence '\(' 573s 13 tests, 13 passed, 0 known failure, 0 skipped 573s [inst/@logical/isAlways.m] 573s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@logical/isAlways.m 573s ***** error isAlways (true, false) 573s ***** assert(isAlways(true)) 573s ***** assert(~isAlways(false)) 573s 3 tests, 3 passed, 0 known failure, 0 skipped 573s [inst/digits.m] 573s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/digits.m 573s ***** test 573s orig = digits(32); % to reset later 573s m = digits(64); 573s p = vpa(sym(pi)); 573s assert (abs (double (sin(p))) < 1e-64) 573s n = digits(m); 573s assert (n == 64) 573s p = vpa(sym(pi)); 573s assert (abs (double (sin(p))) < 1e-32) 573s assert (abs (double (sin(p))) > 1e-40) 573s digits(orig) 574s 1 test, 1 passed, 0 known failure, 0 skipped 574s [inst/vpa.m] 574s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/vpa.m 574s ***** test 574s a = vpa(0, 4); 574s b = double(a); 574s assert(b == 0) 574s ***** test 574s a = vpa(pi, 4); 574s b = sin(a); 574s assert(abs(double(b)) < 1e-4) 574s ***** test 574s % vpa from double is ok, doesn't warn (c.f., sym(2.3)) 574s a = vpa(2.3); 574s assert(true) 574s ***** test 574s % vpa from double not more than 16 digits 574s a = vpa(sqrt(pi), 32); 574s b = sin(a^2); 574s assert(abs(double(b)) > 1e-20) 574s assert(abs(double(b)) < 1e-15) 574s ***** test 574s a = vpa(sym(pi), 32); 574s b = sin(a); 574s assert(abs(double(b)) < 1e-30) 574s ***** test 574s a = vpa(sym(pi), 256); 574s b = sin(a); 574s assert(abs(double(b)) < 1e-256) 574s ***** test 574s % pi str 574s a = vpa('pi', 32); 574s b = sin(a); 574s assert(abs(double(b)) < 1e-32) 575s ***** test 575s % pi str 575s a = vpa('pi', 32); 575s b = vpa(sym('pi'), 32); 575s assert (double (a - b) == 0) 575s ***** test 575s spi = sym(pi); 575s a = vpa(spi, 10); 575s b = double(a); 575s assert(~isAlways(spi == a)) 575s ***** test 575s % matrix of sym 575s a = [sym(pi) 0; sym(1)/2 1]; 575s b = [pi 0; 0.5 1]; 575s c = vpa(a, 6); 575s assert(max(max(abs(double(c)-b))) < 1e-6) 576s ***** test 576s % matrix of double 576s b = [pi 0; 0.5 1]; 576s c = vpa(b, 6); 576s assert(max(max(abs(double(c)-b))) < 1e-6) 577s ***** test 577s % integer type 577s a = vpa(int32(6), 64); 577s b = vpa(6, 64); 577s assert (isequal (a, b)) 577s ***** test 577s % matrix of int 577s b = int32([pi 0; 6.25 1]); 577s c = vpa(b, 6); 577s assert (isequal (double(c), [3 0; 6 1])) 578s ***** test 578s % can pass pi directly to vpa 578s a = vpa(sym(pi), 128); 578s b = vpa(pi, 128); 578s assert (isequal (a, b)) 578s ***** test 578s % if sym does sth special for e so should vpa 578s a = vpa(sym(exp(1)), 64); 578s b = vpa(exp(1), 64); 578s assert (isequal (a, b)) 578s ***** test 578s % can pass pi directly to vpa, even in array 578s a = vpa(sym([2 pi]), 128); 578s b = vpa([2 pi], 128); 578s assert (isequal (a, b)) 579s ***** test 579s % can pass i directly to vpa 579s a = vpa(sym(i)); 579s b = vpa(i); 579s ***** test 579s % 'i' and 'I' just make vars 579s a = vpa(sym(1i)); 579s b = vpa('i'); 579s c = vpa('I'); 579s assert (~isequal (a, b)) 579s assert (~isequal (a, c)) 579s ***** test 579s % '1i' and '1j' strings 579s a = vpa(sym(1i)); 579s b = vpa('1i'); 579s c = vpa('1j'); 579s assert (isequal (a, b)) 579s assert (isequal (a, c)) 580s ***** test 580s % Issue #868, precision loss on '0.33j' 580s a = vpa('0.33j', 40); 580s b = vpa('0.33i', 40); 580s assert (double (abs (imag (a)*100/33) - 1) < 1e-39) 580s assert (isequal (a, b)) 580s ***** test 580s % inf/-inf do not become symbol('inf') 580s S = {'oo', '-oo', 'inf', 'Inf', '-inf', '+inf'}; 580s for j = 1:length(S) 580s a = vpa(S{j}); 580s b = vpa(sym(S{j})); 580s assert (isequal (a, b)) 580s end 581s ***** test 581s a = vpa('2.3', 20); 581s s = strtrim(disp(a, 'flat')); 581s assert (strcmp (s, '2.3000000000000000000')) 581s ***** test 581s % these should *not* be the same 581s a = vpa(2.3, 40); 581s b = vpa('2.3', 40); 581s sa = sympy (a); 581s sb = sympy (b); 581s assert (~isequal (a, b)) 581s assert (abs(double(a - b)) > 1e-20) 581s assert (abs(double(a - b)) < 1e-15) 581s assert (~strcmp(sa, sb)) 582s ***** test 582s % these should *not* be the same 582s x = vpa('1/3', 32); 582s y = vpa(sym(1)/3, 32); 582s z = vpa(1/3, 32); 582s assert (isequal (x, y)) 582s assert (~isequal (x, z)) 582s ***** test 582s % big integers 582s a = int64(12345678); 582s a = a*a; 582s b = vpa(a); 582s c = vpa('152415765279684'); 582s assert (isequal (b, c)) 582s ***** test 582s % big integers (workaround poor num2str, works in 4.0?) 582s a = int64(1234567891); a = a*a; 582s b = vpa(a); 582s c = vpa('1524157877488187881'); 582s assert (isequal (b, c)) 582s ***** warning vpa ('sqrt(2.0)'); 582s ***** warning 582s if (pycall_sympy__ ('return Version(spver) > Version("1.4")')) 582s a = vpa('2**0.5'); 582s b = vpa(sqrt(sym(2))); 582s assert (isequal (a, b)) 582s else 582s warning('dangerous') % fake it until we drop 1.4 582s end 583s ***** test 583s a = vpa('2.3e1'); 583s b = vpa(' 2.3e+1 '); 583s assert (isequal (a, b)) 583s a = vpa('21e-1'); 583s b = vpa('2.1'); 583s assert (isequal (a, b)) 583s ***** test 583s % Issue #859, operations on immutable matrices 583s x = vpa (sym ([1 2])); 583s % If vpa no longer makes an ImmutableDenseMatrix, 583s % may need to adjust or remove this test. 583s assert (~ isempty (strfind (sympy (x), 'Immutable'))) 583s y = sin(x); 583s y2 = [sin(vpa(sym(1))) sin(vpa(sym(2)))]; 583s assert (isequal (y, y2)) 584s 30 tests, 30 passed, 0 known failure, 0 skipped 584s [inst/catalan.m] 584s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/catalan.m 584s ***** error catalan (sym(1)) 584s ***** assert (double (catalan ()) > 0.915965594177) 584s ***** assert (double (catalan ()) < 0.915965594178) 584s 3 tests, 3 passed, 0 known failure, 0 skipped 584s [inst/lambertw.m] 584s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/lambertw.m 584s ***** assert (isequal (lambertw (0), 0)) 584s ***** assert (isequal (lambertw (0, 0), 0)) 584s ***** assert (lambertw (-1/exp(1)), -1, 2*eps) 584s ***** assert (lambertw (0, -1/exp(1)), -1, 2*eps) 584s ***** assert (lambertw (-1, -1/exp(1)), -1, 2*eps) 584s ***** test 584s x = [1 2 3 pi 10 100 1000 12345]; 584s W = lambertw (x); 584s assert (W.*exp (W), x, -3*eps) 584s ***** test 584s x = [1 2 3 pi 10 100 1000 12345]; 584s k = [-3 -2 -1 0 1 2 3 4]; 584s W = lambertw (k, x); 584s assert (W.*exp (W), x, -10*eps) 584s ***** test 584s % input shape preserved 584s x = [0 1; 2 3]; 584s b = x; 584s W = lambertw (b, x); 584s assert (W.*exp (W), x, -10*eps) 584s ***** test 584s % input shape preserved 584s x = [0 1; 2 3]; 584s b = 0; 584s W = lambertw (b, x); 584s assert (W.*exp (W), x, -10*eps) 584s ***** test 584s % input shape preserved 584s x = 10; 584s b = [0 1; 2 3]; 584s W = lambertw (b, x); 584s assert (W.*exp (W), x*ones (size (b)), -10*eps) 584s ***** assert (isnan (lambertw (nan))) 584s ***** test 584s % limiting behaviour as z large 584s k = 3; 584s A = lambertw (k, 1e100); 584s assert (abs (imag (A) - 2*pi*k) < 0.1) 584s ***** test 584s % limiting behaviour as z large, up imag axis 584s k = 1; 584s A = lambertw (k, 1e100*1i); 584s assert (abs (imag (A) - (2*k+0.5)*pi) < 0.1) 584s ***** test 584s % limiting behaviour as z large, down imag axis 584s k = -2; 584s A = lambertw (k, -1e100*1i); 584s assert (abs (imag (A) - (2*k-0.5)*pi) < 0.1) 584s ***** test 584s % limiting behaviour as z large, near branch 584s k = 3; 584s A = lambertw (k, -1e100); 584s B = lambertw (k, -1e100 + 1i); 584s C = lambertw (k, -1e100 - 1i); 584s assert (abs (imag (A) - (2*k+1)*pi) < 0.1) 584s assert (abs (imag (B) - (2*k+1)*pi) < 0.1) 584s assert (abs (imag (C) - (2*k-1)*pi) < 0.1) 584s ***** test 584s % infinities and nan 584s A = lambertw ([inf exp(1) -inf nan]); 584s B = [inf 1 inf + pi*1i nan]; 584s assert (isequaln (A, B)) 584s ***** test 584s % infinities and nan 584s A = lambertw (3, [inf 1 -inf nan]); 584s B = [inf + 2*3*pi*1i lambertw(3,1) inf + (2*3+1)*pi*1i nan]; 584s assert (isequaln (A, B)) 584s ***** test 584s % infinities and nan 584s A = lambertw ([0 1 2 0], [inf -inf nan exp(1)]); 584s B = [inf inf+3*pi*1i nan 1]; 584s assert (isequaln (A, B)) 584s ***** test 584s % scalar infinity z, vector b 584s A = lambertw ([1 2 -3], inf); 584s B = [lambertw(1, inf) lambertw(2, inf) lambertw(-3, inf)]; 584s assert (isequal (A, B)) 584s ***** test 584s % scalar -infinity z, vector b 584s A = lambertw ([1 2 -3], -inf); 584s B = [lambertw(1, -inf) lambertw(2, -inf) lambertw(-3, -inf)]; 584s assert (isequal (A, B)) 584s ***** test 584s % scalar z nan, vector b 584s A = lambertw ([1 2 -3], nan); 584s B = [nan nan nan]; 584s assert (isequaln (A, B)) 584s 21 tests, 21 passed, 0 known failure, 0 skipped 584s [inst/fibonacci.m] 584s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/fibonacci.m 584s ***** assert (isequal ( fibonacci (sym(0)), 0)) 584s ***** assert (isequal ( fibonacci (sym(14)), sym(377))) 584s ***** assert (isequal ( fibonacci (14), 377)) 584s ***** test syms x 584s assert (isequal (fibonacci (5,x), x^4 + 3*x^2 + 1)) 585s 4 tests, 4 passed, 0 known failure, 0 skipped 585s [inst/@double/polylog.m] 585s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/polylog.m 585s ***** error polylog (1) 586s ***** error polylog (1, 2, 3) 586s ***** error polylog ([1 2], [1 2 3]) 586s ***** error polylog ([1 2], [1; 2]) 586s ***** test 586s y = sym(11)/10; 586s t = sym(2); 586s x = 1.1; 586s s = 2; 586s A = polylog (s, x); 586s B = double (polylog (t, y)); 586s assert (A, B, -eps); 586s ***** test 586s % maple 586s A = 2.3201804233130983964 - 3.4513922952232026614*1i; 586s B = polylog (2, 3); 586s assert (A, B, -eps) 586s ***** test 586s % maple, complex inputs 586s A = -11.381456201167411758 + 6.2696695219721651947*1i; 586s B = polylog (1+2i, 3+4i); 586s assert (A, B, -eps); 586s ***** test 586s % maple, matrix inputs 586s A1 = 0.47961557317612748431 - 0.52788287823025778869*1i; 586s A2 = -0.0049750526563452645369 - 0.024579343612396884851*1i; 586s B = polylog ([-1-2i -3], [30+40i 40i]); 586s assert ([A1 A2], B, -eps); 587s ***** test 587s % x matrix, s scalar 587s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 587s t = sym(2); 587s x = double (y); 587s s = 2; 587s A = polylog (s, x); 587s B = double (polylog (t, y)); 587s assert (A, B, -eps); 589s ***** test 589s % s matrix, x scalar 589s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 589s y = sym(2); 589s s = double (t); 589s x = 2; 589s A = polylog (s, x); 589s B = double (polylog (t, y)); 589s assert (A, B, -eps); 592s 10 tests, 10 passed, 0 known failure, 0 skipped 592s [inst/@double/zeta.m] 592s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/zeta.m 592s ***** error zeta (1, 2, 3) 592s ***** assert (isnan (zeta (nan))) 592s ***** test 592s x = 1.1; 592s y = sym(11)/10; 592s A = zeta (x); 592s B = double (zeta (y)); 592s assert (A, B, -4*eps); 592s ***** test 592s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 592s x = double (y); 592s A = zeta (x); 592s B = double (zeta (y)); 592s assert (A, B, -4*eps); 594s ***** test 594s % maple: 594s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 594s % > for a in A do evalf(Zeta(a)) end do; 594s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 594s A = [ 0.59816556976238173670 - 0.35185474521784529050*1i 594s 0.21425967567391921717 + 0.52503846985036050707*1i 594s 1.0 594s 1.7564685929749629608 - 0.10151198543617116894*1i 594s -0.49990811617645824900 - 0.91873792757763831501e-6*1i 594s 175.09070083717643866 - 71.512541417467273425*1i ]; 594s B = zeta (x); 594s assert (A, B, -eps) 594s ***** assert (zeta (inf), 1.0) 594s 6 tests, 6 passed, 0 known failure, 0 skipped 594s [inst/@double/dilog.m] 594s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/dilog.m 594s ***** test 594s x = 1.1; 594s y = sym(11)/10; 594s A = dilog (x); 594s B = double (dilog (y)); 594s assert (A, B, -4*eps); 595s ***** test 595s y = [2 2 sym(pi); exp(sym(1)) 5 6]; 595s x = double (y); 595s A = dilog (x); 595s B = double (dilog (y)); 595s assert (A, B, -eps); 597s ***** test 597s % maple: 597s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 597s % > for a in A do evalf(dilog(a)) end do; 597s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 597s A = [ -0.59248494924959145800 - 1.5760154034463234224*1i 597s -1.0549087538833908441 - 3.8759788000863368495*1i 597s -12.192421669033171348 597s -2.9195729380904939394 - 3.9540920181102973073*1i 597s 1.6459519160623984119 - 0.00032335296277550987686*1i 597s -1.5445800511775466879 + 9.4256034277816069684*1i ]; 597s B = dilog (x); 597s assert (A, B, -eps) 597s ***** xtest 597s % https://github.com/fredrik-johansson/mpmath/issues/473 597s assert (isinf (dilog (inf))) 597s !!!!! known failure 597s assert (isinf (dilog (inf))) failed 597s ***** assert (isnan (dilog (-inf))) 597s 5 tests, 4 passed, 1 known failure, 0 skipped 597s [inst/@double/fresnels.m] 597s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/fresnels.m 597s ***** error fresnels (1, 2) 597s ***** test 597s x = 1.1; 597s y = sym(11)/10; 597s A = fresnels (x); 597s B = double (fresnels (y)); 597s assert (A, B, -4*eps); 597s ***** test 597s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 597s x = double (y); 597s A = fresnels (x); 597s B = double (fresnels (y)); 597s assert (A, B, -4*eps); 599s ***** test 599s % maple: 599s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 599s % > for a in A do evalf(FresnelS(a)) end do; 599s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 599s A = [ 36.725464883991438430 + 15.587751104404587334*1i 599s 0.12213736710980573217e13 - 0.47688568479924574726e12*1i 599s 0.49681690114783755327 599s -0.46816997858488224040*1i 599s -0.52344169596561937423e-12 + 0.15707439669173367248e-13*1i 599s 0.75738824160998910399e24 + 0.15391592966931193100e26*1i ]; 599s B = fresnels (x); 599s assert (A, B, -eps) 599s ***** assert (fresnels (inf), 0.5) 600s ***** assert (fresnels (-inf), -0.5) 600s 6 tests, 6 passed, 0 known failure, 0 skipped 600s [inst/@double/cosint.m] 600s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/cosint.m 600s ***** error cosint (1, 2) 600s ***** test 600s x = 1.1; 600s y = sym(11)/10; 600s A = cosint (x); 600s B = double (cosint (y)); 600s assert (A, B, -4*eps); 600s ***** test 600s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 600s x = double (y); 600s A = cosint (x); 600s B = double (cosint (y)); 600s assert (A, B, -4*eps); 602s ***** test 602s % maple: 602s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 602s % > for a in A do evalf(Ci(a)) end do; 602s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 602s A = [ 2.0302963932917216378 - 0.15190715517585688438*1i 602s 1.6153896382910774851 + 19.725754055338264980*1i 602s -0.0051488251426104921444 602s 1246.1144860424544147 + 1.5707963267948966192*1i 602s -8.6330747120742332203 + 3.1315929869531280002*1i 602s 0.069822228467306149311 - 3.1184744625477294643*1i ]; 602s B = cosint (x); 602s assert (A, B, -eps) 602s ***** xtest 602s % is it nan or -inf? SymPy says zoo. 602s assert (isnan (cosint (0))) 602s !!!!! known failure 602s assert (isnan (cosint (0))) failed 602s ***** assert (cosint (inf), 0) 602s ***** assert (cosint (-inf), pi*1i, -eps) 602s ***** assert (cosint (1), 0.33740392290096813466, -eps) 602s ***** assert (cosint (-1), 0.33740392290096813466 + pi*1i, -eps) 602s ***** assert (cosint (pi), 0.073667912046425485978, -5*eps) 602s ***** assert (cosint (-pi), 0.07366791204642548597821 + pi*1i, -5*eps) 602s ***** assert (cosint (300), -3.3321999185921117800e-3, -2*eps) 602s ***** assert (cosint (1e4), -3.0551916724485212665e-5, -2*eps) 603s ***** assert (cosint (1 + 1i), 0.8821721805559363250506+0.2872491335199559395273*1i, eps) 603s ***** assert (cosint (1i), 0.8378669409802082408947 + pi/2*1i, -2*eps) 603s ***** test 603s % compare both sinint and cosint to expint 603s x = pi; 603s C1 = cosint (x); 603s S1 = sinint (x); 603s R = expint (1i*x); 603s C2 = -real (R); 603s S2 = imag (R) + pi/2; 603s assert (C1, C2, -100*eps); 603s assert (S1, S2, -100*eps); 603s 16 tests, 15 passed, 1 known failure, 0 skipped 603s [inst/@double/adjoint.m] 603s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/adjoint.m 603s ***** test 603s M = [1 2; 3 4]; 603s A = [4 -2; -3 1]; 603s assert (isequal (adjoint (M), A)); 604s ***** test 604s assert (isequal (adjoint (42), 1)); 604s 2 tests, 2 passed, 0 known failure, 0 skipped 604s [inst/@double/euler.m] 604s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/euler.m 604s ***** error euler (1, 2, 3) 604s ***** error euler ([1 2], [1 2 3]) 604s ***** error euler ([1 2], [1; 2]) 604s ***** assert (isequal (euler (0), 1)) 604s ***** assert (isequal (euler (1), 0)) 604s ***** assert (isequal (euler (10), -50521)) 604s ***** test 604s n = sym(88); 604s m = 88; 604s A = euler (m); 604s B = double (euler (n)); 604s assert (A, B, -eps); 604s ***** test 604s m = [0 1; 2 4]; 604s n = sym(m); 604s A = euler (m); 604s B = double (euler (n)); 604s assert (isequal (A, B)); 607s ***** test 607s y = sym(19)/10; 607s n = sym(2); 607s x = 1.9; 607s m = 2; 607s A = euler (m, x); 607s B = double (euler (n, y)); 607s assert (A, B, -eps); 607s ***** test 607s % correct behaviour at floating point infinity 607s assert (isequal (euler (4, inf), inf)) 607s assert (isequal (euler (4, -inf), inf)) 607s assert (isequal (euler (3, inf), inf)) 607s assert (isequal (euler (3, -inf), -inf)) 607s ***** test 607s assert (isnan (euler(3, nan))) 607s assert (isnumeric (euler(3, nan))) 607s ***** test 607s % maple, complex input 607s A = 113.33970046079423204 - 46.991080726974811540i; 607s B = euler(7, 2.12345 + 1.23i); 607s assert (A, B, -eps); 607s ***** test 607s % maple, complex input, large m, small x 607s A = 0.18034673393294025238e276 + 0.27756266681280689172e276*i; 607s B = euler (200, 0.123+0.234i); 607s assert (A, B, -eps); 607s ***** test 607s % x matrix, m scalar 607s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 607s n = sym(2); 607s x = double (y); 607s m = 2; 607s A = euler (m, x); 607s B = double (euler (n, y)); 607s assert (A, B, -eps); 607s ***** test 607s % m matrix, x scalar 607s m = [1 2 3; 4 5 6]; 607s n = sym(m); 607s y = sym(21)/10; 607s x = 2.1; 607s A = euler (m, x); 607s B = double (euler (n, y)); 607s assert (A, B, -3*eps); 609s 15 tests, 15 passed, 0 known failure, 0 skipped 609s [inst/@double/bernoulli.m] 609s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/bernoulli.m 609s ***** error bernoulli (1, 2, 3) 609s ***** error bernoulli ([1 2], [1 2 3]) 609s ***** error bernoulli ([1 2], [1; 2]) 609s ***** assert (bernoulli (0), 1) 609s ***** assert (bernoulli (3), 0) 609s ***** test 609s % two different definitions in literature 609s assert (abs (bernoulli (1)), 0.5, -eps) 609s ***** xtest 609s % we want to use B_1 = 1/2, possible with a version-specific filter 609s assert (bernoulli (1), 0.5, -eps) 609s !!!!! known failure 609s ASSERT errors for: assert (bernoulli (1),0.5,-eps) 609s 609s Location | Observed | Expected | Reason 609s () -0.5 0.5 Rel err 2 exceeds tol 2.2204e-16 by 2 609s ***** test 609s n = sym(88); 609s m = 88; 609s A = bernoulli (m); 609s B = double (bernoulli (n)); 609s assert (A, B, -eps); 609s ***** test 609s m = [0 2; 3 4]; 609s n = sym(m); 609s A = bernoulli (m); 609s B = double (bernoulli (n)); 609s assert (isequal (A, B)); 610s ***** test 610s y = sym(19)/10; 610s n = sym(2); 610s x = 1.9; 610s m = 2; 610s A = bernoulli (m, x); 610s B = double (bernoulli (n, y)); 610s assert (A, B, -eps); 610s ***** test 610s assert (isequal (bernoulli (4, inf), inf)) 610s assert (isequal (bernoulli (4, -inf), inf)) 610s ***** xtest 610s % still broken? 610s assert (isequal (bernoulli (3, inf), inf)) 610s assert (isequal (bernoulli (3, -inf), -inf)) 610s ***** test 610s assert (isnan (bernoulli(3, nan))) 610s assert (isnumeric (bernoulli(3, nan))) 611s ***** test 611s % maple, complex input 611s A = 34.21957245745810513 - 130.0046256649829101i; 611s B = bernoulli(7, 2.123 + 1.234i); 611s assert (A, B, -5*eps); 611s ***** test 611s % x matrix, m scalar 611s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 611s n = sym(2); 611s x = double (y); 611s m = 2; 611s A = bernoulli (m, x); 611s B = double (bernoulli (n, y)); 611s assert (A, B, -eps); 613s ***** test 613s % m matrix, x scalar 613s m = [1 2 3; 4 5 6]; 613s n = sym(m); 613s y = sym(21)/10; 613s x = 2.1; 613s A = bernoulli (m, x); 613s B = double (bernoulli (n, y)); 613s assert (A, B, -3*eps); 614s 16 tests, 15 passed, 1 known failure, 0 skipped 614s [inst/@double/harmonic.m] 614s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/harmonic.m 614s ***** error harmonic (1, 2) 614s ***** test 614s x = 1.1; 614s y = sym(11)/10; 614s A = harmonic (x); 614s B = double (harmonic (y)); 614s assert (A, B, -4*eps); 614s ***** test 614s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 614s x = double (y); 614s A = harmonic (x); 614s B = double (harmonic (y)); 614s assert (A, B, -4*eps); 616s 3 tests, 3 passed, 0 known failure, 0 skipped 616s [inst/@double/chebyshevU.m] 616s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/chebyshevU.m 616s ***** error chebyshevU (1) 617s ***** error chebyshevU (1, 2, 3) 617s ***** error chebyshevU ([1 2], [1 2 3]) 617s ***** error chebyshevU ([1 2], [1; 2]) 617s ***** test 617s y = sym(11)/10; 617s t = sym(2); 617s x = 1.1; 617s s = 2; 617s A = chebyshevU (s, x); 617s B = double (chebyshevU (t, y)); 617s assert (A, B, -2*eps); 617s ***** test 617s % maple 617s A = 1.661891066691338157; 617s B = chebyshevU (18.1, 0.9); 617s assert (A, B, -3*eps) 617s ***** test 617s % maple, complex inputs> 617s % ChebyshevU(12.1+3.1*I, 0.5+0.2*I); 617s A = 1.046959313670290818 - 0.03386773634958834846*1i; 617s B = chebyshevU (12.1+3.1*i, 0.5+0.2i); 617s assert (A, B, -3*eps); 618s ***** test 618s % maple, matrix inputs 618s A = [2.2543638828875776000 -1.3872651600553574400]; 618s B = chebyshevU ([16 17], [0.9 0.8]); 618s assert (A, B, -10*eps); 618s ***** test 618s % x matrix, s scalar 618s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 618s t = sym(2); 618s x = double (y); 618s s = 2; 618s A = chebyshevU (s, x); 618s B = double (chebyshevU (t, y)); 618s assert (A, B, -eps); 621s ***** test 621s % s matrix, x scalar 621s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 621s y = sym(2); 621s s = double (t); 621s x = 2; 621s A = chebyshevU (s, x); 621s B = double (chebyshevU (t, y)); 621s assert (A, B, -2*eps); 623s ***** xtest 623s % https://github.com/fredrik-johansson/mpmath/issues/469 623s assert (chebyshevU (4, inf), inf) 623s assert (chebyshevU (4, -inf), inf) 623s assert (chebyshevU (3, inf), inf) 623s assert (chebyshevU (3, -inf), -inf) 623s !!!!! known failure 623s ASSERT errors for: assert (chebyshevU (4, inf),inf) 623s 623s Location | Observed | Expected | Reason 623s () 5 Inf 'Inf' mismatch 623s 11 tests, 10 passed, 1 known failure, 0 skipped 623s [inst/@double/coshint.m] 623s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/coshint.m 623s ***** error coshint (1, 2) 623s ***** test 623s x = 1.1; 623s y = sym(11)/10; 623s A = coshint (x); 623s B = double (coshint (y)); 623s assert (A, B, -4*eps); 624s ***** test 624s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 624s x = double (y); 624s A = coshint (x); 624s B = double (coshint (y)); 624s assert (A, B, -4*eps); 626s ***** test 626s % maple: 626s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 626s % > for a in A do evalf(Chi(a)) end do; 626s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 626s A = [ 0.58447599687824767874 + 1.8682915044330306402*1i 626s -0.63131069034703116988 + 1.8986171211850702957*1i 626s 0.13577763724269399110e42 626s -0.045456433004455372635 + 1.5707963267948966192*1i 626s -8.6330747070747332203 + 3.1315929868531280002*1i 626s 0.74701205140887966531e7 + 0.10381444259644068585e8*1i ]; 626s B = coshint (x); 626s assert (A, B, -eps) 626s ***** assert (coshint (inf), inf) 626s ***** assert (isinf (coshint (-inf))) 626s ***** assert (imag (coshint (-inf)), pi) 626s 7 tests, 7 passed, 0 known failure, 0 skipped 626s [inst/@double/logint.m] 626s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/logint.m 626s ***** error logint (1, 2) 626s ***** test 626s x = 1.1; 626s y = sym(11)/10; 626s A = logint (x); 626s B = double (logint (y)); 626s assert (A, B, -4*eps); 626s ***** test 626s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 626s x = double (y); 626s A = logint (x); 626s B = double (logint (y)); 626s assert (A, B, -4*eps); 628s ***** test 628s % maple: 628s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 628s % > for a in A do evalf(Li(a)) end do; 628s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 628s A = [ 1.3876787420229375511 + 2.5087546988592328752*1i 628s 1.6987684473874802274 + 4.5936366057115204667*1i 628s 30.126141584079629926 628s 3.4936715673748995398 + 5.5260023797127391973*1i 628s 0.90264689772681592152e-5 + 3.1415953634267361942*1i 628s -2.3996350854560916779 - 7.6971739096353664559*1i ]; 628s B = logint (x); 628s assert (A, B, -eps) 628s ***** assert (logint (inf), inf) 628s ***** assert (isnan (logint (-inf))) 628s 6 tests, 6 passed, 0 known failure, 0 skipped 628s [inst/@double/pochhammer.m] 628s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/pochhammer.m 628s ***** error pochhammer (1) 629s ***** error pochhammer (1, 2, 3) 629s ***** error pochhammer ([1 2], [1 2 3]) 629s ***** error pochhammer ([1 2], [1; 2]) 629s ***** test 629s y = sym(11)/10; 629s t = sym(3); 629s x = 1.1; 629s s = 3; 629s A = pochhammer (x, s); 629s B = double (pochhammer (y, t)); 629s assert (A, B, -2*eps); 629s ***** test 629s % maple 629s A = 256.798558090310131720; 629s B = pochhammer (18.1, 1.9); 629s assert (A, B, -20*eps) 629s ***** test 629s % maple, complex inputs> 629s A = 2.67921619474318221972 + 1.96716724764630702653*1i; 629s B = pochhammer (12.1+3.1*i, 0.5+0.2i); 629s assert (A, B, -4*eps); 629s ***** test 629s % maple, matrix inputs 629s A = [5.61467232547723663908 20.6144884613920190965]; 629s B = pochhammer ([0.9 0.8], [3.1 4.2]); 629s assert (A, B, -3*eps); 629s ***** test 629s % x matrix, s scalar 629s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 629s t = sym(2); 629s x = double (y); 629s s = 2; 629s A = pochhammer (s, x); 629s B = double (pochhammer (t, y)); 629s assert (A, B, -3*eps); 631s ***** test 631s % s matrix, x scalar 631s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 631s y = sym(2); 631s s = double (t); 631s x = 2; 631s A = pochhammer (s, x); 631s B = double (pochhammer (t, y)); 631s assert (A, B, -5*eps); 633s 10 tests, 10 passed, 0 known failure, 0 skipped 633s [inst/@double/sinhint.m] 634s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/sinhint.m 634s ***** error sinhint (1, 2) 634s ***** test 634s x = 1.1; 634s y = sym(11)/10; 634s A = sinhint (x); 634s B = double (sinhint (y)); 634s assert (A, B, -4*eps); 634s ***** test 634s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 634s x = double (y); 634s A = sinhint (x); 634s B = double (sinhint (y)); 634s assert (A, B, -4*eps); 636s ***** test 636s % maple: 636s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 636s % > for a in A do evalf(Shi(a)) end do; 636s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 636s A = [ 0.45769171128668800567 + 1.8332099215048436239*1i 636s 0.60888490416819746440 + 1.2482232175376056201*1i 636s 0.13577763724269399110e42 636s 1.6583475942188740493*1i 636s -0.00010000000005553888891 + 0.10000000016666111119e-5*1i 636s -0.74701205140887967022e7 - 0.10381447401236722090e8*1i ]; 636s B = sinhint (x); 636s assert (A, B, -eps) 636s ***** assert (sinhint (inf), inf) 636s ***** assert (sinhint (-inf), -inf) 636s 6 tests, 6 passed, 0 known failure, 0 skipped 636s [inst/@double/fresnelc.m] 636s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/fresnelc.m 636s ***** error fresnelc (1, 2) 636s ***** test 636s x = 1.1; 636s y = sym(11)/10; 636s A = fresnelc (x); 636s B = double (fresnelc (y)); 636s assert (A, B, -4*eps); 636s ***** test 636s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 636s x = double (y); 636s A = fresnelc (x); 636s B = double (fresnelc (y)); 636s assert (A, B, -4*eps); 638s ***** test 638s % maple: 638s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 638s % > for a in A do evalf(FresnelC(a)) end do; 638s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 638s A = [ 16.087871374125480424 - 36.225687992881650217*1i 638s 0.47688568479874574722e12 + 0.12213736710985573216e13*1i 638s 0.49999989867881789756 638s 0.49989869420551572361*1i 638s -0.000099999999999999997535 + 0.99999999999999987665e-6*1i 638s 0.15391592966931193100e26 - 0.75738824160998910388e24*1i ]; 638s B = fresnelc (x); 638s assert (A, B, -eps) 638s ***** assert (fresnelc (inf), 0.5) 638s ***** assert (fresnelc (-inf), -0.5) 639s 6 tests, 6 passed, 0 known failure, 0 skipped 639s [inst/@double/sinint.m] 639s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/sinint.m 639s ***** error sinint (1, 2) 639s ***** test 639s x = 1.1; 639s y = sym(11)/10; 639s A = sinint (x); 639s B = double (sinint (y)); 639s assert (A, B, -4*eps); 639s ***** test 639s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 639s x = double (y); 639s A = sinint (x); 639s B = double (sinint (y)); 639s assert (A, B, -4*eps); 641s ***** assert (sinint (0), 0) 641s ***** assert (sinint (inf), pi/2) 641s ***** assert (sinint (-inf), -pi/2) 641s ***** assert (sinint (1), 0.9460830703671830149414, -2*eps) 641s ***** assert (sinint (-1), -0.9460830703671830149414, -2*eps) 641s ***** assert (sinint (pi), 1.851937051982466170361, -2*eps) 641s ***** assert (sinint (-pi), -1.851937051982466170361, -2*eps) 641s ***** assert (sinint (300), 1.5708810882137495193, -2*eps) 641s ***** assert (sinint (1e4), 1.5708915453859619157, -2*eps) 641s ***** assert (sinint (20i), 1.2807826332028294459e7*1i, -2*eps) 641s ***** test 641s % maple: 641s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 641s % > for a in A do evalf(Si(a)) end do; 641s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 641s A = [ 1.6782404878293681180 + 2.0396845546022061045*1i 641s -18.154174221650281533 + 1.6146414539230479060*1i 641s 1.5622254668890562934 641s 1246.1144901994233444*1i 641s -0.000099999999944461111128 + 0.99999999833338888972e-6*1i 641s -1.5386156269726011209 - 0.053969388020443786229*1i ]; 641s B = sinint (x); 641s assert (A, B, -eps) 641s 14 tests, 14 passed, 0 known failure, 0 skipped 641s [inst/@double/chebyshevT.m] 641s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@double/chebyshevT.m 641s ***** error chebyshevT (1) 642s ***** error chebyshevT (1, 2, 3) 642s ***** error chebyshevT ([1 2], [1 2 3]) 642s ***** error chebyshevT ([1 2], [1; 2]) 642s ***** test 642s y = sym(11)/10; 642s t = sym(2); 642s x = 1.1; 642s s = 2; 642s A = chebyshevT (s, x); 642s B = double (chebyshevT (t, y)); 642s assert (A, B, -2*eps); 642s ***** test 642s % maple 642s A = -0.304681164165948269030369; 642s B = chebyshevT (18.1, 0.9); 642s assert (A, B, -10*eps) 642s ***** test 642s % maple, complex inputs 642s % ChebyshevT(12.1+3.1*I, 0.5+0.2*I); 642s A = 0.637229289490379273451 - 0.475324703778957991318*1i; 642s B = chebyshevT (12.1+3.1*i, 0.5+0.2i); 642s assert (A, B, -5*eps); 642s ***** test 642s % maple, matrix inputs 642s A = [0.59523064198266880000 0.57727442996887552000]; 642s B = chebyshevT ([16 17], [0.9 0.7]); 642s assert (A, B, -10*eps); 642s ***** test 642s % x matrix, s scalar 642s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 642s t = sym(2); 642s x = double (y); 642s s = 2; 642s A = chebyshevT (s, x); 642s B = double (chebyshevT (t, y)); 642s assert (A, B, -eps); 644s ***** test 644s % s matrix, x scalar 644s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 644s y = sym(2); 644s s = double (t); 644s x = 2; 644s A = chebyshevT (s, x); 644s B = double (chebyshevT (t, y)); 644s assert (A, B, -eps); 647s ***** xtest 647s % https://github.com/fredrik-johansson/mpmath/issues/469 647s assert (chebyshevT (4, inf), inf) 647s assert (chebyshevT (4, -inf), inf) 647s assert (chebyshevT (3, inf), inf) 647s assert (chebyshevT (3, -inf), -inf) 647s !!!!! known failure 647s ASSERT errors for: assert (chebyshevT (4, inf),inf) 647s 647s Location | Observed | Expected | Reason 647s () 1 Inf 'Inf' mismatch 647s 11 tests, 10 passed, 1 known failure, 0 skipped 647s [inst/@sym/gammainc.m] 647s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/gammainc.m 647s ***** assert (isequal (gammainc (sym(0), 1), sym(0))) 647s ***** assert (isequal (gammainc (sym(0), 2), sym(0))) 647s ***** assert (isequal (gammainc (sym('oo'), 1), sym(1))) 647s ***** assert (isequal (gammainc (sym(0), 1, 'upper'), sym(1))) 648s ***** assert (isequal (gammainc (sym(0), 2, 'upper'), sym(1))) 648s ***** assert (isequal (gammainc (sym('oo'), 1, 'upper'), sym(0))) 648s ***** test 648s % default is lower 648s syms x a 648s assert (isequal (gammainc (x, a), gammainc(x, a, 'lower'))) 649s ***** test 649s % compare to double 649s x = 5; a = 1; 649s A = gammainc (x, a); 649s B = double (gammainc (sym(x), a)); 649s assert(A, B, -eps) 649s ***** test 649s % compare to double where gamma(a) != 1 649s x = 5; a = 3; 649s A = gammainc (x, a); 649s B = double (gammainc (sym(x), a)); 649s assert(A, B, -eps) 649s ***** test 649s % compare to double 649s x = 100; a = 1; 649s A = gammainc (x, a); 649s B = double (gammainc (sym(x), a)); 649s assert(A, B, -eps) 650s ***** test 650s % compare to double 650s xs = sym(1)/1000; x = 1/1000; a = 1; 650s A = gammainc (x, a); 650s B = double (gammainc (xs, a)); 650s assert(A, B, -eps) 650s ***** test 650s % compare to double 650s x = 5; a = 1; 650s A = gammainc (x, a, 'upper'); 650s B = double (gammainc (sym(x), a, 'upper')); 650s assert(A, B, -10*eps) 650s ***** test 650s % compare to double 650s x = 10; a = 1; 650s A = gammainc (x, a, 'upper'); 650s B = double (gammainc (sym(x), a, 'upper')); 650s assert(A, B, -10*eps) 651s ***** test 651s % compare to double 651s x = 40; a = 1; 651s A = gammainc (x, a, 'upper'); 651s B = double (gammainc (sym(x), a, 'upper')); 651s assert(A, B, -10*eps) 651s ***** test 651s % compare to double 651s xs = sym(1)/1000; x = 1/1000; a = 1; 651s A = gammainc (x, a, 'upper'); 651s B = double (gammainc (xs, a, 'upper')); 651s assert(A, B, -eps) 651s ***** test 651s % vectorized 651s P = gammainc([sym(pi) 2], [1 3]); 651s expected = [gammainc(pi, sym(1)) gammainc(2, sym(3))]; 651s assert (isequal (P, expected)) 652s ***** test 652s % vectorized 652s P = gammainc(sym(pi), [1 3]); 652s expected = [gammainc(sym(pi), 1) gammainc(sym(pi), 3)]; 652s assert (isequal (P, expected)) 653s ***** test 653s % vectorized 653s P = gammainc([sym(pi) 2], 1); 653s expected = [gammainc(pi, sym(1)) gammainc(2, sym(1))]; 653s assert (isequal (P, expected)) 654s ***** test 654s % round trip 654s syms x a 654s f = gammainc (x, a, 'upper'); 654s h = function_handle (f, 'vars', [x a]); 654s A = h (1.1, 2); 654s B = gammainc (1.1, 2, 'upper'); 654s assert (A, B) 655s ***** test 655s % round trip 655s syms x a 655s f = gammainc (x, a, 'lower'); 655s h = function_handle (f, 'vars', [x a]); 655s A = h (1.1, 2); 655s B = gammainc (1.1, 2, 'lower'); 655s assert (A, B) 655s ***** test 655s % round trip 655s syms x a 655s f = gammainc (x, a, 'upper'); 655s h = function_handle (f, 'vars', [x a]); 655s A = h (1.1, 2.2); 655s B = gammainc (1.1, 2.2, 'upper'); 655s assert (A, B) 656s ***** test 656s % round trip 656s syms x a 656s f = gammainc (x, a, 'lower'); 656s h = function_handle (f, 'vars', [x a]); 656s A = h (1.1, 2.2); 656s B = gammainc (1.1, 2.2, 'lower'); 656s assert (A, B) 656s 22 tests, 22 passed, 0 known failure, 0 skipped 656s [inst/@sym/lu.m] 656s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/lu.m 656s ***** test 656s % scalar 656s [l, u, p] = lu(sym(6)); 656s assert (isequal (l, sym(1))) 656s assert (isequal (u, sym(6))) 656s assert (isequal (p, sym(1))) 656s syms x 656s [l, u, p] = lu(x); 656s assert (isequal (l*u, p*x)) 656s [l, u] = lu(x); 656s assert (isequal (l*u, x)) 657s ***** test 657s % perm 657s A = sym(fliplr(2*eye(3))); 657s [L, U, P] = lu(A); 657s assert (isequal (L*U, P*A)) 657s [L, U, P] = lu(A, 'matrix'); 657s assert (isequal (L*U, P*A)) 657s [L, U, p] = lu(A, 'vector'); 657s assert (isequal (L*U, A(p,:))) 657s [L, U] = lu(A); 657s assert (isequal (L*U, A)) 659s ***** test 659s % p is col vectpr 659s A = sym([0 2; 3 4]); 659s [L, U, p] = lu(A, 'vector'); 659s assert(iscolumn(p)) 660s ***** test 660s % simple matrix 660s A = [1 2; 3 4]; 660s B = sym(A); 660s [L, U, P] = lu(B); 660s assert (isequal (L*U, P*B)) 660s assert (isequal (U(2,1), sym(0))) 660s % needs pivot 660s A = [0 2; 3 4]; 660s B = sym(A); 660s [L, U, P] = lu(B); 660s [Ld, Ud, Pd] = lu(A); 660s assert (isequal (L*U, P*A)) 660s assert (isequal (U(2,1), sym(0))) 660s % matches regular LU 660s assert ( max(max(double(L)-Ld)) <= 10*eps) 660s assert ( max(max(double(U)-Ud)) <= 10*eps) 660s assert ( isequal (P, Pd)) 662s ***** test 662s % rectangular 662s A = sym([1 2; 3 4; 5 6]); 662s [L, U] = lu (A); 662s assert (isequal (L*U, A)) 663s ***** test 663s % rectangular 663s A = sym([1 2 3; 4 5 6]); 663s [L, U] = lu (A); 663s assert (isequal (L*U, A)) 663s ***** test 663s % rectangular, repeated row 663s A = sym([1 2 3; 2 4 6]); 663s [L, U] = lu (A); 663s assert (isequal (L*U, A)) 664s ***** test 664s % rectangular, needs permutation 664s A = sym([0 0 0; 1 2 3]); 664s [L, U] = lu (A); 664s assert (isequal (L*U, A)) 664s assert (~isequal (tril (L), L)) 664s [L, U, P] = lu (A); 664s assert (isequal (L*U, P*A)) 664s assert (isequal (tril (L), L)) 665s 8 tests, 8 passed, 0 known failure, 0 skipped 665s [inst/@sym/uplus.m] 666s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/uplus.m 666s ***** test 666s syms x 666s assert (isa (+x, 'sym')) 666s assert (isequal (+x, x)) 666s ***** test 666s A = sym([0 -1 inf]); 666s assert( isequal ( +A, A)) 666s 2 tests, 2 passed, 0 known failure, 0 skipped 666s [inst/@sym/isscalar.m] 666s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isscalar.m 666s ***** assert(isscalar(sym('x'))) 666s ***** test 666s a = sym([1 2 3]); 666s assert(~isscalar(a)) 666s ***** assert(~isscalar(sym([]))) 666s 3 tests, 3 passed, 0 known failure, 0 skipped 666s [inst/@sym/polylog.m] 666s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/polylog.m 666s ***** assert (isequal (polylog (sym('s'), 0), sym(0))) 667s ***** assert (isequal (double (polylog (1, sym(-1))), -log(2))) 667s ***** assert (isequal (double (polylog (0, sym(2))), -2)) 667s ***** assert (isequal (double (polylog (-1, sym(2))), 2)) 667s ***** assert (isequal (double (polylog (-2, sym(3))), -1.5)) 667s ***** assert (isequal (double (polylog (-3, sym(2))), 26)) 667s ***** assert (isequal (double (polylog (-4, sym(3))), -15)) 668s ***** assert (isequal (double (polylog (1, sym(1)/2)), log(2))) 668s ***** test 668s % round trip 668s syms s z 668s f = polylog (s, z); 668s h = function_handle (f, 'vars', [s z]); 668s A = h (1.1, 2.2); 668s B = polylog (1.1, 2.2); 668s assert (A, B) 668s 9 tests, 9 passed, 0 known failure, 0 skipped 668s [inst/@sym/dot.m] 668s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/dot.m 668s ***** error dot (sym(1), 2, 3) 668s ***** test 668s a = sym([1; 1; 0]); 668s b = sym([1; 2; 4]); 668s c = dot(a, b); 668s assert (isequal (c, sym(3))) 669s ***** test 669s syms x 669s a = sym([x; 0; 0]); 669s b = sym([0; 1; 0]); 669s c = dot(a, b); 669s assert (isequal (c, sym(0))) 669s ***** test 669s assert (isequal (dot (sym([1 i]), sym([i 2])), sym(-i))) 670s 4 tests, 4 passed, 0 known failure, 0 skipped 670s [inst/@sym/setdiff.m] 670s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/setdiff.m 670s ***** test 670s A = sym([1 2 3]); 670s B = sym([1 2 4]); 670s C = setdiff(A, B); 670s D = sym([3]); 670s assert (isequal (C, D)) 670s ***** test 670s % one nonsym 670s A = sym([1 2 3]); 670s B = [1 2 4]; 670s C = setdiff(A, B); 670s D = sym([3]); 670s assert (isequal (C, D)) 671s ***** test 671s % empty 671s A = sym([1 2 3]); 671s C = setdiff(A, A); 671s assert (isempty (C)) 671s ***** test 671s % empty input 671s A = sym([1 2]); 671s C = setdiff(A, []); 671s assert (isequal (C, A) || isequal (C, sym([2 1]))) 671s ***** test 671s % scalar 671s syms x 671s assert (isequal (setdiff([x 1], x), sym(1))) 671s assert (isempty (setdiff(x, x))) 672s ***** test 672s A = interval(sym(1), 3); 672s B = interval(sym(2), 5); 672s C = setdiff(A, B); 672s assert( isequal( C, interval(sym(1), 2, false, true))) 672s 6 tests, 6 passed, 0 known failure, 0 skipped 672s [inst/@sym/isequaln.m] 672s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isequaln.m 672s ***** test 672s a = sym([1 2]); 672s b = a; 672s assert (isequaln (a, b)) 672s b(1) = 42; 672s assert (~isequaln (a, b)) 672s ***** test 672s a = sym([1 2; 3 4]); 672s b = a; 672s assert (isequaln (a, b)) 672s b(1) = 42; 672s assert (~isequaln (a, b)) 673s ***** test 673s a = sym([nan; 2]); 673s b = a; 673s assert (isequaln (a, b)) 673s ***** test 673s a = sym([nan 2; 3 4]); 673s b = a; 673s assert (isequaln (a, b)) 673s ***** test 673s % more than two arrays 673s a = sym([nan 2 3]); 673s b = a; 673s c = a; 673s assert (isequaln (a, b, c)) 673s c(1) = 42; 673s assert (~isequaln (a, b, c)) 673s 5 tests, 5 passed, 0 known failure, 0 skipped 673s [inst/@sym/invhilb.m] 673s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/invhilb.m 673s ***** test 673s A = invhilb(sym(3)); 673s B = sym([9 -36 30;-36 192 -180;30 -180 180]); 673s assert( isequal( A, B)) 674s 1 test, 1 passed, 0 known failure, 0 skipped 674s [inst/@sym/zeta.m] 674s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/zeta.m 674s ***** error zeta (sym(1), 2, 3) 674s ***** assert (isequaln (zeta (sym(nan)), sym(nan))) 674s ***** test 674s f1 = zeta (sym(2)); 674s f2 = pi^2/6; 674s assert (double (f1), f2, -1e-15) 674s ***** test 674s A = sym([0 2; 4 6]); 674s f1 = zeta (A); 674s f2 = [-1/2 pi^2/6; pi^4/90 pi^6/945]; 674s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 675s ***** test 675s % round trip 675s y = sym('y'); 675s f = zeta (y); 675s h = function_handle (f); 675s A = zeta (2); 675s B = h (2); 675s assert (A, B, -eps) 675s ***** test 675s syms x 675s assert (isequal (zeta (0, x), zeta(x))) 676s ***** test 676s % ensure its the nth deriv wrt x, not the n deriv 676s syms x n 676s F = zeta (n, x); 676s F = subs(F, n, 3); 676s assert (isequal (F, diff (zeta (x), x, x, x))) 676s 7 tests, 7 passed, 0 known failure, 0 skipped 676s [inst/@sym/logspace.m] 676s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/logspace.m 676s ***** test 676s % default argument for N 676s A = logspace(0, 2); 676s assert (length (A) == 50); 676s ***** test 676s % special case: pi as end pt 676s A = logspace(-sym(3), sym(pi), 3); 676s assert (isequal (A(end), sym(pi))) 677s ***** test 677s A = logspace(-sym(4), 0, 3); 677s B = [sym(1)/10000 sym(1)/100 sym(1)]; 677s assert (isequal (A, B)) 678s ***** test 678s % vpa support, might need recent sympy for sympy issue #10063 678s n = 32; 678s A = logspace(-vpa(1,n), 0, 3); 678s B = [10^(-vpa(1,n)) 10^(-vpa(sym(1)/2,n)) vpa(1,n)]; 678s assert (isequal (A, B)) 678s assert (max(abs(double(A) - logspace(-1, 0, 3))) < 1e-15) 680s 4 tests, 4 passed, 0 known failure, 0 skipped 680s [inst/@sym/rewrite.m] 680s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rewrite.m 680s ***** test 680s syms x 680s assert (isequal (rewrite(x, 'exp'), x)) 680s ***** test 680s % empty 680s e = sym([]); 680s assert (isequal (rewrite(e, 'sin'), e)) 680s ***** test 680s syms x 680s A = [exp(x) exp(2*x)]; 680s B = [sinh(x) + cosh(x) sinh(2*x) + cosh(2*x)]; 680s assert (isequal (rewrite(A, 'sin'), B)) 681s 3 tests, 3 passed, 0 known failure, 0 skipped 681s [inst/@sym/rhs.m] 681s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rhs.m 681s ***** test 681s syms x 681s f = x + 1 == 2*x; 681s assert (isequal (rhs(f), 2*x)) 682s ***** error 682s syms x 682s rhs(x) 682s 2 tests, 2 passed, 0 known failure, 0 skipped 682s [inst/@sym/sind.m] 682s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sind.m 682s ***** error sind (sym(1), 2) 682s ***** assert (isequaln (sind (sym(nan)), sym(nan))) 682s ***** test 682s f1 = sind (sym(1)); 682s f2 = sind (1); 682s assert (double (f1), f2, -eps) 682s ***** test 682s D = [10 30; 110 -45]; 682s A = sym(D); 682s f1 = sind (A); 682s f2 = sind (D); 682s assert (double (f1), f2, -eps) 683s 4 tests, 4 passed, 0 known failure, 0 skipped 683s [inst/@sym/isempty.m] 683s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isempty.m 683s ***** shared se, a 683s se = sym ([]); 683s a = sym ([1 2]); 683s ***** assert (~isempty (sym (1))) 683s ***** assert (isempty (sym (se))) 683s ***** assert (isempty (se == [])) 683s ***** test 683s ***** test se(1) = 10; 683s ***** test assert ( isa (se, 'sym')) 683s ***** test assert ( isequal (se, 10)) 683s ***** shared 683s ***** test 683s % empty matrices 683s A = sym('A', [3 0]); 683s assert (isempty (A)) 683s A = sym(ones(3,0)); 683s assert (isempty (A)) 684s ***** test 684s % non-empty symbolic-size matrices 684s syms n integer 684s A = sym('A', [3 n]); 684s assert (~isempty (A)) 684s ***** xtest 684s % empty symbolic-size matrices 684s % FIXME: will fail until size stop lying by saying 1x1 684s syms n integer 684s A = sym('A', [0 n]); 684s assert (isempty (A)) 684s A = sym('A', [n 0]); 684s assert (isempty (A)) 684s !!!!! known failure 684s assert (isempty (A)) failed 684s 10 tests, 9 passed, 1 known failure, 0 skipped 684s [inst/@sym/pinv.m] 684s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/pinv.m 684s ***** test 684s % scalar 684s syms x 684s assert (isequal (pinv(x), 1/x)) 684s ***** test 684s % 2x3 684s A = [1 2 3; 4 5 6]; 684s assert (max (max (abs (double (pinv (sym (A))) - pinv(A)))) <= 10*eps) 685s 2 tests, 2 passed, 0 known failure, 0 skipped 685s [inst/@sym/orth.m] 686s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/orth.m 686s ***** test 686s A = [1 2; 3 6]; 686s K = orth(A); 686s L = orth(sym(A)); 686s assert (isequal (size(L), [2 1])) 686s dif1 = abs (double(L) - K); 686s dif2 = abs (double(L) + K); 686s assert (all (dif1 < 1e-15) || all (dif2 < 1e-15)) 686s ***** test 686s A = [1; 3]; 686s K = orth(A); 686s L = orth(sym(A)); 686s assert (isequal (size(L), [2 1])) 686s dif1 = abs (double(L) - K); 686s dif2 = abs (double(L) + K); 686s assert (all (dif1 < 1e-16) || all (dif2 < 1e-16)) 687s ***** test 687s A = sym([1 2; 3 4]); 687s L = orth(sym(A)); 687s assert (isequal (size(L), [2 2])) 687s v = L(:, 1); 687s w = L(:, 2); 687s assert (isAlways (v' * v == 1)) 687s assert (isAlways (w' * w == 1)) 687s assert (isAlways (v' * w == 0)) 688s ***** test 688s A = sym([1 1; 1 0; 1 0]); 688s L = orth(sym(A)); 688s assert (isequal (size(L), [3 2])) 688s v = L(:, 1); 688s w = L(:, 2); 688s assert (isAlways (v' * v == 1)) 688s assert (isAlways (w' * w == 1)) 688s assert (isAlways (v' * w == 0)) 688s % y and z components must be equal 688s assert (isAlways (v(2) == v(3))) 688s assert (isAlways (w(2) == w(3))) 689s 4 tests, 4 passed, 0 known failure, 0 skipped 689s [inst/@sym/cos.m] 689s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cos.m 689s ***** error cos (sym(1), 2) 689s ***** assert (isequaln (cos (sym(nan)), sym(nan))) 689s ***** shared x, d 689s d = 1; 689s x = sym('1'); 689s ***** test 689s f1 = cos(x); 689s f2 = cos(d); 689s assert( abs(double(f1) - f2) < 1e-15 ) 689s ***** test 689s D = [d d; d d]; 689s A = [x x; x x]; 689s f1 = cos(A); 689s f2 = cos(D); 689s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 690s ***** test 690s % round trip 690s y = sym('y'); 690s A = cos (d); 690s f = cos (y); 690s h = function_handle (f); 690s B = h (d); 690s assert (A, B, -eps) 690s 5 tests, 5 passed, 0 known failure, 0 skipped 690s [inst/@sym/reshape.m] 690s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/reshape.m 690s ***** test 690s d = [2 4 6; 8 10 12]; 690s a = sym(d); 690s assert (isequal (reshape(a, [1 6]), reshape(d, [1 6]))) 690s assert (isequal (reshape(a, 1, 6), reshape(d, 1, 6))) 690s assert (isequal (reshape(a, 2, 3), reshape(d, 2, 3))) 690s assert (isequal (reshape(a, 3, 2), reshape(d, 3, 2))) 690s assert (isequal (reshape(a, 6, 1), reshape(d, 6, 1))) 693s ***** shared x, a, d 693s syms x 693s a = [1 x^2 x^4; x x^3 x^5]; 693s d = [0 2 4; 1 3 5]; 693s 693s ***** test 693s b = reshape(a, [1 6]); 693s assert (isequal (size(b), [1 6])) 693s assert (isequal (b, x.^reshape(d,1,6))) 693s 694s ***** test 694s b = reshape(a, [6 1]); 694s assert (isequal (size(b), [6 1])) 694s assert (isequal (b, x.^reshape(d,6,1))) 694s b = reshape(b, size(a)); 694s assert (isequal (size(b), [2 3])) 694s assert (isequal (b, a)) 694s 694s ***** test 694s b = a(:); 694s assert( isequal (size(b), [6 1])) 694s assert( isequal (b, x.^(d(:)))) 694s 695s ***** test 695s % reshape scalar 695s assert (logical( reshape(x, 1, 1) == x )) 695s assert (logical( reshape(x, [1 1]) == x )) 695s ***** shared a 695s syms a 695s ***** error reshape(a, 2, 1) 695s ***** error reshape(a, 1, 2) 695s ***** error reshape(a, 1, 1, 1) 695s ***** error reshape(a, [1, 1, 1]) 696s 9 tests, 9 passed, 0 known failure, 0 skipped 696s [inst/@sym/flipud.m] 696s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/flipud.m 696s ***** test 696s % simple 696s syms x 696s A = [x 2; sym(pi) x]; 696s B = [sym(pi) x; x 2]; 696s assert (isequal (flipud(A), B)) 697s ***** test 697s % simple, odd # rows 697s syms x 697s A = [x 2; sym(pi) x; [1 2]]; 697s B = [[1 2]; sym(pi) x; x 2]; 697s assert (isequal (flipud(A), B)) 697s ***** test 697s % scalar 697s syms x 697s assert (isequal (flipud(x), x)) 698s 3 tests, 3 passed, 0 known failure, 0 skipped 698s [inst/@sym/laguerreL.m] 698s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/laguerreL.m 698s ***** shared x 698s syms x 698s ***** assert (isequal (laguerreL(0, x), sym(1))) 698s ***** assert (isequal (laguerreL(1, x), 1-x)) 698s ***** assert (isequal (laguerreL(2, x), x^2/2 - 2*x + 1)) 699s ***** error laguerreL(x) 699s ***** error laguerreL(1, 2, x, 3) 699s ***** shared 699s ***** test 699s if (pycall_sympy__ ('return Version(spver) > Version("1.4")')) 699s syms x 699s assert (isequal (laguerreL (-3, x), exp(x)*(x^2/2 + 2*x + 1))) 699s end 700s ***** test 700s syms x n 700s L = laguerreL([2 n], x); 700s expected = [laguerreL(2, x) laguerreL(n, x)]; 700s assert (isequal (L, expected)) 701s ***** test 701s syms x y 701s L = laguerreL([1; 2], [x; y]); 701s expected = [laguerreL(1, x); laguerreL(2, y)]; 701s assert (isequal (L, expected)) 701s ***** test 701s syms x n 701s assert (isequal (laguerreL(n, 0, x), laguerreL(n, x))) 701s ***** shared x, y, n 701s syms x y n 702s ***** assert (isequal (laguerreL([1 n], 0, x), laguerreL([1 n], x))) 702s ***** test 702s L = laguerreL([1; n], [pi; 0], [x; y]); 702s expected = [laguerreL(1, pi, x); laguerreL(n, 0, y)]; 702s assert (isequal (L, expected)) 703s ***** test 703s L = laguerreL([1 n], [pi 0], x); 703s expected = [laguerreL(1, pi, x) laguerreL(n, 0, x)]; 703s assert (isequal (L, expected)) 703s ***** test 703s L = laguerreL([1 n], pi, [x y]); 703s expected = [laguerreL(1, pi, x) laguerreL(n, pi, y)]; 703s assert (isequal (L, expected)) 704s ***** test 704s L = laguerreL(1, [pi 0], [x y]); 704s expected = [laguerreL(1, pi, x) laguerreL(1, 0, y)]; 704s assert (isequal (L, expected)) 704s ***** test 704s L = laguerreL([1 n], pi, x); 704s expected = [laguerreL(1, pi, x) laguerreL(n, pi, x)]; 704s assert (isequal (L, expected)) 705s ***** test 705s L = laguerreL(1, [pi 0], x); 705s expected = [laguerreL(1, pi, x) laguerreL(1, 0, x)]; 705s assert (isequal (L, expected)) 706s ***** test 706s L = laguerreL(1, pi, [x y]); 706s expected = [laguerreL(1, pi, x) laguerreL(1, pi, y)]; 706s assert (isequal (L, expected)) 706s ***** test 706s % round trip 706s f = laguerreL (n, x); 706s h = function_handle (f); 706s A = h (1, 3.2); 706s B = laguerreL (1, 3.2); 706s assert (A, B) 706s A = h ([1 2], [3.3 4.4]); 706s B = laguerreL ([1 2], [3.3 4.4]); 706s assert (A, B) 706s ***** error 706s % round trip 706s f = laguerreL (n, y, x); 706s h = function_handle (f); 706s 19 tests, 19 passed, 0 known failure, 0 skipped 706s [inst/@sym/rank.m] 706s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rank.m 706s ***** test 706s A = sym([1 2; 3 4]); 706s assert (rank(A) == 2); 706s ***** test 706s A = sym([1 2 3; 3 4 5]); 706s assert (rank(A) == 2); 707s ***** test 707s A = sym([1 2; 1 2]); 707s assert (rank(A) == 1); 707s ***** test 707s A = sym([1 2; 3 4]); 707s assert (rank(A) == 2); 707s ***** assert (rank(sym(1)) == 1); 707s ***** assert (rank(sym(0)) == 0); 707s ***** assert (rank(sym('x', 'positive')) == 1); 707s 7 tests, 7 passed, 0 known failure, 0 skipped 707s [inst/@sym/nnz.m] 707s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/nnz.m 707s ***** assert (nnz (sym ([1])) == 1) 708s ***** assert (nnz (sym ([0])) == 0) 708s ***** assert (nnz (sym ([])) == 0) 708s ***** assert (nnz (sym ([1 0; 0 3])) == 2) 708s ***** test 708s syms x 708s assert (nnz ([x 0]) == 1) 708s ***** assert (nnz (sym (true)) == 1) 708s ***** assert (nnz (sym (false)) == 0) 708s ***** assert (nnz (sym (inf)) == 1) 708s ***** assert (nnz (sym (nan)) == 1) 708s 9 tests, 9 passed, 0 known failure, 0 skipped 708s [inst/@sym/conj.m] 708s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/conj.m 708s ***** test 708s a = sym(6); 708s b = sym(5i); 708s assert (isequal (conj(a), a)) 708s assert (isequal (conj(b), -b)) 708s assert (isequal (conj(a+b), a-b)) 709s ***** test 709s syms x 709s assert (isequal (conj(conj(x)), x)) 709s ***** test 709s syms x real 709s assert (isequal (conj(x), x)) 709s ***** test 709s % array 709s syms x 709s A = [x 6+1i; sym(1) x+2i]; 709s B = [conj(x) 6-1i; sym(1) conj(x)-2i]; 709s assert (isequal (conj(A), B)) 711s ***** test 711s % true/false 711s t = sym(true); 711s f = sym(false); 711s assert (isequal ( conj(t), t)) 711s assert (isequal ( conj(f), f)) 711s ***** test 711s % round trip 711s syms x 711s d = 3 - 5i; 711s f = conj (x); 711s A = conj (d); 711s h = function_handle (f); 711s B = h (d); 711s assert (A, B) 711s 6 tests, 6 passed, 0 known failure, 0 skipped 711s [inst/@sym/setxor.m] 711s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/setxor.m 711s ***** test 711s A = sym([1 2 3]); 711s B = sym([1 2 4]); 711s C = setxor(A, B); 711s D1 = sym([3 4]); 711s D2 = sym([4 3]); 711s assert (isequal (C, D1) || isequal (C, D2)) 712s ***** test 712s % one nonsym 712s A = sym([1 2 3]); 712s B = [1 2 4]; 712s C = setxor(A, B); 712s D1 = sym([3 4]); 712s D2 = sym([4 3]); 712s assert (isequal (C, D1) || isequal (C, D2)) 713s ***** test 713s % empty 713s A = sym([1 2 3]); 713s C = setxor(A, A); 713s assert (isempty (C)) 713s ***** test 713s % empty input 713s A = sym([1 2]); 713s C = setxor(A, []); 713s assert (isequal (C, A) || isequal (C, sym([2 1]))) 713s ***** test 713s % scalar 713s syms x 713s assert (isequal (setxor([x 1], x), sym(1))) 713s assert (isempty (setxor(x, x))) 713s ***** test 713s A = interval(sym(1), 3); 713s B = interval(sym(2), 5); 713s C = setxor(A, B); 713s D = union (interval (sym(1), 2, false, true), interval (sym(3), 5, true, false)); 713s assert( isequal( C, D)) 714s 6 tests, 6 passed, 0 known failure, 0 skipped 714s [inst/@sym/isna.m] 714s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isna.m 714s ***** test 714s % no sym should be NA 714s syms x oo 714s assert (~isna(sym(1))) 714s assert (~isna(x)) 714s assert (~isna(oo)) 714s assert (~isna(sym(nan))) 714s assert (isequal (isna (sym ([1 nan])), [false false])) 714s 1 test, 1 passed, 0 known failure, 0 skipped 714s [inst/@sym/dilog.m] 714s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/dilog.m 715s ***** assert (isequal (dilog (sym(1)), sym(0))) 715s ***** assert (isequal (dilog (sym(0)), sym(pi)^2/6)) 715s ***** assert (isequal (dilog (sym(2)), -sym(pi)^2/12)) 716s ***** assert (double(dilog(sym(-1))), pi^2/4 - pi*1i*log(2), eps) 716s ***** test 716s % round-trip 716s syms x 716s f = dilog (x); 716s h = function_handle (f); 716s A = h (1.1); 716s B = dilog (1.1); 716s assert (A, B, -eps) 717s 5 tests, 5 passed, 0 known failure, 0 skipped 717s [inst/@sym/acsc.m] 717s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acsc.m 717s ***** error acsc (sym(1), 2) 717s ***** assert (isequaln (acsc (sym(nan)), sym(nan))) 717s ***** shared x, d 717s d = 1; 717s x = sym('1'); 717s ***** test 717s f1 = acsc(x); 717s f2 = acsc(d); 717s assert( abs(double(f1) - f2) < 1e-15 ) 717s ***** test 717s D = [d d; d d]; 717s A = [x x; x x]; 717s f1 = acsc(A); 717s f2 = acsc(D); 717s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 718s ***** test 718s % round trip 718s y = sym('y'); 718s A = acsc (d); 718s f = acsc (y); 718s h = function_handle (f); 718s B = h (d); 718s assert (A, B, -eps) 718s 5 tests, 5 passed, 0 known failure, 0 skipped 718s [inst/@sym/eig.m] 718s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/eig.m 718s ***** test 718s % basic 718s A = [1 2; 3 4]; 718s B = sym(A); 718s sd = eig(A); 718s s = eig(B); 718s s2 = double(s); 718s assert (norm(sort(s2) - sort(sd)) <= 10*eps) 718s ***** test 718s % scalars 718s syms x 718s a = sym(-10); 718s assert (isequal (eig(a), a)) 718s assert (isequal (eig(x), x)) 719s ***** test 719s % diag, multiplicity 719s A = diag([6 6 7]); 719s B = sym(A); 719s e = eig(B); 719s assert (isequal (size (e), [3 1])) 719s assert (sum(logical(e == 6)) == 2) 719s assert (sum(logical(e == 7)) == 1) 719s ***** test 719s % matrix with symbols 719s syms x y positive 719s A = [x+9 y; sym(0) 6]; 719s s = eig(A); 719s s = simplify(s); 719s assert (isequal (s, [x+9; 6]) || isequal (s, [6; x+9])) 720s ***** test 720s % eigenvects 720s e = sym([5 5 5 6 7]); 720s A = diag(e); 720s [V, D] = eig(A); 720s assert (isequal (diag(D), e.')) 720s assert (isequal (V, diag(sym([1 1 1 1 1])))) 722s ***** test 722s % alg/geom mult, eigenvects 722s e = sym([5 5 5 6]); 722s A = diag(e); 722s A(1,2) = 1; 722s [V, D] = eig(A); 722s assert (isequal (diag(D), e.')) 722s assert (sum(logical(V(1,:) ~= 0)) == 2) 722s assert (sum(logical(V(2,:) ~= 0)) == 0) 722s assert (sum(logical(V(3,:) ~= 0)) == 1) 722s assert (sum(logical(V(4,:) ~= 0)) == 1) 723s 6 tests, 6 passed, 0 known failure, 0 skipped 723s [inst/@sym/isrow.m] 723s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isrow.m 723s ***** assert (isrow (sym ([1]))) 723s ***** assert (isrow (sym ([1 2 3]))) 723s ***** assert (~isrow (sym ([]))) 723s ***** assert (~isrow (sym ([1 2 3]'))) 724s ***** assert (~isrow (sym ([1 2; 3 4]))) 724s 5 tests, 5 passed, 0 known failure, 0 skipped 724s [inst/@sym/asind.m] 724s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/asind.m 724s ***** error asind (sym(1), 2) 724s ***** assert (isequaln (asind (sym(nan)), sym(nan))) 724s ***** test 724s f1 = asind (sym(1)/2); 724s f2 = asind (1/2); 724s assert (double (f1), f2, -eps) 724s ***** test 724s D = [1 2; 3 4]/4; 724s A = sym([1 2; 3 4])/4; 724s f1 = asind (A); 724s f2 = asind (D); 724s assert (double (f1), f2, -eps) 726s 4 tests, 4 passed, 0 known failure, 0 skipped 726s [inst/@sym/potential.m] 726s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/potential.m 726s ***** error potential (sym(1), 2, 3, 4) 726s ***** shared x,y,z 726s syms x y z 726s ***** test 726s % 1D 726s f = 3*x^2; 726s F = x^3; 726s assert (isequal (potential(f), F)) 726s assert (isequal (potential(f, x), F)) 726s assert (isequal (potential(f, x, 0), F)) 726s assert (isequal (potential(f, x, 2), F - 8)) 728s ***** test 728s F = x*exp(y) + (z-1)^2; 728s f = gradient(F); 728s G = potential(f, [x;y;z], [0;1;1]); 728s assert (isAlways (G == F)) 730s ***** test 730s F = x*exp(y); 730s f = gradient(F); 730s G = potential(f); 730s assert (isAlways (G == F)) 731s ***** test 731s % no potential exists 731s syms x y 731s a = [x; x*y^2]; 731s assert (isnan (potential (a))) 732s ***** shared 732s ***** xtest 732s % fails b/c of sympy #8458 (piecewise expr that should simplify) 732s syms x 732s f = cos(x); 732s assert (isequal (potential(f, x), sin(x))) 732s !!!!! known failure 732s assert (isequal (potential (f, x), sin (x))) failed 732s 6 tests, 5 passed, 1 known failure, 0 skipped 732s [inst/@sym/fresnels.m] 732s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fresnels.m 732s ***** error fresnels (sym(1), 2) 732s ***** test 732s a = fresnels(sym(0)); 732s assert (isequal (a, sym(0))) 732s ***** test 732s b = fresnels(sym('oo')); 732s assert (isequal (b, sym(1)/2)) 733s ***** test 733s % values in a matrix 733s syms x 733s a = fresnels([sym(0) sym('oo') x 1]); 733s b = [sym(0) sym(1)/2 fresnels(x) fresnels(sym(1))]; 733s assert (isequal (a, b)) 734s ***** test 734s % round trip 734s syms x 734s f = fresnels (x); 734s h = function_handle (f); 734s A = h (1.1); 734s B = fresnels (1.1); 734s assert (A, B) 734s 5 tests, 5 passed, 0 known failure, 0 skipped 734s [inst/@sym/latex.m] 734s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/latex.m 734s ***** test 734s syms x 734s y = sin(x); 734s assert (strcmp (latex (y), '\sin{\left(x \right)}')) 734s ***** assert (strcmp (latex (exp (sym('x'))), 'e^{x}')) 734s 2 tests, 2 passed, 0 known failure, 0 skipped 734s [inst/@sym/ellipticF.m] 734s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticF.m 734s ***** error ellipticF (sym(1)) 735s ***** error ellipticF (sym(1), 2, 3) 735s ***** assert (double (ellipticF (sym (pi)/3, sym (-105)/10)), 0.6184459461, 10e-11) 735s ***** assert (double (ellipticF (sym (pi)/4, sym (-pi))), 0.6485970495, 10e-11) 736s ***** assert (double (ellipticF (sym (1), sym (-1))), 0.8963937895, 10e-11) 736s ***** assert (double (ellipticF (sym (pi)/6, sym (0))), 0.5235987756, 10e-11) 736s ***** test 736s % compare to Maple 736s us = vpa (ellipticF (sym(11)/10, sym(9)/4), 40); 736s % > evalf(EllipticF(sin(11/10), sqrt(9/4)), 40); 736s maple = vpa ('1.206444996991058996424988192917728014427', 40) - ... 736s vpa ('0.8157358125823472313001683083685348517476j', 40); 736s assert (abs (double (maple - us)), 0, 1e-39) 737s 7 tests, 7 passed, 0 known failure, 0 skipped 737s [inst/@sym/jordan.m] 737s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/jordan.m 737s ***** test 737s % basic 737s A = sym ([2 1 0 0; 0 2 1 0; 0 0 3 0; 0 1 -1 3]); 737s [V, J] = jordan (A); 737s assert (isequal (inv (V) * A * V, J)); 737s assert (isequal (J, sym ([2 1 0 0; 0 2 0 0; 0 0 3 0; 0 0 0 3]))) 737s % the first 2 generalized eigenvectors form a cycle 737s assert (isequal ((A - J(1, 1) * eye (4)) * V(:, 1), zeros (4, 1))); 737s assert (isequal ((A - J(2, 2) * eye (4)) * V(:, 2), V(:, 1))); 737s % the last 2 generalized eigenvectors are eigenvectors 737s assert (isequal ((A - J(3, 3) * eye (4)) * V(:, 3), zeros (4, 1))); 737s assert (isequal ((A - J(4, 4) * eye (4)) * V(:, 4), zeros (4, 1))); 744s ***** test 744s % scalars 744s assert (isequal (jordan (sym (-10)), sym (-10))); 744s assert (isequal (jordan (sym ('x')), sym ('x'))); 744s ***** test 744s % diagonal matrices 744s A = diag (sym ([6 6 7])); 744s [V1, D] = eig (A); 744s [V2, J] = jordan (A); 744s assert (isequal (V1, V2)); 744s assert (isequal (D, J)); 745s ***** test 745s % matrices of unknown entries 745s A = [sym('a') sym('b'); sym('c') sym('d')]; 745s [V, D] = eig (A); 745s J = jordan (A); 745s assert (isequal (simplify (D), simplify (J))); 746s ***** test 746s % matrices of mixed entries 746s A = [sym('x')+9 sym('y'); sym(0) 6]; 746s [V, D] = eig (A); 746s J = jordan (A); 746s assert (isequal (simplify (D), simplify (J))); 747s 5 tests, 5 passed, 0 known failure, 0 skipped 747s [inst/@sym/cond.m] 747s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cond.m 747s ***** test 747s A = [1 2; 3 4]; 747s B = sym(A); 747s k1 = cond(A); 747s k2 = cond(B); 747s k3 = double(k2); 747s assert (k1 - k3 <= 100*eps) 747s ***** test 747s % matrix with symbols 747s syms x positive 747s A = [x 0; sym(0) 2*x]; 747s k1 = cond(A); 747s assert (isequal (k1, sym(2))) 748s 2 tests, 2 passed, 0 known failure, 0 skipped 748s [inst/@sym/char.m] 748s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/char.m 748s ***** test 748s % issue #91: expose as string 748s a = sym(pi); 748s assert (strcmp (char (a), 'pi')) 748s ***** shared x 748s x = sym('x'); 748s ***** assert (strcmp (char (x), 'x')) 748s ***** assert (strcmp (char (2*x), '2*x')) 748s ***** assert (strcmp (char ([2*x x]), 'Matrix([[2*x, x]])')) 748s ***** assert (strcmp (char ([2*x 2; 1 x]), 'Matrix([[2*x, 2], [1, x]])')) 748s 5 tests, 5 passed, 0 known failure, 0 skipped 748s [inst/@sym/ezsurf.m] 748s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ezsurf.m 748s ***** error 748s syms u v t 748s ezsurf(u*v, 2*u*v, 3*v*t) 750s ***** error 750s syms u v t 750s ezsurf(u*v, 2*u*v, u*v*t) 751s 2 tests, 2 passed, 0 known failure, 0 skipped 751s [inst/@sym/resize.m] 751s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/resize.m 751s ***** test 751s B = sym([1 0 0; 0 0 0]); 751s assert (isequal (resize (sym(1), 2, 3), B)) 751s assert (isequal (resize (sym(1), [2 3]), B)) 752s ***** test 752s B = sym([1 0; 0 0]); 752s assert (isequal (resize (sym(1), 2), B)) 752s ***** test 752s A = sym([pi 2; 3 4]); 752s assert (isequal (resize (A, 1), sym(pi))) 752s ***** assert (isequal (size (resize (sym(1), 0, 0)), [0 0])) 752s ***** assert (isequal (size (resize (sym(1), 6, 0)), [6 0])) 752s ***** assert (isequal (size (resize (sym(1), 0, 3)), [0 3])) 753s ***** error resize (sym(1)) 753s ***** error resize (sym(1), 2, 3, 4) 753s ***** error resize (sym(1), [2 3 4]) 754s 9 tests, 9 passed, 0 known failure, 0 skipped 754s [inst/@sym/ilaplace.m] 754s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ilaplace.m 754s ***** error ilaplace (sym(1), 2, 3, 4) 755s ***** test 755s % basic SMT compact: no heaviside 755s syms s 755s syms t positive 755s assert (isequal (ilaplace(1/s^2), t)) 755s assert (isequal (ilaplace(s/(s^2+9)), cos(3*t))) 755s assert (isequal (ilaplace(6/s^4), t^3)) 756s ***** test 756s % more SMT compact 756s syms r 756s syms u positive 756s assert (isequal (ilaplace(1/r^2, u), u)) 756s assert (isequal (ilaplace(1/r^2, r, u), u)) 757s ***** test 757s % if t specified and not positive, we expect heaviside 757s clear s t 757s syms s t 757s assert (isequal (ilaplace(1/s^2, s, t), t*heaviside(t))) 757s assert (isequal (ilaplace(s/(s^2+9), t), cos(3*t)*heaviside(t))) 757s assert (isequal (ilaplace(6/s^4, t), t^3*heaviside(t))) 759s ***** test 759s % Heaviside test 759s syms s 759s t=sym('t', 'positive'); 759s assert(logical( ilaplace(exp(-5*s)/s^2,t) == (t-5)*heaviside(t-5) )) 760s ***** test 760s % Delta dirac test 760s syms s 760s t = sym('t'); 760s assert (isequal (ilaplace (sym('2'), t), 2*dirac(t))) 761s ***** test 761s % Delta dirac test 2 761s syms s t 761s calc = ilaplace (5*exp (-3*s) - 2*exp (-2*s)/s, s, t); 761s want = 5*dirac (t-3) - 2*heaviside (t-2); 761s assert (isequal (calc, want)) 762s ***** test 762s % Delta dirac test 3, coefficient 762s syms s t 762s syms c positive 762s calc = ilaplace (2*exp (-c*s), s, t); 762s want = 2*dirac (t - c); 762s assert (isAlways (calc == want)) 763s ***** error ilaplace (sym('s', 'positive')*sym('s')) 763s ***** test 763s % SMT compact, prefers s over symvar 763s syms s x 763s syms t positive 763s assert (isequal (ilaplace(x/s^4), x*t^3/6)) 763s t = sym('t'); 763s assert (isequal (ilaplace(x/s^4, t), x*t^3/6*heaviside(t))) 765s ***** test 765s % pick s even it has assumptions 765s syms s real 765s syms x t 765s assert (isequal (ilaplace (x/s^2, t), x*t*heaviside(t))) 766s 11 tests, 11 passed, 0 known failure, 0 skipped 766s [inst/@sym/frac.m] 766s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/frac.m 766s ***** test 766s f1 = frac(sym(11)/10); 766s f2 = sym(1)/10; 766s assert (isequal (f1, f2)) 766s ***** test 766s d = sym(-11)/10; 766s c = sym(9)/10; 766s assert (isequal (frac (d), c)) 767s ***** test 767s d = sym(-19)/10; 767s c = sym(1)/10; 767s assert (isequal (frac (d), c)) 767s 3 tests, 3 passed, 0 known failure, 0 skipped 767s [inst/@sym/mldivide.m] 767s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/mldivide.m 767s ***** test 767s % scalar 767s syms x 767s assert (isa( x\x, 'sym')) 767s assert (isequal( x\x, sym(1))) 767s assert (isa( 2\x, 'sym')) 767s assert (isa( x\2, 'sym')) 767s ***** test 767s % scalar \ matrix: easy, no system 767s D = 2*[0 1; 2 3]; 767s A = sym(D); 767s assert (isequal ( 2 \ A , D/2 )) 767s assert (isequal ( sym(2) \ A , D/2 )) 769s ***** test 769s % singular matrix 769s A = sym([1 2; 2 4]); 769s b = sym([5; 10]); 769s x = A \ b; 769s syms c1 769s y = [-2*c1 + 5; c1]; 769s assert (isequal (x, y)) 769s ***** test 769s % singular matrix, mult RHS 769s A = sym([1 2; 2 4]); 769s B = sym([[5; 10] [0; 2] [0; 0]]); 769s x = A \ B; 769s syms c1 c5 769s y = [-2*c1 + 5 nan -2*c5; c1 nan c5]; 769s assert (isequaln (x, y)) 770s ***** warning 770s % vpa, nearly singular matrix 770s A = sym([1 2; 2 4]); 770s A(1,1) = vpa('1.001'); 770s b = sym([1; 2]); 770s x = A \ b; 770s y = [sym(0); vpa('0.5')]; 770s assert (isequal (x, y)) 771s ***** warning 771s % vpa, singular rhs 771s A = sym([1 2; 2 4]); 771s b = [vpa('1.01'); vpa('2')]; 771s x = A \ b; 771s assert (all(isnan(x))) 772s 6 tests, 6 passed, 0 known failure, 0 skipped 772s [inst/@sym/log.m] 772s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/log.m 772s ***** error log (sym(1), 2) 772s ***** assert (isequaln (log (sym(nan)), sym(nan))) 772s ***** shared x, d 772s d = 1; 772s x = sym('1'); 772s ***** test 772s f1 = log(x); 772s f2 = log(d); 772s assert( abs(double(f1) - f2) < 1e-15 ) 772s ***** test 772s D = [d d; d d]; 772s A = [x x; x x]; 772s f1 = log(A); 772s f2 = log(D); 772s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 773s ***** test 773s % round trip 773s y = sym('y'); 773s A = log (d); 773s f = log (y); 773s h = function_handle (f); 773s B = h (d); 773s assert (A, B, -eps) 773s 5 tests, 5 passed, 0 known failure, 0 skipped 773s [inst/@sym/cosint.m] 773s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cosint.m 773s ***** error cosint (sym(1), 2) 773s ***** xtest 773s assert (isequaln (cosint (sym(nan)), sym(nan))) 773s !!!!! known failure 773s assert (isequaln (cosint (sym (nan)), sym (nan))) failed 773s ***** shared x, d 773s d = 1; 773s x = sym('1'); 773s ***** test 773s f1 = cosint(x); 773s f2 = 0.3374039229009681346626; 773s assert( abs(double(f1) - f2) < 1e-15 ) 773s ***** test 773s D = [d d; d d]; 773s A = [x x; x x]; 773s f1 = cosint(A); 773s f2 = 0.3374039229009681346626; 773s f2 = [f2 f2; f2 f2]; 773s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 774s ***** test 774s % round trip 774s y = sym('y'); 774s A = cosint (d); 774s f = cosint (y); 774s h = function_handle (f); 774s B = h (d); 774s assert (A, B, -eps) 774s 5 tests, 4 passed, 1 known failure, 0 skipped 774s [inst/@sym/symreplace.m] 774s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/symreplace.m 774s ***** test 774s % start with assumptions on x then remove them 774s syms x positive 774s f = x*10; 774s symreplace(x, sym('x')) 774s assert(isempty(assumptions(x))) 774s ***** test 774s % replace x with y 774s syms x 774s f = x*10; 774s symreplace(x, sym('y')) 774s assert( isequal (f, 10*sym('y'))) 775s ***** test 775s % gets inside cells 775s syms x 775s f = {x 1 2 {3 4*x}}; 775s symreplace(x, sym('y')) 775s syms y 775s assert( isequal (f{1}, y)) 775s assert( isequal (f{4}{2}, 4*y)) 775s ***** test 775s % gets inside structs/cells 775s syms x 775s my.foo = {x 1 2 {3 4*x}}; 775s my.bar = x; 775s g = {'ride' my 'motor' 'sicle'}; 775s symreplace(x, sym('y')) 775s syms y 775s f = g{2}; 775s assert( isequal (f.foo{1}, y)) 775s assert( isequal (f.foo{4}{2}, 4*y)) 775s assert( isequal (f.bar, y)) 776s 4 tests, 4 passed, 0 known failure, 0 skipped 776s [inst/@sym/lhs.m] 776s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/lhs.m 776s ***** test 776s syms x y 776s f = x + 1 == 2*y; 776s assert (isequal (lhs(f), x + 1)) 776s assert (isequal (rhs(f), 2*y)) 777s ***** test 777s syms x y 777s f = x + 1 < 2*y; 777s assert (isequal (lhs(f), x + 1)) 777s assert (isequal (rhs(f), 2*y)) 778s ***** test 778s syms x y 778s f = x + 1 >= 2*y; 778s assert (isequal (lhs(f), x + 1)) 778s assert (isequal (rhs(f), 2*y)) 778s ***** test 778s syms x y 778s A = [x == y 2*x < 2*y; 3*x > 3*y 4*x <= 4*y; 5*x >= 5*y x < 0]; 778s L = [x 2*x; 3*x 4*x; 5*x x]; 778s R = [y 2*y; 3*y 4*y; 5*y 0]; 778s assert (isequal( lhs(A), L)) 778s assert (isequal( rhs(A), R)) 781s ***** error 781s syms x 781s lhs(x) 781s ***** error 781s lhs(sym(true)) 781s ***** error 781s syms x 781s A = [1 + x == 2*x sym(6)]; 781s lhs(A) 782s 7 tests, 7 passed, 0 known failure, 0 skipped 782s [inst/@sym/heaviside.m] 782s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/heaviside.m 782s ***** error heaviside (sym(1), 2, 3) 782s ***** assert (isequal (heaviside (sym(1)), sym(1))) 782s ***** assert (isequal (heaviside (-sym(1)), sym(0))) 782s ***** assert (double (heaviside (1)), heaviside (1)) 782s ***** test 782s D = [1 -1; -10 20]; 782s A = sym(D); 782s assert (double (heaviside (A)), heaviside (D)) 783s ***** test 783s H0 = sym([1 -2 0; 3 0 pi]); 783s A = heaviside (sym(0), H0); 783s assert (isequal (A, H0)) 783s ***** test 783s A = heaviside ([-1 0 1], sym(1)/2); 783s assert (isequal (A, [0 sym(1)/2 1])) 784s ***** test 784s A = heaviside ([-1 0 1], sym(1)/2); 784s assert (isequal (A, [0 sym(1)/2 1])) 785s ***** assert (isequaln (heaviside (sym(nan)), sym(nan))) 785s ***** test 785s assert (isequaln (heaviside (sym(nan), sym(nan)), sym(nan))) 785s assert (isequaln (heaviside (0, sym(nan)), sym(nan))) 785s assert (isequaln (heaviside (2, sym(nan)), sym(1))) 785s assert (isequaln (heaviside (-2, sym(nan)), sym(0))) 786s ***** test 786s % round trip 786s syms x 786s A = heaviside (1); 786s f = heaviside (x); 786s h = function_handle (f); 786s B = h (1); 786s assert (A, B, -eps) 786s ***** test 786s % round trip 786s syms x h0 786s f = heaviside (x, h0); 786s h = function_handle (f, 'vars', {x h0}); 786s A = heaviside (1, 1/2); 786s B = h (1, 1/2); 786s assert (A, B, -eps) 786s A = heaviside (0, 1/2); 786s B = h (0, 1/2); 786s assert (A, B, -eps) 786s 12 tests, 12 passed, 0 known failure, 0 skipped 786s [inst/@sym/adjoint.m] 786s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/adjoint.m 786s ***** test 786s syms x 786s A = [x x^2; x^3 x^4]; 786s B = [x^4 -x^2; -x^3 x]; 786s assert( isequal( adjoint(A), B )) 787s ***** test syms x 787s assert( isequal( adjoint(x), 1)) 787s 2 tests, 2 passed, 0 known failure, 0 skipped 787s [inst/@sym/gt.m] 787s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/gt.m 787s ***** test 787s % simple 787s x = sym(1); y = sym(1); e = x > y; 787s assert (~logical (e)) 787s x = sym(1); y = sym(2); e = x > y; 787s assert (~logical (e)) 788s ***** test 788s % array -- array 788s syms x 788s a = sym([1 3 3 2*x]); 788s b = sym([2 x 3 10]); 788s e = a > b; 788s assert (isa (e, 'sym')) 788s assert (~logical (e(1))) 788s assert (isa (e(2), 'sym')) 788s assert (isequal (e(2), 3 > x)) 788s assert (~logical (e(3))) 788s assert (isa (e(4), 'sym')) 788s assert (isequal (e(4), 2*x > 10)) 789s 2 tests, 2 passed, 0 known failure, 0 skipped 789s [inst/@sym/symprod.m] 789s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/symprod.m 789s ***** error symprod (sym(1), 2, 3, 4, 5) 789s ***** test 789s % simple 789s syms n 789s assert (isequal (symprod(n, n, 1, 10), factorial(sym(10)))) 789s assert (isequal (symprod(n, n, sym(1), sym(10)), factorial(10))) 790s ***** test 790s % one input 790s syms n 790s f = symprod (n); 790s g = factorial (n); 790s assert (isequal (f, g)) 790s f = symprod (2*n); 790s g = 2^n * factorial (n); 790s assert (isequal (f, g)) 791s ***** test 791s % constant input 791s f = symprod (sym(2)); 791s syms x 791s g = 2^x; 791s assert (isequal (f, g)) 791s ***** test 791s % two inputs 791s syms n 791s f = symprod (2*n, n); 791s g = 2^n * factorial (n); 791s assert (isequal (f, g)) 791s ***** test 791s % two inputs, second is range 791s syms n 791s f = symprod (n, [1 6]); 791s g = 720; 791s assert (isequal (f, g)) 791s f = symprod (n, [sym(1) 6]); 791s g = 720; 791s assert (isequal (f, g)) 791s f = symprod (2*n, [1 6]); 791s g = sym(2)^6*720; 791s assert (isequal (f, g)) 793s ***** test 793s % three inputs, last is range 793s syms n 793s f = symprod (2*n, n, [1 4]); 793s g = sym(384); 793s assert (isequal (f, g)) 793s f = symprod (2*n, n, [sym(1) 4]); 793s g = sym(384); 793s assert (isequal (f, g)) 793s f = symprod (2, n, [sym(1) 4]); 793s g = sym(16); 793s assert (isequal (f, g)) 794s ***** test 794s % three inputs, no range 794s syms n 794s f = symprod (2*n, 1, 4); 794s g = sym(384); 794s assert (isequal (f, g)) 794s f = symprod (5, sym(1), 3); 794s g = sym(125); 794s assert (isequal (f, g)) 795s ***** test 795s % infinite product 795s syms a n oo 795s zoo = sym('zoo'); 795s assert (isequal (symprod(a, n, 1, oo), a^oo)) 795s assert (isequal (symprod(a, n, 1, inf), a^oo)) 796s 9 tests, 9 passed, 0 known failure, 0 skipped 796s [inst/@sym/besselk.m] 796s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besselk.m 796s ***** test 796s X = [1 2 3; 4 5 6]; 796s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 796s n = double(ns); 796s A = double(besselk(ns, X)); 796s B = besselk(n, X); 796s assert (all (all (abs (A - B) < 2*eps*abs(A)))) 799s ***** test 799s % roundtrip 799s syms x 799s A = besselk(2, 10); 799s q = besselk(2, x); 799s h = function_handle(q); 799s B = h(10); 799s assert (abs (A - B) <= eps*abs(A)) 799s ***** error besselk(sym('x')) 799s 3 tests, 3 passed, 0 known failure, 0 skipped 799s [inst/@sym/asin.m] 799s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/asin.m 799s ***** error asin (sym(1), 2) 799s ***** assert (isequaln (asin (sym(nan)), sym(nan))) 800s ***** shared x, d 800s d = 1; 800s x = sym('1'); 800s ***** test 800s f1 = asin(x); 800s f2 = asin(d); 800s assert( abs(double(f1) - f2) < 1e-15 ) 800s ***** test 800s D = [d d; d d]; 800s A = [x x; x x]; 800s f1 = asin(A); 800s f2 = asin(D); 800s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 800s ***** test 800s % round trip 800s y = sym('y'); 800s A = asin (d); 800s f = asin (y); 800s h = function_handle (f); 800s B = h (d); 800s assert (A, B, -eps) 801s 5 tests, 5 passed, 0 known failure, 0 skipped 801s [inst/@sym/beta.m] 801s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/beta.m 801s ***** error beta (sym(1), 2, 3) 801s ***** assert (isequal (double (beta (sym(1), 2)), 1/2)) 801s ***** assert (isinf (double (beta (sym(1), 0)))) 801s ***** test 801s % round trip 801s syms x y 801s f = beta (x, y); 801s h = function_handle (f); 801s A = h (1.1, 2.2); 801s B = beta (1.1, 2.2); 801s assert (A, B) 801s 4 tests, 4 passed, 0 known failure, 0 skipped 801s [inst/@sym/cosh.m] 801s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cosh.m 801s ***** error cosh (sym(1), 2) 801s ***** assert (isequaln (cosh (sym(nan)), sym(nan))) 801s ***** shared x, d 801s d = 1; 801s x = sym('1'); 801s ***** test 801s f1 = cosh(x); 801s f2 = cosh(d); 801s assert( abs(double(f1) - f2) < 1e-15 ) 802s ***** test 802s D = [d d; d d]; 802s A = [x x; x x]; 802s f1 = cosh(A); 802s f2 = cosh(D); 802s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 802s ***** test 802s % round trip 802s y = sym('y'); 802s A = cosh (d); 802s f = cosh (y); 802s h = function_handle (f); 802s B = h (d); 802s assert (A, B, -eps) 802s 5 tests, 5 passed, 0 known failure, 0 skipped 802s [inst/@sym/sym2poly.m] 802s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sym2poly.m 802s ***** shared x,y,a,b,c 802s syms x y a b c 803s ***** assert (isequal (sym2poly (x^2 + 3*x - 4), [1 3 -4])) 804s ***** assert (isequal (sym2poly (x^6 - x^3), [1 0 0 -1 0 0 0])) 805s ***** assert (isequal (sym2poly (x^2 + 3*x - 4, x), [1 3 -4])) 806s ***** assert (norm (sym2poly (pi*x^2 + exp(sym(1))) - [pi 0 exp(1)]) < 10*eps) 807s ***** assert (isa (sym2poly (x^2 + 3*x - 4), 'double')) 808s ***** assert (isa (sym2poly (x^2 + 3*x - 4, x), 'sym')) 809s ***** assert (isequal (sym2poly (x^2+y*x, x), [sym(1) y sym(0)])) 809s ***** assert (isequal (sym2poly (x^2+y*x, y), [x x^2])) 810s ***** assert (isequal (sym2poly (poly2sym ([a b c], x), x), [a b c])) 811s ***** assert (isequal (poly2sym (sym2poly(a*x^2 + c, x), x), a*x^2 + c)) 812s ***** assert (isequal (sym2poly (poly2sym ([1 2 3])), [1 2 3])) 813s ***** error 813s % too many symbols for single-input 813s p = a*x^2 + 2; 813s c = sym2poly (p); 814s ***** assert (isequal (sym2poly (sym(5)), sym(5))) 814s 13 tests, 13 passed, 0 known failure, 0 skipped 814s [inst/@sym/logical.m] 814s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/logical.m 814s ***** test 814s % basics, many others in isAlways.m 814s assert (logical(true)) 814s assert (~(logical(false))) 814s ***** test 814s % numbers to logic? 814s assert (logical(sym(1))) 814s assert (logical(sym(-1))) 814s assert (~logical(sym(0))) 814s ***** test 814s % eqns, "structurally equivalent" 814s syms x 814s e = logical(x == x); 814s assert ( islogical (e)) 814s assert (e) 814s e = logical(x == 1); 814s assert ( islogical (e)) 814s assert (~e) 815s ***** test 815s % eqn could have solutions but are false in general 815s syms x 815s e = logical(x^2 == x); 815s assert ( islogical (e)) 815s assert (~e) 815s e = logical(2*x == x); 815s assert ( islogical (e)) 815s assert (~e) 815s ***** test 815s % FIXME: (not sure yet) T/F matrices should stay sym until logical() 815s a = sym(1); 815s e = a == a; 815s assert (isa (e, 'sym')) 815s assert (islogical (logical (e))) 815s e = [a == a a == 0 a == a]; 815s assert (isa (e, 'sym')) 815s assert (islogical (logical (e))) 815s ***** test 815s % sym vectors of T/F to logical 815s a = sym(1); 815s e = [a == a a == 0 a == a]; 815s w = logical(e); 815s assert (islogical (w)) 815s assert (isequal (w, [true false true])) 815s e = e'; 815s w = logical(e); 815s assert (islogical (w)) 815s assert (isequal (w, [true; false; true])) 816s /usr/lib/python3/dist-packages/sympy/matrices/common.py:1989: SymPyDeprecationWarning: 816s 816s non-Expr objects in a Matrix is deprecated. Matrix represents 816s a mathematical matrix. To represent a container of non-numeric 816s entities, Use a list of lists, TableForm, NumPy array, or some 816s other data structure instead. 816s 816s See https://docs.sympy.org/latest/explanation/active-deprecations.html#deprecated-non-expr-in-matrix 816s for details. 816s 816s This has been deprecated since SymPy version 1.9. It 816s will be removed in a future version of SymPy. 816s 816s return self._eval_applyfunc(f) 816s ***** test 816s % sym matrix of T/F to logical 816s a = sym([1 2 3; 4 5 6]); 816s b = sym([1 2 0; 4 0 6]); 816s e = a == b; 816s w = logical(e); 816s assert (islogical (w)) 816s assert (isequal (w, [true true false; true false true])) 816s ***** error 816s syms x 816s logical(x); 816s ***** error 816s logical(sym(nan)) 816s ***** test 816s % but oo and zoo are non-zero so we call those true 816s % (SMT errors on these) FIXME 816s syms oo zoo 816s assert (logical (oo)) 816s % assert (logical (zoo)) 817s ***** test 817s % older Octave (< 4.2) didn't automatically do "if (logical(obj))" 817s e = sym(true); 817s if (e) 817s assert(true); 817s else 817s assert(false); 817s end 817s ***** test 817s % more of above 817s e2 = sym(1) == sym(1); 817s if (e2) 817s assert(true); 817s else 817s assert(false); 817s end 817s e3 = sym([1 2]) == sym([1 1]); 817s if (e3(1)) 817s assert(true); 817s else 817s assert(false); 817s end 817s 12 tests, 12 passed, 0 known failure, 0 skipped 817s [inst/@sym/sym.m] 817s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sym.m 817s ***** test 817s % integers 817s x = sym ('2'); 817s y = sym (2); 817s assert (isa (x, 'sym')) 817s assert (isa (y, 'sym')) 817s assert (isequal (x, y)) 817s ***** test 817s % infinity 817s for x = {'inf', '-inf', inf, -inf, 'Inf'} 817s y = sym (x{1}); 817s assert (isa (y, 'sym')) 817s assert (isinf (double (y))) 817s assert (isinf (y)) 817s end 818s ***** test 818s % pi 818s x = sym ('pi'); 818s assert (isa (x, 'sym')) 818s assert (isequal (sin (x), sym (0))) 818s assert (abs (double (x) - pi) < 2*eps ) 818s x = sym (pi); 818s assert (isa (x, 'sym')) 818s assert (isequal (sin (x), sym (0))) 818s assert (abs (double (x) - pi) < 2*eps ) 818s ***** test 818s % rationals 818s x = sym(1) / 3; 818s assert (isa (x, 'sym')) 818s assert (isequal (3*x - 1, sym (0))) 818s x = 1 / sym (3); 818s assert (isa (x, 'sym')) 818s assert (isequal (3*x - 1, sym (0))) 818s x = sym ('1/3'); 818s assert (isa (x, 'sym')) 818s assert (isequal (3*x - 1, sym (0))) 819s ***** test 819s % passing small rationals 819s x = sym ('1/2'); 819s assert (double (x) == 1/2 ) 819s assert (isequal (2*x, sym (1))) 820s ***** warning x = sym (1/2); 820s ***** test 820s % passing small rationals w/o quotes: despite the warning, 820s % it should work 820s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 820s x = sym (1/2); 820s warning (s) 820s assert (double (x) == 1/2 ) 820s assert (isequal (2*x, sym (1))) 820s ***** test 820s assert (isa (sym (pi), 'sym')) 820s assert (isa (sym ('beta'), 'sym')) 820s ***** test 820s % sym from array 820s D = [0 1; 2 3]; 820s A = [sym(0) 1; sym(2) 3]; 820s assert (isa (sym (D), 'sym')) 820s assert (isequal (size (sym (D)), size (D))) 820s assert (isequal (sym (D), A)) 821s ***** test 821s % more sym from array 821s syms x 821s A = [x x]; 821s assert (isequal (sym (A), A)) 821s A = [1 x]; 821s assert (isequal (sym (A), A)) 821s ***** test 821s %% assumptions and clearing them 821s clear variables % for matlab test script 821s x = sym('x', 'real'); 821s f = {x {2*x}}; 821s asm = assumptions(); 821s assert ( ~isempty(asm)) 821s s = warning ('off', 'OctSymPy:deprecated'); 821s x = sym('x', 'clear'); 821s warning (s) 821s asm = assumptions(); 821s assert ( isempty(asm)) 822s ***** test 822s %% matlab compat, syms x clear should add x to workspace 822s x = sym('x', 'real'); 822s f = 2*x; 822s clear x 822s assert (~logical(exist('x', 'var'))) 822s s = warning ('off', 'OctSymPy:deprecated'); 822s x = sym('x', 'clear'); 822s warning (s) 822s assert (logical(exist('x', 'var'))) 824s ***** test 824s %% assumptions should work if x is already a sym 824s x = sym('x'); 824s x = sym(x, 'real'); 824s assert (~isempty(assumptions(x))) 824s ***** test 824s %% likewise for clear 824s x = sym('x', 'real'); 824s f = 2*x; 824s s = warning ('off', 'OctSymPy:deprecated'); 824s x = sym(x, 'clear'); 824s warning (s) 824s assert (isempty(assumptions(x))) 824s assert (isempty(assumptions(f))) 824s ***** test 824s % bool 824s t = sym (false); 824s t = sym (true); 824s assert (logical (t)) 824s ***** test 824s % bool vec/mat 824s a = sym (1); 824s t = sym ([true false]); 824s assert (isequal (t, [a == 1 a == 0])) 824s t = sym ([true false; false true]); 824s assert (isequal (t, [a == 1 a == 0; a == 0 a == 1])) 824s ***** test 824s % symbolic matrix 824s A = sym ('A', [2 3]); 824s assert (isa (A, 'sym')) 824s assert (isequal (size (A), [2 3])) 824s A(1, 1) = 7; 824s assert (isa (A, 'sym')) 824s A = A + 1; 824s assert (isa (A, 'sym')) 825s ***** test 825s % symbolic matrix, symbolic but Integer size 825s A = sym ('A', sym([2 3])); 825s assert (isa (A, 'sym')) 825s assert (isequal (size (A), [2 3])) 825s ***** test 825s % symbolic matrix, subs in for size 825s syms n m integer 825s A = sym ('A', [n m]); 825s B = subs (A, [n m], [5 6]); 825s assert (isa (B, 'sym')) 825s assert (isequal (size (B), [5 6])) 825s ***** error sym('2*a', [2 3]) 825s ***** error sym(2*sym('a'), [2 3]) 825s ***** error sym('1', [2 3]) 825s ***** error sym(1, [2 3]) 825s ***** error 825s % TODO: symbolic tensor, maybe supported someday 825s sym('a', [2 3 4]) 825s ***** test 825s % 50 shapes of empty 825s a = sym (ones (0, 3)); 825s assert (isa (a, 'sym')) 825s assert (isequal (size (a), [0 3])) 825s a = sym (ones (2, 0)); 825s assert (isequal (size (a), [2 0])) 825s a = sym ([]); 825s assert (isequal (size (a), [0 0])) 826s ***** test 826s % moar empty 826s a = sym ('a', [0 3]); 826s assert (isa (a, 'sym')) 826s assert (isequal (size (a), [0 3])) 826s a = sym ('a', [2 0]); 826s assert (isa (a, 'sym')) 826s assert (isequal (size (a), [2 0])) 826s ***** test 826s % embedded sympy commands, various quotes, issue #143 826s a = sym ('a'); 826s a1 = sym ('Symbol("a")'); 826s a2 = sym ('Symbol(''a'')'); 826s assert (isequal (a, a1)) 826s assert (isequal (a, a2)) 826s % Octave only, and eval to hide from Matlab parser 826s if exist ('OCTAVE_VERSION', 'builtin') 826s eval( 'a3 = sym("Symbol(''a'')");' ); 826s eval( 'a4 = sym("Symbol(\"a\")");' ); 826s assert (isequal (a, a3)) 826s assert (isequal (a, a4)) 826s end 826s :18: SyntaxWarning: invalid escape sequence '\(' 826s :18: SyntaxWarning: invalid escape sequence '\(' 826s :18: SyntaxWarning: invalid escape sequence '\(' 826s :18: SyntaxWarning: invalid escape sequence '\(' 826s ***** test 826s % complex 826s x = sym(1 + 2i); 826s assert (isequal (x, sym(1)+sym(2)*1i)) 827s ***** test 827s % doubles bigger than int32 INTMAX should not fail 827s d = 4294967295; 827s a = sym (d); 827s assert (isequal (double (a), d)) 827s d = d + 123456; 827s a = sym (d); 827s assert (isequal (double (a), d)) 827s ***** test 827s % int32 integer types 827s a = sym (100); 827s b = sym (int32 (100)); 827s assert (isequal (a, b)) 827s ***** test 827s % int32 MAXINT integers 827s a = sym ('2147483647'); 827s b = sym (int32 (2147483647)); 827s assert (isequal (a, b)) 827s a = sym ('-2147483647'); 827s b = sym (int32 (-2147483647)); 827s assert (isequal (a, b)) 827s a = sym ('4294967295'); 827s b = sym (uint32 (4294967295)); 827s assert (isequal (a, b)) 828s ***** test 828s % int64 integer types 828s a = sym ('123456789012345'); 828s b = sym (int64(123456789012345)); 828s c = sym (uint64(123456789012345)); 828s assert (isequal (a, b)) 828s assert (isequal (a, c)) 828s ***** test 828s % integer arrays 828s a = int64 ([1 2 100]); 828s s = sym (a); 828s assert (isequal (double (a), [1 2 100])) 828s ***** test 828s % bigger int64 integer types 828s q = int64 (123456789012345); 828s w = 10000*q + 123; 828s a = sym ('1234567890123450123'); 828s b = sym (w); 828s assert (isequal (a, b)) 828s ***** test 828s % sym(double) heuristic 828s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 828s x = sym(2*pi/3); 828s assert (isequal (x/sym(pi), sym(2)/3)) 828s x = sym(22*pi); 828s assert (isequal (x/sym(pi), sym(22))) 828s x = sym(pi/123); 828s assert (isequal (x/sym(pi), sym(1)/123)) 828s warning (s) 830s ***** test 830s % sym(double) with 'r': no warning 830s a = 0.1; 830s x = sym(a, 'r'); 830s assert (isequal (x, sym(1)/10)) 830s ***** test 830s % sym(double, 'f') 830s a = 0.1; 830s x = sym(a, 'f'); 830s assert (~isequal (x, sym(1)/10)) 830s assert (isequal (x, sym('3602879701896397')/sym('36028797018963968'))) 830s ***** test 830s x = sym(pi, 'f'); 830s assert (~isequal (x, sym('pi'))) 830s assert (isequal (x, sym('884279719003555')/sym('281474976710656'))) 831s ***** test 831s q = sym('3602879701896397')/sym('36028797018963968'); 831s x = sym(1 + 0.1i, 'f'); 831s assert (isequal (x, 1 + 1i*q)) 831s x = sym(0.1 + 0.1i, 'f'); 831s assert (isequal (x, q + 1i*q)) 832s ***** test 832s assert (isequal (sym(inf, 'f'), sym(inf))) 832s assert (isequal (sym(-inf, 'f'), sym(-inf))) 832s assert (isequaln (sym(nan, 'f'), sym(nan))) 832s assert (isequal (sym(complex(inf, -inf), 'f'), sym(complex(inf, -inf)))) 832s assert (isequaln (sym(complex(nan, inf), 'f'), sym(complex(nan, inf)))) 832s assert (isequaln (sym(complex(-inf, nan), 'f'), sym(complex(-inf, nan)))) 834s ***** test 834s assert (isequal (sym (sqrt(2), 'r'), sqrt (sym (2)))) 834s assert (isequal (sym (sqrt(12345), 'r'), sqrt (sym (12345)))) 834s ***** test 834s % symbols with special sympy names 834s syms Ei Eq 834s assert (~isempty (regexp (sympy (Eq), '^Symbol'))) 834s assert (~isempty (regexp (sympy (Ei), '^Symbol'))) 834s ***** test 834s % more symbols with special sympy names 834s x = sym('FF'); 834s assert (~isempty (regexp (x.pickle, '^Symbol'))) 834s x = sym('ff'); 834s assert (~isempty (regexp (x.pickle, '^Symbol'))) 834s ***** test 834s % E can be a sym not just exp(sym(1)) 834s syms E 834s assert (~logical (E == exp(sym(1)))) 834s ***** test 834s % e can be a symbol, not exp(sym(1)) 834s syms e 834s assert (~ logical (e == exp(sym(1)))) 834s ***** test 834s % double e 834s x = sym (exp (1)); 834s y = exp (sym (1)); 834s assert (isequal (x, y)) 834s if (exist ('OCTAVE_VERSION', 'builtin')) 834s x = sym (e); 834s assert (isequal (x, y)) 834s end 835s ***** test 835s x = sym (-exp (1)); 835s y = -exp (sym (1)); 835s assert (isequal (x, y)) 835s ***** assert (~ isequal (sym (exp(1)), sym (exp(1), 'f'))) 835s ***** warning sym (1e16); 835s ***** warning sym (-1e16); 835s ***** warning sym (10.33); 835s ***** warning sym (-5.23); 835s ***** warning sym (sqrt (1.4142135623731)); 835s ***** error 835s x = sym ('x', 'positive2'); 835s ***** error 835s x = sym ('x', 'integer', 'positive2'); 835s ***** error 835s x = sym ('x', 'integer2', 'positive'); 835s ***** error 835s x = sym ('-pi', 'positive') 835s ***** error 835s x = sym ('pi', 'integer') 835s ***** test 835s % multiple assumptions 835s n = sym ('n', 'negative', 'even'); 835s a = assumptions (n); 835s assert (strcmp (a, 'n: negative, even') || strcmp (a, 'n: even, negative')) 836s ***** error 836s % multiple assumptions as a list 836s % TODO: should this be allowed? 836s n = sym ('n', {'negative', 'even'}); 836s a = assumptions (n); 836s assert (strcmp (a, 'n: negative, even') || strcmp (a, 'n: even, negative')) 836s ***** error 836s n = sym ('n', {{'negative', 'even'}}); 836s ***** test 836s % save/load sym objects 836s syms x 836s y = 2*x; 836s a = 42; 836s myfile = tempname (); 836s save (myfile, 'x', 'y', 'a') 836s clear x y a 836s load (myfile) 836s assert (isequal (y, 2*x)) 836s assert (a == 42) 836s if (exist ('OCTAVE_VERSION', 'builtin')) 836s assert (unlink (myfile) == 0) 836s else 836s delete ([myfile '.mat']) 836s end 836s ***** test 836s a = sym ('2.1'); 836s b = sym (21) / 10; 836s %% https://github.com/sympy/sympy/issues/11703 836s assert (pycall_sympy__ ('return _ins[0] == _ins[1] and hash(_ins[0]) == hash(_ins[1])', a, b)) 836s ***** test 836s % issue #706 836s a = sym('Float("1.23")'); 836s assert (~ isempty (strfind (char (a), '.'))) 836s :18: SyntaxWarning: invalid escape sequence '\(' 836s ***** assert (isequal (sym({1 2 'a'}), [sym(1) sym(2) sym('a')])); 837s ***** error sym({1 2 'a'}, 'positive'); 837s ***** error sym({'a' 'b'}, 'positive'); 837s ***** test 837s a = sym ('--1'); 837s b = sym ('---1'); 837s assert (isequal (a, sym (1))) 837s assert (isequal (b, sym (-1))) 837s ***** test 837s % num2cell works on sym arrays 837s syms x 837s C1 = num2cell ([x 2 3; 4 5 6*x]); 837s assert (iscell (C1)) 837s assert (isequal (size (C1), [2 3])) 837s assert (isequal (C1{1,1}, x)) 837s assert (isequal (C1{2,3}, 6*x)) 837s assert (isequal (C1{1,3}, sym(3))) 837s assert (isa (C1{1,3}, 'sym')) 838s ***** test 838s % function_handle 838s f = @(x, y) y*sin(x); 838s syms x y 838s assert (isequal (sym (f), y*sin(x))); 838s f = @(x) 42; 838s assert (isequal (sym (f), sym (42))); 838s f = @() 42; 838s assert (isequal (sym (f), sym (42))); 838s :18: SyntaxWarning: invalid escape sequence '\(' 838s :18: SyntaxWarning: invalid escape sequence '\(' 839s :18: SyntaxWarning: invalid escape sequence '\(' 839s ***** error 839s % function_handle 839s f = @(x) A*sin(x); 839s sym (f) 839s :18: SyntaxWarning: invalid escape sequence '\(' 839s ***** test 839s % Issue #885 839s clear f x % if test not isolated (e.g., on matlab) 839s syms x 839s f(x) = sym('S(x)'); 839s f(x) = sym('I(x)'); 839s f(x) = sym('O(x)'); 839s :18: SyntaxWarning: invalid escape sequence '\(' 839s :18: SyntaxWarning: invalid escape sequence '\(' 839s :18: SyntaxWarning: invalid escape sequence '\(' 839s ***** test 839s % sym(sympy(x) == x identity, Issue #890 839s syms x 839s f = exp (1i*x); 839s s = sympy (f); 839s g = sym (s); 839s assert (isequal (f, g)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % sym(sympy(x) == x identity 840s % Don't mistake "pi" (which is "srepr(S.Pi)") for a symfun variable 840s f = sym ('ff(pi, pi)'); 840s s1 = sympy (f); 840s s2 = 'FallingFactorial(pi, pi)'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % sym(sympy(x) == x identity 840s % Don't mistake "I" (which is "srepr(S.ImaginaryUnit)") for a symfun variable 840s f = sym ('sin(I)'); 840s g = 1i*sinh (sym (1)); 840s assert (isequal (f, g)) 840s s = sympy (f); 840s assert (isempty (strfind (s, 'Function'))) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** error 840s % sym(sympy(x) == x identity 840s % Don't mistake "true/false" (which is "srepr(S.true)") for a symfun variable 840s % (Used to print as `S.true` but just `true` in sympy 1.2) 840s sym ('E(true,false)') 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % some variable names that are special to sympy but should not be for us 840s f = sym ('f(S, Q, C, O, N)'); 840s s1 = sympy (f); 840s s2 = 'Function(''f'')(Symbol(''S''), Symbol(''Q''), Symbol(''C''), Symbol(''O''), Symbol(''N''))'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % For SMT 2014 compatibilty, I and E would become ImaginaryUnit and Exp(1) 840s % but I'm not sure this is by design. This test would need to change if 840s % we want stricter SMT compatibilty. 840s f = sym ('f(x, I, E)'); 840s s1 = sympy (f); 840s s2 = 'Function(''f'')(Symbol(''x''), Symbol(''I''), Symbol(''E''))'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % not the identity, force symfun 840s f = sym ('FF(w)'); 840s s1 = sympy (f); 840s s2 = 'Function(''FF'')(Symbol(''w''))'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % not the identity, force symfun 840s f = sym ('FF(w, pi)'); 840s s1 = sympy (f); 840s s2 = 'Function(''FF'')(Symbol(''w''), pi)'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 840s ***** test 840s % not the identity, force symfun 840s f = sym ('ff(x, y)'); 840s s1 = sympy (f); 840s s2 = 'Function(''ff'')(Symbol(''x''), Symbol(''y''))'; 840s assert (strcmp (s1, s2)) 840s :18: SyntaxWarning: invalid escape sequence '\(' 841s ***** test 841s % But this one should satisfy "sym(sympy(x) == x" identity 841s % (OOTB, SymPy has ff -> FallingFactorial) 841s f = sym ('FallingFactorial(x, y)'); 841s s1 = sympy (f); 841s s2 = 'FallingFactorial(Symbol(''x''), Symbol(''y''))'; 841s assert (strcmp (s1, s2)) 841s :18: SyntaxWarning: invalid escape sequence '\(' 841s 82 tests, 82 passed, 0 known failure, 0 skipped 841s [inst/@sym/isallconstant.m] 841s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isallconstant.m 841s ***** assert (isallconstant([sym(1) 2 3])) 841s ***** test 841s syms x 841s assert (~isallconstant([sym(1) x 3])) 841s ***** test 841s syms x 841s assert (~isallconstant([sym(1) x; sym(2) 3])) 841s 3 tests, 3 passed, 0 known failure, 0 skipped 841s [inst/@sym/hypot.m] 841s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/hypot.m 841s ***** assert (isequal (hypot (sym(3), 4), sym(5))) 842s ***** test 842s % compare to @double (note Matlab hypot only takes 2 inputs) 842s A = hypot (hypot ([1 2 3], [4 5 6]), [7 8 9]); 842s B = double (hypot (sym([1 2 3]), [4 5 6], [7 8 9])); 842s assert (A, B, -eps) 843s ***** test 843s % compare to @double, with complex 843s A = hypot ([1+2i 3+4i], [1 3+1i]); 843s B = double (hypot (sym([1+2i 3+4i]), [1 3+1i])); 843s assert (A, B, -eps) 845s ***** test 845s % matrices 845s x = sym([1 -2; 0 3]); 845s y = sym([0 0; 8 4]); 845s A = hypot (x, y); 845s B = sym([1 2; 8 5]); 845s assert (isequal (A, B)) 846s 4 tests, 4 passed, 0 known failure, 0 skipped 846s [inst/@sym/imag.m] 846s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/imag.m 846s ***** assert (isequal (imag (sym (4) + 3i),3)) 846s ***** test 846s syms x y real 846s z = x + 1i*y; 846s assert (isequal (imag (z),y)) 847s ***** test 847s syms x y real 847s Z = [4 x + 1i*y; 1i*y 4 + 3i]; 847s assert (isequal (imag (Z),[0 y; y 3])) 848s ***** test 848s syms x real 848s d = exp (x*i); 848s assert (isequal (imag (d), sin (x))) 848s ***** test 848s % round trip 848s syms x 848s d = 3 - 5i; 848s f = imag (x); 848s A = imag (d); 848s h = function_handle (f); 848s B = h (d); 848s assert (A, B) 848s 5 tests, 5 passed, 0 known failure, 0 skipped 848s [inst/@sym/formula.m] 848s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/formula.m 848s ***** test 848s syms x 848s assert (isequal (formula(x), x)) 848s assert (isequal (formula(2*x), 2*x)) 849s 1 test, 1 passed, 0 known failure, 0 skipped 849s [inst/@sym/piecewise.m] 849s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/piecewise.m 849s ***** test 849s % basic 849s syms x real 849s f = piecewise (abs (x) < 1, 1); 849s assert (isnan (subs (f, -1))); 849s assert (isequal (subs (f, 0), 1)); 849s assert (isnan (subs (f, 1))); 850s ***** test 850s % heaviside 850s syms x real 850s f = rewrite (heaviside (x, 1 / sym (2)), 'Piecewise'); 850s g = piecewise (x < 0, 0, x == 0, 1 / sym (2), x > 0, 1); 850s assert (logical (simplify (f == g))); 851s 2 tests, 2 passed, 0 known failure, 0 skipped 851s [inst/@sym/vertcat.m] 851s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/vertcat.m 851s ***** test 851s % basic 851s syms x 851s A = [x; x]; 851s B = vertcat(x, x); 851s C = vertcat(x, x, x); 851s assert (isa (A, 'sym')) 851s assert (isa (B, 'sym')) 851s assert (isa (C, 'sym')) 851s assert (isequal (size(A), [2 1])) 851s assert (isequal (size(B), [2 1])) 851s assert (isequal (size(C), [3 1])) 851s ***** test 851s % basic, part 2 851s syms x 851s A = [x; 1]; 851s B = [1; x]; 851s C = [1; 2; x]; 851s assert (isa (A, 'sym')) 851s assert (isa (B, 'sym')) 851s assert (isa (C, 'sym')) 851s assert (isequal (size(A), [2 1])) 851s assert (isequal (size(B), [2 1])) 851s assert (isequal (size(C), [3 1])) 852s ***** test 852s % column vectors 852s a = [sym(1); 2]; 852s b = [sym(3); 4]; 852s assert (isequal ( [a;b] , [1; 2; 3; 4] )) 852s assert (isequal ( [a;b;a] , [1; 2; 3; 4; 1; 2] )) 852s ***** test 852s % row vectors 852s a = [sym(1) 2]; 852s b = [sym(3) 4]; 852s assert (isequal ( [a;b] , [1 2; 3 4] )) 852s assert (isequal ( [a;b;a] , [1 2; 3 4; 1 2] )) 853s ***** test 853s % row vector, other row 853s a = [sym(1) 2]; 853s assert (isequal ( [a; [sym(3) 4]] , [1 2; 3 4] )) 854s ***** test 854s % empty vectors 854s v = [sym(1) sym(2)]; 854s a = [v; []]; 854s assert (isequal (a, v)) 854s a = [[]; v; []]; 854s assert (isequal (a, v)) 854s a = [v; []; []]; 854s assert (isequal (a, v)) 855s ***** xtest 855s % FIXME: is this Octave bug? worth worrying about 855s syms x 855s a = [x; [] []]; 855s assert (isequal (a, x)) 855s !!!!! known failure 855s octave_base_value::map_value(): wrong type argument 'null_matrix' 855s ***** test 855s % more empty vectors 855s v = [sym(1) sym(2)]; 855s q = sym(ones(0, 2)); 855s assert (isequal ([v; q], v)) 855s ***** error 855s v = [sym(1) sym(2)]; 855s q = sym(ones(0, 3)); 855s w = vertcat(v, q); 855s ***** test 855s % Octave 3.6 bug: should pass on 3.8.1 and matlab 855s a = [sym(1) 2]; 855s assert (isequal ( [a; [3 4]] , [1 2; 3 4] )) 855s assert (isequal ( [a; sym(3) 4] , [1 2; 3 4] )) 855s % more examples 855s syms x 855s [x [x x]; x x x]; 855s [[x x] x; x x x]; 855s [[x x] x; [x x] x]; 855s [x x x; [x x] x]; 857s ***** test 857s % issue #700 857s A = sym ([1 2]); 857s B = simplify (A); 857s assert (isequal ([B; A], [A; B])) 857s 11 tests, 10 passed, 1 known failure, 0 skipped 857s [inst/@sym/det.m] 857s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/det.m 857s ***** assert (isequal (det(sym([])), 1)) 857s ***** test 857s syms x y real 857s assert (isequal (det([x 5; 7 y]), x*y-35)) 858s ***** test 858s syms x 858s assert (isequal (det(x), x)) 858s assert (isequal (det(sym(-6)), sym(-6))) 858s 3 tests, 3 passed, 0 known failure, 0 skipped 858s [inst/@sym/airy.m] 858s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/airy.m 858s ***** test 858s syms z 858s a = airy(0, z); 858s ap = airy(1, z); 858s assert (isequal (diff (a), ap)) 858s assert (isequal (diff (ap), z*a)) 859s ***** test 859s syms z 859s b = airy(2, z); 859s bp = airy(3, z); 859s assert (isequal (diff (b), bp)) 859s assert (isequal (diff (bp), z*b)) 859s ***** test 859s % default to k=0 859s syms z 859s a = airy(0, z); 859s a2 = airy(z); 859s assert (isequal (a, a2)) 860s ***** error airy(0, sym('x'), 2) 860s ***** error airy(4, sym('z')) 860s ***** error airy(-1, sym('z')) 860s ***** test 860s % symbolic k 860s syms z 860s b1 = airy(2, z); 860s b2 = airy(sym(2), z); 860s assert (isequal (b1, b2)) 860s ***** test 860s % doubles, relative error 860s X = [1 2 pi; 4i 5 6+6i]; 860s Xs = sym(X); 860s for k = 0:3 860s A = double(airy(k, Xs)); 860s B = airy(k, X); 860s assert (all (all (abs(A - B) < 500*eps*abs(A)))) 860s end 865s ***** test 865s % round-trip 865s syms x 865s for k = 0:3 865s A = airy(k, 10); 865s q = airy(k, x); 865s h = function_handle(q); 865s B = h(10); 865s assert (abs(A-B) < 500*eps*abs(A)) 865s end 865s 9 tests, 9 passed, 0 known failure, 0 skipped 865s [inst/@sym/null.m] 865s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/null.m 865s ***** test 865s A = sym([1 2; 3 4]); 865s assert (isempty (null (A))) 865s ***** assert (isempty (null (sym(4)))) 866s ***** test 866s A = sym([1 2 3; 3 4 5]); 866s assert (isequal (null(A), sym([1;-2;1]))) 866s 3 tests, 3 passed, 0 known failure, 0 skipped 866s [inst/@sym/length.m] 866s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/length.m 866s ***** test 866s a = sym([1 2 3]); 866s assert(length(a) == 3); 866s ***** test 866s % 2D array 866s a = sym([1 2 3; 4 5 6]); 866s assert(length(a) == 3); 867s ***** test 867s % empty 867s a = sym([]); 867s assert(length(a) == 0); 867s 3 tests, 3 passed, 0 known failure, 0 skipped 867s [inst/@sym/acot.m] 867s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acot.m 867s ***** error acot (sym(1), 2) 867s ***** assert (isequaln (acot (sym(nan)), sym(nan))) 867s ***** shared x, d 867s d = 1; 867s x = sym('1'); 867s ***** test 867s f1 = acot(x); 867s f2 = acot(d); 867s assert( abs(double(f1) - f2) < 1e-15 ) 867s ***** test 867s D = [d d; d d]; 867s A = [x x; x x]; 867s f1 = acot(A); 867s f2 = acot(D); 867s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 868s ***** test 868s % round trip 868s y = sym('y'); 868s A = acot (d); 868s f = acot (y); 868s h = function_handle (f); 868s B = h (d); 868s assert (A, B, -eps) 868s 5 tests, 5 passed, 0 known failure, 0 skipped 868s [inst/@sym/atanh.m] 868s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/atanh.m 868s ***** error atanh (sym(1), 2) 868s ***** assert (isequaln (atanh (sym(nan)), sym(nan))) 868s ***** shared x, d 868s d = 1/2; 868s x = sym('1/2'); 868s ***** test 868s f1 = atanh(x); 868s f2 = atanh(d); 868s assert( abs(double(f1) - f2) < 1e-15 ) 868s ***** test 868s D = [d d; d d]; 868s A = [x x; x x]; 868s f1 = atanh(A); 868s f2 = atanh(D); 868s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 869s ***** test 869s % round trip 869s y = sym('y'); 869s A = atanh (d); 869s f = atanh (y); 869s h = function_handle (f); 869s B = h (d); 869s assert (A, B, -eps) 869s 5 tests, 5 passed, 0 known failure, 0 skipped 869s [inst/@sym/ceil.m] 869s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ceil.m 869s ***** error ceil (sym(1), 2) 869s ***** assert (isequaln (ceil (sym(nan)), sym(nan))) 869s ***** shared x, d 869s d = 3/2; 869s x = sym('3/2'); 869s ***** test 869s f1 = ceil(x); 869s f2 = ceil(d); 869s assert( abs(double(f1) - f2) < 1e-15 ) 869s ***** test 869s D = [d d; d d]; 869s A = [x x; x x]; 869s f1 = ceil(A); 869s f2 = ceil(D); 869s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 870s ***** test 870s % round trip 870s y = sym('y'); 870s A = ceil (d); 870s f = ceil (y); 870s h = function_handle (f); 870s B = h (d); 870s assert (A, B, -eps) 870s 5 tests, 5 passed, 0 known failure, 0 skipped 870s [inst/@sym/euler.m] 870s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/euler.m 870s ***** error euler (sym(1), 2, 3) 871s ***** assert (isequal (euler (sym(0)), sym(1))) 871s ***** test 871s m = sym([0 1 2; 8 10 888889]); 871s A = euler (m); 871s B = sym([1 0 -1; 1385 -50521 0]); 871s assert (isequal (A, B)) 872s ***** test 872s syms x 872s assert (isequal (euler(6, x), x^6 - 3*x^5 + 5*x^3 - 3*x)) 872s ***** assert (isnan (euler (3, sym(nan)))) 872s ***** test 872s syms m x 872s em = euler (m, x); 872s A = subs(em, [m x], [2 sym(pi)]); 872s assert (isequal (A, sym(pi)^2 - sym(pi))) 873s ***** test 873s % vectorized 873s syms x y 873s A = euler([1; 2], [x; y]); 873s B = [x - sym(1)/2; y^2 - y]; 873s assert (isequal (A, B)) 874s ***** test 874s % round trip 874s syms m z 874s f = euler (m, z); 874s h = function_handle (f, 'vars', [m z]); 874s A = h (2, 2.2); 874s B = euler (2, 2.2); 874s assert (A, B) 874s ***** test 874s % compare vpa to maple: Digits:=34; evalf(euler(13, exp(1)+Pi*I/13)); 874s A = vpa('1623.14184180556920918624604530515') + ... 874s vpa('4270.98066989140286451493108809574')*1i; 874s z = vpa (exp(1), 32) + vpa(pi, 32)/13*1i; 874s B = euler (13, z); 874s relerr = abs(double(abs((B - A)/A))); 874s assert (relerr < 20*eps); 882s ***** xtest 882s % as above, high-prec result broken in 1.12: https://github.com/sympy/sympy/issues/24156 882s A = vpa('1623.14184180556920918624604530515') + ... 882s vpa('4270.98066989140286451493108809574')*1i; 882s z = vpa (exp(1), 32) + vpa(pi, 32)/13*1i; 882s B = euler (13, z); 882s relerr = abs(double(abs((B - A)/A))); 882s assert (relerr < 2e-31); 888s !!!!! known failure 888s assert (relerr < 2e-31) failed 888s 10 tests, 9 passed, 1 known failure, 0 skipped 888s [inst/@sym/solve.m] 888s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/solve.m 888s ***** test 888s % Simple, single variable, single solution 888s syms x 888s d = solve(10*x == 50); 888s assert (isequal (d, 5)) 889s ***** test 889s % Single variable, multiple solutions 889s syms x 889s d = solve(x^2 == 4); 889s assert (length(d) == 2); 889s assert (isequal (d, [2; -2]) || isequal (d, [-2; 2])) 889s ***** shared x,y,eq 889s syms x y 889s eq = 10*x == 20*y; 890s ***** test 890s d = solve(eq, x); 890s assert (isequal (d, 2*y)) 890s ***** test 890s d = solve(eq, y); 890s assert (isequal (d, x/2)) 890s ***** test 890s d = solve(eq); 890s assert (isequal (d, 2*y)) 890s ***** shared x,y 890s syms x y 890s ***** test 890s d = solve(2*x - 3*y == 0, x + y == 1); 890s assert (isequal (d.x, sym(3)/5) && isequal(d.y, sym(2)/5)) 891s ***** test 891s d = solve(2*x - 3*y == 0, x + y == 1, x, y); 891s assert (isequal (d.x, sym(3)/5) && isequal(d.y, sym(2)/5)) 892s ***** test 892s % Multiple solutions, multiple variables 892s d = solve(x^2 == 4, x + y == 1); 892s assert (length(d) == 2); 892s % FIXME: SMT has d.x gives vector and d.y giving vector, what is 892s % more intuitive? 892s for i = 1:2 892s assert (isequal (d{i}.x + d{i}.y, 1)) 892s assert (isequal ((d{i}.x)^2, 4)) 892s end 893s ***** test 893s % No solutions 893s syms x y z 893s d = solve(x == y, z); 893s assert (isempty (d)); 894s ***** test 894s % Multiple outputs with single solution 894s [X, Y] = solve(2*x + y == 5, x + y == 3); 894s assert (isequal (X, 2)) 894s assert (isequal (Y, 1)) 894s ***** test 894s % system: vector of equations, vector of vars 894s [X, Y] = solve([2*x + y == 5, x + y == 3], [x y]); 894s assert (isequal (X, 2)) 894s assert (isequal (Y, 1)) 895s ***** test 895s % system: vector of equations, individual vars 895s [X, Y] = solve([2*x + y == 5, x + y == 3], x, y); 895s assert (isequal (X, 2)) 895s assert (isequal (Y, 1)) 896s ***** test 896s % system: individual equations, vector of vars 896s [X, Y] = solve(2*x + y == 5, x + y == 3, [x y]); 896s assert (isequal (X, 2)) 896s assert (isequal (Y, 1)) 896s ***** test 896s % Multiple outputs with multiple solns 896s [X, Y] = solve(x*x == 4, x == 2*y); 896s assert ((isequal (X, [2; -2]) && isequal (Y, [1; -1])) || ... 896s (isequal (X, [-2; 2]) && isequal (Y, [-1; 1]))) 897s ***** test 897s % Multiple outputs with multiple solns, specify vars 897s [X, Y] = solve(x*x == 4, x == 2*y, x, y); 897s assert ((isequal (X, [2; -2]) && isequal (Y, [1; -1])) || ... 897s (isequal (X, [-2; 2]) && isequal (Y, [-1; 1]))) 898s ***** error 898s % mult outputs not allowed for scalar equation, even with mult soln (?) 898s [s1, s2] = solve(x^2 == 4, x); 898s ***** test 898s % overdetermined 898s X = solve(2*x - 10 == 0, 3*x - 15 == 0, x); 898s assert (isequal (X, sym(5))) 899s ***** test 899s a = solve(2*x >= 10, 10*x <= 50); 899s assert (isequal( a, x==sym(5))) 900s ***** test 900s A = solve([2*x == 4*y, 2 == 3], x); 900s assert (isempty (A)) 900s ***** test 900s % Issue #850 900s A = solve (sym(pi)^2*x + y == 0); 900s assert (isequal (A, -y/sym(pi)^2)) 901s ***** test 901s % https://github.com/sympy/sympy/issues/14632 901s A = solve([2*x == 4*y, sym(2) == 2], x); 901s assert (isequal (A, 2*y)) 902s ***** test 902s % https://github.com/sympy/sympy/issues/14632 902s A = solve([2*x^2 == 32*y^2, sym(2) == 2], x); 902s B = solve([2*x^2 == 32*y^2], x); 902s assert (isequal (A, B) || isequal (A, flip (B))) 903s ***** test 903s A = solve ([x+1 0], x); 903s assert (isequal (A, sym (-1))) 903s ***** test 903s A = solve (x + 1, x); 903s assert (isequal (A, sym (-1))) 903s A = solve (x, x); 903s assert (isequal (A, sym (0))) 903s 24 tests, 24 passed, 0 known failure, 0 skipped 903s [inst/@sym/bernoulli.m] 903s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/bernoulli.m 903s ***** error bernoulli (sym(1), 2, 3) 904s ***** assert (isequal (bernoulli (sym(8)), -sym(1)/30)) 905s ***** assert (isequal (bernoulli (sym(9)), sym(0))) 906s ***** test syms x 906s assert (isequal (bernoulli(3,x), x^3 - 3*x^2/2 + x/2)) 906s ***** test 906s % two different definitions in literature 906s assert (isequal (abs (bernoulli (sym(1))), sym(1)/2)) 906s ***** test 906s % we use B_1 = 1/2 906s if (pycall_sympy__ ('return Version(spver) >= Version("1.12.dev")')) 906s assert (isequal (bernoulli (sym(1)), sym(1)/2)) 906s end 906s ***** test 906s m = sym([0 2; 8 888889]); 906s A = bernoulli (m); 906s B = [1 sym(1)/6; -sym(1)/30 0]; 906s assert (isequal (A, B)) 907s ***** test 907s syms x 907s A = bernoulli ([0; 1], x); 907s B = [sym(1); x - sym(1)/2]; 907s assert (isequal (A, B)) 908s ***** test 908s % round trip 908s syms n x 908s f = bernoulli (n, x); 908s h = function_handle (f, 'vars', [n x]); 908s A = h (2, 2.2); 908s B = bernoulli (2, 2.2); 908s assert (A, B) 908s 9 tests, 9 passed, 0 known failure, 0 skipped 908s [inst/@sym/round.m] 908s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/round.m 908s ***** test 908s d = 3/2; 908s x = sym('3/2'); 908s f1 = round(x); 908s f2 = round(d); 908s assert (isequal (f1, f2)) 908s ***** xtest 908s % ideally rounding direction would match Octave 908s d = 5/2; 908s x = sym('5/2'); 908s f1 = round(x); 908s f2 = round(d); 908s assert (isequal (f1, f2)) 908s !!!!! known failure 908s assert (isequal (f1, f2)) failed 908s ***** test 908s D = [1.1 4.6; -3.4 -8.9]; 908s A = [sym(11)/10 sym(46)/10; sym(-34)/10 sym(-89)/10]; 908s f1 = round(A); 908s f2 = round(D); 908s assert( isequal (f1, f2)) 910s ***** test 910s d = sym(-11)/10; 910s c = -1; 910s assert (isequal (round (d), c)) 910s ***** test 910s d = sym(-19)/10; 910s c = -2; 910s assert (isequal (round (d), c)) 910s ***** test 910s d = 7j/2; 910s x = sym(7j)/2; 910s f1 = round (x); 910s f2 = round (d); 910s assert (isequal (f1, f2)) 911s ***** test 911s d = 5/3 - 4j/7; 911s x = sym(5)/3 - sym(4j)/7; 911s f1 = round (x); 911s f2 = round (d); 911s assert (isequal (f1, f2)) 912s 7 tests, 6 passed, 1 known failure, 0 skipped 912s [inst/@sym/expand.m] 912s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/expand.m 912s ***** test 912s syms x 912s assert (logical (x^2 + 6*x + 5 == expand ((x+5)*(x+1)))) 912s assert (isequal (x^2 + 6*x + 5, expand ((x+5)*(x+1)))) 913s ***** test 913s % array 913s syms x 913s assert (isequal (expand ([x (x+1)*x]), [x x^2+x])) 914s 2 tests, 2 passed, 0 known failure, 0 skipped 914s [inst/@sym/cart2pol.m] 914s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cart2pol.m 914s ***** test 914s % multiple non-scalar inputs 914s x = sym ('x', [2 2]); 914s assume (x, 'real'); 914s y = sym ('y', [2 2]); 914s assume (y, 'real'); 914s [theta, r] = cart2pol (x, y); 914s assert (isequal (r, sqrt (x.^2 + y.^2))); 914s assert (isequal (tan (theta), y ./ x)); 914s % mixing scalar inputs with non-scalar inputs 914s syms z real 914s [theta_2, r_2, z_2] = cart2pol (x, y, z); 914s assert (isequal (r_2, sqrt (x.^2 + y.^2))); 914s assert (isequal (tan (theta_2), y ./ x)); 914s assert (isequal (z_2, z * ones (2, 2))); 919s ***** test 919s % column vector with 2 entries 919s syms x y real 919s [theta, r] = cart2pol ([x; y]); 919s assert (isequal (r, sqrt (x.^2 + y.^2))); 919s assert (isequal (tan (theta), y ./ x)); 919s % column vector with 3 entries 919s syms z real 919s [theta_2, r_2, z_2] = cart2pol ([x; y; z]); 919s assert (isequal (r_2, sqrt (x.^2 + y.^2))); 919s assert (isequal (tan (theta_2), y ./ x)); 919s assert (isequal (z_2, z)); 922s ***** test 922s % matrix with 2 columns 922s syms x y u v real 922s C = [x y; u v]; 922s [theta, r] = cart2pol (C); 922s assert (isequal (r, [sqrt(x.^2+y.^2); sqrt(u.^2+v.^2)])); 922s assert (isequal (tan (theta), [y/x; v/u])); 922s % matrix with 3 columns 922s syms z w real 922s C_2 = [x y z; u v w]; 922s [theta_2, r_2, z_2] = cart2pol (C_2); 922s assert (isequal (r, [sqrt(x.^2+y.^2); sqrt(u.^2+v.^2)])); 922s assert (isequal (tan (theta), [y/x; v/u])); 922s assert (isequal (z_2, [z; w])); 926s 3 tests, 3 passed, 0 known failure, 0 skipped 926s [inst/@sym/ne.m] 926s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ne.m 926s ***** test 926s % simple 926s x = sym(1); y = sym(1); e = x ~= y; 926s assert (~logical (e)) 926s x = sym(1); y = sym(2); e = x ~= y; 926s assert (logical(e)) 926s ***** test 926s % array -- array 926s syms x 926s a = sym([1 3 3 2*x]); 926s b = sym([2 x 3 10]); 926s e = a ~= b; 926s assert (isa (e, 'sym')) 926s assert (logical (e(1))) 926s assert (isa (e(2), 'sym')) 926s assert (isequal (e(2), 3 ~= x)) 926s assert (~logical (e(3))) 926s assert (isa (e(4), 'sym')) 926s assert (isequal (e(4), 2*x ~= 10)) 927s ***** test 927s % oo 927s syms oo x 927s e = oo ~= x; 927s assert (isa (e, 'sym')) 927s s = strtrim (disp (e, 'flat')); 927s % SymPy <= 0.7.6.x will be '!=', newer gives 'Ne', test both 927s assert (strcmp (s, 'oo != x') || strcmp (s, 'Ne(oo, x)')) 927s ***** test 927s % nan 927s syms oo x 927s snan = sym(nan); 927s e = snan ~= sym(0); 927s assert (logical (e)) 927s e = snan ~= snan; 927s assert (logical (e)) 928s 4 tests, 4 passed, 0 known failure, 0 skipped 928s [inst/@sym/harmonic.m] 928s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/harmonic.m 928s ***** error harmonic (sym(1), 2) 928s ***** xtest 928s assert (isequaln (harmonic (sym(nan)), sym(nan))) 928s !!!!! known failure 928s assert (isequaln (harmonic (sym (nan)), sym (nan))) failed 928s ***** assert (isequal (harmonic (sym(0)), sym(0))) 928s ***** assert (isinf (harmonic (sym(inf)))) 928s ***** assert (isequal (harmonic (sym([9 10])), [sym(7129)/2520 sym(7381)/2520])) 929s ***** test 929s % round trip 929s y = sym('y'); 929s A = harmonic (7); 929s f = harmonic (y); 929s h = function_handle (f); 929s B = h (7); 929s assert (A, B, -eps) 929s 6 tests, 5 passed, 1 known failure, 0 skipped 929s [inst/@sym/max.m] 929s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/max.m 929s ***** test 929s % simple 929s assert (isequal (max([sym(10) sym(11)]), sym(11))) 929s ***** test 929s syms x y 929s assert (isequal (children (max (x, y)), [x y])) 930s 2 tests, 2 passed, 0 known failure, 0 skipped 930s [inst/@sym/sinc.m] 930s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sinc.m 930s ***** error sinc (sym(1), 2) 930s ***** assert (isequaln (sinc (sym(nan)), sym(nan))) 930s ***** assert (isequal (sinc (sym(0)), sym(1))) 930s ***** assert (isequal (sinc (sym(1)), sym(0))) 930s ***** assert (isequal (sinc (-sym(1)), sym(0))) 931s ***** assert (double (sinc (sym(pi))), sinc (pi), -10*eps) 931s ***** test 931s A = [-sym(1)/2 sym(1)/2 pi; -sym(7)/2 sym(71)/2 sym(101)/3]; 931s D = double (A); 931s assert (sinc (D), double (sinc (A)), -200*eps) 934s ***** test 934s A = [sym(51)/2 sym(1001)/3 sym(10001)/3 sym(100001)/3]; 934s D = double (A); 934s assert (sinc (D), double (sinc (A)), 1e-10) 936s ***** test 936s % round trip 936s syms x 936s A = sinc (1); 936s f = sinc (x); 936s h = function_handle (f); 936s B = h (1); 936s assert (A, B, -eps) 936s ***** test 936s % round trip 936s syms x 936s f = sinc (x); 936s h = function_handle (f); 936s A = sinc (1.5); 936s B = h (1.5); 936s assert (A, B, -eps) 936s ***** test 936s syms x 936s h = function_handle (sinc (x)); 936s A = double (sinc (sym (12)/10)); 936s B = h (1.2); 936s C = sinc (1.2); 936s assert (A, B, -eps) 936s assert (A, C, -eps) 937s 11 tests, 11 passed, 0 known failure, 0 skipped 937s [inst/@sym/permute.m] 937s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/permute.m 937s ***** error permute (sym(1)) 937s ***** error permute (sym(1), 2, 3) 937s ***** test 937s D = round(10*rand(5,3)); 937s A = sym(D); 937s B = permute(A, [1 2]); 937s assert (isequal(B, A)) 937s B = permute(A, [2 1]); 937s assert (isequal(B, A.')) 938s ***** test 938s syms x 938s A = [1 x]; 938s B = permute(A, [2 1]); 938s assert (isequal(B, [1; x])) 939s 4 tests, 4 passed, 0 known failure, 0 skipped 939s [inst/@sym/end.m] 939s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/end.m 939s ***** test 939s % scalar 939s syms x 939s y = x(1:end); 939s assert (isequal (x, y)) 939s ***** test 939s % vector 939s syms x 939s A = [1 2 x 4]; 939s y = A(end-1:end); 939s assert (isequal (y, [x 4])) 939s ***** test 939s % subset of matrix 939s syms x 939s A = [1 2 x; x 3 9; 4 x*x 6]; 939s y = A(end,1:end-1); 939s assert (isequal (y, [4 x*x])) 940s ***** test 940s % linear index of matrix 940s syms x 940s A = [1 2 x; x 3 9]; 940s y = A(end); 940s assert (isequal (y, sym(9))) 941s 4 tests, 4 passed, 0 known failure, 0 skipped 941s [inst/@sym/tril.m] 941s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/tril.m 941s ***** test 941s syms x 941s assert (isequal (tril(x), x)) 941s ***** test 941s % with symbols 941s syms x 941s A = [x 2*x; 3*x 4*x]; 941s assert (isequal (tril(A), [x 0; 3*x 4*x])) 942s ***** test 942s % diagonal shifts 942s B = round(10*rand(3,4)); 942s A = sym(B); 942s assert (isequal (tril(A), tril(B))) 942s assert (isequal (tril(A,0), tril(B,0))) 942s assert (isequal (tril(A,1), tril(B,1))) 942s assert (isequal (tril(A,-1), tril(B,-1))) 945s ***** test 945s % double array pass through 945s B = round(10*rand(3,4)); 945s assert (isequal (tril(B,sym(1)), tril(B,1))) 945s assert (isa (tril(B,sym(1)), 'double')) 945s 4 tests, 4 passed, 0 known failure, 0 skipped 945s [inst/@sym/chebyshevU.m] 945s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/chebyshevU.m 945s ***** error chebyshevU (sym(1)) 946s ***** error chebyshevU (sym(1), 2, 3) 946s ***** assert (isequaln (chebyshevU (2, sym(nan)), sym(nan))) 946s ***** shared x 946s syms x 946s ***** assert(isequal(chebyshevU(0, x), sym(1))) 946s ***** assert(isequal(chebyshevU(1, x), 2*x)) 947s ***** assert(isequal(chebyshevU(2, x), 4*x*x - 1)) 947s ***** assert(isequal(chebyshevU([0 1 2], x), [sym(1) 2*x (4*x*x-1)])) 948s ***** test 948s % round trip 948s syms n z 948s f = chebyshevU (n, z); 948s h = function_handle (f, 'vars', [n z]); 948s A = h (1.1, 2.2); 948s B = chebyshevU (1.1, 2.2); 948s assert (A, B) 948s 8 tests, 8 passed, 0 known failure, 0 skipped 948s [inst/@sym/ezmesh.m] 948s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ezmesh.m 948s ***** error 948s syms u v t 948s ezmesh(u*v, 2*u*v, 3*v*t) 949s ***** error 949s syms u v t 949s ezmesh(u*v, 2*u*v, u*v*t) 951s 2 tests, 2 passed, 0 known failure, 0 skipped 951s [inst/@sym/sqrt.m] 951s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sqrt.m 951s ***** error sqrt (sym(1), 2) 951s ***** assert (isequaln (sqrt (sym(nan)), sym(nan))) 951s ***** shared x, d 951s d = 1; 951s x = sym('1'); 951s ***** test 951s f1 = sqrt(x); 951s f2 = sqrt(d); 951s assert( abs(double(f1) - f2) < 1e-15 ) 951s ***** test 951s D = [d d; d d]; 951s A = [x x; x x]; 951s f1 = sqrt(A); 951s f2 = sqrt(D); 951s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 952s ***** test 952s % round trip 952s y = sym('y'); 952s A = sqrt (d); 952s f = sqrt (y); 952s h = function_handle (f); 952s B = h (d); 952s assert (A, B, -eps) 952s 5 tests, 5 passed, 0 known failure, 0 skipped 952s [inst/@sym/chol.m] 952s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/chol.m 952s ***** error chol (sym ([1 2; 3 4])); 952s ***** error chol (sym ([1 2; 3 4; 5 6])); 952s ***** test 952s A = chol(hilb(sym(2))); 952s B = [[1 0]; sym(1)/2 sqrt(sym(3))/6]; 952s assert( isequal( A, B )) 953s 3 tests, 3 passed, 0 known failure, 0 skipped 953s [inst/@sym/subs.m] 953s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/subs.m 953s ***** error subs (sym(1), 2, 3, 4) 953s ***** shared x,y,t,f 953s syms x y t 953s f = x*y; 953s ***** test 953s assert( isequal( subs(f, x, y), y^2 )) 953s assert( isequal( subs(f, y, sin(x)), x*sin(x) )) 953s assert( isequal( subs(f, x, 16), 16*y )) 954s ***** test 954s % multiple subs w/ cells 954s assert( isequal( subs(f, {x}, {t}), y*t )) 954s assert( isequal( subs(f, {x y}, {t t}), t*t )) 954s assert( isequal( subs(f, {x y}, {t 16}), 16*t )) 954s assert( isequal( subs(f, {x y}, {16 t}), 16*t )) 954s assert( isequal( subs(f, {x y}, {2 16}), 32 )) 955s ***** test 955s % multiple subs w/ vectors 955s assert( isequal( subs(f, [x y], [t t]), t*t )) 955s assert( isequal( subs(f, [x y], [t 16]), 16*t )) 955s assert( isequal( subs(f, [x y], [2 16]), 32 )) 956s ***** test 956s % anything you can think of 956s assert( isequal( subs(f, [x y], {t t}), t*t )) 956s assert( isequal( subs(f, {x y}, [t t]), t*t )) 956s assert( isequal( subs(f, {x; y}, [t; t]), t*t )) 957s ***** test 957s % sub in doubles gives sym (matches SMT 2013b) 957s % FIXME: but see 957s % http://www.mathworks.co.uk/help/symbolic/gradient.html 957s assert( isequal( subs(f, {x y}, {2 pi}), 2*sym(pi) )) 957s assert( ~isa(subs(f, {x y}, {2 pi}), 'double')) 957s assert( isa(subs(f, {x y}, {2 pi}), 'sym')) 957s assert( isa(subs(f, {x y}, {2 sym(pi)}), 'sym')) 957s assert( isa(subs(f, {x y}, {sym(2) sym(pi)}), 'sym')) 958s ***** shared x,y,t,f,F 958s syms x y t 958s f = sin(x)*y; 958s F = [f; 2*f]; 958s ***** test 958s % need the simultaneous=True flag in SymPy (matches SMT 2013b) 958s assert( isequal( subs(f, [x t], [t 6]), y*sin(t) )) 958s assert( isequal( subs(F, [x t], [t 6]), [y*sin(t); 2*y*sin(t)] )) 959s ***** test 959s % swap x and y (also needs simultaneous=True 959s assert( isequal( subs(f, [x y], [y x]), x*sin(y) )) 959s ***** test 959s % but of course both x and y to t still works 959s assert( isequal( subs(f, [x y], [t t]), t*sin(t) )) 960s ***** shared 960s ***** test 960s % Issue #10, subbing matrices in for scalars 960s syms y 960s a = sym([1 2; 3 4]); 960s f = sin(y); 960s g = subs(f, y, a); 960s assert (isequal (g, sin(a))) 960s ***** test 960s % Issue #10, subbing matrices in for scalars 960s syms y 960s a = sym([1 2]); 960s g = subs(sin(y), {y}, {a}); 960s assert (isequal (g, sin(a))) 961s ***** test 961s % Issue #10, subbing matrices in for scalars 961s syms y 961s a = sym([1; 2]); 961s g = subs(sin(y), {y}, a); 961s assert (isequal (g, sin(a))) 961s ***** test 961s % Issue #10, subbing matrices in for scalars 961s syms y 961s a = [10 20 30]; 961s f = 2*y; 961s g = subs(f, y, a); 961s assert (isequal (g, 2*a)) 961s assert (isa (g, 'sym')) 962s ***** test 962s % Issue #10, sub matrices in for two scalars 962s syms x y 962s a = [10 20 30]; 962s f = x^2*y; 962s g = subs(f, {x y}, {a a+1}); 962s h = a.^2.*(a+1); 962s assert (isequal (g, h)) 963s ***** test 963s % Issue #10, sub matrices in for two scalars 963s syms x y z 963s a = [10 20 30]; 963s f = x^2*y; 963s g = subs(f, {x y}, {a z}); 963s h = a.^2*z; 963s assert (isequal (g, h)) 963s g = subs(f, {x y}, {a 6}); 963s h = a.^2*6; 963s assert (isequal (g, h)) 964s ***** error 964s syms x y 964s a = [10 20 30]; 964s f = x^2*y; 964s g = subs(f, {x y}, {[10 20 30] [10 20]}); 964s ***** test 964s % two inputs 964s syms x y 964s assert (isequal (subs (2*x, 6), sym(12))) 964s assert (isequal (subs (2*x*y^2, 6), 12*y^2)) 964s assert (isequal (subs (2*y, 6), sym(12))) 964s assert (isequal (subs (sym(2), 6), sym(2))) 966s ***** test 966s % only two inputs, vector 966s syms x 966s assert (isequal (subs (2*x, [3 5]), sym([6 10]))) 968s ***** test 968s % SMT compat, subbing in vec/mat for nonexist x 968s syms x y z 968s % you might think this would be y: 968s assert (~ isequal (subs (y, x, [1 2]), y)) 968s % but it gives two y's: 968s assert (isequal (subs (y, x, [1 2]), [y y])) 968s assert (isequal (subs (sym(42), [3 5]), sym([42 42]))) 968s assert (isequal (subs (sym(42), x, []), sym([]))) 968s assert (isequal (subs (y, {x y}, {[1 2; 3 4], 6}), sym([6 6; 6 6]))) 968s assert (isequal (subs (y, {x z}, {[1 2; 3 4], 6}), [y y; y y])) 969s ***** test 969s syms x y 969s assert (isequal (subs (sym(42), x, y), sym(42))) 969s assert (isequal (subs (sym(42), y), sym(42))) 969s assert (isequal (subs (sym(42)), sym(42))) 970s ***** test 970s % empty lists 970s assert (isequal (subs (sym(42), {}, {}), sym(42))) 970s assert (isequal (subs (42, sym([]), sym([])), sym(42))) 970s ***** test 970s syms x y 970s f = x*y; 970s x = 6; y = 7; 970s g = subs (f); 970s assert (isequal (g, sym (42))) 970s assert (isa (g, 'sym')) 971s ***** test 971s syms x y 971s f = x*y; 971s x = 6; 971s g = subs (f); 971s assert (isequal (g, 6*y)) 971s ***** test 971s syms x y 971s f = x*y; 971s xsave = x; 971s x = 6; 971s g = subs (f); 971s assert (isequal (g, 6*y)) 971s assert (isequal (f, xsave*y)) 972s ***** test 972s syms a x y 972s f = a*x*y; 972s a = 6; 972s clear x 972s g = subs (f); 972s syms x 972s assert (isequal (g, 6*x*y)) 972s 25 tests, 25 passed, 0 known failure, 0 skipped 972s [inst/@sym/mpower.m] 972s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/mpower.m 972s ***** test 972s syms x 972s assert(isequal(x^(sym(4)/5), x.^(sym(4)/5))) 973s ***** test 973s % integer powers of scalars 973s syms x 973s assert (isequal (x^2, x*x)) 973s assert (isequal (x^sym(3), x*x*x)) 973s ***** test 973s % array ^ integer 973s syms x y 973s A = [x 2; y 4]; 973s assert (isequal (A^2, A*A)) 973s assert (isequal (simplify(A^3 - A*A*A), [0 0; 0 0])) 975s ***** test 975s % array ^ rational 975s Ad = [1 2; 0 3]; 975s A = sym(Ad); 975s B = A^(sym(1)/3); 975s Bd = Ad^(1/3); 975s assert (max(max(abs(double(B) - Bd))) < 1e-14) 976s ***** test 976s % non-integer power 976s A = sym([1 2; 0 3]); 976s B = A^pi; 976s C = [1 -1+3^sym(pi); 0 sym(3)^pi]; 976s assert (isequal (B, C)) 976s ***** test 976s % matpow 976s syms n 976s A = sym([1 2; 3 4]); 976s B = A^n; 976s C = 10 + B + B^2; 976s D = subs(C, n, 1); 976s E = 10 + A + A^2; 976s assert (isequal (simplify(D), simplify(E))) 986s ***** test 986s % matpow, sub in zero gives identity 986s A = sym([1 2; 0 3]); 986s syms n; 986s B = A^n; 986s C = subs(B, n, 1); 986s assert (isequal (C, A)) 986s C = subs(B, n, 0); 986s assert (isequal (C, sym(eye(2)))) 987s ***** xtest 987s % scalar^array (e.g., defined by matrix exponential) not implemented in SymPy? 987s % on 1.0 < SymPy <= 1.5.1, you can form the expression but still cannot eval 987s syms x 987s A = [1 2; 3 4]; 987s B = x^A; 987s assert (strcmp (regexprep (disp (B, 'flat'), '\s+', ''), 'x**Matrix([[1,2],[3,4]])')) 987s % sub in and compare to double 987s Bs = subs(B, x, sym(3)/2); 987s D1 = double(Bs); 987s D2 = (3/2)^[1 2; 3 4]; 987s assert (max(max(abs(D1 - D2))) < 1e-14) 988s !!!!! known failure 988s Python exception: TypeError: unsupported operand type(s) for ** or pow(): 'Symbol' and 'MutableDenseMatrix' 988s occurred at line 2 of the Python code block: 988s return x**y 988s ***** error 988s A = sym([1 2; 3 4]); 988s B = A^A; 988s 9 tests, 8 passed, 1 known failure, 0 skipped 988s [inst/@sym/rows.m] 988s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rows.m 988s ***** test 988s a = sym([1 2 3]); 988s assert (rows(a) == 1) 988s ***** test 988s a = sym([1 2 3; 4 5 6]); 988s assert (rows(a) == 2) 988s 2 tests, 2 passed, 0 known failure, 0 skipped 988s [inst/@sym/symsum.m] 988s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/symsum.m 988s ***** error symsum (sym(1), 2, 3, 4, 5) 988s ***** test 988s % finite sums 988s syms n 988s assert (isequal (symsum(n,n,1,10), 55)) 988s assert(isa(symsum(n,n,1,10), 'sym')) 988s assert (isequal (symsum(n,n,sym(1),sym(10)), 55)) 988s assert (isequal (symsum(n,n,sym(1),sym(10)), 55)) 988s assert (isequal (symsum(1/n,n,1,10), sym(7381)/2520)) 990s ***** test 990s % negative limits 990s syms n 990s assert (isequal (symsum(n,n,-3,3), sym(0))) 990s assert (isequal (symsum(n,n,-3,0), sym(-6))) 990s assert (isequal (symsum(n,n,-3,-1), sym(-6))) 991s ***** test 991s % one input 991s syms n 991s f = symsum (n); 991s g = n^2/2 - n/2; 991s assert (isequal (f, g)) 991s f = symsum (2*n); 991s g = n^2 - n; 991s assert (isequal (f, g)) 992s ***** test 992s % constant input 992s f = symsum (sym(2)); 992s syms x 992s g = 2*x; 992s assert (isequal (f, g)) 992s ***** test 992s % two inputs 992s syms n 992s f = symsum (2*n, n); 992s g = n^2 - n; 992s assert (isequal (f, g)) 993s ***** test 993s % two inputs, second is range 993s syms n 993s f = symsum (n, [1 6]); 993s g = 21; 993s assert (isequal (f, g)) 993s f = symsum (n, [sym(1) 6]); 993s g = 21; 993s assert (isequal (f, g)) 993s f = symsum (2*n, [1 6]); 993s g = 2*21; 993s assert (isequal (f, g)) 994s ***** test 994s % three inputs, last is range 994s syms n 994s f = symsum (2*n, n, [1 4]); 994s g = sym(20); 994s assert (isequal (f, g)) 994s f = symsum (2*n, n, [sym(1) 4]); 994s g = sym(20); 994s assert (isequal (f, g)) 994s f = symsum (2, n, [sym(1) 4]); 994s g = sym(8); 994s assert (isequal (f, g)) 995s ***** test 995s % three inputs, no range 995s syms n 995s f = symsum (2*n, 1, 4); 995s g = sym(20); 995s assert (isequal (f, g)) 995s f = symsum (5, sym(1), 3); 995s g = sym(15); 995s assert (isequal (f, g)) 996s ***** test 996s % ok to use double's for arguments in infinite series 996s syms n oo 996s assert(isequal(symsum(1/n^2,n,1,oo), sym(pi)^2/6)) 996s assert(isequal(symsum(1/n^2,n,1,inf), sym(pi)^2/6)) 998s ***** test 998s % should be oo because 1 is real but seems to be 998s % zoo/oo depending on sympy version 998s syms n oo 998s zoo = sym('zoo'); 998s assert (isequal (symsum(1/n,n,1,oo), oo) || ... 998s isequal (symsum(1/n,n,1,oo), zoo)) 998s 11 tests, 11 passed, 0 known failure, 0 skipped 998s [inst/@sym/erfinv.m] 998s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/erfinv.m 998s ***** error erfinv (sym(1), 2) 998s ***** assert (isequaln (erfinv (sym(nan)), sym(nan))) 998s ***** shared x, d 998s d = 1/2; 998s x = sym('1/2'); 998s ***** test 998s f1 = erfinv(x); 998s f2 = erfinv(d); 998s assert( abs(double(f1) - f2) < 1e-15 ) 998s ***** test 998s D = [d d; d d]; 998s A = [x x; x x]; 998s f1 = erfinv(A); 998s f2 = erfinv(D); 998s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 999s ***** test 999s % round trip 999s y = sym('y'); 999s A = erfinv (d); 999s f = erfinv (y); 999s h = function_handle (f); 999s B = h (d); 999s assert (A, B, -eps) 999s 5 tests, 5 passed, 0 known failure, 0 skipped 999s [inst/@sym/dirac.m] 999s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/dirac.m 999s ***** error dirac (sym(1), 2) 999s ***** assert (isequaln (dirac (sym(nan)), sym(nan))) 1000s ***** shared x, d 1000s d = 1; 1000s x = sym('1'); 1000s ***** test 1000s f1 = dirac(x); 1000s f2 = dirac(d); 1000s assert( abs(double(f1) - f2) < 1e-15 ) 1000s ***** test 1000s D = [d d; d d]; 1000s A = [x x; x x]; 1000s f1 = dirac(A); 1000s f2 = dirac(D); 1000s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1001s ***** test 1001s % round trip 1001s y = sym('y'); 1001s A = dirac (d); 1001s f = dirac (y); 1001s h = function_handle (f); 1001s B = h (d); 1001s assert (A, B, -eps) 1001s 5 tests, 5 passed, 0 known failure, 0 skipped 1001s [inst/@sym/sign.m] 1001s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sign.m 1001s ***** error sign (sym(1), 2) 1001s ***** assert (isequaln (sign (sym(nan)), sym(nan))) 1001s ***** shared x, d 1001s d = 1; 1001s x = sym('1'); 1001s ***** test 1001s f1 = sign(x); 1001s f2 = sign(d); 1001s assert( abs(double(f1) - f2) < 1e-15 ) 1001s ***** test 1001s D = [d d; d d]; 1001s A = [x x; x x]; 1001s f1 = sign(A); 1001s f2 = sign(D); 1001s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1002s ***** test 1002s % round trip 1002s y = sym('y'); 1002s A = sign (d); 1002s f = sign (y); 1002s h = function_handle (f); 1002s B = h (d); 1002s assert (A, B, -eps) 1002s 5 tests, 5 passed, 0 known failure, 0 skipped 1002s [inst/@sym/ellipticCK.m] 1002s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticCK.m 1002s ***** error ellipticCK (sym (1), 2) 1002s ***** assert (double (ellipticCK (sym (1)/2)), 1.8541, 10e-5) 1002s ***** assert (double (ellipticCK (sym (101)/10)), 0.812691836806976, -3*eps) 1003s ***** assert (isequal (ellipticCK (sym (1)), sym(pi)/2)) 1003s 4 tests, 4 passed, 0 known failure, 0 skipped 1003s [inst/@sym/coshint.m] 1003s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/coshint.m 1003s ***** error coshint (sym(1), 2) 1003s ***** xtest 1003s assert (isequaln (coshint (sym(nan)), sym(nan))) 1004s !!!!! known failure 1004s assert (isequaln (coshint (sym (nan)), sym (nan))) failed 1004s ***** shared x, d 1004s d = 1; 1004s x = sym('1'); 1004s ***** test 1004s f1 = coshint(x); 1004s f2 = 0.8378669409802082408947; 1004s assert( abs(double(f1) - f2) < 1e-15 ) 1004s ***** test 1004s D = [d d; d d]; 1004s A = [x x; x x]; 1004s f1 = coshint(A); 1004s f2 = 0.8378669409802082408947; 1004s f2 = [f2 f2; f2 f2]; 1004s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1004s ***** test 1004s % round trip 1004s y = sym('y'); 1004s A = coshint (d); 1004s f = coshint (y); 1004s h = function_handle (f); 1004s B = h (d); 1004s assert (A, B, -eps) 1005s 5 tests, 4 passed, 1 known failure, 0 skipped 1005s [inst/@sym/mtimes.m] 1005s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/mtimes.m 1005s ***** test 1005s % scalar 1005s syms x 1005s assert (isa (x*2, 'sym')) 1005s assert (isequal (2*sym(3), sym(6))) 1005s assert (isequal (sym(2)*3, sym(6))) 1005s ***** test 1005s % matrix-scalar 1005s D = [0 1; 2 3]; 1005s A = sym(D); 1005s assert (isa (2*A, 'sym')) 1005s assert (isequal ( 2*A , 2*D )) 1005s assert (isequal ( A*2 , 2*D )) 1006s ***** test 1006s % matrix-matrix 1006s D = [0 1; 2 3]; 1006s A = sym(D); 1006s assert (isa (A*A, 'sym')) 1006s assert (isequal ( A*A , D*D )) 1007s 3 tests, 3 passed, 0 known failure, 0 skipped 1007s [inst/@sym/unique.m] 1007s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/unique.m 1007s ***** test 1007s A = sym([1 2 3 3 5 3 2 6 5]); 1007s B = sym([1 2 3 5 6]); 1007s assert (isequal (unique(A), B)) 1008s ***** test 1008s syms x y 1008s A = [1 2 3 3 4 5 5 6 7 7 x x y y]; 1008s B = [1 2 3 4 5 6 7 x y]; 1008s assert (isequal (unique(A), B)) 1009s ***** test 1009s syms x 1009s assert (isequal (unique(x), x)) 1009s 3 tests, 3 passed, 0 known failure, 0 skipped 1009s [inst/@sym/nextprime.m] 1009s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/nextprime.m 1009s ***** assert (isequal (nextprime(sym(2)), 3)); 1009s ***** assert (isequal (nextprime(sym(18)), 19)); 1009s ***** assert (isequal (nextprime(sym([1 2 3])), [2 3 5])); 1010s ***** assert (isequal (nextprime(sym([-1 0])), [2 2])); 1010s ***** test 1010s % result is a sym 1010s p = nextprime(sym(2)); 1010s assert (isa (p, 'sym')) 1010s 5 tests, 5 passed, 0 known failure, 0 skipped 1010s [inst/@sym/bessely.m] 1010s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/bessely.m 1010s ***** test 1010s X = [1 2 3; 4 5 6]; 1010s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 1010s n = double(ns); 1010s A = double(bessely(ns, X)); 1010s B = bessely(n, X); 1010s assert (all (all (abs (A - B) < 50*eps*abs(A)))) 1013s ***** test 1013s % roundtrip 1013s syms x 1013s A = bessely(2, 10); 1013s q = bessely(2, x); 1013s h = function_handle(q); 1013s B = h(10); 1013s assert (abs (A - B) <= eps*abs(A)) 1013s ***** error bessely(sym('x')) 1014s 3 tests, 3 passed, 0 known failure, 0 skipped 1014s [inst/@sym/ifourier.m] 1014s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ifourier.m 1014s ***** error ifourier (sym(1), 2, 3, 4) 1014s ***** test 1014s % matlab SMT compat 1014s syms t r u x w 1014s Pi=sym('pi'); 1014s assert(logical( ifourier(exp(-abs(w))) == 1/(Pi*(x^2 + 1)) )) 1014s assert(logical( ifourier(exp(-abs(x))) == 1/(Pi*(t^2 + 1)) )) 1014s assert(logical( ifourier(exp(-abs(r)),u) == 1/(Pi*(u^2 + 1)) )) 1014s assert(logical( ifourier(exp(-abs(r)),r,u) == 1/(Pi*(u^2 + 1)) )) 1024s ***** test 1024s % basic 1024s syms x w 1024s Pi=sym('pi'); 1024s assert(logical( ifourier(exp(-w^2/4)) == 1/(sqrt(Pi)*exp(x^2)) )) 1024s assert(logical( ifourier(sqrt(Pi)/exp(w^2/4)) == exp(-x^2) )) 1029s ***** test 1029s % Dirac delta tests 1029s syms x w 1029s Pi=sym('pi'); 1029s assert(logical( ifourier(dirac(w-2)) == exp(2*1i*x)/(2*Pi) )) 1029s assert (logical( ifourier(sym(2), w, x) == 2*dirac(x) )) 1031s ***** test 1031s % advanced test 1031s syms x w c d 1031s Pi=sym('pi'); 1031s f=(Pi*(dirac(x-c)+dirac(x+c))+2*Pi*1i*(-dirac(x+3*d)+dirac(x-3*d))+2/(x^2+1))/(2*Pi); 1031s assert(logical( simplify(ifourier(cos(c*w)+2*sin(3*d*w)+exp(-abs(w)))-f) == 0 )) 1037s ***** xtest 1037s % Inverse Fourier transform cannot recover non-smooth functions 1037s % SymPy cannot evaluate correctly?? 1037s syms x w 1037s assert(logical( ifourier(2/(w^2 + 1)) == exp(-abs(x)) )) 1037s assert(logical( ifourier(2/(w^2 + 1)) == heaviside(x)/exp(x) + heaviside(-x)*exp(x) )) 1037s assert(logical( ifourier(-(w*4)/(w^4 + 2*w^2 + 1) )== -x*exp(-abs(x))*1i )) 1037s assert(logical( ifourier(-(w*4)/(w^4 + 2*w^2 + 1) )== -x*(heaviside(x)/exp(x) + heaviside(-x)*exp(x))*1i )) 1040s !!!!! known failure 1040s assert (logical (ifourier (2 / (w ^ 2 + 1)) == exp (-abs (x)))) failed 1040s ***** error ifourier (sym('k', 'positive')*sym('k')) 1040s ***** test 1040s % SMT compact, prefers k over symvar 1040s syms k x y 1040s assert (isequal (ifourier(y*exp(-k^2/4)), y/sqrt(sym(pi))*exp(-x^2))) 1043s 8 tests, 7 passed, 1 known failure, 0 skipped 1043s [inst/@sym/pretty.m] 1043s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/pretty.m 1043s ***** test 1043s % simple 1043s syms x 1043s s1 = pretty(sin(x)); 1043s s2 = sprintf(' sin(x)\n'); 1043s assert (strcmp (s1, s2)) 1043s ***** test 1043s % force ascii 1043s syms x 1043s s1 = pretty(sin(x/2), 'ascii'); 1043s s2 = sprintf(' /x\\\n sin|-|\n \\2/\n'); 1043s swin = strrep(s1, sprintf('\r\n'), sprintf('\n')); 1043s assert (strcmp (s1, s2) || strcmp (swin, s2)) 1043s ***** test 1043s % force unicode 1043s syms x 1043s s1 = pretty(sin(x/2), 'unicode'); 1043s s2 = sprintf(' ⎛x⎞\n sin⎜─⎟\n ⎝2⎠\n'); 1043s swin = strrep(s1, sprintf('\r\n'), sprintf('\n')); 1043s assert (strcmp (s1, s2) || strcmp (swin, s2)) 1043s 3 tests, 3 passed, 0 known failure, 0 skipped 1043s [inst/@sym/laplace.m] 1043s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/laplace.m 1043s ***** test 1043s % basic 1043s syms t s u w 1043s assert(logical( laplace(cos(3*t)) == s/(s^2+9) )) 1043s assert(logical( laplace(t^3) == 6/s^4 )) 1046s ***** test 1046s % matlab SMT compat 1046s syms t s u w z 1046s assert(logical( laplace(exp(2*t)) == 1/(s-2) )) 1046s assert(logical( laplace(exp(2*s)) == 1/(z-2) )) 1046s assert(logical( laplace(exp(2*u),w) == 1/(w-2) )) 1046s assert(logical( laplace(exp(2*u),u,w) == 1/(w-2) )) 1049s ***** test 1049s syms x s t z 1049s % matlab SMT prefers t over x 1049s assert (isequal (laplace (x*exp (t), z), x/(z - 1))) 1049s % as usual, you can just specify: 1049s assert (isequal (laplace(x*exp(t), t, z), x/(z - 1))) % SMT result 1049s assert (isequal (laplace(x*exp(t), x, z), exp(t)/z^2)) 1051s ***** test 1051s syms x a s 1051s % if no t, use symvar: take x before a 1051s assert (isequal (laplace (a*exp (x)), a/(s - 1))) 1052s ***** error laplace (sym('t')*sym('t', 'real')) 1052s ***** test 1052s % constant, issue #250 1052s syms s 1052s f = laplace(2, s); 1052s assert (isequal (f, 2/s)) 1053s ***** test 1053s % Dirac delta and Heaviside tests 1053s syms t s 1053s assert (isequal (laplace(dirac(t-3)), exp(-3*s))) 1053s assert (isequal (laplace((t-3)*heaviside(t-3)), exp(-3*s)/s^2)) 1055s ***** xtest 1055s % Differential operator to algebraic 1055s % SymPy cannot evaluate? (Issue #170) 1055s syms s f(t) 1055s assert(logical( laplace(diff(f(t),t),t,s) == s*laplace(f(t),t,s)-f(0) )) 1056s 8 tests, 8 passed, 0 known failure, 0 skipped 1056s [inst/@sym/function_handle.m] 1056s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/function_handle.m 1056s ***** shared x,y,z 1056s syms x y z 1056s ***** test 1056s % basic test 1056s h = function_handle(2*x); 1056s assert(isa(h, 'function_handle')) 1056s assert(h(3)==6) 1056s ***** test 1056s % autodetect inputs 1056s h = function_handle(2*x*y, x+y); 1056s [t1, t2] = h(3,5); 1056s assert(t1 == 30 && t2 == 8) 1056s ***** test 1056s % specified inputs 1056s h = function_handle(2*x*y, 'vars', [x y]); 1056s assert(h(3,5)==30) 1056s h = function_handle(2*x*y, x+y, 'vars', [x y]); 1056s [t1, t2] = h(3,5); 1056s assert(t1 == 30 && t2 == 8) 1057s ***** test 1057s % cell arrays for vars list 1057s h = function_handle(2*x*y, x+y, 'vars', {x y}); 1057s [t1, t2] = h(3,5); 1057s assert(t1 == 30 && t2 == 8) 1057s h = function_handle(2*x*y, x+y, 'vars', {'x' 'y'}); 1057s [t1, t2] = h(3,5); 1057s assert(t1 == 30 && t2 == 8) 1058s ***** test 1058s % cell arrays specfies order, overriding symvar order 1058s h = function_handle(x*y, 12/y, 'vars', {y x}); 1058s [t1, t2] = h(3, 6); 1058s assert(t1 == 18 && t2 == 4) 1058s h = function_handle(x*y, 12/y, 'vars', [y x]); 1058s [t1, t2] = h(3, 6); 1058s assert(t1 == 18 && t2 == 4) 1059s ***** test 1059s % cell arrays specfies order, overriding symvar order 1059s h = function_handle(x*y, 12/y, 'vars', {y x}); 1059s [t1, t2] = h(3, 6); 1059s assert(t1 == 18 && t2 == 4) 1059s h = function_handle(x*y, 12/y, 'vars', [y x]); 1059s [t1, t2] = h(3, 6); 1059s assert(t1 == 18 && t2 == 4) 1060s ***** test 1060s % Functions with different names in Sympy. 1060s f = abs(x); % becomes Abs(x) 1060s h = function_handle(f); 1060s assert(h(-10) == 10) 1060s f = ceil(x); 1060s h = function_handle(f); 1060s assert(h(10.1) == 11) 1060s ***** test 1060s % 'file' with empty filename returns handle 1060s h = function_handle(2*x*y, 'file', ''); 1060s assert(isa(h, 'function_handle')) 1060s assert(h(3,5)==30) 1060s h = function_handle(2*x*y, 'vars', {x y}, 'file', ''); 1060s assert(isa(h, 'function_handle')) 1060s assert(h(3,5)==30) 1060s ***** test 1060s % output to disk 1060s fprintf('\n') 1060s if (exist ('OCTAVE_VERSION', 'builtin')) 1060s temp_file = tempname('', 'oct_'); 1060s else 1060s temp_file = tempname(); 1060s end 1060s % allow loading function from temp_file 1060s [temp_path, ans, ans] = fileparts(temp_file); 1060s addpath(temp_path); 1060s f = function_handle(2*x*y, 2^x, 'vars', {x y z}, 'file', temp_file); 1060s assert( isa(f, 'function_handle')) 1060s addpath(temp_path); % Matlab 2014a needs this? 1060s [a,b] = f(10,20,30); 1060s assert (isnumeric (a) && isnumeric (b)) 1060s assert (a == 400) 1060s assert (b == 1024) 1060s if (exist ('OCTAVE_VERSION', 'builtin')) 1060s assert (unlink([temp_file '.m']) == 0) 1060s else 1060s delete ([temp_file '.m']) 1060s end 1060s % remove temp_path from load path 1060s rmpath(temp_path); 1060s 1061s Wrote file /tmp/oct_rCZDhY.m. 1061s ***** test 1061s % output to disk: also works with .m specified 1061s if (exist ('OCTAVE_VERSION', 'builtin')) 1061s temp_file = [tempname('', 'oct_') '.m']; 1061s else 1061s temp_file = [tempname() '.m']; 1061s end 1061s % allow loading function from temp_file 1061s [temp_path, ans, ans] = fileparts(temp_file); 1061s addpath(temp_path); 1061s f = function_handle(2*x*y, 2^x, 'vars', {x y z}, 'file', temp_file); 1061s assert( isa(f, 'function_handle')) 1061s addpath(temp_path); % Matlab 2014a needs this? 1061s [a,b] = f(10,20,30); 1061s assert (isnumeric (a) && isnumeric (b)) 1061s assert (a == 400) 1061s assert (b == 1024) 1061s if (exist ('OCTAVE_VERSION', 'builtin')) 1061s assert (unlink(temp_file) == 0) 1061s else 1061s delete (temp_file) 1061s end 1061s % remove temp_path from load path 1061s rmpath(temp_path); 1061s Wrote file /tmp/oct_DYL5ZN.m. 1061s ***** test 1061s % non-scalar outputs 1061s H = [x y z]; 1061s M = [x y; z 16]; 1061s V = [x;y;z]; 1061s h = function_handle(H, M, V); 1061s [t1,t2,t3] = h(1,2,3); 1061s assert(isequal(t1, [1 2 3])) 1061s assert(isequal(t2, [1 2; 3 16])) 1061s assert(isequal(t3, [1;2;3])) 1062s ***** test 1062s % non-scalar outputs in .m files 1062s H = [x y z]; 1062s M = [x y; z 16]; 1062s V = [x;y;z]; 1062s if (exist ('OCTAVE_VERSION', 'builtin')) 1062s temp_file = tempname('', 'oct_'); 1062s else 1062s temp_file = tempname(); 1062s end 1062s % allow loading function from temp_file 1062s [temp_path, ans, ans] = fileparts(temp_file); 1062s addpath(temp_path); 1062s h = function_handle(H, M, V, 'vars', {x y z}, 'file', temp_file); 1062s assert( isa(h, 'function_handle')) 1062s addpath(temp_path); % Matlab 2014a needs this? 1062s [t1,t2,t3] = h(1,2,3); 1062s assert(isequal(t1, [1 2 3])) 1062s assert(isequal(t2, [1 2; 3 16])) 1062s assert(isequal(t3, [1;2;3])) 1062s if (exist ('OCTAVE_VERSION', 'builtin')) 1062s assert (unlink([temp_file '.m']) == 0) 1062s else 1062s delete ([temp_file '.m']) 1062s end 1062s % remove temp_path from load path 1062s rmpath(temp_path); 1063s Wrote file /tmp/oct_Xb6ogr.m. 1063s ***** test 1063s % order of outputs is lexiographic 1063s syms a A x y 1063s f = y + 10*a + 100*x + 1000*A; 1063s h = function_handle(f); 1063s assert (h(1, 2, 3, 4) == 1000 + 20 + 300 + 4) 1063s ***** test 1063s % https://github.com/cbm755/octsympy/issues/854 1063s f = function_handle (x + 1i*sqrt (sym(3))); 1063s assert (f (1), complex (1, sqrt (3)), -eps) 1063s 14 tests, 14 passed, 0 known failure, 0 skipped 1063s [inst/@sym/ssinint.m] 1063s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ssinint.m 1063s ***** assert (isequal (ssinint(sym(0)), -sym(pi)/2)) 1064s ***** test 1064s A = ssinint (sym ([0 1])); 1064s B = [-pi/2 -0.62471325642771360426]; 1064s assert( all(all( abs(double(A)-B) < 1e-15 ))) 1065s 2 tests, 2 passed, 0 known failure, 0 skipped 1065s [inst/@sym/power.m] 1065s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/power.m 1065s ***** test 1065s % scalar .^ scalar 1065s syms x 1065s assert (isa (x.^2, 'sym')) 1065s assert (isa (2.^x, 'sym')) 1065s assert (isa (x.^x, 'sym')) 1065s assert (isequal (x.^2, x^2)) 1065s assert (isequal (2.^x, 2^x)) 1065s assert (isequal (x.^x, x^x)) 1066s ***** test 1066s % scalar .^ matrix 1066s D = [0 1; 2 3]; 1066s A = sym(D); 1066s assert (isequal ( sym(2).^D , 2.^D )) 1066s assert (isequal ( sym(2).^A , 2.^A )) 1066s assert (isequal ( 2.^D , 2.^A )) 1066s assert (isequal ( 2.^A , 2.^A )) 1067s ***** test 1067s % matrix .^ matrix 1067s syms x 1067s A = [x 2*x; 3*x 4*x]; 1067s D = [0 1; 2 3]; 1067s B = sym(D); 1067s assert (isequal ( A.^D, [1 2*x; 9*x^2 64*x^3] )) 1067s assert (isequal ( A.^B, [1 2*x; 9*x^2 64*x^3] )) 1070s ***** test 1070s % matrix .^ scalar 1070s syms x 1070s A = [x 2*x]; 1070s assert (isequal ( A.^2, [x^2 4*x^2] )) 1070s assert (isequal ( A.^sym(2), [x^2 4*x^2] )) 1071s ***** test 1071s % 1^oo 1071s % (sympy >= 0.7.5 gives NaN, SMT R2013b: gives 1) 1071s oo = sym(inf); 1071s assert (isnan (1^oo)) 1071s ***** test 1071s % 1^zoo 1071s % (1 on sympy 0.7.4--0.7.6, but nan in git (2014-12-12, a210908d4)) 1071s zoo = sym('zoo'); 1071s assert (isnan (1^zoo)) 1071s ***** test 1071s % immutable test 1071s A = sym([1 2]); 1071s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)]])'); 1071s assert (isequal (A.^A, B.^B)) 1072s :18: SyntaxWarning: invalid escape sequence '\(' 1072s 7 tests, 7 passed, 0 known failure, 0 skipped 1072s [inst/@sym/logint.m] 1072s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/logint.m 1072s ***** error logint (sym(1), 2) 1072s ***** xtest 1072s assert (isequaln (logint (sym(nan)), sym(nan))) 1072s !!!!! known failure 1072s assert (isequaln (logint (sym (nan)), sym (nan))) failed 1072s ***** shared x, d 1072s d = 2; 1072s x = sym('2'); 1072s ***** test 1072s f1 = logint(x); 1072s f2 = 1.045163780117492784845; 1072s assert( abs(double(f1) - f2) < 1e-15 ) 1072s ***** test 1072s D = [d d; d d]; 1072s A = [x x; x x]; 1072s f1 = logint(A); 1072s f2 = 1.045163780117492784845; 1072s f2 = [f2 f2; f2 f2]; 1072s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1073s ***** test 1073s % round trip 1073s y = sym('y'); 1073s A = logint (d); 1073s f = logint (y); 1073s h = function_handle (f); 1073s B = h (d); 1073s assert (A, B, -eps) 1073s 5 tests, 4 passed, 1 known failure, 0 skipped 1073s [inst/@sym/hypergeom.m] 1073s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/hypergeom.m 1073s ***** assert (isequal (double (hypergeom ([1, 2], [2, 3], sym(0))), 1)) 1073s ***** test 1073s % matrix input 1073s syms z 1073s a = sym([1 2]); 1073s b = sym([3 4]); 1073s A = hypergeom (a, b, [0 sym(1); 2 z]); 1073s B = [hypergeom(a,b,0) hypergeom(a,b,1); hypergeom(a,b,2) hypergeom(a,b,z)]; 1073s assert (isequal (A, B)) 1075s ***** test 1075s % scalars for a and/or b 1075s syms z 1075s assert (isequal (hypergeom(1, 2, z), hypergeom({sym(1)}, {sym(2)}, z))) 1075s assert (isequal (hypergeom([1 2], 3, z), hypergeom([1 2], {sym(3)}, z))) 1075s assert (isequal (hypergeom(1, [2 3], z), hypergeom({sym(1)}, [2 3], z))) 1077s 3 tests, 3 passed, 0 known failure, 0 skipped 1077s [inst/@sym/ztrans.m] 1077s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ztrans.m 1077s ***** test 1077s % basic Z-transform table checks 1077s % X1, ..., X4 must have inner radius of convergence 1 1077s syms n z 1077s % trick to extract the closed form formula using the fact that inner roc = 1 1077s closed_form = @(X) subs (X, abs (1 / z), 1 / sym (2)); 1077s % check if ztrans(f) == X 1077s check_ztrans = @(f, X) logical (simplify (closed_form (ztrans (f)) == X)); 1077s f1 = sym (1); 1077s X1 = 1 / (1 - 1 / z); 1077s assert (check_ztrans (f1, X1)); 1077s f2 = n; 1077s X2 = (1 / z) / (1 - 1 / z)^2; 1077s assert (check_ztrans (f2, X2)); 1077s f3 = n^2; 1077s X3 = (1 / z) * (1 + 1 / z) / (1 - 1 / z)^3; 1077s assert (check_ztrans (f3, X3)); 1077s f4 = n^3; 1077s X4 = (1 / z) * (1 + 4 / z + 1 / z^2) / (1 - 1 / z)^4; 1077s assert (check_ztrans (f4, X4)); 1077s % basic matrix checks 1077s A1 = ztrans ([f1 f2; f3 f4]); 1077s B1 = [ztrans(f1) ztrans(f2); ztrans(f3) ztrans(f4)]; 1077s assert (isequal (A1, B1)); 1077s A2 = ztrans ([f1 f2; f3 f4], z); 1077s B2 = [ztrans(f1, z) ztrans(f2, z); ztrans(f3, z) ztrans(f4, z)]; 1077s assert (isequal (A2, B2)); 1077s A3 = ztrans ([f1 f2; f3 f4], n, z); 1077s B3 = [ztrans(f1, n, z) ztrans(f2, n, z); ztrans(f3, n, z) ztrans(f4, n, z)]; 1077s assert (isequal (A3, B3)); 1115s ***** test 1115s % additional Z-transform table checks 1115s % X1, ..., X4 must have inner radius of convergence a 1115s syms n nonnegative integer 1115s syms m positive integer 1115s syms a 1115s syms z 1115s % trick to extract the closed form formula using the fact that inner roc = a 1115s closed_form = @(X) subs (X, abs (a / z), 1 / sym (2)); 1115s % check if ztrans(f) == X 1115s check_ztrans = @(f, X) logical (simplify (closed_form (ztrans (f)) == X)); 1115s f1 = a^n; 1115s X1 = 1 / (1 - a / z); 1115s assert (check_ztrans (f1, X1)); 1115s f2 = n * a^n; 1115s X2 = (a / z) / (1 - a / z)^2; 1115s assert (check_ztrans (f2, X2)); 1115s f3 = n^2 * a^n; 1115s X3 = (a / z) * (1 + a / z) / (1 - a / z)^3; 1115s assert (check_ztrans (f3, X3)); 1115s f4 = nchoosek(n + m - 1, m - 1) * a^n; 1115s X4 = 1 / (1 - a / z)^m; 1115s assert (check_ztrans (f4, X4)); 1115s % additional matrix checks 1115s A1 = ztrans (f1, [n m; m n], [z a; a z]); 1115s B1 = [ztrans(f1, n, z) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, n, z)]; 1115s assert (isequal (A1, B1)); 1115s A2 = ztrans (f1, m, [z a; a z]); 1115s B2 = [ztrans(f1, m, z) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, m, z)]; 1115s assert (isequal (A2, B2)); 1115s A3 = ztrans (f1, [n m; m n], a); 1115s B3 = [ztrans(f1, n, a) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, n, a)]; 1115s assert (isequal (A3, B3)); 1145s ***** test 1145s % Kronecker delta checks 1145s syms n n0 nonnegative integer 1145s syms z 1145s assert (isequal (ztrans (kroneckerDelta (n)), 1)); 1145s assert (isequal (ztrans (kroneckerDelta (n - n0)), 1 / z^n0)); 1147s ***** test 1147s % basic var selection checks 1147s syms n m z w 1147s assert (isequal (ztrans (1 / factorial (n)), exp (1 / z))); 1147s assert (isequal (ztrans (1 / factorial (z)), exp (1 / w))); 1147s assert (isequal (ztrans (1 / factorial (m), w), exp (1 / w))); 1147s assert (isequal (ztrans (1 / factorial (m), m, w), exp (1 / w))); 1152s ***** test 1152s % additional var selection checks 1152s syms n m z 1152s f = kroneckerDelta(m) / factorial (n); 1152s assert (isequal (ztrans (f, z), exp (1 / z) * kroneckerDelta (m))); 1152s assert (isequal (ztrans (f, n, z), exp (1 / z) * kroneckerDelta (m))); 1152s assert (isequal (ztrans (f, m, z), 1 / factorial (n))); 1156s ***** test 1156s % if no t, use symvar: take x before a 1156s syms a x z 1156s assert (isequal (ztrans (a / factorial (x)), a * exp (1 / z))); 1157s ***** error ztrans (sym ('n')^sym ('n', 'nonnegative', 'integer')) 1157s 7 tests, 7 passed, 0 known failure, 0 skipped 1157s [inst/@sym/asech.m] 1157s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/asech.m 1157s ***** error asech (sym(1), 2) 1158s ***** assert (isequaln (asech (sym(nan)), sym(nan))) 1158s ***** shared x, d 1158s d = 1/2; 1158s x = sym('1/2'); 1158s ***** test 1158s f1 = asech(x); 1158s f2 = asech(d); 1158s assert( abs(double(f1) - f2) < 1e-15 ) 1158s ***** test 1158s D = [d d; d d]; 1158s A = [x x; x x]; 1158s f1 = asech(A); 1158s f2 = asech(D); 1158s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1159s ***** test 1159s % round trip 1159s y = sym('y'); 1159s A = asech (d); 1159s f = asech (y); 1159s h = function_handle (f); 1159s B = h (d); 1159s assert (A, B, -eps) 1159s 5 tests, 5 passed, 0 known failure, 0 skipped 1159s [inst/@sym/floor.m] 1159s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/floor.m 1159s ***** error floor (sym(1), 2) 1159s ***** assert (isequaln (floor (sym(nan)), sym(nan))) 1159s ***** shared x, d 1159s d = 1; 1159s x = sym('1'); 1159s ***** test 1159s f1 = floor(x); 1159s f2 = floor(d); 1159s assert( abs(double(f1) - f2) < 1e-15 ) 1159s ***** test 1159s D = [d d; d d]; 1159s A = [x x; x x]; 1159s f1 = floor(A); 1159s f2 = floor(D); 1159s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1160s ***** test 1160s % round trip 1160s y = sym('y'); 1160s A = floor (d); 1160s f = floor (y); 1160s h = function_handle (f); 1160s B = h (d); 1160s assert (A, B, -eps) 1160s 5 tests, 5 passed, 0 known failure, 0 skipped 1160s [inst/@sym/isvector.m] 1160s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isvector.m 1160s ***** assert(isvector(sym('x'))) 1160s ***** assert(isvector(sym([1 2 3]))) 1160s ***** assert(isvector(sym([1; 2]))) 1160s ***** assert(~isvector(sym([1 2; 3 4]))) 1161s ***** assert(~isvector(sym([]))) 1161s ***** assert(isvector(sym(ones(1,0)))) 1161s ***** assert(~isvector(sym(ones(0,3)))) 1161s 7 tests, 7 passed, 0 known failure, 0 skipped 1161s [inst/@sym/ellipticK.m] 1161s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticK.m 1161s ***** error ellipticK (sym(1), 2) 1161s ***** assert (isequal (ellipticK (sym (0)), sym (pi)/2)) 1161s ***** assert (isequal (ellipticK (sym (-inf)), sym (0))) 1161s ***** assert (double (ellipticK (sym (1)/2)), 1.854074677, 10e-10) 1162s ***** assert (double (ellipticK (sym (pi)/4)), 2.225253684, 10e-10) 1162s ***** assert (double (ellipticK (sym (-55)/10)), 0.9324665884, 10e-11) 1162s ***** test 1162s % compare to double ellipke 1162s m = 1/5; 1162s ms = sym(1)/5; 1162s [K, E] = ellipke (m); 1162s assert (double (ellipticK (ms)), K, -1e-15) 1162s assert (double (ellipticE (ms)), E, -1e-15) 1163s ***** test 1163s % compare to double ellipke 1163s if (exist ('OCTAVE_VERSION', 'builtin')) 1163s m = -10.3; 1163s ms = -sym(103)/10; 1163s [K, E] = ellipke (m); 1163s assert (double (ellipticK (ms)), K, -1e-15) 1163s assert (double (ellipticE (ms)), E, -1e-15) 1163s end 1164s ***** test 1164s % compare to Maple 1164s us = vpa (ellipticK (sym (7)), 40); 1164s % > evalf(EllipticK(sqrt(7)), 40); 1164s maple = vpa ('0.6168027921799632674669917683443602673441', 40) - ... 1164s vpa ('0.9114898734184488922164103102629560336918j', 40); 1164s assert (abs (double (maple - us)), 0, 1e-39) 1164s 9 tests, 9 passed, 0 known failure, 0 skipped 1164s [inst/@sym/cot.m] 1164s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cot.m 1164s ***** error cot (sym(1), 2) 1164s ***** assert (isequaln (cot (sym(nan)), sym(nan))) 1164s ***** shared x, d 1164s d = 1; 1164s x = sym('1'); 1164s ***** test 1164s f1 = cot(x); 1164s f2 = cot(d); 1164s assert( abs(double(f1) - f2) < 1e-15 ) 1164s ***** test 1164s D = [d d; d d]; 1164s A = [x x; x x]; 1164s f1 = cot(A); 1164s f2 = cot(D); 1164s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1165s ***** test 1165s % round trip 1165s y = sym('y'); 1165s A = cot (d); 1165s f = cot (y); 1165s h = function_handle (f); 1165s B = h (d); 1165s assert (A, B, -eps) 1165s 5 tests, 5 passed, 0 known failure, 0 skipped 1165s [inst/@sym/fortran.m] 1165s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fortran.m 1165s ***** shared x,y,z 1165s syms x y z 1165s ***** test 1165s % basic test 1165s f = x*sin(y) + abs(z); 1165s source = fortran(f); 1165s expected = ' x*sin(y) + abs(z)'; 1165s s1 = strrep (expected, 'abs', 'Abs'); 1165s assert (strcmp (source, expected) || strcmp (source, s1)) 1166s ***** test 1166s % output test 1166s f = x*sin(y) + abs(z); 1166s [F,H] = fortran(f, 'file', '', 'show_header', false); 1166s expected_h_code = sprintf('\ninterface\nREAL*8 function myfun(x, y, z)\nimplicit none\nREAL*8, intent(in) :: x\nREAL*8, intent(in) :: y\nREAL*8, intent(in) :: z\nend function\nend interface\n\n'); 1166s expected_f_code = sprintf('\nREAL*8 function myfun(x, y, z)\nimplicit none\nREAL*8, intent(in) :: x\nREAL*8, intent(in) :: y\nREAL*8, intent(in) :: z\n\nmyfun = x*sin(y) + abs(z)\n\nend function\n'); 1166s assert(strcmp(F.name, 'file.f90')) 1166s assert(strcmp(H.name, 'file.h')) 1166s %disp(expected_f_code); disp(F.code) 1166s s1 = strrep (expected_f_code, 'abs', 'Abs'); 1166s s2 = strrep (expected_f_code, sprintf ('\n'), sprintf ('\r\n')); 1166s s3 = strrep (s2, 'abs', 'Abs'); 1166s s4 = strrep (expected_h_code, sprintf ('\n'), sprintf ('\r\n')); 1166s assert (strcmp (F.code, expected_f_code) || strcmp (F.code, s1) || strcmp (F.code, s2) || strcmp (F.code, s3)) 1166s assert (strcmp (H.code, expected_h_code) || strcmp (H.code, s4)) 1166s 2 tests, 2 passed, 0 known failure, 0 skipped 1166s [inst/@sym/norm.m] 1166s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/norm.m 1166s ***** assert (isequal (norm(sym(-6)), 6)) 1166s ***** test 1166s % 2-norm default 1166s A = [1 2; 3 4]; 1166s n1 = norm (sym (A)); 1166s assert (isequal (n1, sqrt (sqrt (sym(221)) + 15))) 1166s assert (norm (A), double (n1), -eps) 1167s ***** test 1167s syms x y real 1167s assert (isequal (norm([x 1; 3 y], 'fro'), sqrt(x^2 + y^2 + 10))) 1168s ***** test 1168s syms x real 1168s assert (isequal (norm([x 1], 2), sqrt(x^2 + 1))) 1168s ***** test 1168s % test sym vs double ord 1168s syms x 1168s assert (isequal (norm([x 2 1], 1), abs(x) + 3)) 1168s assert (isequal (norm([x 2 1], sym(1)), abs(x) + 3)) 1168s assert (isequal (norm([sym(-3) 2 1], inf), sym(3))) 1168s assert (isequal (norm([sym(-3) 2 1], sym(inf)), sym(3))) 1170s 5 tests, 5 passed, 0 known failure, 0 skipped 1170s [inst/@sym/private_disp_name.m] 1170s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/private_disp_name.m 1170s ***** test 1170s syms x 1170s s = private_disp_name(x, 'x'); 1170s assert (strcmp (s, 'x')) 1170s 1 test, 1 passed, 0 known failure, 0 skipped 1170s [inst/@sym/gamma.m] 1170s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/gamma.m 1170s ***** error gamma (sym(1), 2) 1170s ***** assert (isequaln (gamma (sym(nan)), sym(nan))) 1170s ***** shared x, d 1170s d = 1; 1170s x = sym('1'); 1170s ***** test 1170s f1 = gamma(x); 1170s f2 = gamma(d); 1170s assert( abs(double(f1) - f2) < 1e-15 ) 1170s ***** test 1170s D = [d d; d d]; 1170s A = [x x; x x]; 1170s f1 = gamma(A); 1170s f2 = gamma(D); 1170s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1171s ***** test 1171s % round trip 1171s y = sym('y'); 1171s A = gamma (d); 1171s f = gamma (y); 1171s h = function_handle (f); 1171s B = h (d); 1171s assert (A, B, -eps) 1171s 5 tests, 5 passed, 0 known failure, 0 skipped 1171s [inst/@sym/asec.m] 1171s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/asec.m 1171s ***** error asec (sym(1), 2) 1171s ***** assert (isequaln (asec (sym(nan)), sym(nan))) 1171s ***** shared x, d 1171s d = 2; 1171s x = sym('2'); 1171s ***** test 1171s f1 = asec(x); 1171s f2 = asec(d); 1171s assert( abs(double(f1) - f2) < 1e-15 ) 1171s ***** test 1171s D = [d d; d d]; 1171s A = [x x; x x]; 1171s f1 = asec(A); 1171s f2 = asec(D); 1171s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1172s ***** test 1172s % round trip 1172s y = sym('y'); 1172s A = asec (d); 1172s f = asec (y); 1172s h = function_handle (f); 1172s B = h (d); 1172s assert (A, B, -eps) 1172s 5 tests, 5 passed, 0 known failure, 0 skipped 1172s [inst/@sym/ellipticPi.m] 1172s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticPi.m 1172s ***** error ellipticPi (sym (1)) 1173s ***** error ellipticPi (sym (1), 2, 3, 4) 1173s ***** assert (double (ellipticPi (sym (-23)/10, sym (pi)/4, 0)), 0.5876852228, 10e-11) 1173s ***** assert (double (ellipticPi (sym (1)/3, sym (pi)/3, sym (1)/2)), 1.285032276, 10e-11) 1174s ***** assert (double (ellipticPi (sym (2), sym (pi)/6, sym (2))), 0.7507322117, 10e-11) 1175s ***** xtest 1175s % FIXME: search/report upstream 1175s assert (double (ellipticPi (sym (-1), 0, sym (1))), 0) 1175s !!!!! known failure 1175s ASSERT errors for: assert (double (ellipticPi (sym (-1), 0, sym (1))),0) 1175s 1175s Location | Observed | Expected | Reason 1175s () NaN 0 'NaN' mismatch 1175s ***** xtest 1175s % FIXME: this is a regression somewhere: loss of precision: Issue #1064 1175s % compare to Maple, complete 1175s us = vpa (ellipticPi (sym(1)/6, sym(4)/3), 40); 1175s % > evalf(EllipticPi(sin(1/6), sqrt(4/3)), 40); 1175s maple = vpa ('2.019271696236161760696477679310987869058', 40) - ... 1175s vpa ('1.708165765120289929280805062355360570830j', 40); 1175s assert (abs (double (maple - us)), 0, 2e-39) 1178s !!!!! known failure 1178s ASSERT errors for: assert (abs (double (maple - us)),0,2e-39) 1178s 1178s Location | Observed | Expected | Reason 1178s () 1.7643e-30 0 Abs err 1.7643e-30 exceeds tol 2e-39 by 2e-30 1178s ***** test 1178s % compare to Maple, complete 1178s us = vpa (ellipticPi (sym(1)/6, sym(4)/3), 40); 1178s % > evalf(EllipticPi(sin(1/6), sqrt(4/3)), 40); 1178s maple = vpa ('2.019271696236161760696477679310987869058', 40) - ... 1178s vpa ('1.708165765120289929280805062355360570830j', 40); 1178s assert (abs (double (maple - us)), 0, 2e-30) 1180s ***** test 1180s % compare to Maple, incomplete 1180s us = vpa (ellipticPi (sym(8)/7, sym(4)/3, sym(2)/7), 40); 1180s % > evalf(EllipticPi(sin(4/3), 8/7, sqrt(2/7)), 40); 1180s maple = vpa ('2.089415796799294830305265090302275542033', 40) - ... 1180s vpa ('4.798862045930802761256228043192491271947j', 40); 1180s assert (abs (double (maple - us)), 0, 6e-39) 1182s 9 tests, 7 passed, 2 known failures, 0 skipped 1182s [inst/@sym/igamma.m] 1182s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/igamma.m 1182s ***** test 1182s % mostly tested in @sym/gammainc 1182s syms x 1182s assert (isequal (igamma (2, x), gammainc(x, 2, 'upper'))) 1183s ***** test 1183s % unregularized 1183s B = double (igamma (sym(3), 1)); 1183s A = gammainc (1, 3, 'upper')*gamma (3); 1183s assert (A, B, -2*eps) 1183s ***** test 1183s % something like a round trip: no igamma() 1183s syms x a 1183s f = igamma (a, x); 1183s h = function_handle (f, 'vars', [a x]); 1183s A = h (1.1, 2.2); 1183s B = double (igamma (sym(11)/10, sym(22)/10)); 1183s C = gammainc (2.2, 1.1, 'upper')*gamma(1.1); 1183s assert (A, B, -10*eps) 1183s assert (A, C, -10*eps) 1184s 3 tests, 3 passed, 0 known failure, 0 skipped 1184s [inst/@sym/real.m] 1184s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/real.m 1184s ***** assert (isequal (real (sym (4) + 3i),4)) 1184s ***** test 1184s syms x y real 1184s z = x + 1i*y; 1184s assert (isequal (real (z),x)) 1184s ***** test 1184s syms x y real 1184s Z = [4 x + 1i*y; x 4 + 3i]; 1184s assert (isequal (real (Z),[4 x; x 4])) 1185s ***** test 1185s syms x real 1185s d = exp (x*i); 1185s assert (isequal (real (d), cos (x))) 1186s ***** test 1186s % round trip 1186s syms x 1186s d = 3 - 5i; 1186s f = real (x); 1186s A = real (d); 1186s h = function_handle (f); 1186s B = h (d); 1186s assert (A, B) 1186s 5 tests, 5 passed, 0 known failure, 0 skipped 1186s [inst/@sym/factorial.m] 1186s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/factorial.m 1186s ***** error factorial (sym(1), 2) 1186s ***** xtest 1186s assert (isequaln (factorial (sym(nan)), sym(nan))) 1186s !!!!! known failure 1186s assert (isequaln (factorial (sym (nan)), sym (nan))) failed 1186s ***** shared x, d 1186s d = 1; 1186s x = sym('1'); 1186s ***** test 1186s f1 = factorial(x); 1186s f2 = factorial(d); 1186s assert( abs(double(f1) - f2) < 1e-15 ) 1186s ***** test 1186s D = [d d; d d]; 1186s A = [x x; x x]; 1186s f1 = factorial(A); 1186s f2 = factorial(D); 1186s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1187s ***** test 1187s % round trip 1187s y = sym('y'); 1187s A = factorial (d); 1187s f = factorial (y); 1187s h = function_handle (f); 1187s B = h (d); 1187s assert (A, B, -eps) 1187s 5 tests, 4 passed, 1 known failure, 0 skipped 1187s [inst/@sym/besselj.m] 1187s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besselj.m 1187s ***** test 1187s X = [1 2 3; 4 5 6]; 1187s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 1187s n = double(ns); 1187s A = double(besselj(ns, X)); 1187s B = besselj(n, X); 1187s assert (all (all (abs (A - B) < 50*eps*abs(A)))) 1191s ***** test 1191s % roundtrip 1191s syms x 1191s A = besselj(2, 10); 1191s q = besselj(2, x); 1191s h = function_handle(q); 1191s B = h(10); 1191s assert (abs (A - B) <= eps*abs(A)) 1191s ***** error besselj(sym('x')) 1191s 3 tests, 3 passed, 0 known failure, 0 skipped 1191s [inst/@sym/children.m] 1191s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/children.m 1191s ***** test 1191s % basics, sum 1191s syms x y 1191s f = 2*x + x*x + sin(y); 1191s assert (isempty (setxor (children(f), [2*x x*x sin(y)]))) 1193s ***** test 1193s % basics, product 1193s syms x y 1193s f = 2*x*sin(y); 1193s assert (isempty (setxor (children(f), [2 x sin(y)]))) 1193s ***** test 1193s % basics, product and powers 1193s syms x y 1193s f = 2*x^2*y^3; 1193s assert (isempty (setxor (children(f), [2 x^2 y^3]))) 1194s ***** test 1194s % eqn, ineq 1194s syms x y 1194s lhs = 2*x^2; rhs = y^3 + 7; 1194s assert (isequal (children(lhs == rhs), [lhs rhs])) 1194s assert (isequal (children(lhs < rhs), [lhs rhs])) 1194s assert (isequal (children(lhs >= rhs), [lhs rhs])) 1195s ***** test 1195s % matrix 1195s syms x y 1195s f = [4 + y 1 + x; 2 + x 3 + x]; 1195s c = children(f); 1195s ec = {[4 y], [1 x]; [2 x], [3 x]}; 1195s assert (isequal (size(c), size(ec))) 1195s for i=1:length(c) 1195s assert (isempty (setxor (c{i}, ec{i}))) 1195s end 1196s ***** test 1196s % matrix, sum/prod 1196s syms x y 1196s f = [x + y; x*sin(y); sin(x)]; 1196s ec = {[x y]; [x sin(y)]; [x]}; 1196s c = children(f); 1196s assert (isequal (size(c), size(ec))) 1196s for i=1:length(c) 1196s assert (isempty (setxor (c{i}, ec{i}))) 1196s end 1197s ***** test 1197s % scalar symbol 1197s syms x 1197s assert (isequal (children(x), x)) 1197s ***** test 1197s % scalar number 1197s x = sym(6); 1197s assert (isequal (children(x), x)) 1197s ***** test 1197s % symbolic size matrix 1197s syms n m integer 1197s A = sym('a', [n m]); 1197s C = children (A); 1197s assert (isequal (C(2), n)) 1197s assert (isequal (C(3), m)) 1197s ***** xtest 1197s % symbolic size matrix, fails on newer SymPy Issue #1089 1197s syms n m integer 1197s A = sym('a', [n m]); 1197s assert (isequal (children (A), [sym('a') n m])) 1198s !!!!! known failure 1198s assert (isequal (children (A), [sym('a'), n, m])) failed 1198s 10 tests, 9 passed, 1 known failure, 0 skipped 1198s [inst/@sym/angle.m] 1198s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/angle.m 1198s ***** test 1198s Z = [sqrt(sym(3)) + 3*sym(i), 3 + sqrt(sym(3))*sym(i); 1 + sym(i), sym(i)]; 1198s Q = [sym(pi)/3 sym(pi)/6; sym(pi)/4 sym(pi)/2]; 1198s assert( isequal( angle(Z), Q)); 1200s ***** test 1200s % roundtrip 1200s syms x 1200s A = angle (2+2i); 1200s f = angle (x); 1200s h = function_handle (f); 1200s B = h (2+2i); 1200s assert (A, B, -eps) 1200s 2 tests, 2 passed, 0 known failure, 0 skipped 1200s [inst/@sym/arg.m] 1200s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/arg.m 1200s ***** test 1200s syms x 1200s assert (isequal (angle (x), arg (x))); 1200s 1 test, 1 passed, 0 known failure, 0 skipped 1200s [inst/@sym/pochhammer.m] 1200s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/pochhammer.m 1200s ***** error pochhammer (sym(1)) 1201s ***** error pochhammer (sym(1), 2, 3) 1201s ***** assert (isequal (pochhammer (sym(3), 4), sym(360))) 1201s ***** assert (isequal (pochhammer (sym([2 3]), 3), sym([24 60]))) 1202s ***** test 1202s % round trip 1202s syms n z 1202s f = pochhammer (z, n); 1202s h = function_handle (f, 'vars', [z n]); 1202s A = h (1.1, 2.2); 1202s B = pochhammer (1.1, 2.2); 1202s assert (A, B) 1202s 5 tests, 5 passed, 0 known failure, 0 skipped 1202s [inst/@sym/ellipticCPi.m] 1202s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticCPi.m 1202s ***** error ellipticCPi (sym (1)) 1203s ***** error ellipticCPi (sym (1), 2, 3) 1203s ***** assert (double (ellipticCPi (0, sym (1)/2)), 1.854074677, 10e-10) 1204s ***** assert (double (ellipticCPi (sym (6)/10, sym(71)/10)), 1.29469534336658, -20*eps) 1205s 4 tests, 4 passed, 0 known failure, 0 skipped 1205s [inst/@sym/isprime.m] 1205s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isprime.m 1205s ***** assert (isprime (sym(5))) 1205s ***** assert (~isprime (sym(4))) 1205s ***** assert (~isprime (sym(0))) 1205s ***** assert (~isprime (sym(1))) 1205s ***** test 1205s a = [5 7 6; 1 2 337]; 1205s assert (isequal (isprime (a), [true true false; false true true])) 1205s ***** assert (~isprime(sym(-4))) 1205s ***** assert (~isprime(sym(4i))) 1205s ***** assert (~isprime(sym(3)/5)) 1206s ***** error 1206s isprime(sym('x')); 1206s 9 tests, 9 passed, 0 known failure, 0 skipped 1206s [inst/@sym/atand.m] 1206s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/atand.m 1206s ***** error atand (sym(1), 2) 1206s ***** assert (isequaln (atand (sym(nan)), sym(nan))) 1206s ***** test 1206s f1 = atand (sym(1)/2); 1206s f2 = atand (1/2); 1206s assert (double (f1), f2, -eps) 1206s ***** test 1206s D = [1 2; 3 4]/4; 1206s A = sym([1 2; 3 4])/4; 1206s f1 = atand (A); 1206s f2 = atand (D); 1206s assert (double (f1), f2, -eps) 1207s 4 tests, 4 passed, 0 known failure, 0 skipped 1207s [inst/@sym/ldivide.m] 1207s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ldivide.m 1207s ***** test 1207s % scalar 1207s syms x 1207s assert (isa (x .\ 1, 'sym')) 1207s assert (isa (x .\ x, 'sym')) 1207s assert (isequal (x .\ 1, 1/x)) 1207s assert (isequal (x .\ x, sym(1))) 1208s ***** test 1208s % matrix-scalar 1208s D = [1 1; 2 3]; 1208s A = sym(D); 1208s assert (isequal ( A .\ 6 , D .\ 6 )) 1208s assert (isequal ( A .\ sym(6) , D .\ 6 )) 1208s assert (isequal ( D .\ sym(6) , D .\ 6 )) 1210s ***** test 1210s % matrix-matrix 1210s D = [1 2; 3 4]; 1210s A = sym(D); 1210s assert (isequal ( A .\ A , D .\ D )) 1210s assert (isequal ( A .\ D , D .\ D )) 1210s assert (isequal ( D .\ A , D .\ D )) 1211s ***** test 1211s % matrix .\ matrix with symbols 1211s syms x y 1211s A = [x y; x^2 2*y]; 1211s B = [y x; x y]; 1211s assert (isequal ( A .\ A , sym(ones(2, 2)) )) 1211s assert (isequal ( B .\ A , [x/y y/x; x 2] )) 1213s ***** test 1213s % scalar .\ matrix 1213s D = 3*[1 2; 3 4]; 1213s A = sym(D); 1213s assert (isequal ( 3 .\ A , 3 .\ D )) 1214s 5 tests, 5 passed, 0 known failure, 0 skipped 1214s [inst/@sym/asinh.m] 1214s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/asinh.m 1214s ***** error asinh (sym(1), 2) 1214s ***** assert (isequaln (asinh (sym(nan)), sym(nan))) 1214s ***** shared x, d 1214s d = 1; 1214s x = sym('1'); 1214s ***** test 1214s f1 = asinh(x); 1214s f2 = asinh(d); 1214s assert( abs(double(f1) - f2) < 1e-15 ) 1214s ***** test 1214s D = [d d; d d]; 1214s A = [x x; x x]; 1214s f1 = asinh(A); 1214s f2 = asinh(D); 1214s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1215s ***** test 1215s % round trip 1215s y = sym('y'); 1215s A = asinh (d); 1215s f = asinh (y); 1215s h = function_handle (f); 1215s B = h (d); 1215s assert (A, B, -eps) 1215s 5 tests, 5 passed, 0 known failure, 0 skipped 1215s [inst/@sym/limit.m] 1215s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/limit.m 1215s ***** error limit (sym(1), 2, 3, 4, 5) 1215s ***** shared x, oo 1215s syms x 1215s oo = sym(inf); 1215s ***** assert (isa (limit(x, x, pi), 'sym')) 1215s ***** assert (isequal (limit(x, x, pi), sym(pi))) 1215s ***** assert (isequal (limit(sin(x)/x, x, 0), 1)) 1216s ***** test 1216s % left/right-hand limit 1216s assert (isequal (limit(1/x, x, 0, 'right'), oo)) 1216s assert (isequal (limit(1/x, x, 0), oo)) 1216s assert (isequal (limit(1/x, x, 0, 'left'), -oo)) 1216s assert (isequal (limit(1/x, x, oo), 0)) 1216s assert (isequal (limit(sign(x), x, 0, 'left'), -1)) 1216s assert (isequal (limit(sign(x), x, 0, 'right'), 1)) 1216s assert (isequal (limit(sign(x), x, 0, '-'), -1)) 1216s assert (isequal (limit(sign(x), x, 0, '+'), 1)) 1218s ***** test 1218s % matrix 1218s syms y 1218s A = [x 1/x x*y]; 1218s B = sym([3 sym(1)/3 3*y]); 1218s assert (isequal (limit(A, x, 3), B)) 1219s ***** test 1219s % omitting arguments 1219s syms a 1219s assert (isequal (limit(a), 0)) 1219s assert (isequal (limit(a*x+a+2), a+2)) 1219s assert (isequal (limit(a*x+a+2, 6), 7*a+2)) 1221s ***** test 1221s % constants 1221s assert (isequal (limit(sym(6)), 6)) 1221s assert (isequal (limit(sym(6), 7), 6)) 1221s assert (isequal (limit([sym(6) sym(2)], 7), [6 2])) 1221s ***** test 1221s % double constant, with sym limit 1221s a = limit (6, sym(0)); 1221s assert (isa (a, 'sym')) 1221s assert (isequal (a, sym(6))) 1222s 9 tests, 9 passed, 0 known failure, 0 skipped 1222s [inst/@sym/besseljn.m] 1222s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besseljn.m 1222s ***** test 1222s % roundtrip 1222s syms x 1222s A = double(besseljn(sym(2), sym(9))); 1222s q = besseljn(sym(2), x); 1222s h = function_handle(q); 1222s B = h(9); 1222s assert (abs (A - B) <= eps) 1222s ***** error jn(sym('x')) 1222s 2 tests, 2 passed, 0 known failure, 0 skipped 1222s [inst/@sym/sinhint.m] 1222s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sinhint.m 1222s ***** error sinhint (sym(1), 2) 1222s ***** xtest 1222s assert (isequaln (sinhint (sym(nan)), sym(nan))) 1223s !!!!! known failure 1223s assert (isequaln (sinhint (sym (nan)), sym (nan))) failed 1223s ***** shared x, d 1223s d = 1; 1223s x = sym('1'); 1223s ***** test 1223s f1 = sinhint(x); 1223s f2 = 1.057250875375728514572; 1223s assert( abs(double(f1) - f2) < 1e-15 ) 1223s ***** test 1223s D = [d d; d d]; 1223s A = [x x; x x]; 1223s f1 = sinhint(A); 1223s f2 = 1.057250875375728514572; 1223s f2 = [f2 f2; f2 f2]; 1223s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1224s ***** test 1224s % round trip 1224s y = sym('y'); 1224s A = sinhint (d); 1224s f = sinhint (y); 1224s h = function_handle (f); 1224s B = h (d); 1224s assert (A, B, -eps) 1224s 5 tests, 4 passed, 1 known failure, 0 skipped 1224s [inst/@sym/erf.m] 1224s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/erf.m 1224s ***** error erf (sym(1), 2) 1224s ***** assert (isequaln (erf (sym(nan)), sym(nan))) 1224s ***** shared x, d 1224s d = 1; 1224s x = sym('1'); 1224s ***** test 1224s f1 = erf(x); 1224s f2 = erf(d); 1224s assert( abs(double(f1) - f2) < 1e-15 ) 1224s ***** test 1224s D = [d d; d d]; 1224s A = [x x; x x]; 1224s f1 = erf(A); 1224s f2 = erf(D); 1224s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1225s ***** test 1225s % round trip 1225s y = sym('y'); 1225s A = erf (d); 1225s f = erf (y); 1225s h = function_handle (f); 1225s B = h (d); 1225s assert (A, B, -eps) 1226s 5 tests, 5 passed, 0 known failure, 0 skipped 1226s [inst/@sym/minus.m] 1226s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/minus.m 1226s ***** test 1226s % scalar 1226s syms x 1226s assert (isa (x-1, 'sym')) 1226s assert (isa (x-x, 'sym')) 1226s assert (isequal (x-x, sym(0))) 1226s ***** test 1226s % matrices 1226s D = [0 1; 2 3]; 1226s A = sym(D); 1226s DZ = D - D; 1226s assert (isequal ( A - D , DZ )) 1226s assert (isequal ( A - A , DZ )) 1226s assert (isequal ( D - A , DZ )) 1226s assert (isequal ( A - 2 , D - 2 )) 1226s assert (isequal ( 4 - A , 4 - D )) 1228s 2 tests, 2 passed, 0 known failure, 0 skipped 1228s [inst/@sym/erfcinv.m] 1228s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/erfcinv.m 1228s ***** error erfcinv (sym(1), 2) 1228s ***** assert (isequaln (erfcinv (sym(nan)), sym(nan))) 1228s ***** shared x, d 1228s d = 1; 1228s x = sym('1'); 1228s ***** test 1228s f1 = erfcinv(x); 1228s f2 = erfcinv(d); 1228s assert( abs(double(f1) - f2) < 1e-15 ) 1228s ***** test 1228s D = [d d; d d]; 1228s A = [x x; x x]; 1228s f1 = erfcinv(A); 1228s f2 = erfcinv(D); 1228s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1229s ***** test 1229s % round trip 1229s y = sym('y'); 1229s A = erfcinv (d); 1229s f = erfcinv (y); 1229s h = function_handle (f); 1229s B = h (d); 1229s assert (A, B, -eps) 1229s 5 tests, 5 passed, 0 known failure, 0 skipped 1229s [inst/@sym/partfrac.m] 1229s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/partfrac.m 1229s ***** test 1229s % basic 1229s syms x y z 1229s assert(logical( partfrac(y/(x + 2)/(x + 1),x) == -y/(x + 2) + y/(x + 1) )) 1229s assert(logical( factor(partfrac(x^2/(x^2 - y^2),y)) == factor(x/(2*(x + y)) + x/(2*(x - y)) ))) 1229s assert(logical( factor(partfrac(x^2/(x^2 - y^2),x)) == factor(-y/(2*(x + y)) + y/(2*(x - y)) + 1 ))) 1234s 1 test, 1 passed, 0 known failure, 0 skipped 1234s [inst/@sym/ei.m] 1234s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ei.m 1234s ***** test 1234s syms x 1234s f = ei(sym(0)); 1234s assert (double(f) == -inf) 1234s ***** test 1234s D = [1.895117816355937 4.954234356001890]; 1234s A = ei(sym([1 2])); 1234s assert (all (abs(double(A) - D) < 1e-15)) 1235s 2 tests, 2 passed, 0 known failure, 0 skipped 1235s [inst/@sym/log10.m] 1235s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/log10.m 1235s ***** assert (isequal (log10 (sym (1000)), sym (3))) 1235s ***** assert (isequal (log10 (sym ([10 100])), sym ([1 2]))) 1236s ***** test 1236s % round-trip 1236s syms x 1236s f = log10 (x); 1236s h = function_handle (f); 1236s A = h (1.1); 1236s B = log10 (1.1); 1236s assert (A, B, -eps) 1236s 3 tests, 3 passed, 0 known failure, 0 skipped 1236s [inst/@sym/not.m] 1236s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/not.m 1236s ***** shared t, f 1236s t = sym(true); 1236s f = sym(false); 1236s ***** test 1236s % simple 1236s assert (isequal( ~t, f)) 1236s assert (isequal( ~t, f)) 1236s ***** test 1236s % array 1236s w = [t t f t]; 1236s z = [f f t f]; 1236s assert (isequal( ~w, z)) 1236s ***** test 1236s % number 1236s assert (isequal( ~sym(5), f)) 1236s assert (isequal( ~sym(0), t)) 1236s ***** test 1236s % output is sym 1236s syms x 1236s e = ~(x == 4); 1236s assert (isa (e, 'sym')) 1236s assert (strncmp (sympy(e), 'Unequality', 10)) 1237s ***** test 1237s % output is sym even for scalar t/f (should match other bool fcns) 1237s assert (isa (~t, 'sym')) 1237s ***** test 1237s % symbol ineq 1237s syms x 1237s a = [t f x == 1 x ~= 2 x < 3 x <= 4 x > 5 x >= 6]; 1237s b = [f t x ~= 1 x == 2 x >= 3 x > 4 x <= 5 x < 6]; 1237s assert (isequal( ~a, b)) 1238s ***** test 1238s syms x 1238s y = ~x; 1238s s = disp(y, 'flat'); 1238s assert (strcmp (strtrim (s), '~x') || strcmpi (strtrim (s), 'Not(x)')) 1238s ***** error not (sym(1), 2) 1238s 8 tests, 8 passed, 0 known failure, 0 skipped 1238s [inst/@sym/laplacian.m] 1238s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/laplacian.m 1238s ***** shared x,y,z 1238s syms x y z 1238s ***** test 1238s % 1D 1238s f = x^2; 1238s g = diff(f,x,x); 1238s assert (isequal (laplacian(f), g)) 1238s assert (isequal (laplacian(f,{x}), g)) 1238s assert (isequal (laplacian(f,[x]), g)) 1238s assert (isequal (laplacian(f,x), g)) 1239s ***** test 1239s % const 1239s f = sym(1); 1239s g = sym(0); 1239s assert (isequal (laplacian(f), g)) 1239s assert (isequal (laplacian(f,x), g)) 1239s f = sym('c'); 1239s assert (isequal (laplacian(f,x), g)) 1240s ***** test 1240s % double const 1240s f = 1; 1240s g = sym(0); 1240s assert (isequal (laplacian(f,x), g)) 1240s ***** test 1240s % 1D fcn in 2d/3d 1240s f = sin(2*y); 1240s g = -4*f; 1240s assert (isequal (laplacian(f), g)) 1240s assert (isequal (laplacian(f, {x,y}), g)) 1240s assert (isequal (laplacian(f, {x,y,z}), g)) 1241s ***** test 1241s % 2d fcn in 2d/3d 1241s f = sin(exp(x)*y); 1241s g = diff(f,x,x) + diff(f,y,y); 1241s assert (isequal (laplacian(f), g)) 1241s assert (isequal (laplacian(f, {x,y}), g)) 1242s ***** test 1242s % 2d fcn in 2d/3d 1242s f = sin(exp(x)*y+sinh(z)); 1242s gr2 = gradient(f, {x,y}); 1242s divgr2 = divergence(gr2, {x,y}); 1242s l2 = laplacian(f,{x,y}); 1242s gr3 = gradient(f, {x,y,z}); 1242s divgr3 = divergence(gr3, {x,y,z}); 1242s l3 = laplacian(f,{x,y,z}); 1242s assert (isAlways (l2 == divgr2)) 1242s assert (isAlways (l3 == divgr3)) 1268s Waiting......... 1268s ***** error laplacian(sym('x'), sym('x'), 42) 1268s ***** error laplacian([sym('x'), sym('x')]) 1268s 8 tests, 8 passed, 0 known failure, 0 skipped 1268s [inst/@sym/prod.m] 1268s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/prod.m 1268s ***** error prod (sym(1), 2, 3) 1268s ***** error prod (sym(1), 42) 1269s ***** shared x,y,z 1269s syms x y z 1269s ***** assert (isequal (prod (x), x)) 1269s ***** assert (isequal (prod ([x y z]), x*y*z)) 1269s ***** assert (isequal (prod ([x; y; z]), x*y*z)) 1270s ***** assert (isequal (prod ([x y z], 1), [x y z])) 1270s ***** assert (isequal (prod ([x y z], 2), x*y*z)) 1270s ***** shared a,b 1270s b = [1 2; 3 4]; a = sym(b); 1271s ***** assert (isequal (prod(a), prod(b))) 1271s ***** assert (isequal (prod(a,1), prod(b,1))) 1272s ***** assert (isequal (prod(a,2), prod(b,2))) 1272s ***** test 1272s % weird inputs 1272s a = prod('xx', sym(1)); 1272s assert (isequal (a, sym('xx'))) 1272s 11 tests, 11 passed, 0 known failure, 0 skipped 1272s [inst/@sym/toeplitz.m] 1272s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/toeplitz.m 1272s ***** test 1272s % rect 1272s R = [10 20 40]; C = [10 30]; 1272s A = sym(toeplitz(R,C)); 1272s B = toeplitz(sym(R),sym(C)); 1272s assert (isequal (A, B)) 1272s R = [10 20]; C = [10 30 50]; 1272s A = sym(toeplitz(R,C)); 1272s B = toeplitz(sym(R),sym(C)); 1272s assert (isequal (A, B)) 1275s ***** test 1275s % symbols 1275s syms x y 1275s R = [10 20 40]; C = [10 30]; 1275s Rs = [10 x 40]; Cs = [10 y]; 1275s A = toeplitz(R,C); 1275s B = toeplitz(Rs,Cs); 1275s assert (isequal (A, subs(B,[x,y],[20 30]))) 1276s ***** test 1276s % hermitian 1276s syms a b c 1276s A = [a b c; conj(b) a b; conj(c) conj(b) a]; 1276s B = toeplitz([a,b,c]); 1276s assert (isequal( A, B)) 1277s ***** warning 1277s % mismatch 1277s syms x 1277s B = toeplitz([10 x], [1 3 x]); 1277s ***** warning 1277s % scalar 1277s B = toeplitz(sym(2), 3); 1277s assert (isequal (B, sym(2))) 1279s ***** test 1279s % mismatch 1279s syms x y 1279s fprintf('\n one warning expected\n') % how to quiet this one? 1279s A = toeplitz([10 2], [1 3 5]); 1279s s = warning ('off', 'OctSymPy:toeplitz:diagconflict'); 1279s B = toeplitz([10 x], [1 3 y]); 1279s warning(s) 1279s assert (isequal (A, subs(B, [x,y], [2 5]))) 1279s 1279s one warning expected 1279s warning: toeplitz: column wins diagonal conflict 1279s warning: called from 1279s toeplitz at line 84 column 7 1279s __test__ at line 6 column 4 1279s test at line 682 column 11 1279s /tmp/tmp.qC3f1eGjvK at line 1646 column 31 1279s 1279s 6 tests, 6 passed, 0 known failure, 0 skipped 1279s [inst/@sym/mrdivide.m] 1279s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/mrdivide.m 1279s ***** test 1279s % scalar 1279s syms x 1279s assert (isa( x/x, 'sym')) 1279s assert (isequal( x/x, sym(1))) 1279s assert (isa( 2/x, 'sym')) 1279s assert (isa( x/2, 'sym')) 1280s ***** test 1280s % matrix / scalar 1280s D = 2*[0 1; 2 3]; 1280s A = sym(D); 1280s assert (isequal ( A/2 , D/2 )) 1280s assert (isequal ( A/sym(2) , D/2 )) 1282s ***** test 1282s % I/A: either invert A or leave unevaluated: not bothered which 1282s A = sym([1 2; 3 4]); 1282s B = sym(eye(2)) / A; 1282s assert (isequal (B, inv(A)) || strncmpi (sympy (B), 'MatPow', 6)) 1283s ***** xtest 1283s % immutable test, upstream: TODO 1283s A = sym([1 2; 3 4]); 1283s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 1283s assert (isequal (A/A, B/B)) 1283s :18: SyntaxWarning: invalid escape sequence '\(' 1283s ***** test 1283s % A = C/B is C = A*B 1283s A = sym([1 2; 3 4]); 1283s B = sym([1 3; 4 8]); 1283s C = A*B; 1283s A2 = C / B; 1283s assert (isequal (A, A2)) 1284s ***** test 1284s A = [1 2; 3 4]; 1284s B = A / A; 1284s % assert (isequal (B, sym(eye(2)) 1284s assert (isequal (B(1,1), 1)) 1284s assert (isequal (B(2,2), 1)) 1284s assert (isequal (B(2,1), 0)) 1284s assert (isequal (B(1,2), 0)) 1284s ***** test 1284s A = sym([5 6]); 1284s B = sym([1 2; 3 4]); 1284s C = A*B; 1284s A2 = C / B; 1284s assert (isequal (A, A2)) 1285s 7 tests, 7 passed, 0 known failure, 0 skipped 1285s [inst/@sym/le.m] 1285s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/le.m 1285s ***** test 1285s % simple 1285s x = sym(1); y = sym(1); e = x <= y; 1285s assert (logical (e)) 1285s x = sym(1); y = sym(2); e = x <= y; 1285s assert (logical (e)) 1285s ***** test 1285s % array -- array 1285s syms x 1285s a = sym([1 3 3 2*x]); 1285s b = sym([2 x 3 10]); 1285s e = a <= b; 1285s assert (isa (e, 'sym')) 1285s assert (logical (e(1))) 1285s assert (isa (e(2), 'sym')) 1285s assert (isequal (e(2), 3 <= x)) 1285s assert (logical (e(3))) 1285s assert (isa (e(4), 'sym')) 1285s assert (isequal (e(4), 2*x <= 10)) 1287s 2 tests, 2 passed, 0 known failure, 0 skipped 1287s [inst/@sym/hessian.m] 1287s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/hessian.m 1287s ***** error hessian (sym(1), 2, 3) 1287s ***** error hessian ([sym(1) sym(2)]) 1287s ***** shared x,y,z 1287s syms x y z 1287s ***** test 1287s % 1D 1287s f = x^2; 1287s assert (isequal (hessian(f), diff(f,x,x))) 1287s assert (isequal (hessian(f,{x}), diff(f,x,x))) 1287s assert (isequal (hessian(f,x), diff(f,x,x))) 1288s ***** test 1288s % const 1288s f = sym(1); 1288s g = sym(0); 1288s assert (isequal (hessian(f), g)) 1288s assert (isequal (hessian(f,x), g)) 1288s ***** test 1288s % double const 1288s f = 1; 1288s g = sym(0); 1288s assert (isequal (hessian(f,x), g)) 1289s ***** test 1289s % linear 1289s f = 42*x; 1289s g = sym(0); 1289s assert (isequal (hessian(f), g)) 1289s assert (isequal (hessian(f,x), g)) 1289s ***** test 1289s % linear 1289s f = 42*x - sym('a')*y; 1289s g = [0 0; 0 0]; 1289s assert (isequal (hessian(f, {x y}), g)) 1290s ***** test 1290s % 2d 1290s f = x*cos(y); 1290s g = [0 -sin(y); -sin(y) -f]; 1290s assert (isequal (hessian(f), g)) 1290s assert (isequal (hessian(f, {x y}), g)) 1291s ***** test 1291s % 3d 1291s f = x*cos(z); 1291s Hexp = [0 0 -sin(z); sym(0) 0 0; -sin(z) 0 -f]; 1291s H = hessian(f, {x y z}); 1291s assert (isequal (H, Hexp)) 1292s 9 tests, 9 passed, 0 known failure, 0 skipped 1292s [inst/@sym/matlabFunction.m] 1292s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/matlabFunction.m 1292s ***** test 1292s % autodetect inputs 1292s syms x y 1292s s = warning('off', 'OctSymPy:function_handle:nocodegen'); 1292s h = matlabFunction(2*x*y, x+y); 1292s warning(s) 1292s [t1, t2] = h(3,5); 1292s assert(t1 == 30 && t2 == 8) 1292s 1 test, 1 passed, 0 known failure, 0 skipped 1292s [inst/@sym/atan.m] 1292s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/atan.m 1292s ***** error atan (sym(1), 2) 1292s ***** assert (isequaln (atan (sym(nan)), sym(nan))) 1292s ***** shared x, d 1292s d = 1; 1292s x = sym('1'); 1292s ***** test 1292s f1 = atan(x); 1292s f2 = atan(d); 1292s assert( abs(double(f1) - f2) < 1e-15 ) 1292s ***** test 1292s D = [d d; d d]; 1292s A = [x x; x x]; 1292s f1 = atan(A); 1292s f2 = atan(D); 1292s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1293s ***** test 1293s % round trip 1293s y = sym('y'); 1293s A = atan (d); 1293s f = atan (y); 1293s h = function_handle (f); 1293s B = h (d); 1293s assert (A, B, -eps) 1293s 5 tests, 5 passed, 0 known failure, 0 skipped 1293s [inst/@sym/signIm.m] 1293s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/signIm.m 1293s ***** assert (isequal (signIm (sym(1)), sym(0))) 1294s ***** assert (isequal (signIm (sym(1) + 2i), sym(1))) 1294s ***** assert (isequal (signIm (sym(1) - 2i), sym(-1))) 1294s ***** test 1294s % intermediate A looks bit weird, but it works 1294s syms z 1294s A = signIm (z); 1294s assert (isequal (subs(A, z, 3+sym(4i)), sym(1))) 1294s assert (isequal (subs(A, z, 3-sym(4i)), sym(-1))) 1296s ***** test 1296s % really a @sym/sign test, but that one is autogen 1296s z = 3 + sym(4i); 1296s A = sign (z); 1296s B = z / abs(z); 1296s assert (double (A), double (B), eps) 1296s 5 tests, 5 passed, 0 known failure, 0 skipped 1296s [inst/@sym/erfc.m] 1296s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/erfc.m 1296s ***** error erfc (sym(1), 2) 1296s ***** assert (isequaln (erfc (sym(nan)), sym(nan))) 1296s ***** shared x, d 1296s d = 1; 1296s x = sym('1'); 1296s ***** test 1296s f1 = erfc(x); 1296s f2 = erfc(d); 1296s assert( abs(double(f1) - f2) < 1e-15 ) 1296s ***** test 1296s D = [d d; d d]; 1296s A = [x x; x x]; 1296s f1 = erfc(A); 1296s f2 = erfc(D); 1296s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1297s ***** test 1297s % round trip 1297s y = sym('y'); 1297s A = erfc (d); 1297s f = erfc (y); 1297s h = function_handle (f); 1297s B = h (d); 1297s assert (A, B, -eps) 1297s 5 tests, 5 passed, 0 known failure, 0 skipped 1297s [inst/@sym/factor.m] 1297s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/factor.m 1297s ***** test 1297s % n = 152862; 1297s % [p,m] = factor(n); % only works on Octave, no Matlab as of 2014a 1297s n = 330; % so we use an output without repeated factors 1297s p = factor(n); m = ones(size(p)); 1297s [ps,ms] = factor(sym(n)); 1297s assert (isequal (p, ps)) 1297s assert (isequal (m, ms)) 1298s ***** test 1298s n = sym(2)^4*13; 1298s [p,m] = factor(n); 1298s assert (isequal (p, [2 13])) 1298s assert (isequal (m, [4 1])) 1299s ***** test syms x 1299s assert( logical (factor(x^2 + 6*x + 5) == (x+5)*(x+1))) 1300s ***** test 1300s syms x 1300s f = [ x^4/2 + 5*x^3/12 - x^2/3 x^2 - 1 10]; 1300s g = [ x^2*(2*x - 1)*(3*x + 4)/12 (x+1)*(x-1) 10]; 1300s assert (isequal (factor(f), g)) 1302s ***** test 1302s % "fragile form" works 1302s A = factor(sym(124)); 1302s B = strtrim(disp(A, 'flat')); 1302s assert (strcmp (B, '2**2*31**1')) 1303s ***** error [p, m] = factor(sym('x')); 1303s ***** error [p, m] = factor(sym(42), sym('x')); 1304s ***** test 1304s % if polynomial happens to be a constant, don't attempt integer 1304s % factorization if a variable is specified 1304s f = sym(42); 1304s q = factor(f, sym('x')); 1304s assert (isequal (f, q)); 1304s 8 tests, 8 passed, 0 known failure, 0 skipped 1304s [inst/@sym/csch.m] 1304s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/csch.m 1304s ***** error csch (sym(1), 2) 1304s ***** assert (isequaln (csch (sym(nan)), sym(nan))) 1305s ***** shared x, d 1305s d = 1; 1305s x = sym('1'); 1305s ***** test 1305s f1 = csch(x); 1305s f2 = csch(d); 1305s assert( abs(double(f1) - f2) < 1e-15 ) 1305s ***** test 1305s D = [d d; d d]; 1305s A = [x x; x x]; 1305s f1 = csch(A); 1305s f2 = csch(D); 1305s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1306s ***** test 1306s % round trip 1306s y = sym('y'); 1306s A = csch (d); 1306s f = csch (y); 1306s h = function_handle (f); 1306s B = h (d); 1306s assert (A, B, -eps) 1306s 5 tests, 5 passed, 0 known failure, 0 skipped 1306s [inst/@sym/symvar.m] 1306s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/symvar.m 1306s ***** error symvar (sym(1), 2, 3) 1306s ***** test 1306s %% some empty cases 1306s assert (isempty (symvar (sym(1)))); 1306s assert (isempty (symvar (sym(1),1))); 1306s assert (isempty (symvar (sym(1),0))); 1306s assert (isempty (symvar (sym('x'),0))); 1306s ***** shared x,y,f 1306s x=sym('x'); y=sym('y'); f=x^2+3*x*y-y^2; 1307s ***** assert (isequal (symvar (f), [x y])); 1307s ***** assert (isequal (symvar (f, 1), x)); 1308s ***** test 1308s %% closest to x 1308s syms x y a b c xx 1308s alpha = sym('alpha'); 1308s % https://www.mathworks.com/matlabcentral/newsreader/view_thread/237730 1308s assert( isequal (symvar (b*xx*exp(alpha) + c*sin(a*y), 2), [xx y])) 1308s %% tests to match Matlab R2013b 1309s ***** shared x,y,z,a,b,c,X,Y,Z 1309s syms x y z a b c X Y Z 1309s ***** test 1309s %% X,Y,Z first if no 2nd argument 1309s s = prod([x y z a b c X Y Z]); 1309s assert (isequal( symvar (s), [X Y Z a b c x y z] )) 1310s ***** test 1310s %% uppercase have *low* priority with argument? 1310s s = prod([x y z a b c X Y Z]); 1310s assert (isequal (symvar (s,4), [x, y, z, c] )) 1311s ***** test 1311s %% closest to x 1311s s = prod([y z a b c Y Z]); 1311s assert (isequal( symvar (s,6), [ y, z, c, b, a, Y] )) 1311s s = prod([a b c Y Z]); 1311s assert (isequal( symvar (s,4), [ c, b, a, Y] )) 1312s ***** test 1312s %% upper case letters in correct order 1312s s = X*Y*Z; 1312s assert (isequal( symvar (s,3), [X Y Z] )) 1313s ***** test 1313s % diff. assumptions make diff. symbols 1313s x1 = sym('x'); 1313s x2 = sym('x', 'positive'); 1313s f = x1*x2; 1313s assert (length (symvar (f)) == 2) 1313s z = symvar (f, 1); 1313s assert (xor (isequal (z, x1), isequal (z, x2))) 1313s 10 tests, 10 passed, 0 known failure, 0 skipped 1313s [inst/@sym/subsindex.m] 1313s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/subsindex.m 1313s ***** test 1313s i = sym(1); 1313s a = 7; 1313s assert(a(i)==a); 1313s i = sym(2); 1313s a = 2:2:10; 1313s assert(a(i)==4); 1314s ***** test 1314s i = sym([1 3 5]); 1314s a = 1:10; 1314s assert( isequal (a(i), [1 3 5])) 1314s ***** test 1314s i = sym([1 3 5]); 1314s a = sym(1:10); 1314s assert( isequal (a(i), sym([1 3 5]))); 1316s ***** test 1316s % should be an error if it doesn't convert to double 1316s syms x 1316s a = 1:10; 1316s try 1316s a(x) 1316s waserr = false; 1316s catch 1316s waserr = true; 1316s end 1316s assert(waserr) 1316s ***** test 1316s syms x 1316s assert (isequal (x(sym (true)), x)) 1316s assert (isequal (x(sym (false)), sym ([]))) 1316s ***** test 1316s x = 6; 1316s assert (isequal (x(sym (true)), 6)) 1316s assert (isequal (x(sym (false)), [])) 1317s ***** test 1317s a = sym([10 12 14]); 1317s assert (isequal (a(sym ([true false true])), a([1 3]))) 1317s assert (isequal (a(sym ([false false false])), sym (ones(1,0)))) 1318s ***** test 1318s a = [10 11; 12 13]; 1318s p = [true false; true true]; 1318s assert (isequal (a(sym (p)), a(p))) 1318s p = [false false false]; 1318s assert (isequal (a(sym (p)), a(p))) 1318s ***** error 1318s a = [10 12]; 1318s I = [sym(true) 2]; 1318s b = a(I); 1319s 9 tests, 9 passed, 0 known failure, 0 skipped 1319s [inst/@sym/triu.m] 1319s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/triu.m 1319s ***** test 1319s % scalar 1319s syms x 1319s assert (isequal (triu(x), x)) 1319s assert (isequal (triu(x,0), x)) 1319s assert (isequal (triu(x,1), 0)) 1319s assert (isequal (triu(x,-1), 0)) 1319s ***** test 1319s % with symbols 1319s syms x 1319s A = [x 2*x; 3*x 4*x]; 1319s assert (isequal (triu(A), [x 2*x; 0 4*x])) 1320s ***** test 1320s % diagonal shifts 1320s B = round(10*rand(3,4)); 1320s A = sym(B); 1320s assert (isequal (triu(A), triu(B))) 1320s assert (isequal (triu(A,0), triu(B,0))) 1320s assert (isequal (triu(A,1), triu(B,1))) 1320s assert (isequal (triu(A,-1), triu(B,-1))) 1324s ***** test 1324s % double array pass through 1324s B = round(10*rand(3,4)); 1324s assert (isequal (triu(B,sym(1)), triu(B,1))) 1324s assert (isa (triu(B,sym(1)), 'double')) 1324s ***** test 1324s % immutable test 1324s A = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 1324s assert (isequal (triu (A), sym ([1 2; 0 4]))) 1324s assert (isequal (tril (A), sym ([1 0; 3 4]))) 1324s :18: SyntaxWarning: invalid escape sequence '\(' 1325s 5 tests, 5 passed, 0 known failure, 0 skipped 1325s [inst/@sym/find.m] 1325s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/find.m 1325s ***** error find (sym (1), 2, 3, 4) 1325s ***** error [x, y, z, w] = find (sym (1)) 1326s ***** test 1326s syms x y positive 1326s assert (isequal (find ([0 x 0 y]), [2 4])) 1326s assert (isequal (find ([0 x 0 y], 1), 2)) 1326s assert (isequal (find ([0 x 0 y], 1, 'first'), 2)) 1326s assert (isequal (find ([0 x 0 y], 1, 'last'), 4)) 1326s assert (isequal (find ([0 x 0 y], 2, 'last'), [2 4])) 1327s ***** test 1327s % its enough that it could be non-zero, does not have to be 1327s syms x y 1327s assert (isequal (find ([0 x+y]), 2)) 1327s ***** test 1327s % false should not be found 1327s syms x y 1327s assert (isequal (find ([x==x x==y]), 1)) 1327s assert (isequal (find ([x==y]), [])) 1327s ***** test 1327s % and/or should be treated as boolean 1327s syms x y 1327s assert (isequal (find ([or(x==y, x==2*y) x==y x==x]), 3)) 1328s ***** test 1328s % None 1328s none = pycall_sympy__ ('return None'); 1328s assert (isequal (find ([sym(0) none sym(1)]), 3)) 1328s syms x y 1328s assert (isequal (find ([x==y none x==x]), 3)) 1328s ***** test 1328s % two output 1328s syms x y 1328s A = [x 0 0; x+y 5 0]; 1328s [i, j] = find (A); 1328s assert (isequal (i, [1; 2; 2])) 1328s assert (isequal (j, [1; 1; 2])) 1329s ***** test 1329s % three output 1329s syms x y 1329s A = [x 0 0; x+y 5 0]; 1329s [i, j, v] = find (A); 1329s assert (isequal (i, [1; 2; 2])) 1329s assert (isequal (j, [1; 1; 2])) 1329s assert (isequal (v, [x; x+y; sym(5)])) 1330s 9 tests, 9 passed, 0 known failure, 0 skipped 1330s [inst/@sym/or.m] 1330s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/or.m 1330s ***** shared t, f 1330s t = sym(true); 1330s f = sym(false); 1330s ***** test 1330s % simple 1330s assert (isequal (t | f, t)) 1330s assert (isequal (t | t, t)) 1330s assert (isequal (f | f, f)) 1330s ***** test 1330s % array 1330s w = [t t f f]; 1330s z = [t f t f]; 1330s assert (isequal (w | z, [t t t f])) 1331s ***** test 1331s % output is sym even for scalar t/f 1331s assert (isa (t | f, 'sym')) 1331s ***** test 1331s % eqns 1331s syms x 1331s e = or(x == 4, x == 5); 1331s assert (isequal (subs(e, x, [3 4 5 6]), [f t t f])) 1331s ***** error or (sym(1), 2, 3) 1332s 5 tests, 5 passed, 0 known failure, 0 skipped 1332s [inst/@sym/exp.m] 1332s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/exp.m 1332s ***** error exp (sym(1), 2) 1332s ***** assert (isequaln (exp (sym(nan)), sym(nan))) 1332s ***** shared x, d 1332s d = 1; 1332s x = sym('1'); 1332s ***** test 1332s f1 = exp(x); 1332s f2 = exp(d); 1332s assert( abs(double(f1) - f2) < 1e-15 ) 1332s ***** test 1332s D = [d d; d d]; 1332s A = [x x; x x]; 1332s f1 = exp(A); 1332s f2 = exp(D); 1332s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1333s ***** test 1333s % round trip 1333s y = sym('y'); 1333s A = exp (d); 1333s f = exp (y); 1333s h = function_handle (f); 1333s B = h (d); 1333s assert (A, B, -eps) 1333s 5 tests, 5 passed, 0 known failure, 0 skipped 1333s [inst/@sym/ismember.m] 1333s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ismember.m 1333s ***** assert (ismember (2, interval(sym(0),2))) 1333s ***** assert (~ismember (3, interval(sym(0),2))) 1333s ***** test 1333s % something in a matrix 1333s syms x 1333s A = [1 x; sym(pi) 4]; 1333s assert (ismember (sym(pi), A)) 1333s assert (ismember (x, A)) 1333s assert (~ismember (2, A)) 1334s ***** test 1334s % set 1334s syms x 1334s S = finiteset(2, sym(pi), x); 1334s assert (ismember (x, S)) 1334s ***** test 1334s % set with positive symbol 1334s syms p positive 1334s S = finiteset(2, sym(pi), p); 1334s assert (~ismember (-1, S)) 1335s 5 tests, 5 passed, 0 known failure, 0 skipped 1335s [inst/@sym/has.m] 1335s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/has.m 1335s ***** shared A, x, y 1335s syms x y 1335s A = [sym(pi) 2*sym(pi); x*y x+y]; 1335s ***** assert (isequal (has(A, x), [false false; true true])); 1335s ***** assert (isequal (has(A, x+y), [false false; false true])); 1335s ***** assert (isequal (has(A, 2), [false true; false false])); 1336s ***** assert (isequal (has(A, sym(pi)), [true true; false false])); 1336s 4 tests, 4 passed, 0 known failure, 0 skipped 1336s [inst/@sym/besselyn.m] 1336s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besselyn.m 1336s ***** test 1336s % roundtrip 1336s syms x 1336s A = double(besselyn(sym(2), sym(10))); 1336s q = besselyn(sym(2), x); 1336s h = function_handle(q); 1336s B = h(10); 1336s assert (abs (A - B) <= eps) 1336s ***** error yn(sym('x')) 1336s 2 tests, 2 passed, 0 known failure, 0 skipped 1336s [inst/@sym/trace.m] 1336s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/trace.m 1336s ***** test 1336s % scalar 1336s syms x 1336s assert (isequal (trace(x), x)) 1336s ***** test 1336s syms x 1336s A = [x 3; 2*x 5]; 1336s assert (isequal (trace(A), x + 5)) 1337s 2 tests, 2 passed, 0 known failure, 0 skipped 1337s [inst/@sym/transpose.m] 1337s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/transpose.m 1337s ***** test 1337s x = sym(1); 1337s assert (isequal (x.', x)) 1337s ***** assert (isempty (sym([]).')) 1337s ***** test 1337s syms x; 1337s assert (isequal (x.', x)) 1337s ***** test 1337s A = [1 2; 3 4]; 1337s assert(isequal( sym(A).' , sym(A.') )) 1338s ***** test 1338s A = [1 2] + 1i; 1338s assert(isequal( sym(A).' , sym(A.') )) 1339s 5 tests, 5 passed, 0 known failure, 0 skipped 1339s [inst/@sym/min.m] 1339s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/min.m 1339s ***** test 1339s % scalars with dim 1339s a = min(sym(pi), [], 1); 1339s b = sym(pi); 1339s assert (isequal (a, b)); 1339s a = min(sym(pi), [], 2); 1339s assert (isequal (a, b)); 1339s a = max(sym(pi), [], 1); 1339s assert (isequal (a, b)); 1339s a = max(sym(pi), [], 2); 1339s assert (isequal (a, b)); 1340s ***** shared A, D 1340s D = [0 1 2 3]; 1340s A = sym(D); 1340s ***** test 1340s % row vectors 1340s assert (isequal (min(A), sym(min(D)))) 1340s assert (isequal (min(A), sym(0))) 1340s assert (isequal (max(A), sym(max(D)))) 1340s assert (isequal (max(A), sym(3))) 1340s ***** test 1340s % row vectors with dim 1340s assert (isequal (min(A, [], 1), sym(min(D, [], 1)))) 1340s assert (isequal (min(A, [], 2), sym(min(D, [], 2)))) 1340s assert (isequal (max(A, [], 1), sym(max(D, [], 1)))) 1340s assert (isequal (max(A, [], 2), sym(max(D, [], 2)))) 1341s ***** test 1341s % column vectors 1341s A = A.'; 1341s D = D.'; 1341s assert (isequal (min(A), sym(min(D)))) 1341s assert (isequal (min(A), sym(0))) 1341s assert (isequal (max(A), sym(max(D)))) 1341s assert (isequal (max(A), sym(3))) 1342s ***** test 1342s % row vectors with dim 1342s assert (isequal (min(A, [], 1), sym(min(D, [], 1)))) 1342s assert (isequal (min(A, [], 2), sym(min(D, [], 2)))) 1342s assert (isequal (max(A, [], 1), sym(max(D, [], 1)))) 1342s assert (isequal (max(A, [], 2), sym(max(D, [], 2)))) 1343s ***** shared 1343s ***** test 1343s % empty 1343s a = min(sym([])); 1343s assert(isempty(a)) 1343s a = max(sym([])); 1343s assert(isempty(a)) 1343s ***** test 1343s % matrix 1343s A = [1 4 6; 2 2 5]; 1343s A = sym(A); 1343s assert (isequal (min(A), sym([1 2 5]))) 1343s assert (isequal (min(A, [], 1), sym([1 2 5]))) 1343s assert (isequal (min(A, [], 2), sym([1; 2]))) 1343s assert (isequal (max(A), sym([2 4 6]))) 1343s assert (isequal (max(A, [], 1), sym([2 4 6]))) 1343s assert (isequal (max(A, [], 2), sym([6; 5]))) 1345s ***** test 1345s % index output is double not sym 1345s [m, I] = min(sym(2), [], 1); 1345s assert (strcmp(class(I), 'double')) 1345s [m, I] = max(sym(2), [], 1); 1345s assert (strcmp(class(I), 'double')) 1345s ***** test 1345s % empty rows/columns, I is double 1345s A = sym(zeros(0, 4)); 1345s [m, I] = min(A, [], 1); 1345s assert (strcmp(class(I), 'double')) 1345s [m, I] = max(A, [], 1); 1345s assert (strcmp(class(I), 'double')) 1345s A = sym(zeros(3, 0)); 1345s [m, I] = min(A, [], 2); 1345s assert (strcmp(class(I), 'double')) 1345s [m, I] = max(A, [], 2); 1345s assert (strcmp(class(I), 'double')) 1346s ***** test 1346s % index output 1346s A = [0 1 9; 10 7 4]; 1346s B = sym(A); 1346s [m1, I1] = min(A); 1346s [m2, I2] = min(B); 1346s assert (isequal (I1, I2)) 1346s assert (isequal (m1, double(m2))) 1346s [m1, I1] = max(A); 1346s [m2, I2] = max(B); 1346s assert (isequal (I1, I2)) 1346s assert (isequal (m1, double(m2))) 1348s ***** test 1348s % index output, with dim 1348s A = [0 1 9; 10 7 4]; 1348s B = sym(A); 1348s [m1, I1] = min(A, [], 1); 1348s [m2, I2] = min(B, [], 1); 1348s assert (isequal (I1, I2)) 1348s assert (isequal (m1, double(m2))) 1348s [m1, I1] = min(A, [], 2); 1348s [m2, I2] = min(B, [], 2); 1348s assert (isequal (I1, I2)) 1348s assert (isequal (m1, double(m2))) 1348s [m1, I1] = max(A, [], 1); 1348s [m2, I2] = max(B, [], 1); 1348s assert (isequal (I1, I2)) 1348s assert (isequal (m1, double(m2))) 1348s [m1, I1] = max(A, [], 2); 1348s [m2, I2] = max(B, [], 2); 1348s assert (isequal (I1, I2)) 1348s assert (isequal (m1, double(m2))) 1351s ***** test 1351s % empty columns 1351s A = sym(zeros(0, 4)); 1351s [m, I] = min(A, [], 1); 1351s assert (isequal (size(m), [0 4])) 1351s assert (isequal (size(I), [0 4])) 1351s [m, I] = max(A, [], 1); 1351s assert (isequal (size(m), [0 4])) 1351s assert (isequal (size(I), [0 4])) 1352s ***** test 1352s % empty rows 1352s A = sym(zeros(3, 0)); 1352s [m, I] = min(A, [], 2); 1352s assert (isequal (size(m), [3 0])) 1352s assert (isequal (size(I), [3 0])) 1352s [m, I] = max(A, [], 2); 1352s assert (isequal (size(m), [3 0])) 1352s assert (isequal (size(I), [3 0])) 1352s ***** test 1352s % another empty case 1352s % we differ slightly from double which gives 1x0/0x1 1352s A = sym(zeros(3, 0)); 1352s [m, I] = min(A, [], 1); 1352s assert (isempty (m)) 1352s assert (isempty (I)) 1352s A = sym(zeros(0, 3)); 1352s [m, I] = min(A, [], 2); 1352s assert (isempty (m)) 1352s assert (isempty (I)) 1352s ***** test 1352s % empty without index output 1352s A = sym(zeros(3, 0)); 1352s assert (isempty (min (A, [], 1))) 1352s assert (isempty (max (A, [], 1))) 1352s assert (isempty (min (A, [], 2))) 1352s assert (isempty (max (A, [], 2))) 1352s A = sym(zeros(0, 3)); 1352s assert (isempty (min (A, [], 1))) 1352s assert (isempty (max (A, [], 1))) 1352s assert (isempty (min (A, [], 2))) 1352s assert (isempty (max (A, [], 2))) 1353s ***** test 1353s % binary op form, one a scalar 1353s A = sym([3 1 9]); 1353s m = min(A, sym(2)); 1353s M = max(A, sym(2)); 1353s assert (isequal (m, sym([2 1 2]))) 1353s assert (isequal (M, sym([3 2 9]))) 1353s m = min(sym(2), A); 1353s M = max(sym(2), A); 1353s assert (isequal (m, sym([2 1 2]))) 1353s assert (isequal (M, sym([3 2 9]))) 1354s ***** test 1354s % binary op form, both scalar 1354s m = min(sym(1), sym(2)); 1354s M = max(sym(2), sym(2)); 1354s assert (isequal (m, sym(1))) 1354s assert (isequal (M, sym(2))) 1355s ***** test 1355s syms x y 1355s assert (isequal (children (min (x, y)), [x y])) 1355s ***** test 1355s syms x y z 1355s A = [x 1; y z]; 1355s assert (isequal (min (A, [], 1), [min(x, y) min(1, z)])) 1355s assert (isequal (max (A, [], 1), [max(x, y) max(1, z)])) 1355s assert (isequal (min (A, [], 2), [min(x, 1); min(y, z)])) 1355s assert (isequal (max (A, [], 2), [max(x, 1); max(y, z)])) 1357s ***** test 1357s syms x y positive 1357s a = min([x 2 y -6]); 1357s assert (isequal (a, -6)) 1357s a = max([x y -6]); 1357s assert (isequal (a, max(x, y))) 1358s ***** test 1358s syms x negative 1358s a = min([x 6 10]); 1358s assert (isequal (a, x)) 1358s a = max([x -2 6]); 1358s assert (isequal (a, 6)) 1358s 21 tests, 21 passed, 0 known failure, 0 skipped 1358s [inst/@sym/acoth.m] 1358s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acoth.m 1358s ***** error acoth (sym(1), 2) 1358s ***** assert (isequaln (acoth (sym(nan)), sym(nan))) 1358s ***** shared x, d 1358s d = 2; 1358s x = sym('2'); 1358s ***** test 1358s f1 = acoth(x); 1358s f2 = acoth(d); 1358s assert( abs(double(f1) - f2) < 1e-15 ) 1358s ***** test 1358s D = [d d; d d]; 1358s A = [x x; x x]; 1358s f1 = acoth(A); 1358s f2 = acoth(D); 1358s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1359s ***** test 1359s % round trip 1359s y = sym('y'); 1359s A = acoth (d); 1359s f = acoth (y); 1359s h = function_handle (f); 1359s B = h (d); 1359s assert (A, B, -eps) 1359s 5 tests, 5 passed, 0 known failure, 0 skipped 1359s [inst/@sym/sympy.m] 1359s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sympy.m 1359s ***** assert (strcmp (sympy (sym(pi)), 'pi')) 1359s ***** assert (strcmp (sympy (sym(1)), 'Integer(1)')) 1359s ***** assert (strcmp (sympy (sym(2)/3), 'Rational(2, 3)')) 1360s ***** assert (strcmp (sympy (sym('x')), 'Symbol(''x'')')) 1360s ***** test 1360s x = sym('x'); 1360s assert (isequal (sym(sympy(x)), x)) 1360s :18: SyntaxWarning: invalid escape sequence '\(' 1360s 5 tests, 5 passed, 0 known failure, 0 skipped 1360s [inst/@sym/cat.m] 1360s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cat.m 1360s ***** test 1360s % mostly tested in horzcat, vertcat: one for good measure 1360s syms x 1360s assert (isequal (cat(1, x, x), [x x])) 1360s assert (isequal (cat(2, x, x), [x; x])) 1360s ***** error cat(3, sym(2), sym(3)) 1361s ***** error cat(0, sym(2), sym(3)) 1362s 3 tests, 3 passed, 0 known failure, 0 skipped 1362s [inst/@sym/divergence.m] 1362s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/divergence.m 1362s ***** shared x,y,z 1362s syms x y z 1362s ***** test 1362s % 1D 1362s f = x^2; 1362s assert (isequal (divergence(f), diff(f,x))) 1362s assert (isequal (divergence(f,{x}), diff(f,x))) 1362s assert (isequal (divergence(f,[x]), diff(f,x))) 1362s assert (isequal (divergence(f,x), diff(f,x))) 1364s ***** test 1364s % const 1364s f = [sym(1); 2; exp(sym(3))]; 1364s assert (isequal (divergence(f,{x,y,z}), 0)) 1364s f = [sym(1); 2; exp(sym('c'))]; 1364s assert (isequal (divergence(f,{x,y,z}), 0)) 1366s ***** test 1366s % double const 1366s f = [1 2]; 1366s g = sym(0); 1366s assert (isequal (divergence(f, [x y]), g)) 1366s % should fail, calls @double: divergence(f, {x y}), g)) 1366s ***** test 1366s % 1D fcn in 2d/3d 1366s f = [x y z]; 1366s assert (isequal (divergence(f), 3)) 1366s assert (isequal (divergence(f, {x,y,z}), 3)) 1366s assert (isequal (divergence(f, [x,y,z]), 3)) 1369s ***** test 1369s % 2d fcn in 2d/3d 1369s f = sin(exp(x)*y+sinh(z)); 1369s g2 = [diff(f,x); diff(f,y)]; 1369s l2 = diff(g2(1),x) + diff(g2(2),y); 1369s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 1369s l3 = diff(g3(1),x) + diff(g3(2),y) + diff(g3(3),z); 1369s assert (isequal (divergence(g2, {x,y}), l2)) 1369s assert (isequal (divergence(g3, {x,y,z}), l3)) 1372s ***** error divergence ([1 2], [sym('x')]) 1372s ***** error divergence ([1 2], sym('x'), 42) 1372s 7 tests, 7 passed, 0 known failure, 0 skipped 1372s [inst/@sym/cumsum.m] 1372s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cumsum.m 1372s ***** shared x, y 1372s x = sym ('x'); 1372s y = sym ('y'); 1373s ***** error cumsum (x, 1, 2) 1373s ***** assert (isequal (cumsum ([-x; -2*x; -3*x]), [-x; -3*x; -6*x])) 1374s ***** assert (isequal (cumsum ([x + 2i*y, 2*x + i*y]), [x + 2i*y, 3*x + 3i*y])) 1376s ***** assert (isequal (cumsum ([x, 2*x; 3*x, 4*x], 1), [1*x, 2*x; 4*x, 6*x] )) 1378s ***** assert (isequal (cumsum ([x, 2*x; 3*x, 4*x], 2), [1*x, 3*x; 3*x, 7*x] )) 1379s ***** test cumsum ([x, x], [2, 1]); # ensure behaves like builtin cumsum 1380s ***** test cumsum ([x, x], [1, -2]); # ensure behaves like builtin cumsum 1380s ***** error cumsum (x, []) 1380s ***** error cumsum (x, {1}) 1380s ***** error cumsum (x, struct('a', 1)) 1380s ***** error cumsum (x, x) 1380s ***** error cumsum (x, 0) 1380s ***** error cumsum (x, -1) 1380s 13 tests, 13 passed, 0 known failure, 0 skipped 1380s [inst/@sym/fresnelc.m] 1380s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fresnelc.m 1380s ***** error fresnelc (sym(1), 2) 1380s ***** test 1380s a = fresnelc(sym(0)); 1380s assert (isequal (a, sym(0))) 1380s ***** test 1380s b = fresnelc(sym('oo')); 1380s assert (isequal (b, sym(1)/2)) 1381s ***** test 1381s % values in a matrix 1381s syms x 1381s a = fresnelc([sym(0) sym('oo') x 1]); 1381s b = [sym(0) sym(1)/2 fresnelc(x) fresnelc(sym(1))]; 1381s assert (isequal (a, b)) 1381s ***** test 1381s % round trip 1381s syms x 1381s f = fresnelc (x); 1381s h = function_handle (f); 1381s A = h (1.1); 1381s B = fresnelc (1.1); 1381s assert (A, B) 1382s 5 tests, 5 passed, 0 known failure, 0 skipped 1382s [inst/@sym/mod.m] 1382s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/mod.m 1382s ***** error mod (sym(1), 2, 3 ,4) 1382s ***** assert (isequal (mod (sym(5), 4), sym(1))) 1382s ***** assert (isequal (mod ([sym(5) 8], 4), [1 0] )) 1382s ***** assert (isequal (mod (sym(5), [2 3]), [1 2] )) 1383s ***** assert (isequal (mod ([sym(5) sym(6)], [2 3]), [1 0] )) 1383s ***** test 1383s syms x 1383s assert (isequal ( mod (5*x, 3), 2*x )) 1384s ***** test 1384s syms x 1384s a = [7*x^2 + 3*x + 3 3*x; 13*x^4 6*x]; 1384s assert (isequal ( mod (a,3), [x^2 0; x^4 0] )) 1388s ***** test 1388s % vector of polys with mix of vars: symvar on each 1388s syms x y 1388s a = [6*x 7*y]; 1388s b = mod(a, 4); 1388s c = [2*x 3*y]; 1388s assert (isequal (b, c)) 1390s ***** test 1390s % coeff has variable 1390s syms x 1390s n = sym('n', 'integer'); 1390s p = (3*n + 2)*x; 1390s q = mod(p, 3); 1390s assert (isequal (q, 2*x)) 1391s ***** test 1391s % coeff has variable 1391s syms x a 1391s p = a*x; 1391s q = mod(p, 3); 1391s q = children(q); 1391s q = q(2); % order might be fragile! 1391s w = subs(q, a, 5); 1391s assert (isequal (w, 2)) 1393s ***** test 1393s % different modulo 1393s syms x y 1393s q = mod([5*x + 10 5*y + 10], [2 3]); 1393s assert (isequal (q, [x 2*y + 1])) 1395s 11 tests, 11 passed, 0 known failure, 0 skipped 1395s [inst/@sym/isfinite.m] 1395s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isfinite.m 1395s ***** assert (isfinite(sym(1))) 1395s ***** assert (isfinite(sym(-10))) 1395s ***** assert (~isfinite(sym('oo'))) 1395s ***** assert (~isfinite(sym('-oo'))) 1395s ***** assert (~isfinite(sym(1)/0)) 1395s ***** assert (~isfinite(sym(nan))) 1396s ***** assert (isequal (isfinite (sym ([1 inf])), [true false])) 1396s ***** test 1396s % finite-by-assumption 1396s syms x finite 1396s assert (isfinite (x)) 1396s 8 tests, 8 passed, 0 known failure, 0 skipped 1396s [inst/@sym/tan.m] 1396s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/tan.m 1396s ***** error tan (sym(1), 2) 1396s ***** assert (isequaln (tan (sym(nan)), sym(nan))) 1396s ***** shared x, d 1396s d = 1; 1396s x = sym('1'); 1396s ***** test 1396s f1 = tan(x); 1396s f2 = tan(d); 1396s assert( abs(double(f1) - f2) < 1e-15 ) 1396s ***** test 1396s D = [d d; d d]; 1396s A = [x x; x x]; 1396s f1 = tan(A); 1396s f2 = tan(D); 1396s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1397s ***** test 1397s % round trip 1397s y = sym('y'); 1397s A = tan (d); 1397s f = tan (y); 1397s h = function_handle (f); 1397s B = h (d); 1397s assert (A, B, -eps) 1397s 5 tests, 5 passed, 0 known failure, 0 skipped 1397s [inst/@sym/eye.m] 1397s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/eye.m 1397s ***** test 1397s y = eye(sym(2)); 1397s x = [1 0; 0 1]; 1397s assert( isequal( y, sym(x))) 1397s ***** test 1397s y = eye(sym(2), 1); 1397s x = [1; 0]; 1397s assert( isequal( y, sym(x))) 1398s ***** test 1398s y = eye(sym(1), 2); 1398s x = [1 0]; 1398s assert( isequal( y, sym(x))) 1398s ***** test 1398s y = eye (sym([2 3])); 1398s x = sym (eye ([2 3])); 1398s assert (isequal (y, x)) 1399s ***** assert( isa( eye(sym(2), 'double'), 'double')) 1399s ***** assert( isa( eye(3, sym(3), 'single') , 'single')) 1399s ***** assert( isa( eye(3, sym(3)), 'sym')) 1399s ***** assert( isa( eye(3, sym(3), 'sym'), 'sym')) 1399s ***** xtest 1399s % Issue #13 1399s assert( isa( eye(3, 3, 'sym'), 'sym')) 1399s !!!!! known failure 1399s invalid data type specified 1399s 9 tests, 8 passed, 1 known failure, 0 skipped 1399s [inst/@sym/isequal.m] 1399s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isequal.m 1399s ***** test 1399s a = sym([1 2]); 1399s b = a; 1399s assert (isequal (a, b)) 1399s b(1) = 42; 1399s assert (~isequal (a, b)) 1400s ***** test 1400s a = sym([1 2; 3 4]); 1400s b = a; 1400s assert (isequal (a, b)) 1400s b(1) = 42; 1400s assert (~isequal (a, b)) 1400s ***** test 1400s a = sym([nan; 2]); 1400s b = a; 1400s assert (~isequal (a, b)) 1400s ***** test 1400s % proper nan treatment 1400s a = sym([nan 2; 3 4]); 1400s b = a; 1400s assert (~isequal (a, b)) 1400s ***** test 1400s % more than two arrays 1400s a = sym([1 2 3]); 1400s b = a; 1400s c = a; 1400s assert (isequal (a, b, c)) 1400s c(1) = 42; 1400s assert (~isequal (a, b, c)) 1401s 5 tests, 5 passed, 0 known failure, 0 skipped 1401s [inst/@sym/ellipke.m] 1401s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipke.m 1401s ***** error ellipke (sym(1), 2) 1401s ***** test 1401s for i = 2:10 1401s [K E] = ellipke (sym (1)/i); 1401s [k e] = ellipke (1/i); 1401s assert (double ([K E]), [k e], 2*eps) 1401s end 1409s 2 tests, 2 passed, 0 known failure, 0 skipped 1409s [inst/@sym/coeffs.m] 1409s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/coeffs.m 1409s ***** error coeffs (sym(1), 2, 3, 4) 1409s ***** error coeffs (sym(1), 2, 'al') 1409s ***** error coeffs (sym(1), 'al') 1409s ***** test 1409s % simple 1409s syms x 1409s [c, t] = coeffs(6*x*x + 27); 1409s assert (isequal (c, [6 27])) 1409s assert (isequal (t, [x*x 1])) 1410s ***** test 1410s % specify a variable 1410s syms x 1410s [c, t] = coeffs(6*x*x + 27, x); 1410s assert (isequal (c, [6 27])) 1410s assert (isequal (t, [x*x 1])) 1410s ***** test 1410s % specify another variable 1410s syms x y 1410s [c, t] = coeffs(6*x + 27, y); 1410s assert (isequal (c, 6*x + 27)) 1410s assert (isequal (t, 1)) 1411s ***** test 1411s % weird SMT order 1411s syms x 1411s a1 = [27 6]; 1411s a2 = [6 27]; 1411s c = coeffs(6*x*x + 27); 1411s assert (isequal (c, a1)) 1411s coeffs(6*x*x + 27); 1411s assert (isequal (ans, a1)) 1411s [c, t] = coeffs(6*x*x + 27); 1411s assert (isequal (c, a2)) 1413s ***** test 1413s % no weird order with "all" 1413s syms x 1413s c = coeffs(6*x*x + 27, 'all'); 1413s assert (isequal (c, [6 0 27])) 1414s ***** test 1414s % "all" 1414s syms x 1414s [c, t] = coeffs(6*x*x + 27, 'all'); 1414s assert (isequal (c, [6 0 27])) 1414s assert (isequal (t, [x^2 x 1])) 1415s ***** test 1415s % "All" 1415s syms x 1415s [c, t] = coeffs(6*x, 'All'); 1415s assert (isequal (c, [6 0])) 1415s assert (isequal (t, [x 1])) 1415s ***** test 1415s % multivariable array 1415s syms x y 1415s [c, t] = coeffs(6*x*x + 27*y*x + 36, [x y]); 1415s a = [6 27 36]; 1415s s = [x^2 x*y 1]; 1415s assert (isequal (c, a)) 1415s assert (isequal (t, s)) 1415s % with list 1415s [c, t] = coeffs(6*x*x + 27*y*x + 36, {x y}); 1415s assert (isequal (c, a)) 1415s assert (isequal (t, s)) 1417s ***** test 1417s % other symbols treated as part of coeffs 1417s syms x y 1417s [c, t] = coeffs(6*x*x + 27*y*x + 36, x); 1417s a = [6 27*y 36]; 1417s s = [x^2 x 1]; 1417s assert (isequal (c, a)) 1417s assert (isequal (t, s)) 1419s ***** error 1419s % TODO: multivariate all not working (https://github.com/cbm755/octsympy/issues/720) 1419s syms x y 1419s [c, t] = coeffs(6*x^2 + 7*y + 19, [x y], 'all'); 1419s ***** test 1419s % empty same as not specifying; maybe not SMT compatible: 1419s % https://github.com/cbm755/octsympy/pull/708#discussion_r94292831 1419s syms x y 1419s [c, t] = coeffs(6*x*x + 27*y*x + 36, {}); 1419s a = [6 27 36]; 1419s assert (isequal (c, a)) 1419s [c, t] = coeffs(6*x*x + 27*y*x + 36); 1419s assert (isequal (c, a)) 1421s ***** test 1421s % no input defaults to all symbols (not symvar to get x) 1421s syms x y 1421s [c, t] = coeffs(6*x*x + 27*y*x + 36); 1421s assert (isequal (c, [6 27 36])) 1422s ***** test 1422s % non sym input 1422s syms x 1422s assert (isequal (coeffs(6, x), sym(6))) 1423s ***** test 1423s % constant input without x 1423s assert (isequal (coeffs(sym(6)), sym(6))) 1423s ***** test 1423s % constant input without x 1423s assert (isequal (coeffs (sym(6), {}), sym(6))) 1423s % irrational coefficients 1423s syms x 1423s f = x^2 + sqrt(sym(2))*x; 1423s [c1, t1] = coeffs (f); 1423s [c2, t2] = coeffs (f, x); 1423s assert (isequal (c1, c2)) 1423s assert (isequal (t1, t2)) 1424s 18 tests, 18 passed, 0 known failure, 0 skipped 1424s [inst/@sym/gradient.m] 1424s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/gradient.m 1424s ***** shared x,y,z 1424s syms x y z 1424s ***** test 1424s % 1D 1424s f = x^2; 1424s assert (isequal (gradient(f), diff(f,x))) 1424s assert (isequal (gradient(f,{x}), diff(f,x))) 1424s assert (isequal (gradient(f,[x]), diff(f,x))) 1424s assert (isequal (gradient(f,x), diff(f,x))) 1425s ***** test 1425s % const 1425s f = sym(1); 1425s g = sym(0); 1425s assert (isequal (gradient(f), g)) 1425s assert (isequal (gradient(f,x), g)) 1425s ***** test 1425s % double const 1425s f = 1; 1425s g = sym(0); 1425s assert (isequal (gradient(f,x), g)) 1426s ***** test 1426s % 1D fcn in 2d/3d 1426s f = sin(y); 1426s assert (isequal (gradient(f), diff(f,y))) 1426s assert (isequal (gradient(f, {x,y}), [sym(0); diff(f,y)])) 1426s assert (isequal (gradient(f, [x y]), [sym(0); diff(f,y)])) 1426s assert (isequal (size (gradient(f, {x,y})), [2 1])) 1426s assert (isequal (gradient(f, {x,y,z}), [0; diff(f,y); 0])) 1426s assert (isequal (gradient(f, [x y z]), [0; diff(f,y); 0])) 1426s assert (isequal (size (gradient(f, {x,y,z})), [3 1])) 1427s ***** test 1427s % grad is column vector 1427s f = sin(y); 1427s assert (isequal (size (gradient(f, {x,y})), [2 1])) 1427s assert (isequal (size (gradient(f, {x,y,z})), [3 1])) 1427s assert (isequal (size (gradient(f, [x y])), [2 1])) 1427s assert (isequal (size (gradient(f, [x;y])), [2 1])) 1428s ***** test 1428s % 2d fcn in 2d/3d 1428s f = sin(exp(x)*y); 1428s g2 = [diff(f,x); diff(f,y)]; 1428s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 1428s assert (isequal (gradient(f), g2)) 1428s assert (isequal (gradient(f, {x,y}), g2)) 1428s assert (isequal (gradient(f, {x,y,z}), g3)) 1429s ***** test 1429s % 2d fcn in 2d/3d 1429s f = sin(exp(x)*y+sinh(z)); 1429s g2 = [diff(f,x); diff(f,y)]; 1429s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 1429s assert (isequal (gradient(f), g3)) 1429s assert (isequal (gradient(f, {x,y}), g2)) 1429s assert (isequal (gradient(f, {x,y,z}), g3)) 1431s ***** error gradient(sym('x'), 42, 42) 1431s ***** error gradient([sym('x') sym('x')]) 1431s 9 tests, 9 passed, 0 known failure, 0 skipped 1431s [inst/@sym/any.m] 1431s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/any.m 1431s ***** test 1431s % matrix 1431s a = [0 0; 1 0]; 1431s s = sym(a); 1431s assert (isequal (any (s), any (a))) 1431s assert (isequal (any (s,1), any (a,1))) 1431s assert (isequal (any (s,2), any (a,2))) 1431s ***** test 1431s % vector 1431s a = [0 1 0]; 1431s s = sym(a); 1431s assert (isequal (any (s), any (a))) 1431s assert (isequal (any (s,1), any (a,1))) 1431s assert (isequal (any (s,2), any (a,2))) 1432s ***** test 1432s % should fail on symbols 1432s syms x 1432s s = [0 1 x]; 1432s try 1432s any (s) 1432s waserr = false; 1432s catch 1432s waserr = true; 1432s end 1432s assert (waserr) 1432s 3 tests, 3 passed, 0 known failure, 0 skipped 1432s [inst/@sym/xor.m] 1432s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/xor.m 1432s ***** shared t, f 1432s t = sym(true); 1432s f = sym(false); 1432s ***** test 1432s % simple 1432s assert (isequal (xor(t, f), t)) 1432s assert (isequal (xor(t, t), f)) 1432s ***** test 1432s % array 1432s w = [t t f f]; 1432s z = [t f t f]; 1432s assert (isequal (xor(w, z), [f t t f])) 1432s ***** xtest 1432s % output is sym even for scalar t/f 1432s % ₣IXME: should match other bool fcns 1432s assert (isa (xor(t, f), 'sym')) 1433s ***** test 1433s % eqns 1433s syms x 1433s e = xor(x == 4, x == 5); 1433s assert (isequal (subs(e, x, [3 4 5 6]), [f t t f])) 1433s ***** test 1433s % eqns, exclusive 1433s syms x 1433s e = xor(x == 3, x^2 == 9); 1433s assert (isequal (subs(e, x, [-3 0 3]), [t f f])) 1434s ***** error xor (sym('x'), 1, 2) 1434s 6 tests, 6 passed, 0 known failure, 0 skipped 1434s [inst/@sym/diff.m] 1434s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/diff.m 1434s ***** shared x,y,z 1434s syms x y z 1434s ***** test 1434s % basic 1434s assert(logical( diff(sin(x)) - cos(x) == 0 )) 1434s assert(logical( diff(sin(x),x) - cos(x) == 0 )) 1434s assert(logical( diff(sin(x),x,x) + sin(x) == 0 )) 1435s ***** test 1435s % these fail when doubles are not converted to sym 1435s assert(logical( diff(sin(x),x,2) + sin(x) == 0 )) 1435s assert(logical( diff(sym(1),x) == 0 )) 1435s assert(logical( diff(1,x) == 0 )) 1435s assert(logical( diff(pi,x) == 0 )) 1436s ***** test 1436s % symbolic diff of const (w/o variable) fails in sympy, but we work around 1436s assert (isequal (diff(sym(1)), sym(0))) 1437s ***** test 1437s % nth symbolic diff of const 1437s assert (isequal (diff(sym(1), 2), sym(0))) 1437s assert (isequal (diff(sym(1), sym(1)), sym(0))) 1437s ***** test 1437s % octave's vector difference still works 1437s assert(isempty(diff(1))) 1437s assert((diff([2 6]) == 4)) 1437s ***** test 1437s % other forms 1437s f = sin(x); 1437s g = diff(f,x,2); 1437s assert (isequal (diff(f,2), g)) 1437s assert (isequal (diff(f,sym(2)), g)) 1437s g = diff(f,x); 1437s assert (isequal (diff(f), g)) 1437s assert (isequal (diff(f,1), g)) 1439s ***** test 1439s % old SMT supported (still does?) the 'n' before the 'x' 1439s % we might remove this someday, no longer seems documented in SMT 1439s f = sin(x); 1439s g = diff(f,x,2); 1439s assert (isequal (diff(f,2,x), g)) 1439s assert (isequal (diff(f,sym(2),x), g)) 1439s g = diff(f,x); 1439s assert (isequal (diff(f,1,x), g)) 1439s ***** test 1439s % matrix 1439s A = [x sin(x); x*y 10]; 1439s B = [1 cos(x); y 0]; 1439s assert(isequal(diff(A,x),B)) 1440s ***** test 1440s % bug: use symvar 1440s a = x*y; 1440s b = diff(a); 1440s assert (isequal (b, y)) 1440s ***** test 1440s % bug: symvar should be used on the matrix, not comp-by-comp 1440s a = [x y x*x]; 1440s b = diff(a); 1440s assert (~isequal (b(2), 1)) 1440s assert (isequal (b, [1 0 2*x])) 1440s b = diff(a,1); 1440s assert (~isequal (b(2), 1)) 1440s assert (isequal (b, [1 0 2*x])) 1442s 10 tests, 10 passed, 0 known failure, 0 skipped 1442s [inst/@sym/uminus.m] 1442s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/uminus.m 1442s ***** test 1442s % scalar 1442s syms x 1442s assert (isa (-x, 'sym')) 1442s assert (isequal (-(-x), x)) 1442s ***** test 1442s % matrix 1442s D = [0 1; 2 3]; 1442s A = sym(D); 1442s assert( isequal( -A, -D )) 1442s 2 tests, 2 passed, 0 known failure, 0 skipped 1442s [inst/@sym/diag.m] 1442s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/diag.m 1442s ***** test 1442s % scalar 1442s syms x 1443s assert (isequal (diag(x), x)) 1443s ***** test 1443s % row,col vec input 1443s syms x 1443s r = [1 x 2]; 1443s c = [sym(1); x]; 1443s assert (isequal (diag(diag(c)), c)) 1443s assert (isequal (diag(c), [sym(1) 0; 0 x])) 1443s assert (isequal (diag(diag(r)), r.')) 1443s assert (isequal (diag(r), [sym(1) 0 0; 0 x 0; sym(0) 0 2])) 1444s ***** test 1444s % create matrix, kth diag 1444s syms x 1444s r = [1 x]; 1444s z = sym(0); 1444s assert (isequal (diag (x, 0), x)) 1444s assert (isequal (diag (x, 1), [z x; z z])) 1444s assert (isequal (diag (x, -1), [z z; x z])) 1444s assert (isequal (diag (x, 2), [z z x; z z z; z z z])) 1444s assert (isequal (diag (r, 1), [z 1 z; z z x; z z z])) 1446s ***** test 1446s % extract kth diag 1446s A = sym([1 2 3; 4 5 6]); 1446s assert (isequal (diag(A), sym([1; 5]))) 1446s assert (isequal (diag(A, 0), sym([1; 5]))) 1446s assert (isequal (diag(A, 1), sym([2; 6]))) 1446s assert (isequal (diag(A, 2), sym(3))) 1446s assert (isequal (diag(A, -1), sym(4))) 1446s assert (isempty (diag(A, -2))) 1446s assert (isempty (diag(A, 3))) 1447s 4 tests, 4 passed, 0 known failure, 0 skipped 1447s [inst/@sym/abs.m] 1447s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/abs.m 1447s ***** error abs (sym(1), 2) 1447s ***** assert (isequaln (abs (sym(nan)), sym(nan))) 1448s ***** shared x, d 1448s d = -1; 1448s x = sym('-1'); 1448s ***** test 1448s f1 = abs(x); 1448s f2 = abs(d); 1448s assert( abs(double(f1) - f2) < 1e-15 ) 1448s ***** test 1448s D = [d d; d d]; 1448s A = [x x; x x]; 1448s f1 = abs(A); 1448s f2 = abs(D); 1448s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1448s ***** test 1448s % round trip 1448s y = sym('y'); 1448s A = abs (d); 1448s f = abs (y); 1448s h = function_handle (f); 1448s B = h (d); 1448s assert (A, B, -eps) 1449s 5 tests, 5 passed, 0 known failure, 0 skipped 1449s [inst/@sym/numden.m] 1449s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/numden.m 1449s ***** error numden (sym(1), 2) 1449s ***** test 1449s syms x 1449s [n, d] = numden (1/x); 1449s assert (isequal (n, sym(1)) && isequal (d, x)) 1449s ***** test 1449s syms x y 1449s n1 = [sym(1); x]; 1449s d1 = [x; y]; 1449s [n, d] = numden (n1 ./ d1); 1449s assert (isequal (n, n1) && isequal (d, d1)) 1450s ***** test 1450s [n, d] = numden (sym(2)); 1450s assert (isequal (n, 2)); 1450s assert (isequal (d, 1)); 1450s ***** test 1450s syms x y 1450s [n, d] = numden ((x + pi)/(y + 6)); 1450s assert (isequal (n, x + pi)); 1450s assert (isequal (d, y + 6)); 1451s ***** test 1451s syms x y 1451s [n, d] = numden ((x^2 + y^2)/(x*y)); 1451s assert (isequal (n, x^2 + y^2)); 1451s assert (isequal (d, x*y)); 1452s 6 tests, 6 passed, 0 known failure, 0 skipped 1452s [inst/@sym/ezcontour.m] 1452s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ezcontour.m 1452s ***** error 1452s syms x y z 1452s ezcontour (x*y*z) 1452s 1 test, 1 passed, 0 known failure, 0 skipped 1452s [inst/@sym/iscolumn.m] 1452s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/iscolumn.m 1452s ***** assert (iscolumn (sym ([1]))) 1452s ***** assert (iscolumn (sym ([1 2 3]'))) 1452s ***** assert (~iscolumn (sym ([]))) 1452s ***** assert (~iscolumn (sym ([1 2 3]))) 1452s ***** assert (~iscolumn (sym ([1 2; 3 4]))) 1453s 5 tests, 5 passed, 0 known failure, 0 skipped 1453s [inst/@sym/isinf.m] 1453s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isinf.m 1453s ***** shared x,zoo,oo,snan 1453s oo = sym(inf); 1453s zoo = sym('zoo'); 1453s x = sym('x'); 1453s snan = sym(nan); 1453s ***** test 1453s % various ops that give inf and nan 1453s assert (isinf(oo)) 1453s assert (isinf(zoo)) 1453s assert (isinf(oo+oo)) 1453s assert (~isinf(oo+zoo)) 1453s assert (~isinf(0*oo)) 1453s assert (~isinf(0*zoo)) 1453s assert (~isinf(snan)) 1453s assert (~isinf(oo-oo)) 1453s assert (~isinf(oo-zoo)) 1453s ***** test 1453s % arrays 1453s assert (isequal( isinf([oo zoo]), [1 1] )) 1453s assert (isequal( isinf([oo 1]), [1 0] )) 1453s assert (isequal( isinf([10 zoo]), [0 1] )) 1453s assert (isequal( isinf([x oo x]), [0 1 0] )) 1454s ***** test 1454s % Must not contain string 'symbol'; these all should make an 1454s % actual infinity. Actually a ctor test, not isinf. 1454s % IIRC, SMT in Matlab 2013b fails. 1454s oo = sym(inf); 1454s assert (isempty (strfind (sympy (oo), 'Symbol'))) 1454s oo = sym(-inf); 1454s assert (isempty (strfind (sympy (oo), 'Symbol'))) 1454s oo = sym('inf'); 1454s assert (isempty (strfind (sympy (oo), 'Symbol'))) 1454s oo = sym('-inf'); 1454s assert (isempty (strfind (sympy (oo), 'Symbol'))) 1454s oo = sym('Inf'); 1454s assert (isempty (strfind (sympy (oo), 'Symbol'))) 1454s ***** test 1454s % ops with infinity shouldn't collapse 1454s syms x oo zoo 1454s y = x + oo; 1454s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 1454s y = x - oo; 1454s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 1454s y = x - zoo; 1454s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 1454s y = x*oo; 1454s assert (~isempty (strfind (lower (sympy (y)), 'mul') )) 1454s ***** test 1454s % ops with infinity are not necessarily infinite 1454s syms x oo zoo 1454s y = x + oo; 1454s assert(~isinf(y)) % SMT 2014a says "true", I disagree 1454s y = x - zoo; 1454s assert(~isinf(y)) 1454s y = x*oo; 1454s assert(~isinf(y)) 1455s 5 tests, 5 passed, 0 known failure, 0 skipped 1455s [inst/@sym/equationsToMatrix.m] 1455s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/equationsToMatrix.m 1455s ***** test 1455s syms x y z 1455s [A, B] = equationsToMatrix ([x + y - z == 1, 3*x - 2*y + z == 3, 4*x - 2*y + z + 9 == 0], [x, y, z]); 1455s a = sym ([1 1 -1; 3 -2 1; 4 -2 1]); 1455s b = sym ([1; 3; -9]); 1455s assert (isequal (A, a)) 1455s assert (isequal (B, b)) 1457s ***** test 1457s syms x y z 1457s A = equationsToMatrix ([3*x + -3*y - 5*z == 9, 4*x - 7*y + -3*z == -1, 4*x - 9*y - 3*z + 2 == 0], [x, y, z]); 1457s a = sym ([3 -3 -5; 4 -7 -3; 4 -9 -3]); 1457s assert (isequal (A, a)) 1460s ***** test 1460s syms x y 1460s [A, B] = equationsToMatrix ([3*x + 9*y - 5 == 0, -8*x - 3*y == -2]); 1460s a = sym ([3 9; -8 -3]); 1460s b = sym ([5; -2]); 1460s assert (isequal (A, a)) 1460s assert (isequal (B, b)) 1462s ***** test 1462s % override symvar order 1462s syms x y 1462s [A, B] = equationsToMatrix ([3*x + 9*y - 5 == 0, -8*x - 3*y == -2], [y x]); 1462s a = sym ([9 3; -3 -8]); 1462s b = sym ([5; -2]); 1462s assert (isequal (A, a)) 1462s assert (isequal (B, b)) 1463s ***** test 1463s syms x y z 1463s [A, B] = equationsToMatrix ([x - 9*y + z == -5, -9*y*z == -5], [y, x]); 1463s a = sym ([[-9 1]; -9*z 0]); 1463s b = sym ([-5 - z; -5]); 1463s assert (isequal (A, a)) 1463s assert (isequal (B, b)) 1465s ***** test 1465s syms x y 1465s [A, B] = equationsToMatrix (-6*x + 4*y == 5, 4*x - 4*y - 5, x, y); 1465s a = sym ([-6 4; 4 -4]); 1465s b = sym ([5; 5]); 1465s assert (isequal (A, a)) 1465s assert (isequal (B, b)) 1466s ***** test 1466s % vertical list of equations 1466s syms x y 1466s [A, B] = equationsToMatrix ([-6*x + 4*y == 5; 4*x - 4*y - 5], [x y]); 1466s a = sym ([-6 4; 4 -4]); 1466s b = sym ([5; 5]); 1466s assert (isequal (A, a)) 1466s assert (isequal (B, b)) 1468s ***** test 1468s syms x y 1468s [A, B] = equationsToMatrix (5*x == 1, y, x - 6*y - 7, y); 1468s a = sym ([0; 1; -6]); 1468s b = sym ([1 - 5*x; 0; -x + 7]); 1468s assert (isequal (A, a)) 1468s assert (isequal (B, b)) 1469s ***** error 1469s syms x y 1469s [A, B] = equationsToMatrix (x^2 + y^2 == 1, x - y + 1, x, y); 1470s ***** test 1470s % single equation 1470s syms x 1470s [A, B] = equationsToMatrix (3*x == 2, x); 1470s a = sym (3); 1470s b = sym (2); 1470s assert (isequal (A, a)) 1470s assert (isequal (B, b)) 1471s ***** test 1471s % single equation w/ symvar 1471s syms x 1471s [A, B] = equationsToMatrix (3*x == 2); 1471s a = sym (3); 1471s b = sym (2); 1471s assert (isequal (A, a)) 1471s assert (isequal (B, b)) 1471s ***** error 1471s syms x 1471s equationsToMatrix (3*x == 2, [x x]) 1471s 12 tests, 12 passed, 0 known failure, 0 skipped 1471s [inst/@sym/subsref.m] 1472s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/subsref.m 1472s ***** shared a,b 1472s b = [1:4]; 1472s a = sym(b); 1472s ***** assert(isequal( a(1), b(1) )) 1472s ***** assert(isequal( a(2), b(2) )) 1472s ***** assert(isequal( a(4), b(4) )) 1472s ***** assert(isempty( a([]) )) 1472s ***** shared a,b 1472s b = [1:4]; b = [b; 3*b; 5*b]; 1472s a = sym(b); 1473s ***** assert(isequal( a(1), b(1) )) 1473s ***** assert(isequal( a(2), b(2) )) 1473s ***** assert(isequal( a(4), b(4) )) 1473s ***** assert(isequal( a(:,:), a )) 1474s ***** assert(isequal( a(1:2,1:3), a(1:2,1:3) )) 1474s ***** assert(isequal( a(1:2:3,[1 2 4]), b(1:2:3,[1 2 4]) )) 1474s ***** assert(isequal( a(1:2:3,[4 2 3 1]), b(1:2:3,[4 2 3 1]) )) 1475s ***** assert(isequal( a(1:2:3,[4 1 1 1]), b(1:2:3,[4 1 1 1]) )) 1475s ***** assert(isequal( a([],:), b([],:) )) 1476s ***** assert(isequal( size(a([],:)), [0 4] )) 1476s ***** assert(isequal( a(1:2,[]), b(1:2,[]) )) 1476s ***** assert(isequal( size(a(1:2,[])), [2 0] )) 1476s ***** assert(isempty( a(1:2,[]) )) 1476s ***** assert(isempty( a([],[]) )) 1476s ***** assert(isequal( a([],[]), sym([]) )) 1476s ***** assert(~isequal( a(1:2,[]), sym([]) )) 1476s ***** shared e 1476s e = sym([1 3 5; 2 4 6]); 1476s ***** assert(isequal( e(:), sym((1:6)') )) 1477s ***** assert(isequal( e([1 2 3]), sym([1 2 3]) )) 1477s ***** assert(isequal( e([1; 3; 4]), sym([1; 3; 4]) )) 1478s ***** assert(isempty( e([]) )) 1478s ***** assert(isempty( e('') )) 1478s ***** assert(isequal( e([]), sym([]) )) 1478s ***** shared a,b 1478s b = 1:5; a = sym(b); 1478s ***** assert(isequal( a([1 2 5]), b([1 2 5]) )) 1479s ***** assert(isequal( a([1; 2; 5]), b([1; 2; 5]) )) 1479s ***** shared x 1479s syms x 1479s ***** test 1479s % logical with empty result 1479s assert(isempty( x(false) )) 1479s a = [x x]; 1479s assert(isempty( a([false false]) )) 1479s ***** test 1479s % issue 18, scalar access 1479s assert(isequal( x(1), x )) 1479s assert(isequal( x(true), x )) 1479s ***** shared 1479s ***** test 1479s % older access tests 1479s syms x 1479s f = [x 2; 3 4*x]; 1479s % element access 1479s assert (logical( f(1,1) == x )) 1479s assert (logical( f(1,2) == 2 )) 1479s % linear access of 2d array 1479s assert (logical( f(1) == x )) 1479s assert (logical( f(2) == 3 )) % column based 1479s assert (logical( f(3) == 2 )) 1481s ***** shared a,b 1481s % effectively a random matrix 1481s a = reshape( round(50*(sin(1:20)+1)), 5,4); 1481s b = sym(a); 1482s ***** test 1482s % older array refs test 1482s assert (logical(b(1,1) == a(1,1))) 1482s assert (logical(b(3,1) == a(3,1))) 1482s assert (logical(b(1,3) == a(1,3))) 1482s assert (logical(b(4,4) == a(4,4))) 1482s ***** test 1482s % older array refs test: linear indices 1482s assert (logical(b(1) == a(1))) 1482s assert (logical(b(3) == a(3))) 1482s assert (logical(b(13) == a(13))) 1483s ***** test 1483s % older array refs test: end 1483s assert (all(all(logical( b(end,1) == a(end,1) )))) 1483s assert (all(all(logical( b(2,end) == a(2,end) )))) 1483s assert (all(all(logical( b(end,end) == a(end,end) )))) 1483s assert (all(all(logical( b(end-1,1) == a(end-1,1) )))) 1483s assert (all(all(logical( b(2,end-1) == a(2,end-1) )))) 1483s assert (all(all(logical( b(end-1,end-1) == a(end-1,end-1) )))) 1484s ***** shared 1484s ***** test 1484s % older slicing tests 1484s syms x 1484s a = [1 2 3 4 5 6]; a = [a; 3*a; 5*a; 2*a; 4*a]; 1484s b = sym(a); 1484s assert (isequal( b(:,1), a(:,1) )) 1484s assert (isequal( b(:,2), a(:,2) )) 1484s assert (isequal( b(1,:), a(1,:) )) 1484s assert (isequal( b(2,:), a(2,:) )) 1484s assert (isequal( b(:,:), a(:,:) )) 1484s assert (isequal( b(1:3,2), a(1:3,2) )) 1484s assert (isequal( b(1:4,:), a(1:4,:) )) 1484s assert (isequal( b(1:2:5,:), a(1:2:5,:) )) 1484s assert (isequal( b(1:2:4,:), a(1:2:4,:) )) 1484s assert (isequal( b(2:2:4,3), a(2:2:4,3) )) 1484s assert (isequal( b(2:2:4,3), a(2:2:4,3) )) 1492s ***** test 1492s % 2D arrays 1492s b = [1:4]; b = [b; 3*b; 5*b]; 1492s a = sym(b); 1492s I = rand(size(b)) > 0.5; 1492s assert (isequal (a(I), b(I))) 1492s I = I(:); 1492s assert (isequal (a(I), b(I))) 1492s I = I'; 1492s assert (isequal (a(I), b(I))) 1492s I = logical(zeros(size(b))); 1492s assert (isequal (a(I), b(I))) 1495s ***** test 1495s % 1D arrays, does right with despite warning 1495s r = [1:6]; 1495s ar = sym(r); 1495s c = r'; 1495s ac = sym(c); 1495s Ir = rand(size(r)) > 0.5; 1495s Ic = rand(size(c)) > 0.5; 1495s assert (isequal (ar(Ir), r(Ir))) 1495s assert (isequal (ac(Ic), c(Ic))) 1495s assert (isequal (ar(Ic), r(Ic))) 1495s assert (isequal (ac(Ir), c(Ir))) 1497s ***** test 1497s % rccross tests 1497s B = [1 2 3 4; 5 6 7 9; 10 11 12 13]; 1497s A = sym(B); 1497s assert (isequal (A([1 3],[2 3]), B([1 3], [2 3]) )) 1497s assert (isequal (A(1,[2 3]), B(1,[2 3]) )) 1497s assert (isequal (A([1 2],4), B([1 2],4) )) 1497s assert (isequal (A([2 1],[4 2]), B([2 1],[4 2]) )) 1497s assert (isequal (A([],[]), B([],[]) )) 1499s ***** error 1499s % issue #445 1499s A = sym([10 11]); 1499s A(1.1) 1499s ***** error 1499s % issue #445 1499s A = sym([10 11]); 1499s A(sym(4)/3) 1499s ***** error 1499s % issue #445 1499s A = sym([1 2; 3 4]); 1499s A(1.1, 1) 1500s ***** error 1500s % issue #445 1500s A = sym([1 2; 3 4]); 1500s A(1, sym(4)/3) 1500s ***** error 1500s A = sym([1 2; 3 4]); 1500s A(5) 1500s ***** shared a, b 1500s a = [1 2 3 5; 4 5 6 9; 7 5 3 2]; 1500s b = sym (a); 1501s ***** test 1501s c = true; 1501s assert (isequal (a(c), b(c))) 1501s c = false; 1501s assert (isequal (a(c), b(c))) 1501s ***** test 1501s c = [false true]; 1501s assert (isequal (a(c), b(c))) 1501s d = c | true; 1501s assert (isequal (a(d), b(d))) 1501s d = c & false; 1501s assert (isequal (a(d), b(d))) 1502s ***** test 1502s c = [false true false true; true false true false; false true false true]; 1502s assert (isequal (a(c), b(c))) 1502s d = c | true; 1502s assert (isequal (a(d), b(d))) 1502s d = c & false; 1502s assert (isequal (a(d), b(d))) 1503s ***** test 1503s c = [false true false true false]; 1503s assert (isequal (a(c), b(c))) 1503s d = c | true; 1503s assert (isequal (a(d), b(d))) 1503s d = c & false; 1503s assert (isequal (a(d), b(d))) 1504s ***** test 1504s c = [false; true; false; true; false]; 1504s assert (isequal (a(c), b(c))) 1504s d = c | true; 1504s assert (isequal (a(d), b(d))) 1504s d = c & false; 1504s assert (isequal (a(d), b(d))) 1505s ***** test 1505s c = [false true; false true; true false]; 1505s assert (isequal (a(c), b(c))) 1505s d = c | true; 1505s assert (isequal (a(d), b(d))) 1505s d = c & false; 1505s assert (isequal (a(d), b(d))) 1506s ***** shared 1506s ***** test 1506s % Orientation of empty results of logical indexing on row or column vectors 1506s r = [1:6]; 1506s c = r'; 1506s ar = sym(r); 1506s ac = sym(c); 1506s assert (isequal (ar(false), r(false))) 1506s assert (isequal (ac(false), c(false))) 1506s assert (isequal (ar(false (1, 6)), r(false (1, 6)))) 1506s assert (isequal (ac(false (1, 6)), c(false (1, 6)))) 1506s assert (isequal (ar(false (6, 1)), r(false (6, 1)))) 1506s assert (isequal (ac(false (6, 1)), c(false (6, 1)))) 1507s 50 tests, 50 passed, 0 known failure, 0 skipped 1507s [inst/@sym/fourier.m] 1507s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fourier.m 1507s ***** test 1507s % matlab SMT compatibiliy for arguments 1507s syms r x u w v 1507s Pi=sym('pi'); 1507s assert(logical( fourier(exp(-x^2)) == sqrt(Pi)/exp(w^2/4) )) 1507s assert(logical( fourier(exp(-w^2)) == sqrt(Pi)/exp(v^2/4) )) 1507s assert(logical( fourier(exp(-r^2),u) == sqrt(Pi)/exp(u^2/4) )) 1507s assert(logical( fourier(exp(-r^2),r,u) == sqrt(Pi)/exp(u^2/4) )) 1519s ***** test 1519s % basic tests 1519s syms x w 1519s assert(logical( fourier(exp(-abs(x))) == 2/(w^2 + 1) )) 1519s assert(logical( fourier(x*exp(-abs(x))) == -(w*4*1i)/(w^4 + 2*w^2 + 1) )) 1523s ***** test 1523s % Dirac delta tests 1523s syms x w 1523s Pi=sym('pi'); 1523s assert(logical( fourier(dirac(x-2)) == exp(-2*1i*w) )) 1523s assert (logical( fourier(sym(2), x, w) == 4*Pi*dirac(w) )) 1525s ***** test 1525s % advanced test 1525s syms x w c d 1525s Pi=sym('pi'); 1525s F=Pi*(dirac(w-c)+dirac(w+c))+2*Pi*1i*(dirac(w+3*d)-dirac(w-3*d))+2/(w^2+1); 1525s assert(logical( fourier(cos(c*x)+2*sin(3*d*x)+exp(-abs(x))) == expand(F) )) 1529s ***** xtest 1529s % Differential operator to algebraic 1529s % SymPy cannot evaluate? (Issue #170) 1529s syms x w f(x) 1529s assert(logical( fourier(diff(f(x),x),x,w) == -1i*w*fourier(f(x),x,w) )) 1533s !!!!! known failure 1533s assert (logical (fourier (diff (f (x), x), x, w) == -1i * w * fourier (f (x), x, w))) failed 1533s 5 tests, 4 passed, 1 known failure, 0 skipped 1533s [inst/@sym/tanh.m] 1533s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/tanh.m 1533s ***** error tanh (sym(1), 2) 1533s ***** assert (isequaln (tanh (sym(nan)), sym(nan))) 1533s ***** shared x, d 1533s d = 1; 1533s x = sym('1'); 1533s ***** test 1533s f1 = tanh(x); 1533s f2 = tanh(d); 1533s assert( abs(double(f1) - f2) < 1e-15 ) 1533s ***** test 1533s D = [d d; d d]; 1533s A = [x x; x x]; 1533s f1 = tanh(A); 1533s f2 = tanh(D); 1533s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1534s ***** test 1534s % round trip 1534s y = sym('y'); 1534s A = tanh (d); 1534s f = tanh (y); 1534s h = function_handle (f); 1534s B = h (d); 1534s assert (A, B, -eps) 1535s 5 tests, 5 passed, 0 known failure, 0 skipped 1535s [inst/@sym/zeros.m] 1535s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/zeros.m 1535s ***** test 1535s y = zeros(sym(2)); 1535s x = [0 0; 0 0]; 1535s assert( isequal( y, sym(x))) 1535s ***** test 1535s y = zeros(sym(2), 1); 1535s x = [0; 0]; 1535s assert( isequal( y, sym(x))) 1535s ***** test 1535s y = zeros(sym(1), 2); 1535s x = [0 0]; 1535s assert( isequal( y, sym(x))) 1536s ***** test 1536s y = zeros (sym([2 3])); 1536s x = sym (zeros ([2 3])); 1536s assert (isequal (y, x)) 1536s ***** assert( isa( zeros(sym(2), 'double'), 'double')) 1536s ***** assert( isa( zeros(3, sym(3), 'single') , 'single')) 1536s ***** assert( isa( zeros(3, sym(3)), 'sym')) 1537s ***** assert( isa( zeros(3, sym(3), 'sym'), 'sym')) 1537s ***** xtest 1537s % Issue #13 1537s assert( isa( zeros(3, 3, 'sym'), 'sym')) 1537s !!!!! known failure 1537s invalid data type specified 1537s 9 tests, 8 passed, 1 known failure, 0 skipped 1537s [inst/@sym/intersect.m] 1537s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/intersect.m 1537s ***** test 1537s A = sym([1 2 3]); 1537s B = sym([1 2 4]); 1537s C = intersect(A, B); 1537s D = sym([1 2]); 1537s assert (isequal (C, D)) 1538s ***** test 1538s % one nonsym 1538s A = sym([1 2 3]); 1538s B = [1 2 4]; 1538s C = intersect(A, B); 1538s D = sym([1 2]); 1538s assert (isequal (C, D)) 1538s ***** test 1538s % empty 1538s A = sym([1 2 3]); 1538s C = intersect(A, A); 1538s assert (isequal (C, A)) 1539s ***** test 1539s % empty input 1539s A = sym([1 2]); 1539s C = intersect(A, []); 1539s assert (isequal (C, sym([]))) 1539s ***** test 1539s % scalar 1539s syms x 1539s assert (isequal (intersect([x 1], x), x)) 1539s assert (isequal (intersect(x, x), x)) 1539s ***** test 1539s A = interval(sym(1), 3); 1539s B = interval(sym(2), 5); 1539s C = intersect(A, B); 1539s assert( isequal( C, interval(sym(2), 3))) 1540s 6 tests, 6 passed, 0 known failure, 0 skipped 1540s [inst/@sym/eval.m] 1540s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/eval.m 1540s ***** error eval (sym(1), 2) 1540s ***** assert (isnumeric (eval (sym(3)))) 1540s ***** assert (isnumeric (eval (sin (sym(3))))) 1540s ***** test 1540s syms x y 1540s f = 2*x*y; 1540s x = 3; 1540s y = 4; 1540s g = eval (f); 1540s assert (isequal (g, 24)) 1541s ***** test 1541s syms x y 1541s f = 2*x*y; 1541s clear y 1541s x = 3; 1541s g = eval (f); 1541s assert (isequal (g, 6*sym('y'))) 1542s ***** test 1542s % do not convert inputs to sym, for SMT compat 1542s nearpi = pi + 1e-14; % sym could make this pi 1542s x = sym('x'); 1542s f = 2*x; 1542s x = nearpi; 1542s d = eval (f); 1542s assert (abs (d - 2*pi) > 1e-15) 1542s 6 tests, 6 passed, 0 known failure, 0 skipped 1542s [inst/@sym/kron.m] 1542s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/kron.m 1542s ***** error kron (sym (2)) 1543s ***** test 1543s syms x y 1543s A = [sin(x), sin(y); x, y]; 1543s B = ones(2); 1543s expected = sym([sin(x), sin(x), sin(y), sin(y); sin(x), sin(x), sin(y), sin(y); x, x, y, y; x, x, y, y]); 1543s assert (isequal (kron(A, B), expected)) 1545s ***** test 1545s syms x y 1545s A = [sin(x), sin(y); x, y]; 1545s B = 2; 1545s assert (isequal (kron(A, B), 2*A)) 1545s ***** test 1545s syms x y 1545s A = [sin(x), sin(y)]; 1545s B = 2; 1545s assert (isequal( kron(B, A), 2*A)) 1546s ***** test 1546s syms x y; 1546s X = [tan(x), tan(x)]; 1546s Y = [cot(x); cot(x)]; 1546s expected = sym(ones(2)); 1546s assert (isequal (simplify(kron(X, Y)), expected)) 1547s ***** test 1547s syms x y z 1547s X = [x, y, z]; 1547s Y = [y, y; x, x]; 1547s expected = [x*y, x*y, y^2, y^2, y*z, y*z; x^2, x^2, x*y, x*y, x*z, x*z]; 1547s assert (isequal (kron(X, Y), expected)) 1548s ***** test 1548s syms x y 1548s X = [x, x^2; y, y^2]; 1548s Y = [1, 0; 0, 1]; 1548s expected = [x, x^2, 0, 0; y, y^2, 0, 0; 0, 0, x, x^2; 0, 0, y, y^2]; 1548s assert (isequal (kron(Y, X), expected)) 1550s ***** test 1550s syms x y z 1550s assert (isequal (kron (x, y, z), x*y*z)) 1550s assert (isequal (kron (x, y, z, 4), 4*x*y*z)) 1550s assert (isequal (kron ([2 3], y, z), [2 3]*y*z)) 1550s assert (isequal (kron ([2 3], [4; 5], y), [8 12; 10 15]*y)) 1551s ***** test 1551s syms x y 1551s A = kron ([x y], [1, -1; -1, 1], [2 3; 4 5]); 1551s D = kron ([7 9], [1, -1; -1, 1], [2 3; 4 5]); 1551s A = double (subs (A, [x y], [7 9])); 1551s assert (isequal (A, D)) 1557s 9 tests, 9 passed, 0 known failure, 0 skipped 1557s [inst/@sym/linspace.m] 1557s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/linspace.m 1557s ***** test 1557s a = linspace(sym(3), 5, 5); 1557s b = [sym(6) 7 8 9 10]/2; 1557s assert (isequal (a, b)) 1558s ***** test 1558s % non-integers 1558s A = linspace(0, sym(pi), 10); 1558s assert (length (A) == 10); 1558s assert (isequal (A(6), 5*sym(pi)/9)); 1559s ***** test 1559s % default argument for N 1559s A = linspace(1, 100); 1559s assert (length (A) == 100); 1559s ***** test 1559s % special case for just N = 1 1559s A = linspace(sym(2), 3, 1); 1559s assert (isequal (A, 3)) 1559s A = linspace(sym(2), 3, 0); 1559s assert (isequal (A, 3)) 1559s A = linspace(sym(2), 3, sym(3)/2); 1559s assert (isequal (A, 3)) 1559s 4 tests, 4 passed, 0 known failure, 0 skipped 1559s [inst/@sym/disp.m] 1559s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/disp.m 1559s ***** test 1559s syms x 1559s s = disp(sin(x)); 1559s assert(strcmp(s, sprintf(' sin(x)\n'))) 1559s ***** test 1559s syms x 1559s s = disp(sin(x/2), 'flat'); 1559s assert(strcmp(s, sprintf(' sin(x/2)\n'))) 1559s ***** test 1559s % Examples of 2x0 and 0x2 empty matrices: 1559s a = sym([1 2; 3 4]); 1559s b2x0 = a([true true], [false false]); 1559s b0x2 = a([false false], [true true]); 1559s assert (isequal (size (b2x0), [2 0])) 1559s assert (isequal (size (b0x2), [0 2])) 1559s s = disp(b2x0); 1559s assert(strcmp(s, sprintf(' []\n'))) 1559s s = disp(b0x2); 1559s assert(strcmp(s, sprintf(' []\n'))) 1560s 3 tests, 3 passed, 0 known failure, 0 skipped 1560s [inst/@sym/acosh.m] 1560s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acosh.m 1560s ***** error acosh (sym(1), 2) 1560s ***** assert (isequaln (acosh (sym(nan)), sym(nan))) 1560s ***** shared x, d 1560s d = 1; 1560s x = sym('1'); 1560s ***** test 1560s f1 = acosh(x); 1560s f2 = acosh(d); 1560s assert( abs(double(f1) - f2) < 1e-15 ) 1560s ***** test 1560s D = [d d; d d]; 1560s A = [x x; x x]; 1560s f1 = acosh(A); 1560s f2 = acosh(D); 1560s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1561s ***** test 1561s % round trip 1561s y = sym('y'); 1561s A = acosh (d); 1561s f = acosh (y); 1561s h = function_handle (f); 1561s B = h (d); 1561s assert (A, B, -eps) 1561s 5 tests, 5 passed, 0 known failure, 0 skipped 1561s [inst/@sym/ones.m] 1561s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ones.m 1561s ***** test 1561s y = ones(sym(2)); 1561s x = [1 1; 1 1]; 1561s assert( isequal( y, sym(x))) 1561s ***** test 1561s y = ones(sym(2), 1); 1561s x = [1; 1]; 1561s assert( isequal( y, sym(x))) 1562s ***** test 1562s y = ones(sym(1), 2); 1562s x = [1 1]; 1562s assert( isequal( y, sym(x))) 1562s ***** test 1562s y = ones (sym([2 3])); 1562s x = sym (ones ([2 3])); 1562s assert (isequal (y, x)) 1562s ***** assert( isa( ones(sym(2), 'double'), 'double')) 1563s ***** assert( isa( ones(3, sym(3), 'single') , 'single')) 1563s ***** assert( isa( ones(3, sym(3)), 'sym')) 1563s ***** assert( isa( ones(3, sym(3), 'sym'), 'sym')) 1563s ***** xtest 1563s % Issue #13 1563s assert( isa( ones(3, 3, 'sym'), 'sym')) 1563s !!!!! known failure 1563s invalid data type specified 1563s 9 tests, 8 passed, 1 known failure, 0 skipped 1563s [inst/@sym/subsasgn.m] 1563s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/subsasgn.m 1563s ***** shared a,b 1563s b = [1:4]; 1563s a = sym(b); 1563s ***** test a(1) = 10; b(1) = 10; 1563s assert(isequal( a, b )) 1564s ***** test I = logical([1 0 1 0]); 1564s a(I) = 2; b(I) = 2; 1564s assert(isequal( a, b )) 1564s ***** test I = logical([1 0 1 0]); 1564s a(I) = [2 4]; b(I) = [2 4]; 1564s assert(isequal( a, b )) 1565s ***** test I = logical([1 0 1 0]); 1565s a(I) = [2; 4]; b(I) = [2; 4]; 1565s assert(isequal( a, b )) 1565s ***** shared 1565s ***** test 1565s b = 1:4; b = [b; 2*b; 3*b]; 1565s a = sym(b); 1565s rhs = [10 11; 12 13]; 1565s a([1:2],[1:2]) = rhs; 1565s b([1:2],[1:2]) = rhs; 1565s assert(isequal( a, b )) 1565s a(1:2,1:2) = rhs; 1565s assert(isequal( a, b )) 1568s ***** test 1568s % slice : 1568s b = 1:4; b = [b; 2*b]; 1568s a = sym(b); 1568s rhs = [10 11; 12 13]; 1568s a(:,2:3) = rhs; 1568s b(:,2:3) = rhs; 1568s assert(isequal( a, b )) 1569s ***** test 1569s % grow 2D 1569s b = 1:4; b = [b; 2*b]; 1569s a = sym(b); 1569s rhs = [10 11; 12 13]; 1569s a([1 end+1],end:end+1) = rhs; 1569s b([1 end+1],end:end+1) = rhs; 1569s assert(isequal( a, b )) 1570s ***** test 1570s % grow from nothing 1570s clear a 1570s a(3) = sym (1); 1570s b = sym ([0 0 1]); 1570s assert (isequal (a, b)) 1571s ***** test 1571s % grow from nothing, 2D 1571s clear a 1571s a(2, 3) = sym (1); 1571s b = sym ([0 0 0; 0 0 1;]); 1571s assert (isequal (a, b)) 1571s ***** test 1571s % linear indices of 2D 1571s b = 1:4; b = [b; 2*b; 3*b]; 1571s a = sym(b); 1571s b(1:4) = [10 11 12 13]; 1571s a(1:4) = [10 11 12 13]; 1571s assert(isequal( a, b )) 1571s b(1:4) = [10 11; 12 13]; 1571s a(1:4) = [10 11; 12 13]; 1571s assert(isequal( a, b )) 1574s ***** error 1574s % Wrong shape matrix RHS: Matlab/Octave don't allow this on doubles. 1574s % Matlab SMT 2013b gets it wrong. We throw an error. 1574s rhs = [10 11; 12 13]; 1574s a = sym (magic (3)); 1574s a(1:2,1:2) = rhs(:); 1575s ***** test 1575s % Issue #963: vector RHS with diff orientation from 2D indexing 1575s b = 1:4; b = [b; 2*b; 3*b]; 1575s a = sym(b); 1575s b(1:2:3, 1) = 11:2:13; 1575s a(1:2:3, 1) = sym(11:2:13); 1575s assert (isequal (a, b)) 1575s b(1:2:3, 1) = 1:2:3; 1575s a(1:2:3, 1) = 1:2:3; 1575s assert (isequal (a, b)) 1577s ***** test 1577s % Issue #963: vector RHS with diff orientation from 2D indexing 1577s a = sym (magic (3)); 1577s b = a; 1577s a(1:2:3, 2) = [14 15]; 1577s b(1:2:3, 2) = [14; 15]; 1577s assert (isequal (a, b)) 1577s a(2, 1:2:3) = [24 25]; 1577s b(2, 1:2:3) = [24; 25]; 1577s assert (isequal (a, b)) 1578s ***** test 1578s % 1D growth and 'end' 1578s g = sym([1 2 3]); 1578s g(3:4) = [67 68]; 1578s g(end:end+1) = [12 14]; 1578s assert(isequal( g, [1 2 67 12 14] )) 1579s ***** test 1579s % expanding empty and scalar 1579s syms x 1579s c = sym([]); 1579s c(1) = x; 1579s assert(isequal( c, x )) 1579s c(2) = 2*x; 1579s assert(isequal( c, [x 2*x] )) 1580s ***** shared a,b,I,J 1580s b = 1:4; b = [b; 3*b; 5*b]; a = sym(b); 1580s I = logical([1 0 1]); 1580s J = logical([1 0 1 0]); 1580s ***** assert(isequal( a(I,J), b(I,J) )) 1581s ***** test 1581s rhs = [90 91; 92 93]; 1581s b(I, J) = rhs; 1581s a(I, J) = rhs; 1581s assert(isequal( a, b )) 1582s ***** test 1582s b(I, J) = 100; 1582s a(I, J) = 100; 1582s assert(isequal( a, b )) 1583s ***** shared 1583s ***** test 1583s % logical with all false 1583s syms x 1583s y = x; 1583s y(false) = 6; 1583s assert(isequal( y, x )); 1583s a = [x x]; 1583s a([false false]) = [6 6]; 1583s assert(isequal( a, [x x] )); 1583s ***** test 1583s % issue #18, scalar access 1583s syms x 1583s x(1) = sym(6); 1583s assert(isequal( x, sym(6) )); 1583s x(1) = 6; 1583s assert(isequal( x, sym(6) )); 1583s x(true) = 88; 1583s assert(isequal( x, sym(88) )); 1584s ***** test 1584s % bug: assignment to column vector used to fail 1584s A = sym(zeros(3,1)); 1584s A(1) = 5; 1584s ***** test 1584s % symfun creation (generic function) 1584s syms x 1584s g(x) = x*x; 1584s assert(isa(g,'symfun')) 1584s ***** test 1584s % symfun creation (generic function) 1584s syms x g(x) 1584s assert(isa(g,'symfun')) 1584s ***** test 1584s % symfun creation when g already exists and is a sym/symfun 1584s syms x 1584s g = x; 1584s syms g(x) 1584s assert(isa(g,'symfun')) 1584s clear g 1584s g(x) = x; 1584s g(x) = x*x; 1584s assert(isa(g,'symfun')) 1584s ***** test 1584s % Issue #443: assignment with sym indices 1584s A = sym([10 11]); 1584s A(sym(1)) = 12; 1584s assert (isequal (A, sym([12 11]))) 1585s ***** test 1585s % Issue #443: assignment with sym indices 1585s A = sym([10 11]); 1585s A(sym(1), 1) = 12; 1585s assert (isequal (A, sym([12 11]))) 1585s A(sym(1), sym(1)) = 13; 1585s assert (isequal (A, sym([13 11]))) 1586s ***** test 1586s % Issue #443: assignment with sym indices, increase size 1586s A = sym([10 11]); 1586s A(sym(2), 1) = 12; 1586s assert (isequal (A, sym([10 11; 12 0]))) 1586s ***** error 1586s % Issue #443 1586s A = sym([10 11]); 1586s A(2, sym('x')) = sym(12); 1587s ***** error 1587s % Issue #443 1587s A = sym([10 11]); 1587s A(sym(2), sym('x')) = sym(12); 1587s ***** error 1587s % issue #445 1587s A = sym([10 11]); 1587s A(1.1) = 13 1587s ***** error 1587s % issue #445 1587s A = sym([10 11]); 1587s A(sym(pi)) = 13 1587s ***** error 1587s % issue #445 1587s A = sym([1 2; 3 4]); 1587s A(1.3, 1.2) = 13 1588s ***** test 1588s % older expansion tests 1588s syms x 1588s f = [2*x 3*x]; 1588s f(2) = 4*x; 1588s assert (isequal (f, [2*x 4*x])) 1588s f(2) = 2; 1588s assert (isequal(f, [2*x 2])) 1588s g = f; 1588s g(1,3) = x*x; 1588s assert (isequal(g, [2*x 2 x^2])) 1588s g = f; 1588s g(3) = x*x; 1588s assert (isequal(g, [2*x 2 x^2])) 1588s g = f; 1588s g(3) = 4; 1588s assert (isequal(g, [2*x 2 4])) 1590s ***** test 1590s % older slicing tests 1590s syms x 1590s f = [1 x^2 x^4]; 1590s f(1:2) = [x x]; 1590s assert (isequal( f, [x x x^4] )) 1590s f(1:2) = [1 2]; 1590s assert (isequal( f, [1 2 x^4] )) 1590s f(end-1:end) = [3 4]; 1590s assert (isequal( f, [1 3 4] )) 1590s f(3:4) = [10 11]; 1590s assert (isequal( f, [1 3 10 11] )) 1590s f(end:end+1) = [12 14]; 1590s assert (isequal( f, [1 3 10 12 14] )) 1592s ***** test 1592s % struct.str = sym, sometimes calls subsasgn 1592s d = struct(); 1592s syms x 1592s d.a = x; 1592s assert (isa (d, 'struct')) 1592s assert (isequal (d.a, x)) 1592s d.('a') = x; 1592s assert (isa (d, 'struct')) 1592s assert (isequal (d.a, x)) 1592s d = setfield(d, 'a', x); 1592s assert (isa (d, 'struct')) 1592s assert (isequal (d.a, x)) 1592s % at least on Oct 3.8, this calls sym's subsasgn 1592s d = struct(); 1592s d = setfield(d, 'a', x); 1592s assert (isa (d, 'struct')) 1592s assert (isequal (d.a, x)) 1593s ***** test 1593s % bool scalar assignments of true/false into sym 1593s syms x 1593s a = sym([1 2 x 3]); 1593s b = [1 2 10 4]; 1593s e = a == b; 1593s assert (logical (e(2))) 1593s e(2) = false; 1593s assert (~logical (e(2))) 1593s ***** test 1593s % bool vector assignments of true/false into sym 1593s syms x 1593s a = sym([1 2 x 3]); 1593s b = [1 2 10 4]; 1593s e = a == b; 1593s e(1:2) = [true true]; 1593s assert (isequal (e, [sym(1)==1 sym(2)==2 x==10 sym(3)==4])) 1595s ***** test 1595s % bool scalar promoted to vector assignments into sym 1595s syms x 1595s a = sym([1 2 x 3]); 1595s b = [1 2 10 4]; 1595s e = a == b; 1595s e(1:2) = true; 1595s assert (isequal (e, [sym(1)==1 sym(2)==2 x==10 sym(3)==4])) 1596s ***** test 1596s % grow scalar equality expression into a matrix of equalities 1596s syms a b c d 1596s e = a == b; 1596s e(2) = c == d; 1596s assert (isequal (e, [a==b c==d])) 1596s ***** shared a, b, I 1596s b = [1:4]; b = [b; 3*b; 5*b]; 1596s a = sym(b); 1596s I = mod (b, 5) > 1; 1597s ***** test 1597s A = a; A(I) = 2*b(I); 1597s B = b; B(I) = 2*b(I); 1597s assert (isequal (A, B)) 1598s ***** test 1598s % scalar RHS 1598s A = a; A(I) = 17; 1598s B = b; B(I) = 17; 1598s assert (isequal (A, B)) 1599s ***** test 1599s % nonetheless, above strange case should give right answer 1599s I = logical([1 0 1 0; 0 1 0 1; 1 0 1 0]); 1599s rhs = 2*b(I); 1599s rhs2 = reshape(rhs, 2, 3); 1599s A0 = a; A1 = a; 1599s A0(I) = rhs; 1599s A1(I) = rhs2; 1599s assert (isequal (A0, A1)) 1600s ***** shared AA, BB 1600s BB = [1 2 3; 4 5 6]; 1600s AA = sym(BB); 1600s ***** test 1600s A = AA; B = BB; 1600s B([1 6]) = [8 9]; 1600s A([1 6]) = [8 9]; 1600s assert (isequal (A, B)) 1600s ***** test 1600s % rhs scalar 1600s A = AA; B = BB; 1600s B([1 6]) = 88; 1600s A([1 6]) = 88; 1600s assert (isequal (A, B)) 1601s ***** test 1601s % If rhs is not a vector, make sure col-based access works 1601s rhs = [18 20; 19 21]; 1601s A = AA; B = BB; 1601s B([1 6]) = 88; 1601s A([1 6]) = 88; 1601s B([1 2 3 4]) = rhs; 1601s A([1 2 3 4]) = rhs; 1601s assert (isequal (A, B)) 1602s ***** test 1602s % Growth 1602s A = AA; B = BB; 1602s A(1,5) = 10; 1602s B(1,5) = 10; 1602s assert (isequal (A, B)) 1602s ***** shared 1602s ***** test 1602s % Check row deletion 1D 1602s a = sym([1; 3; 5]); 1602s b = sym([3; 5]); 1602s a(1) = []; 1602s assert( isequal( a, b)) 1603s ***** test 1603s % Check column deletion 1D 1603s a = sym([1, 4, 8]); 1603s b = sym([4, 8]); 1603s a(1) = []; 1603s assert( isequal( a, b)) 1603s ***** test 1603s % Check row deletion 2D 1603s a = sym([1, 2; 3, 4]); 1603s b = sym([3, 4]); 1603s a(1, :) = []; 1603s assert( isequal( a, b)) 1604s ***** test 1604s % Check column deletion 2D 1604s a = sym([1, 2; 3, 4]); 1604s b = sym([2; 4]); 1604s a(:, 1) = []; 1604s assert( isequal( a, b)) 1604s ***** test 1604s % General assign 1604s a = sym([1, 2; 3, 4]); 1604s b = sym([5, 5; 5, 5]); 1604s a(:) = 5; 1604s assert( isequal( a, b)) 1605s ***** test 1605s % Empty matrix 1605s a = sym([1, 2; 3, 4]); 1605s a(:) = []; 1605s assert( isequal( a, sym([]))) 1605s ***** test 1605s % Disassemble matrix 1605s a = sym([1 2; 3 4; 5 6]); 1605s b = sym([3 5 2 4 6]); 1605s a(1) = []; 1605s assert (isequal (a, b)); 1607s ***** error 1607s a = sym([1, 2; 3, 4]); 1607s a(1, 2) = []; 1607s ***** test 1607s % Issue #964 1607s a = sym(10); 1607s a(1) = []; 1607s assert (isempty (a)) 1607s assert (isequal (a, zeros(1, 0))) 1607s ***** test 1607s % Issue #963: scalar asgn to empty part of matrix 1607s A = sym (magic (3)); 1607s B = A; 1607s A(1, []) = 42; 1607s assert (isequal (A, B)) 1607s A([], 2) = 42; 1607s assert (isequal (A, B)) 1607s A([]) = 42; 1607s assert (isequal (A, B)) 1607s A([], []) = 42; 1607s assert (isequal (A, B)) 1607s A(2:3, []) = 42; 1607s assert (isequal (A, B)) 1607s A([], 2:3) = 42; 1607s assert (isequal (A, B)) 1607s A(:, []) = 42; 1607s assert (isequal (A, B)) 1607s A([], :) = 42; 1607s assert (isequal (A, B)) 1609s ***** test 1609s % Issue #1026 1609s a = sym(1:5); 1609s a(1:3) = []; 1609s assert (isequal (a, sym([4 5]))) 1609s ***** test 1609s % Issue #1026 1609s B = eye(4); 1609s A = sym(B); 1609s A(1:2, :) = []; 1609s B(1:2, :) = []; 1609s assert (isequal (A, B)) 1611s ***** error 1611s % TODO: do we care what error? 1611s A = sym (magic (3)); 1611s A(2:3, []) = [66; 66]; 1611s ***** error 1611s A = sym (magic (3)); 1611s A([]) = [66; 66]; 1612s ***** error 1612s A = sym (magic (3)); 1612s A([], 1) = [66; 66]; 1612s ***** test 1612s % Issue #966: empty indexing, empty RHS, A unchanged 1612s B = magic(3); 1612s A = sym(B); 1612s A(1, []) = []; 1612s assert (isequal (A, B)) 1612s A([], 2) = []; 1612s assert (isequal (A, B)) 1612s A([], []) = []; 1612s assert (isequal (A, B)) 1612s A(2:3, []) = []; 1612s assert (isequal (A, B)) 1612s A([], 2:3) = []; 1612s assert (isequal (A, B)) 1612s A(:, []) = []; 1612s assert (isequal (A, B)) 1612s A([], :) = []; 1612s assert (isequal (A, B)) 1616s ***** test 1616s % Issue 967 1616s B = [1 2; 3 4]; 1616s A = sym(B); 1616s A([]) = []; 1616s assert (isequal (A, B)) 1617s ***** test 1617s % Issue #965 1617s a = sym(7); 1617s a([]) = []; 1617s assert (isequal (a, sym(7))) 1617s ***** test 1617s % Issue #965 1617s a = sym(7); 1617s a([]) = 42; 1617s assert (isequal (a, sym(7))) 1617s ***** error 1617s % Issue #965 1617s a = sym(7); 1617s a([]) = [42 42] 1618s ***** test 1618s b = eye (3); 1618s a = sym (b); 1618s I = [2 3; 4 5]; 1618s a(I) = -2*I; 1618s b(I) = -2*I; 1618s assert (isequal (a, sym (b))); 1618s assert (size (a), [3 3]); 1619s ***** error 1619s syms x 1619s A = [1 x; x 2]; 1619s A(5) = x; 1619s ***** test 1619s % 2D indexing with length in one dimension more than 2 1619s a = sym ([1 2; 3 4; 5 6]); 1619s indices = [1 4; 2 5; 3 6]; 1619s b = [10 11; 12 13; 14 15]; 1619s a(indices) = b; 1619s assert (isequal (a, sym (b))); 1620s ***** test 1620s A = sym ([0 0 0]); 1620s indices = [false true false]; 1620s A(indices) = 1; 1620s assert (isequal (A, sym ([0 1 0]))); 1620s A(indices) = []; 1620s assert (isequal (A, sym ([0 0]))); 1620s indices = [false false]; 1620s A(indices) = []; 1620s assert (isequal (A, sym ([0 0]))); 1621s ***** shared a, b 1621s a = [1 2 3 5; 4 5 6 9; 7 5 3 2]; 1621s b = sym (a); 1622s ***** test 1622s A = a; B = b; 1622s A(true) = 0; 1622s B(true) = 0; 1622s assert (isequal (A, B)) 1623s ***** test 1623s A = a; B = b; 1623s A(false) = 0; 1623s B(false) = 0; 1623s assert (isequal (A, B)) 1623s ***** test 1623s c = [false true]; 1623s A = a; B = b; 1623s A(c) = 0; B(c) = 0; 1623s assert (isequal (A, B)) 1623s d = c | true; 1623s A(d) = 1; B(d) = 1; 1623s assert (isequal (A, B)) 1623s d = c & false; 1623s A(d) = 2; B(d) = 2; 1623s assert (isequal (A, B)) 1625s ***** test 1625s c = [false true false true; true false true false; false true false true]; 1625s A = a; B = b; 1625s A(c) = 0; B(c) = 0; 1625s assert (isequal (A, B)) 1625s d = c | true; 1625s A(d) = 1; B(d) = 1; 1625s assert (isequal (A, B)) 1625s d = c & false; 1625s A(d) = 2; B(d) = 2; 1625s assert (isequal (A, B)) 1628s ***** test 1628s c = [false true false true false]; 1628s A = a; B = b; 1628s A(c) = 0; B(c) = 0; 1628s assert (isequal (A, B)) 1628s d = c | true; 1628s A(d) = 1; B(d) = 1; 1628s assert (isequal (A, B)) 1628s d = c & false; 1628s A(d) = 2; B(d) = 2; 1628s assert (isequal (A, B)) 1630s ***** test 1630s c = [false; true; false; true; false]; 1630s A = a; B = b; 1630s A(c) = 0; B(c) = 0; 1630s assert (isequal (A, B)) 1630s d = c | true; 1630s A(d) = 1; B(d) = 1; 1630s assert (isequal (A, B)) 1630s d = c & false; 1630s A(d) = 2; B(d) = 2; 1630s assert (isequal (A, B)) 1632s ***** test 1632s c = [false true; false true; true false]; 1632s A = a; B = b; 1632s A(c) = 0; B(c) = 0; 1632s assert (isequal (A, B)) 1632s d = c | true; 1632s A(d) = 1; B(d) = 1; 1632s assert (isequal (A, B)) 1632s d = c & false; 1632s A(d) = 2; B(d) = 2; 1632s assert (isequal (A, B)) 1634s 77 tests, 77 passed, 0 known failure, 0 skipped 1634s [inst/@sym/lambertw.m] 1634s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/lambertw.m 1634s ***** test 1634s % W(x)*exp(W(x)) == x 1634s syms x 1634s T = lambertw(x)*exp(lambertw(x)); 1634s T = double (subs (T, x, 10)); 1634s assert (isequal (T, 10)); 1634s ***** test 1634s % k, x not x, k to match SMT 1634s syms x 1634s T = lambertw(2, x)*exp(lambertw(2, x)); 1634s T = double (subs (T, x, 10)); 1634s assert (abs(T - 10) < 1e-15) 1635s ***** assert (isequal (lambertw(sym(0)), sym(0))) 1635s ***** assert ( isequal (lambertw (-1/exp(sym(1))), -sym(1))) 1635s ***** assert ( isequal (lambertw (0, -1/exp(sym(1))), -sym(1))) 1636s ***** assert ( isequal (lambertw (-1, -1/exp(sym(1))), -sym(1))) 1636s ***** xtest 1636s % W(x)*exp(W(x)) == x; FIXME: a failure in SymPy? 1636s syms x 1636s T = simplify(lambertw(x)*exp(lambertw(x))); 1636s assert (isequal (T, x)) 1637s !!!!! known failure 1637s assert (isequal (T, x)) failed 1637s ***** assert (abs (lambertw(pi) - double(lambertw(sym(pi)))) < 5*eps) 1637s ***** assert (abs (lambertw(-1, 5) - double(lambertw(-1, sym(5)))) < 5*eps) 1637s ***** assert (abs (lambertw(2, 2) - double(lambertw(2, sym(2)))) < 5*eps) 1638s ***** test 1638s % round trip 1638s syms x k 1638s A = lambertw (5); 1638s f = lambertw (x); 1638s h = function_handle (f); 1638s B = h (5); 1638s assert (A, B) 1638s 1638s A = lambertw (3, 5); 1638s f = lambertw (k, x); 1638s h = function_handle (f); 1638s B = h (3, 5); 1638s assert (A, B) 1638s 11 tests, 10 passed, 1 known failure, 0 skipped 1638s [inst/@sym/fix.m] 1638s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fix.m 1638s ***** test 1638s d = 3/2; 1638s x = sym('3/2'); 1638s f1 = fix(x); 1638s f2 = fix(d); 1638s assert (isequal (f1, f2)) 1638s ***** test 1638s D = [1.1 4.6; -3.4 -8.9]; 1638s A = [sym(11)/10 sym(46)/10; sym(-34)/10 sym(-89)/10]; 1638s f1 = fix(A); 1638s f2 = fix(D); 1638s assert( isequal (f1, f2)) 1640s ***** test 1640s d = sym(-11)/10; 1640s c = -1; 1640s assert (isequal (fix (d), c)) 1640s ***** test 1640s d = sym(-19)/10; 1640s c = -1; 1640s assert (isequal (fix (d), c)) 1640s 4 tests, 4 passed, 0 known failure, 0 skipped 1640s [inst/@sym/atan2.m] 1640s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/atan2.m 1640s ***** error atan2 (1) 1641s ***** error atan2 (1, 2, 3) 1641s ***** test 1641s % some angles 1641s e = sym(1); 1641s a = atan2(0, e); 1641s assert (isequal (a, sym(0))) 1641s a = atan2(e, 0); 1641s assert (isequal (a, sym(pi)/2)) 1642s ***** test 1642s % symbols can give numerical answer 1642s syms x positive 1642s a = atan2(0, x); 1642s assert (isequal (a, sym(0))) 1642s a = atan2(x, 0); 1642s assert (isequal (a, sym(pi)/2)) 1642s a = atan2(-x, 0); 1642s assert (isequal (a, -sym(pi)/2)) 1643s ***** test 1643s % matrices 1643s x = sym([1 -2; 0 0]); 1643s y = sym([0 0; 8 -3]); 1643s a = atan2(y, x); 1643s sp = sym(pi); 1643s aex = [0 sp; sp/2 -sp/2]; 1643s assert (isequal (a, aex)) 1644s ***** test 1644s % round trip 1644s syms x y 1644s xd = -2; yd = -3; 1644s f = atan2 (x, y); 1644s A = atan2 (xd, yd); 1644s h = function_handle (f); 1644s B = h (xd, yd); 1644s assert (A, B, -eps) 1644s 6 tests, 6 passed, 0 known failure, 0 skipped 1644s [inst/@sym/besseli.m] 1644s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besseli.m 1644s ***** test 1644s X = [1 2 3; 4 5 6]; 1644s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 1644s n = double(ns); 1644s A = double(besseli(ns, X)); 1644s B = besseli(n, X); 1644s assert (all (all (abs (A - B) < 100*eps*abs(A)))) 1647s ***** test 1647s % roundtrip 1647s syms x 1647s A = besseli(2, 10); 1647s q = besseli(2, x); 1647s h = function_handle(q); 1647s B = h(10); 1647s assert (abs (A - B) <= eps*abs(A)) 1647s ***** error besseli(sym('x')) 1648s 3 tests, 3 passed, 0 known failure, 0 skipped 1648s [inst/@sym/rref.m] 1648s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rref.m 1648s ***** test 1648s A = sym([1 2; 3 4]); 1648s [r, k] = rref(A); 1648s assert (isequal (r, eye(2))) 1648s assert (isequal (k, [1 2])) 1649s ***** assert (isequal (rref(sym([2 1])), [1 sym(1)/2])) 1650s ***** assert (isequal (rref(sym([1 2; 2 4])), [1 2; 0 0])) 1650s ***** assert (isequal (rref(sym([0 0; 2 4])), [1 2; 0 0])) 1651s ***** test 1651s A = sym([1 2 3; 2 3 4]); 1651s [r, k] = rref(A); 1651s assert (isequal (r, [1 0 -1; 0 1 2])) 1651s assert (isequal (k, [1 2])); 1652s 5 tests, 5 passed, 0 known failure, 0 skipped 1652s [inst/@sym/nchoosek.m] 1652s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/nchoosek.m 1652s ***** assert (isequal (nchoosek(sym(5), sym(2)), sym(10))) 1653s ***** assert (isequal (nchoosek(sym(5), 2), sym(10))) 1653s ***** assert (isequal (nchoosek(5, sym(2)), sym(10))) 1653s ***** assert (isequal (nchoosek(sym(10), 0), 1)) 1654s ***** assert (isequal (nchoosek(sym(10), -1), 0)) 1654s ***** test 1654s n = sym('n', 'nonnegative', 'integer'); 1654s assert (isequal (nchoosek (n, n), sym(1))) 1654s ***** test 1654s n = sym('n', 'integer'); 1654s q = nchoosek(n, 2); 1654s w = subs(q, n, 5); 1654s assert (isequal (w, 10)) 1654s ***** test 1654s n = sym('n', 'integer'); 1654s k = sym('k', 'integer'); 1654s q = nchoosek(n, k); 1654s w = subs(q, {n k}, {5 2}); 1654s assert (isequal (w, 10)) 1655s ***** test 1655s % negative input 1655s assert (isequal (nchoosek (sym(-2), sym(5)), sym(-6))) 1655s ***** test 1655s % complex input 1655s n = sym(1 + 3i); 1655s k = sym(5); 1655s A = nchoosek (n, k); 1655s B = gamma (n + 1) / (gamma (k + 1) * gamma (n - k + 1)); 1655s assert (double (A), double (B), -2*eps) 1656s ***** test 1656s % complex input 1656s n = sym(-2 + 3i); 1656s k = sym(1 + i); 1656s A = nchoosek (n, k); 1656s B = gamma (n + 1) / (gamma (k + 1) * gamma (n - k + 1)); 1656s assert (double (A), double (B), -2*eps) 1658s 11 tests, 11 passed, 0 known failure, 0 skipped 1658s [inst/@sym/expm.m] 1658s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/expm.m 1658s ***** test 1658s % scalar 1658s syms x 1658s assert (isequal (expm(x), exp(x))) 1658s ***** test 1658s % diagonal 1658s A = [sym(1) 0; 0 sym(3)]; 1658s B = [exp(sym(1)) 0; 0 exp(sym(3))]; 1658s assert (isequal (expm(A), B)) 1659s ***** test 1659s % diagonal w/ x 1659s syms x positive 1659s A = [sym(1) 0; 0 x+2]; 1659s B = [exp(sym(1)) 0; 0 exp(x+2)]; 1659s assert (isequal (expm(A), B)) 1660s ***** test 1660s % non-diagonal 1660s syms x positive 1660s A = [sym(1) 2; 0 x+2]; 1660s B = expm(A); 1660s C = double(subs(B, x, 4)); 1660s D = expm(double(subs(A, x, 4))); 1660s assert (max (max (abs (C - D))) <= 1e-11) 1662s 4 tests, 4 passed, 0 known failure, 0 skipped 1662s [inst/@sym/numel.m] 1662s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/numel.m 1662s ***** test 1662s a = sym([1 2 3]); 1662s assert(numel(a) == 3); 1662s ***** test 1662s % 2D array 1662s a = sym([1 2 3; 4 5 6]); 1662s assert(numel(a) == 6); 1663s ***** test 1663s % empty 1663s a = sym([]); 1663s assert(numel(a) == 0); 1663s 3 tests, 3 passed, 0 known failure, 0 skipped 1663s [inst/@sym/isnan.m] 1663s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isnan.m 1663s ***** shared x,zoo,oo,snan 1663s oo = sym(inf); 1663s zoo = sym('zoo'); 1663s x = sym('x'); 1663s snan = sym(nan); 1663s ***** test 1663s % various ops that give nan 1663s assert (isnan(0*oo)) 1663s assert (isnan(0*zoo)) 1663s assert (isnan(snan)) 1663s assert (isnan(snan-snan)) 1663s assert (isnan(oo+snan)) 1663s assert (isnan(oo-oo)) 1663s assert (isnan(oo-zoo)) 1663s assert (isnan(oo+zoo)) 1663s assert (~isnan(oo)) 1663s assert (~isnan(zoo)) 1663s assert (~isnan(oo+oo)) 1664s ***** test 1664s % more ops give nan 1664s assert(isnan(x+snan)) 1664s assert(isnan(x*snan)) 1664s assert(isnan(0*snan)) 1664s assert(isnan(x+nan)) 1664s assert(isnan(x*nan)) 1664s assert(isnan(sym(0)*nan)) 1664s ***** test 1664s % array 1664s assert (isequal( isnan([oo zoo]), [0 0] )) 1664s assert (isequal( isnan([10 snan]), [0 1] )) 1664s assert (isequal( isnan([snan snan]), [1 1] )) 1664s assert (isequal( isnan([snan x]), [1 0] )) 1665s ***** test 1665s % sub in to algebraic expression gives nan 1665s y = x - oo; 1665s y = subs(y, x, oo); 1665s assert(isnan(y)) 1665s ***** test 1665s % Must not contain string 'symbol'; these all should make an 1665s % actual nan. Actually a ctor test, not isnan. 1665s y = sym(nan); 1665s assert (isempty (strfind (sympy (y), 'Symbol'))) 1665s y = sym('nan'); 1665s assert (isempty (strfind (sympy (y), 'Symbol'))) 1665s y = sym('NaN'); 1665s assert (isempty( strfind (sympy (y), 'Symbol'))) 1665s 5 tests, 5 passed, 0 known failure, 0 skipped 1665s [inst/@sym/besselh.m] 1665s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/besselh.m 1665s ***** test 1665s % default to k=1 1665s syms z a 1665s A = besselh(a, z); 1665s B = besselh(a, 1, z); 1665s assert (isequal (A, B)) 1665s ***** error besselh(sym('z')) 1666s ***** error besselh(2, 0, sym('z')) 1666s ***** error besselh(2, 3, sym('z')) 1666s ***** test 1666s % doubles, relative error 1666s X = [1 2 pi; 4i 5 6+6i]; 1666s Xs = sym(X); 1666s Alpha = [pi 3 1; 3 2 0]; 1666s Alphas = sym(Alpha); 1666s for k = 1:2 1666s A = double(besselh(Alphas, k, Xs)); 1666s B = besselh(Alpha, k, X); 1666s assert (all (all (abs(A - B) < 10*eps*abs(A)))) 1666s end 1669s ***** test 1669s % round-trip 1669s syms x 1669s for k = 1:2 1669s A = besselh(4, k, 10); 1669s q = besselh(4, k, x); 1669s h = function_handle(q); 1669s B = h(10); 1669s assert (abs(A - B) <= eps*abs(A)) 1669s end 1669s 6 tests, 6 passed, 0 known failure, 0 skipped 1669s [inst/@sym/columns.m] 1669s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/columns.m 1669s ***** test 1669s a = sym([1 2 3]); 1669s assert (columns(a) == 3) 1669s ***** test 1669s a = sym([1; 2]); 1669s assert (columns(a) == 1) 1670s 2 tests, 2 passed, 0 known failure, 0 skipped 1670s [inst/@sym/findsym.m] 1670s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/findsym.m 1670s ***** assert (strcmp (findsym (sym(2)), '')); 1670s ***** shared x,y,f 1670s x=sym('x'); y=sym('y'); f=x^2+3*x*y-y^2; 1670s ***** assert (strcmp (findsym (f), 'x,y')); 1670s ***** assert (strcmp (findsym (f,1), 'x')); 1671s ***** test 1671s % test order of returned vars 1671s syms x y a b c xx 1671s % https://www.mathworks.com/matlabcentral/newsreader/view_thread/237730 1671s alpha = sym('alpha'); 1671s assert (strcmp (findsym(b*xx*exp(alpha) + c*sin(a*y), 2), 'xx,y')) 1672s 4 tests, 4 passed, 0 known failure, 0 skipped 1672s [inst/@sym/isconstant.m] 1672s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isconstant.m 1672s ***** test 1672s syms x 1672s A = [x 2 3]; 1672s B = [false true true]; 1672s assert (isequal (isconstant (A), B)) 1672s ***** test 1672s syms x 1672s A = [x 2; 3 x]; 1672s B = [false true; true false]; 1672s assert (isequal (isconstant (A), B)) 1673s 2 tests, 2 passed, 0 known failure, 0 skipped 1673s [inst/@sym/hilb.m] 1673s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/hilb.m 1673s ***** test 1673s A = hilb (sym(3)); 1673s B = [sym(1) sym(1)/2 sym(1)/3; sym(1)/2 sym(1)/3 sym(1)/4; sym(1)/3 sym(1)/4 sym(1)/5]; 1673s assert (isequal (A, B)) 1674s 1 test, 1 passed, 0 known failure, 0 skipped 1674s [inst/@sym/isAlways.m] 1674s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isAlways.m 1674s ***** test 1674s % basics 1674s assert(isAlways(true)) 1674s assert(isAlways(1==1)) 1674s assert(isAlways(sym(1)==sym(1))) 1674s assert(isAlways(sym(1)==1)) 1675s ***** test 1675s % numbers to logic? 1675s assert (isAlways(sym(1))) 1675s assert (isAlways(sym(-1))) 1675s assert (~isAlways(sym(0))) 1675s ***** shared x 1675s syms x 1675s ***** test 1675s % in this case it is boolean 1675s expr = x - x == 0; 1675s assert (logical(expr)) 1675s assert (isAlways(expr)) 1675s % and both are logical type 1675s assert (islogical(logical(expr))) 1675s assert (islogical(isAlways(expr))) 1675s ***** test 1675s % structurally same and mathematically true 1675s % (here expr should be sym, non-boolean) 1675s expr = x == x; 1675s assert (logical(expr)) 1675s assert (isAlways(expr)) 1675s %assert (~islogical(expr)) % FIXME: Issue #56 1675s %assert (isa(expr, 'sym)) 1675s ***** test 1675s % structurally same and mathematically true 1675s % (here expr should be sym, non-boolean) 1675s expr = 1 + x == x + 1; 1675s assert (logical(expr)) 1675s assert (isAlways(expr)) 1676s ***** test 1676s % non-zero numbers are true 1676s assert (isAlways(sym(1))) 1676s assert (isAlways(sym(-10))) 1676s assert (~isAlways(sym(0))) 1676s ***** shared x, y 1676s syms x y 1676s ***** test 1676s % structurally same and mathematically true 1676s % (here expr should be sym, non-boolean) 1676s expr = x*(1+y) == x*(y+1); 1676s assert (logical(expr)) 1676s assert (isAlways(expr)) 1676s assert (islogical(isAlways(expr))) 1677s ***** test 1677s % Now for some differences 1677s % simplest example from SymPy FAQ 1677s expr = x*(1+y) == x+x*y; 1677s assert (~logical(expr)) 1677s assert (isAlways(expr)) 1677s ***** test 1677s % more differences 1, these don't simplify in sympy (as of 2016-01) 1677s expr = (x+1)^2 == x*x + 2*x + 1; 1677s assert (~logical(expr)) 1677s assert (isAlways(expr)) 1678s ***** test 1678s % more differences 2 1678s expr = sin(2*x) == 2*sin(x)*cos(x); 1678s assert (~logical(expr)) 1678s assert (isAlways(expr)) 1678s ***** test 1678s % more differences 3, false 1678s expr = x*(x+y) == x^2 + x*y + 1; 1678s assert (~logical(expr)) 1678s assert (~isAlways(expr)) 1678s assert (~isAlways(expr, 'unknown', 'error')) 1679s ***** test 1679s % logically not equal, math equal 1679s exprn = x*(x+y) ~= x^2 + x*y; 1679s assert (logical(exprn)) 1679s assert (~isAlways(exprn)) 1680s ***** test 1680s % logically not equal, math not equal 1680s exprn = x*(x+y) ~= x^2 + x*y + 1; 1680s assert (logical(exprn)) 1680s assert (isAlways(exprn)) 1680s ***** test 1680s % equal and not equal 1680s e1 = sin(x)^2 + cos(x)^2 == 1; 1680s e2 = sin(x)^2 + cos(x)^2 == 2; 1680s assert (~logical(e1)) 1680s assert (isAlways(e1)) 1680s assert (~logical(e2)) 1680s assert (~isAlways(e2)) 1680s assert (~isAlways(e2, 'unknown', 'error')) 1682s ***** error isAlways(x, 'unknown', 'kevin') 1682s ***** error isAlways(x, 'unknown') 1683s ***** error isAlways(x, 'kevin', 'true') 1683s ***** error 1683s a = [x*(x+y)==x^2+x*y x==y]; 1683s b = isAlways(a, 'unknown', 'error'); 1683s ***** error 1683s a = x==y; 1683s b = isAlways(a, 'unknown', 'error'); 1684s ***** test 1684s % array, unknown keyword 1684s a = [x==x x==x+1 x==y x*(x+y)==x^2+x*y cos(x)^2+sin(x)^2==2]; 1684s b = isAlways(a, 'unknown', false); 1684s c = isAlways(a, 'unknown', 'false'); 1684s expect = [true false false true false]; 1684s assert (islogical(b)) 1684s assert (isequal (b, expect)) 1684s assert (isequal (c, expect)) 1684s b = isAlways(a, 'unknown', true); 1684s c = isAlways(a, 'unknown', 'true'); 1684s expect = [true false true true false]; 1684s assert (islogical(b)) 1684s assert (isequal (b, expect)) 1684s assert (isequal (c, expect)) 1687s ***** test 1687s % ineq 1687s e = x*(x+y) <= x^2 + x*y + 1; 1687s assert (~logical(e)) 1687s assert (isAlways(e)) 1687s e = x*(x+y) <= x^2 + x*y; 1687s assert (~logical(e)) 1687s assert (isAlways(e)) 1688s 21 tests, 21 passed, 0 known failure, 0 skipped 1688s [inst/@sym/sech.m] 1688s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sech.m 1688s ***** error sech (sym(1), 2) 1688s ***** assert (isequaln (sech (sym(nan)), sym(nan))) 1688s ***** shared x, d 1688s d = 1; 1688s x = sym('1'); 1688s ***** test 1688s f1 = sech(x); 1688s f2 = sech(d); 1688s assert( abs(double(f1) - f2) < 1e-15 ) 1688s ***** test 1688s D = [d d; d d]; 1688s A = [x x; x x]; 1688s f1 = sech(A); 1688s f2 = sech(D); 1688s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1690s ***** test 1690s % round trip 1690s y = sym('y'); 1690s A = sech (d); 1690s f = sech (y); 1690s h = function_handle (f); 1690s B = h (d); 1690s assert (A, B, -eps) 1690s 5 tests, 5 passed, 0 known failure, 0 skipped 1690s [inst/@sym/erfi.m] 1690s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/erfi.m 1690s ***** error erfi (sym(1), 2) 1690s ***** assert (isequaln (erfi (sym(nan)), sym(nan))) 1690s ***** shared x, d 1690s d = 0; 1690s x = sym('0'); 1690s ***** test 1690s f1 = erfi(x); 1690s f2 = 0; 1690s assert( abs(double(f1) - f2) < 1e-15 ) 1690s ***** test 1690s D = [d d; d d]; 1690s A = [x x; x x]; 1690s f1 = erfi(A); 1690s f2 = 0; 1690s f2 = [f2 f2; f2 f2]; 1690s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1690s ***** test 1690s % round trip 1690s y = sym('y'); 1690s A = erfi (d); 1690s f = erfi (y); 1690s h = function_handle (f); 1690s B = h (d); 1690s assert (A, B, -eps) 1691s 5 tests, 5 passed, 0 known failure, 0 skipped 1691s [inst/@sym/coth.m] 1691s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/coth.m 1691s ***** error coth (sym(1), 2) 1691s ***** assert (isequaln (coth (sym(nan)), sym(nan))) 1691s ***** shared x, d 1691s d = 1; 1691s x = sym('1'); 1691s ***** test 1691s f1 = coth(x); 1691s f2 = coth(d); 1691s assert( abs(double(f1) - f2) < 1e-15 ) 1691s ***** test 1691s D = [d d; d d]; 1691s A = [x x; x x]; 1691s f1 = coth(A); 1691s f2 = coth(D); 1691s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1692s ***** test 1692s % round trip 1692s y = sym('y'); 1692s A = coth (d); 1692s f = coth (y); 1692s h = function_handle (f); 1692s B = h (d); 1692s assert (A, B, -eps) 1692s 5 tests, 5 passed, 0 known failure, 0 skipped 1692s [inst/@sym/cumprod.m] 1692s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cumprod.m 1692s ***** shared x, y 1692s x = sym ('x'); 1692s y = sym ('y'); 1692s ***** error cumprod (x, 1, 2) 1692s ***** assert (isequal (cumprod ([-x; -2*x; -3*x]), [-x; 2*x^2; -6*x^3])) 1694s ***** assert (isequal (expand (cumprod ([x + i, x - i])), [x + i, x^2 + 1])) 1695s ***** assert (isequal (cumprod ([1, x; y, 2], 1), [1, x; y, 2*x] )) 1697s ***** assert (isequal (cumprod ([1, x; y, 2], 2), [1, x; y, 2*y] )) 1698s ***** test cumprod ([x, x], [2, 1]); # ensure behaves like builtin cumprod 1699s ***** test cumprod ([x, x], [1, -2]); # ensure behaves like builtin cumprod 1700s ***** error cumprod (x, []) 1700s ***** error cumprod (x, {1}) 1700s ***** error cumprod (x, struct('a', 1)) 1700s ***** error cumprod (x, x) 1700s ***** error cumprod (x, 0) 1700s ***** error cumprod (x, -1) 1700s 13 tests, 13 passed, 0 known failure, 0 skipped 1700s [inst/@sym/acos.m] 1700s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acos.m 1700s ***** error acos (sym(1), 2) 1700s ***** assert (isequaln (acos (sym(nan)), sym(nan))) 1700s ***** shared x, d 1700s d = 1; 1700s x = sym('1'); 1700s ***** test 1700s f1 = acos(x); 1700s f2 = acos(d); 1700s assert( abs(double(f1) - f2) < 1e-15 ) 1700s ***** test 1700s D = [d d; d d]; 1700s A = [x x; x x]; 1700s f1 = acos(A); 1700s f2 = acos(D); 1700s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1701s ***** test 1701s % round trip 1701s y = sym('y'); 1701s A = acos (d); 1701s f = acos (y); 1701s h = function_handle (f); 1701s B = h (d); 1701s assert (A, B, -eps) 1701s 5 tests, 5 passed, 0 known failure, 0 skipped 1701s [inst/@sym/acsch.m] 1701s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acsch.m 1701s ***** error acsch (sym(1), 2) 1701s ***** assert (isequaln (acsch (sym(nan)), sym(nan))) 1701s ***** shared x, d 1701s d = 1; 1701s x = sym('1'); 1701s ***** test 1701s f1 = acsch(x); 1701s f2 = acsch(d); 1701s assert( abs(double(f1) - f2) < 1e-15 ) 1701s ***** test 1701s D = [d d; d d]; 1701s A = [x x; x x]; 1701s f1 = acsch(A); 1701s f2 = acsch(D); 1701s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1703s ***** test 1703s % round trip 1703s y = sym('y'); 1703s A = acsch (d); 1703s f = acsch (y); 1703s h = function_handle (f); 1703s B = h (d); 1703s assert (A, B, -eps) 1703s 5 tests, 5 passed, 0 known failure, 0 skipped 1703s [inst/@sym/dawson.m] 1703s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/dawson.m 1703s ***** test 1703s if (exist ('OCTAVE_VERSION', 'builtin')) 1703s % dawson missing on Matlab, Issue #742 1703s A = dawson([1 2]); 1703s B = double(dawson(sym([1 2]))); 1703s assert(A, B, -eps) 1703s end 1703s 1 test, 1 passed, 0 known failure, 0 skipped 1703s [inst/@sym/degree.m] 1703s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/degree.m 1703s ***** error degree (sym(1), 2, 3) 1703s ***** test 1703s syms x 1703s assert (isequal (degree(x^3), 3)) 1703s assert (isequal (degree(x^3 + 6), 3)) 1705s ***** test 1705s % specify variable 1705s syms x y 1705s p = x^2 + y*x + 1; 1705s assert (isequal (degree(p), 2)) 1705s assert (isequal (degree(p, x), 2)) 1705s assert (isequal (degree(p, y), 1)) 1706s ***** test 1706s syms x a oo 1706s assert (isequal (degree(x^3, a), 0)) 1706s assert (isequal (degree(sym(1), a), 0)) 1706s assert (isequal (degree(sym(0), a), -oo)) 1706s ***** xtest 1706s % constant inputs 1706s syms oo 1706s assert (isequal (degree(sym(1)), 0)) 1706s assert (isequal (degree(sym(0)), -oo)) 1707s 5 tests, 5 passed, 0 known failure, 0 skipped 1707s [inst/@sym/sinint.m] 1707s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sinint.m 1707s ***** error sinint (sym(1), 2) 1707s ***** xtest 1707s assert (isequaln (sinint (sym(nan)), sym(nan))) 1707s !!!!! known failure 1707s assert (isequaln (sinint (sym (nan)), sym (nan))) failed 1707s ***** shared x, d 1707s d = 1; 1707s x = sym('1'); 1708s ***** test 1708s f1 = sinint(x); 1708s f2 = 0.9460830703671830149414; 1708s assert( abs(double(f1) - f2) < 1e-15 ) 1708s ***** test 1708s D = [d d; d d]; 1708s A = [x x; x x]; 1708s f1 = sinint(A); 1708s f2 = 0.9460830703671830149414; 1708s f2 = [f2 f2; f2 f2]; 1708s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1709s ***** test 1709s % round trip 1709s y = sym('y'); 1709s A = sinint (d); 1709s f = sinint (y); 1709s h = function_handle (f); 1709s B = h (d); 1709s assert (A, B, -eps) 1709s 5 tests, 4 passed, 1 known failure, 0 skipped 1709s [inst/@sym/log2.m] 1709s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/log2.m 1709s ***** assert (isequal (log2 (sym (1024)), sym (10))) 1709s ***** assert (isequal (log2 (sym ([2 16; 32 1])), sym ([1 4; 5 0]))) 1711s ***** test 1711s % round-trip 1711s syms x 1711s f = log2 (x); 1711s h = function_handle (f); 1711s A = h (1.1); 1711s B = log2 (1.1); 1711s assert (A, B, -5*eps) 1711s 3 tests, 3 passed, 0 known failure, 0 skipped 1711s [inst/@sym/jacobian.m] 1711s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/jacobian.m 1711s ***** error jacobian (sym(1), 2, 3) 1711s ***** error jacobian ([sym(1) 2; sym(3) 4]) 1711s ***** shared x,y,z 1711s syms x y z 1711s ***** test 1711s % 1D 1711s f = x^2; 1711s assert (isequal (jacobian(f), diff(f,x))) 1711s assert (isequal (jacobian(f,{x}), diff(f,x))) 1711s assert (isequal (jacobian(f,x), diff(f,x))) 1711s ***** test 1711s % const 1711s f = sym(1); 1711s g = sym(0); 1711s assert (isequal (jacobian(f), g)) 1711s assert (isequal (jacobian(f,x), g)) 1712s ***** test 1712s % double const 1712s f = 1; 1712s g = sym(0); 1712s assert (isequal (jacobian(f,x), g)) 1712s ***** test 1712s % diag 1712s f = [x y^2]; 1712s g = [sym(1) 0; 0 2*y]; 1712s assert (isequal (jacobian(f), g)) 1712s assert (isequal (jacobian(f, [x y]), g)) 1712s assert (isequal (jacobian(f, {x y}), g)) 1713s ***** test 1713s % anti-diag 1713s f = [y^2 x]; 1713s g = [0 2*y; sym(1) 0]; 1713s assert (isequal (jacobian(f), g)) 1713s assert (isequal (jacobian(f, {x y}), g)) 1715s ***** test 1715s % shape 1715s f = [x y^2]; 1715s assert (isequal (size(jacobian(f, {x y z})), [2 3])) 1715s assert (isequal (size(jacobian(f, [x y z])), [2 3])) 1715s assert (isequal (size(jacobian(f, [x; y; z])), [2 3])) 1715s assert (isequal (size(jacobian(f.', {x y z})), [2 3])) 1715s ***** test 1715s % scalar f 1715s f = x*y; 1715s assert (isequal (size(jacobian(f, {x y})), [1 2])) 1715s g = gradient(f, {x y}); 1715s assert (isequal (jacobian(f, {x y}), g.')) 1716s ***** test 1716s % vect f wrt 1 var 1716s f = [x x^2]; 1716s assert (isequal (size(jacobian(f, x)), [2 1])) 1716s f = f.'; % same shape output 1716s assert (isequal (size(jacobian(f, x)), [2 1])) 1716s 10 tests, 10 passed, 0 known failure, 0 skipped 1716s [inst/@sym/dsolve.m] 1716s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/dsolve.m 1716s ***** error dsolve (1, sym('x')) 1716s ***** test 1716s syms y(x) 1716s de = diff(y, 2) - 4*y == 0; 1716s f = dsolve(de); 1716s syms C1 C2 1716s g1 = C1*exp(-2*x) + C2*exp(2*x); 1716s g2 = C2*exp(-2*x) + C1*exp(2*x); 1716s assert (isequal (f, g1) || isequal (f, g2)) 1719s ***** test 1719s % Not enough initial conditions 1719s syms y(x) C1 1719s de = diff(y, 2) + 4*y == 0; 1719s g = 3*cos(2*x) + C1*sin(2*x); 1719s try 1719s f = dsolve(de, y(0) == 3); 1719s waserr = false; 1719s catch 1719s waserr = true; 1719s expectederr = regexp (lasterr (), 'Perhaps.*under-specified'); 1719s f = 42; 1719s end 1719s assert ((waserr && expectederr) || isequal (f, g)) 1721s ***** test 1721s % Solution in implicit form 1721s syms y(x) C1 1721s de = (2*x*y(x) - exp(-2*y(x)))*diff(y(x), x) + y(x) == 0; 1721s sol = dsolve (de); 1721s eqn = x*exp(2*y(x)) - log(y(x)) == C1; 1721s % could differ by signs 1721s sol = lhs (sol) - rhs (sol); 1721s eqn = lhs (eqn) - rhs (eqn); 1721s sol2 = subs (sol, C1, -C1); 1721s assert (isequal (sol, eqn) || isequal (sol2, eqn)) 1733s Waiting.... 1734s ***** test 1734s % Compute solution and classification 1734s syms y(x) C1 1734s de = (2*x*y(x) - exp(-2*y(x)))*diff(y(x), x) + y(x) == 0; 1734s [sol, classy] = dsolve (de); 1734s assert (any (strcmp (classy, '1st_exact'))) 1750s Waiting... 1751s ***** test 1751s % initial conditions (first order ode) 1751s syms y(x) 1751s de = diff(y, x) + 4*y == 0; 1751s f = dsolve(de, y(0) == 3); 1751s g = 3*exp(-4*x); 1751s assert (isequal (f, g)) 1752s ***** test 1752s % initial conditions (second order ode) 1752s syms y(x) 1752s de = diff(y, 2) + 4*y == 0; 1752s f = dsolve(de, y(0) == 3, subs(diff(y,x),x,0)==0); 1752s g = 3*cos(2*x); 1752s assert (isequal (f, g)) 1754s ***** test 1754s % Dirichlet boundary conditions (second order ode) 1754s syms y(x) 1754s de = diff(y, 2) + 4*y == 0; 1754s f = dsolve(de, y(0) == 2, y(1) == 0); 1754s g = -2*sin(2*x)/tan(sym('2'))+2*cos(2*x); 1754s assert (isequal (simplify (f - g), 0)) 1757s ***** test 1757s % Neumann boundary conditions (second order ode) 1757s syms y(x) 1757s de = diff(y, 2) + 4*y == 0; 1757s f = dsolve(de, subs(diff(y,x),x,0)==1, subs(diff(y,x),x,1)==0); 1757s g = sin(2*x)/2+cos(2*x)/(2*tan(sym('2'))); 1757s assert (isequal (simplify (f - g), 0)) 1761s ***** test 1761s % Dirichlet-Neumann boundary conditions (second order ode) 1761s syms y(x) 1761s de = diff(y, 2) + 4*y == 0; 1761s f = dsolve(de, y(0) == 3, subs(diff(y,x),x,1)==0); 1761s g = 3*sin(2*x)*tan(sym('2'))+3*cos(2*x); 1761s assert (isequal (simplify (f - g), 0)) 1764s ***** test 1764s % System of ODEs gives struct, Issue #1003. 1764s syms x(t) y(t) 1764s ode1 = diff(x(t),t) == 2*y(t); 1764s ode2 = diff(y(t),t) == 2*x(t); 1764s soln = dsolve([ode1, ode2]); 1764s assert (isstruct (soln)) 1764s assert (numfields (soln) == 2) 1764s assert (isequal (sort (fieldnames (soln)), {'x'; 'y'})) 1766s ***** test 1766s % System of ODEs 1766s syms x(t) y(t) C1 C2 1766s ode1 = diff(x(t),t) == 2*y(t); 1766s ode2 = diff(y(t),t) == 2*x(t); 1766s soln = dsolve([ode1, ode2]); 1766s soln = [soln.x, soln.y]; 1766s g1 = [C1*exp(-2*t) + C2*exp(2*t), -C1*exp(-2*t) + C2*exp(2*t)]; 1766s g2 = [C1*exp(2*t) + C2*exp(-2*t), C1*exp(2*t) - C2*exp(-2*t)]; 1766s g3 = [-C1*exp(-2*t) + C2*exp(2*t), C1*exp(-2*t) + C2*exp(2*t)]; 1766s g4 = [C1*exp(2*t) - C2*exp(-2*t), C1*exp(2*t) + C2*exp(-2*t)]; 1766s % old SymPy <= 1.5.1 had some extra twos 1766s g5 = [2*C1*exp(-2*t) + 2*C2*exp(2*t), -2*C1*exp(-2*t) + 2*C2*exp(2*t)]; 1766s g6 = [2*C1*exp(2*t) + 2*C2*exp(-2*t), 2*C1*exp(2*t) - 2*C2*exp(-2*t)]; 1766s assert (isequal (soln, g1) || isequal (soln, g2) || ... 1766s isequal (soln, g3) || isequal (soln, g4) || ... 1766s isequal (soln, g5) || isequal (soln, g6)) 1776s ***** test 1776s % System of ODEs (initial-value problem) 1776s syms x(t) y(t) 1776s ode_1=diff(x(t),t) == 2*y(t); 1776s ode_2=diff(y(t),t) == 2*x(t); 1776s sol_ivp=dsolve([ode_1,ode_2],x(0)==1,y(0)==0); 1776s g_ivp=[exp(-2*t)/2+exp(2*t)/2,-exp(-2*t)/2+exp(2*t)/2]; 1776s assert (isequal ([sol_ivp.x, sol_ivp.y], g_ivp)) 1781s ***** test 1781s syms y(x) 1781s de = diff(y, 2) + 4*y == 0; 1781s f = dsolve(de, y(0) == 0, y(sym(pi)/4) == 1); 1781s g = sin(2*x); 1781s assert (isequal (f, g)) 1783s ***** test 1783s % Nonlinear example 1783s syms y(x) C1 1783s e = diff(y, x) == y^2; 1783s g = -1 / (C1 + x); 1783s soln = dsolve(e); 1783s assert (isequal (soln, g)) 1784s ***** test 1784s % Nonlinear example with initial condition 1784s syms y(x) 1784s e = diff(y, x) == y^2; 1784s g = -1 / (x - 1); 1784s soln = dsolve(e, y(0) == 1); 1784s assert (isequal (soln, g)) 1786s ***** test 1786s % forcing, Issue #183, broken in older sympy 1786s if (pycall_sympy__ ('return Version(spver) >= Version("1.7.1")')) 1786s syms x(t) y(t) 1786s ode1 = diff(x) == x + sin(t) + 2; 1786s ode2 = diff(y) == y - t - 3; 1786s soln = dsolve([ode1 ode2], x(0) == 1, y(0) == 2); 1786s X = soln.x; 1786s Y = soln.y; 1786s assert (isequal (diff(X) - (X + sin(t) + 2), 0)) 1786s assert (isequal (diff(Y) - (Y - t - 3), 0)) 1786s end 1792s ***** test 1792s syms f(x) a b 1792s de = diff(f, x) == 4*f; 1792s s = dsolve(de, f(a) == b); 1792s assert (isequal (subs(s, x, a), b)) 1793s ***** test 1793s % array of ICs 1793s syms x(t) y(t) 1793s ode_1 = diff (x(t), t) == 2*y(t); 1793s ode_2 = diff (y(t), t) == 2*x(t); 1793s sol = dsolve([ode_1, ode_2], [x(0)==1 y(0)==0]); 1793s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 1793s assert (isequal ([sol.x, sol.y], g)) 1798s ***** test 1798s % cell-array of ICs or ODEs, but not both 1798s % Note: to support both we'd need a wrapper outside of @sym 1798s syms x(t) y(t) 1798s ode_1 = diff (x(t), t) == 2*y(t); 1798s ode_2 = diff (y(t), t) == 2*x(t); 1798s sol = dsolve([ode_1, ode_2], {x(0)==1 y(0)==0}); 1798s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 1798s assert (isequal ([sol.x, sol.y], g)) 1798s sol = dsolve({ode_1, ode_2}, [x(0)==1 y(0)==0]); 1798s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 1798s assert (isequal ([sol.x, sol.y], g)) 1806s ***** test 1806s % array of ICs, Issue #1040. 1806s if (pycall_sympy__ ('return Version(spver) >= Version("1.7.1")')) 1806s syms x(t) y(t) z(t) 1806s syms x_0 y_0 z_0 1806s diffEqns = [diff(x, t) == -x + 1, diff(y, t) == -y, diff(z, t) == -z]; 1806s initCond = [x(0) == x_0, y(0) == y_0, z(0) == z_0]; 1806s soln = dsolve (diffEqns, initCond); 1806s soln = [soln.x, soln.y, soln.z]; 1806s exact_soln = [(x_0 - 1)*exp(-t) + 1 y_0*exp(-t) z_0*exp(-t)]; 1806s assert (isequal (soln, exact_soln)) 1806s end 1810s 21 tests, 21 passed, 0 known failure, 0 skipped 1810s [inst/@sym/int.m] 1810s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/int.m 1810s ***** shared x,y,a 1810s syms x y a 1810s ***** assert(logical(int(cos(x)) - sin(x) == 0)) 1811s ***** assert(logical(int(cos(x),x) - sin(x) == 0)) 1811s ***** assert(logical(int(cos(x),x,0,1) - sin(sym(1)) == 0)) 1812s ***** test 1812s %% limits might be syms 1812s assert( isequal (int(cos(x),x,sym(0),sym(1)), sin(sym(1)))) 1812s assert( isequal (int(cos(x),x,0,a), sin(a))) 1812s ***** test 1812s %% other variables present 1812s assert( isequal (int(y*cos(x),x), y*sin(x))) 1812s ***** test 1812s %% limits as array 1812s assert( isequal (int(cos(x),x,[0 1]), sin(sym(1)))) 1812s assert( isequal (int(cos(x),x,sym([0 1])), sin(sym(1)))) 1812s assert( isequal (int(cos(x),x,[0 a]), sin(a))) 1814s ***** test 1814s %% no x given 1814s assert( isequal (int(cos(x),[0 1]), sin(sym(1)))) 1814s assert( isequal (int(cos(x),sym([0 1])), sin(sym(1)))) 1814s assert( isequal (int(cos(x),[0 a]), sin(a))) 1814s assert( isequal (int(cos(x),0,a), sin(a))) 1817s ***** test 1817s %% integration of const 1817s assert( isequal (int(sym(2),y), 2*y)) 1817s assert( isequal (int(sym(2)), 2*x)) 1817s assert( isequal (int(sym(2),[0 a]), 2*a)) 1817s assert( isequal (int(sym(2),0,a), 2*a)) 1819s ***** test 1819s % componentwise int of array 1819s A = [x x*x]; 1819s assert (isequal (int(A, x), [x^2/2 x^3/3])) 1820s ***** test 1820s % NonElementaryIntegral bug 1820s % https://savannah.gnu.org/bugs/index.php?46831 1820s f = int(exp(exp(x))); 1820s f = f + 2; 1820s g = diff(f); 1820s assert (isequal (g, exp(exp(x)))) 1821s 10 tests, 10 passed, 0 known failure, 0 skipped 1821s [inst/@sym/csc.m] 1821s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/csc.m 1821s ***** error csc (sym(1), 2) 1821s ***** assert (isequaln (csc (sym(nan)), sym(nan))) 1822s ***** shared x, d 1822s d = 1; 1822s x = sym('1'); 1822s ***** test 1822s f1 = csc(x); 1822s f2 = csc(d); 1822s assert( abs(double(f1) - f2) < 1e-15 ) 1822s ***** test 1822s D = [d d; d d]; 1822s A = [x x; x x]; 1822s f1 = csc(A); 1822s f2 = csc(D); 1822s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1823s ***** test 1823s % round trip 1823s y = sym('y'); 1823s A = csc (d); 1823s f = csc (y); 1823s h = function_handle (f); 1823s B = h (d); 1823s assert (A, B, -eps) 1823s 5 tests, 5 passed, 0 known failure, 0 skipped 1823s [inst/@sym/assumeAlso.m] 1823s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/assumeAlso.m 1823s ***** test 1823s syms x 1823s x = assumeAlso(x, 'positive'); 1823s a = assumptions(x); 1823s assert(strcmp(a, 'x: positive')) 1824s ***** error 1824s syms x 1824s x = assumeAlso (x, x); 1824s ***** test 1824s syms x positive 1824s x = assumeAlso(x, 'integer'); 1824s [tilde, a] = assumptions(x, 'dict'); 1824s assert(a{1}.integer) 1824s assert(a{1}.positive) 1824s ***** test 1824s % multiple assumptions 1824s syms x positive 1824s x = assumeAlso(x, 'integer', 'even'); 1824s [tilde, a] = assumptions(x, 'dict'); 1824s assert(a{1}.integer) 1824s assert(a{1}.positive) 1824s assert(a{1}.even) 1825s ***** test 1825s % multiple assumptions 1825s syms x integer 1825s x = assumeAlso (x, 'even', 'positive'); 1825s [tilde, a] = assumptions (x, 'dict'); 1825s assert (a{1}.integer) 1825s assert (a{1}.even) 1825s assert (a{1}.positive) 1825s ***** test 1825s % has output so avoids workspace 1825s syms x positive 1825s x2 = x; 1825s f = sin(x); 1825s assumeAlso(x, 'integer'); 1825s a = assumptions(x); 1825s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1825s a = assumptions(x2); 1825s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1825s a = assumptions(f); 1825s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1827s ***** test 1827s % has no output so does workspace 1827s syms x positive 1827s x2 = x; 1827s f = sin(x); 1827s assumeAlso(x, 'integer'); 1827s a = assumptions(x); 1827s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1827s a = assumptions(x2); 1827s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1827s a = assumptions(f); 1827s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 1828s ***** error 1828s syms a 1828s assumeAlso (a > 0) 1828s ***** test 1828s syms x y 1828s assumeAlso ([x y], 'even') 1828s assert (strcmp (assumptions (x), 'x: even')) 1828s assert (strcmp (assumptions (y), 'y: even')) 1829s ***** test 1829s syms x y positive 1829s f = sin (2*x); 1829s assumeAlso ([x y], 'even') 1829s assert (strcmp (assumptions (x), 'x: even, positive') || strcmp (assumptions (x), 'x: positive, even')) 1829s assert (strcmp (assumptions (y), 'y: even, positive') || strcmp (assumptions (y), 'y: positive, even')) 1829s assert (strcmp (assumptions (f), 'x: even, positive') || strcmp (assumptions (f), 'x: positive, even')) 1831s ***** test 1831s % with output, original x and y are unchanged 1831s syms x y positive 1831s f = sin (2*x); 1831s [p, q] = assumeAlso ([x y], 'even'); 1831s assert (strcmp (assumptions (x), 'x: positive')) 1831s assert (strcmp (assumptions (y), 'y: positive')) 1831s assert (strcmp (assumptions (f), 'x: positive')) 1831s assert (strcmp (assumptions (p), 'x: even, positive') || strcmp (assumptions (p), 'x: positive, even')) 1831s assert (strcmp (assumptions (q), 'y: even, positive') || strcmp (assumptions (q), 'y: positive, even')) 1832s 11 tests, 11 passed, 0 known failure, 0 skipped 1832s [inst/@sym/lgamma.m] 1832s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/lgamma.m 1832s ***** test 1832s % tested by gammaln 1832s assert (isequal (lgamma (sym ('x')), gammaln (sym ('x')))) 1833s 1 test, 1 passed, 0 known failure, 0 skipped 1833s [inst/@sym/sort.m] 1833s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sort.m 1833s ***** error sort (sym(1), 2) 1833s ***** test 1833s f = [sym(1), sym(0)]; 1833s expected = sym([0, 1]); 1833s assert (isequal (sort(f), expected)) 1833s ***** test 1833s f = [sym(1)]; 1833s expected = sym(1); 1833s assert (isequal (sort(f), expected)) 1833s ***** test 1833s f = [sym(3), sym(2), sym(6)]; 1833s s = sort(f); 1833s expected_s = sym([2, 3, 6]); 1833s assert (isequal (s, expected_s)) 1834s ***** test 1834s f = [sym(pi), sin(sym(2)), sqrt(sym(6))]; 1834s s = sort(f); 1834s expected_s = sym([sin(sym(2)), sqrt(sym(6)), sym(pi)]); 1834s assert (isequal (s, expected_s)) 1835s ***** test 1835s f = [sym(1), sym(2); sym(2), sym(pi); sym(pi), sym(1)]; 1835s s = sort(f); 1835s expected_s = ([sym(1), sym(1); sym(2), sym(2); sym(pi), sym(pi)]); 1835s assert (isequal (s, expected_s)) 1836s ***** assert (isequal (sort(sym([])), sym([]))) 1836s ***** error sort([sym('x') 1]) 1836s ***** test 1836s % but with assumptions, symbols can be sorted 1836s p = sym('p', 'positive'); 1836s n = sym('n', 'negative'); 1836s expected_s = [n p]; 1836s s = sort ([p n]); 1836s assert (isequal (s, expected_s)) 1837s 9 tests, 9 passed, 0 known failure, 0 skipped 1837s [inst/@sym/double.m] 1837s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/double.m 1837s ***** test 1837s % numeric scalar 1837s a = double(sym(10)); 1837s assert (a == 10) 1837s assert (isa (a, 'double')) 1837s ***** test 1837s % numeric vectors 1837s a = double(sym([10 12])); 1837s assert (isequal (a, [10 12])) 1837s assert (isa (a, 'double')) 1838s ***** test 1838s % complex 1838s a = 3 + 4i; 1838s b = sym(a); 1838s assert (isequal (double (b), a)) 1838s ***** xtest 1838s % unexpected, precisely same floating point 1838s a = 3 + 4i; 1838s b = sym(a); 1838s assert (isequal (double (b/pi), a/pi)) 1838s ***** test 1838s % floating point 1838s x = sqrt(sym(2)); 1838s assert( abs(double(x) - sqrt(2)) < 2*eps) 1838s x = sym(pi); 1838s assert( abs(double(x) - pi) < 2*eps) 1839s ***** test 1839s oo = sym(inf); 1839s assert( double(oo) == inf ) 1839s assert( double(-oo) == -inf ) 1839s assert( isnan(double(0*oo)) ) 1839s ***** test 1839s zoo = sym('zoo'); 1839s assert (double(zoo) == complex(inf, inf)) 1839s ***** test 1839s zoo = sym('zoo'); 1839s assert (double(-zoo) == double(zoo) ) 1839s assert( isnan(double(0*zoo)) ) 1839s ***** test 1839s % nan 1839s snan = sym(nan); 1839s assert( isnan(double(snan))) 1840s ***** test 1840s % don't want NaN+NaNi 1840s snan = sym(nan); 1840s assert (isreal (double (snan))) 1840s ***** test 1840s % arrays 1840s a = [1 2; 3 4]; 1840s assert( isequal( double(sym(a)), a )) 1840s assert( isequal( double(sym(a)), a )) 1840s % should fail with error for non-double 1842s ***** error syms x; double(x) 1842s ***** error syms x; double([1 2 x]) 1842s 13 tests, 13 passed, 0 known failure, 0 skipped 1842s [inst/@sym/psi.m] 1842s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/psi.m 1842s ***** assert (isequal (psi (sym (1)), -eulergamma)) 1843s ***** assert (isequal (psi (1, sym (1)), sym (pi)^2/6)) 1843s ***** assert (isinf (psi (sym ('inf')))) 1844s ***** test 1844s % compare to Maple: evalf(Psi(-101/100)); 1844s maple = vpa ('100.3963127058453949545769053445198842332424', 40); 1844s us = vpa (psi (sym (-101)/100), 40); 1844s assert (abs(double(maple-us)) < 1e-39) 1844s ***** test 1844s % compare to Maple: evalf(Psi(1, 3*I-2)); 1844s maple = vpa ('-0.1651414829219882371561038184133243839778799', 40) - ... 1844s vpa ('0.1960040752985823275302034466611711263617296j', 40); 1844s us = vpa (psi (1, sym (-2) + sym(3i)), 40); 1844s assert (abs(double(maple-us)) < 1e-39) 1845s ***** test 1845s % should match @double/psi 1845s if (exist ('psi','builtin')) 1845s assert (psi (pi), double (psi (sym (pi))), -3*eps) 1845s assert (psi (100), double (psi (sym (100))), -3*eps) 1845s assert (psi (1e-3), double (psi (1/sym (1e3))), -3*eps) 1845s if (exist ('OCTAVE_VERSION', 'builtin')) 1845s % 2014a doesn't support negative or complex arguments 1845s assert (psi (-1.5), double (psi (sym (-3)/2)), -3*eps) 1845s assert (psi (-8.3), double (psi (sym (-83)/10)),-4*eps) 1845s assert (psi (2i), double (psi (sym (2i))), -3*eps) 1845s assert (psi (10i+3), double (psi (sym (10i)+3)), -3*eps) 1845s end 1845s end 1848s ***** test 1848s % @double/psi loses accuracy near the poles: note higher rel tol 1848s if (exist ('psi','builtin')) 1848s if (exist ('OCTAVE_VERSION', 'builtin')) 1848s assert (psi (-1.1), double (psi (sym (-11)/10)), -6*eps) 1848s assert (psi (-1.01), double (psi (sym (-101)/100)), -50*eps) 1848s end 1848s end 1849s ***** test 1849s if (exist ('psi','builtin')) 1849s assert (psi (1, pi), double (psi (1, sym (pi))), -3*eps) 1849s assert (psi (1, 100), double (psi (1, sym (100))), -3*eps) 1849s assert (psi (1, 1e-4), double (psi (1, 1/sym (1e4))), -3*eps) 1849s end 1850s ***** test 1850s if (exist ('psi','builtin')) 1850s assert (psi (2, pi), double (psi (2, sym (pi))), -3*eps) 1850s assert (psi (2, 1000), double (psi (2, sym (1000))), -3*eps) 1850s assert (psi (2, 1e-4), double (psi (2, 1/sym (1e4))), -3*eps) 1850s end 1854s ***** test 1854s % round trip 1854s if (exist ('psi','builtin')) 1854s syms x 1854s f = psi (x); 1854s h = function_handle (f); 1854s A = h (1.1); 1854s B = psi (1.1); 1854s assert (A, B) 1854s end 1854s 10 tests, 10 passed, 0 known failure, 0 skipped 1854s [inst/@sym/repmat.m] 1854s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/repmat.m 1854s ***** test 1854s % simple 1854s syms x 1854s A = [x x x; x x x]; 1854s assert (isequal (repmat(x, 2, 3), A)) 1854s ***** test 1854s % block cf double 1854s A = [1 2 3; 4 5 6]; 1854s B = sym(A); 1854s C = repmat(A, 2, 3); 1854s D = repmat(B, 2, 3); 1854s assert (isequal (C, D)) 1856s ***** test 1856s % empty 1856s A = repmat(sym([]), 2, 3); 1856s assert (isempty(A)); 1856s assert (isequal (size(A), [0 0])) 1856s ***** test 1856s % more empties 1856s A = repmat(sym(pi), [0 0]); 1856s assert (isequal (size(A), [0 0])) 1856s A = repmat(sym(pi), [0 3]); 1856s assert (isequal (size(A), [0 3])) 1856s A = repmat(sym(pi), [2 0]); 1856s assert (isequal (size(A), [2 0])) 1856s 4 tests, 4 passed, 0 known failure, 0 skipped 1856s [inst/@sym/plus.m] 1856s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/plus.m 1856s ***** test 1856s % basic addition 1856s syms x 1856s assert (isa (x+5, 'sym')) 1856s assert (isa (5+x, 'sym')) 1856s assert (isa (5+sym(4), 'sym')) 1856s assert (isequal (5+sym(4), sym(9))) 1857s ***** test 1857s % array addition 1857s syms x 1857s D = [0 1; 2 3]; 1857s A = [sym(0) 1; sym(2) 3]; 1857s DZ = D - D; 1857s assert( isequal ( A + D , 2*D )) 1857s assert( isequal ( D + A , 2*D )) 1857s assert( isequal ( A + A , 2*D )) 1857s assert( isequal ( A + 2 , D + 2 )) 1857s assert( isequal ( 4 + A , 4 + D )) 1860s ***** test 1860s % ensure MatrixExpr can be manipulated somewhat 1860s syms n m integer 1860s A = sym('A', [n m]); 1860s B = subs(A, [n m], [5 6]); 1860s B = B + 1; 1860s assert (isa (B, 'sym')) 1860s C = B(1, 1); % currently makes a MatrixElement 1860s C = C + 1; 1860s assert (isa (C, 'sym')) 1865s 3 tests, 3 passed, 0 known failure, 0 skipped 1865s [inst/@sym/expint.m] 1865s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/expint.m 1865s ***** error expint (sym(1), 2, 3) 1865s ***** test 1865s f1 = expint(sym(1)); 1865s f2 = expint(1); 1865s assert( abs(double(f1) - f2) < 1e-15 ) 1865s ***** test 1865s f1 = expint(sym(1i)); 1865s f2 = expint(1i); 1865s assert( abs(double(f1) - f2) < 1e-15 ) 1865s ***** test 1865s D = [1 2; 3 4]; 1865s A = sym(D); 1865s f1 = expint(A); 1865s f2 = expint(D); 1865s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1865s ***** test 1865s syms x 1865s A = expint(x); 1865s B = expint(1, x); 1865s assert (isequal (A, B)) 1865s ***** test 1865s syms x 1865s A = exp(-x)/x; 1865s B = expint(0, x); 1865s assert (isequal (A, B)) 1865s ***** test 1865s % round trip 1865s syms x 1865s A = expint (3); 1865s f = expint (x); 1865s h = function_handle (f); 1865s B = h (3); 1865s assert (A, B, -eps) 1865s ***** error 1865s % round trip 1865s syms n x 1865s f = expint (n, x); 1865s h = function_handle (f); 1865s 8 tests, 8 passed, 0 known failure, 0 skipped 1865s [inst/@sym/curl.m] 1865s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/curl.m 1865s ***** error curl([sym(1) 2 3], 42, 42) 1865s ***** shared x,y,z 1865s syms x y z 1865s ***** test 1865s % double const 1865s f = [1 2 3]; 1865s g = [sym(0); 0; 0]; 1865s assert (isequal (curl(f, [x y z]), g)) 1865s % should fail, calls @double: curl(f, {x y z}), g)) 1865s ***** test 1865s % div curl always 0 1865s v = [exp(x); x*y; sin(z)]; 1865s g = curl(v); 1865s a = divergence(g, [x y z]); 1865s assert (isAlways (a == sym(0))) 1865s assert (isa (a, 'sym')) 1865s g = curl(v, [x y z]); 1865s a = divergence(g, [x y z]); 1865s assert (isAlways (a == sym(0))) 1865s assert (isa (a, 'sym')) 1869s ***** test 1869s % div curl always 0 1869s v = [exp(x); erfc(x*y); sin(exp(x)*y+sinh(z))]; 1869s g = curl(v, [x y z]); 1869s a = divergence(g, [x y z]); 1869s assert (isAlways (a == sym(0))) 1869s assert (isa (a, 'sym')) 1873s ***** test 1873s % curl grad is vec zero 1873s f = sin(exp(x)*y+sinh(z)); 1873s g = curl(gradient(f, [x,y,z])); 1873s assert (isequal (g, sym([0;0;0]))) 1882s ***** test 1882s % 2d fcn in 2d/3d 1882s u = sin(exp(x)*y); 1882s v = x^2*y^3; 1882s vorticity2d = diff(v,x) - diff(u,y); 1882s omega = curl([u; v; 0], [x y z]); 1882s assert (isequal (omega, [0; 0; vorticity2d])) 1884s ***** error <3D vector> curl([sym(1) 2 3 4]) 1884s ***** error curl([sym(1) 2 3], {sym('x') sym('y') sym('z') sym('t')}) 1885s 8 tests, 8 passed, 0 known failure, 0 skipped 1885s [inst/@sym/inv.m] 1885s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/inv.m 1885s ***** test 1885s % scalar 1885s syms x 1885s assert (isequal (inv(x), 1/x)) 1885s ***** test 1885s % diagonal 1885s syms x 1885s A = [sym(1) 0; 0 x]; 1885s B = [sym(1) 0; 0 1/x]; 1885s assert (isequal (inv(A), B)) 1886s ***** test 1886s % 2x2 inverse 1886s A = [1 2; 3 4]; 1886s assert (max (max (abs (double (inv (sym (A))) - inv(A)))) <= 3*eps) 1887s ***** error 1887s syms a; 1887s A = [a a; a a]; 1887s inv(A) 1888s ***** error 1888s syms a; 1888s A = [a a]; 1888s inv(A) 1888s 5 tests, 5 passed, 0 known failure, 0 skipped 1888s [inst/@sym/display.m] 1888s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/display.m 1888s ***** test 1888s assert(true) 1888s 1 test, 1 passed, 0 known failure, 0 skipped 1888s [inst/@sym/svd.m] 1888s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/svd.m 1888s ***** test 1888s % basic 1888s A = [1 2; 3 4]; 1888s B = sym(A); 1888s sd = svd(A); 1888s s = svd(B); 1888s s2 = double(s); 1888s assert (norm(s2 - sd) <= 10*eps) 1889s ***** test 1889s % scalars 1889s syms x 1889s syms y positive 1889s a = sym(-10); 1889s assert (isequal (svd(a), sym(10))) 1889s assert (isequal (svd(x), sqrt(x*conj(x)))) 1889s assert (isequal (svd(y), y)) 1890s ***** test 1890s % matrix with symbols 1890s syms x positive 1890s A = [x+1 0; sym(0) 2*x+1]; 1890s s = svd(A); 1890s s2 = subs(s, x, 2); 1890s assert (isequal (s2, [sym(5); 3])) 1892s ***** test 1892s % matrix with symbols 1892s syms x positive 1892s A = [x+1 0; sym(0) 2*x+1]; 1892s s = svd(A); 1892s s2 = subs(s, x, 2); 1892s assert (isequal (s2, [sym(5); 3])) 1892s ***** test 1892s % matrix with symbols, nonneg sing values 1892s syms x real 1892s A = [x 0; 0 sym(-5)]; 1892s s = svd(A); 1892s assert (isequal (s, [abs(x); 5])) 1893s 5 tests, 5 passed, 0 known failure, 0 skipped 1893s [inst/@sym/ctranspose.m] 1893s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ctranspose.m 1893s ***** test 1893s x = sym(1); 1893s assert (isequal (x', x)) 1893s ***** assert (isempty (sym([])')) 1893s ***** test 1893s % conjugate does nothing to real x 1893s syms x real 1893s assert (isequal (x', x)) 1893s ***** test 1893s % complex 1893s syms x 1893s assert (isequal (x', conj(x))) 1894s ***** test 1894s % complex array 1894s syms x 1894s A = [x 2*x]; 1894s B = [conj(x); 2*conj(x)]; 1894s assert(isequal(A', B)) 1894s ***** test 1894s A = [1 2; 3 4]; 1894s assert(isequal( sym(A)' , sym(A') )) 1895s ***** test 1895s A = [1 2] + 1i; 1895s assert(isequal( sym(A)' , sym(A') )) 1896s ***** test 1896s % true/false 1896s t = sym(true); 1896s f = sym(false); 1896s assert (isequal ( t', t)) 1896s assert (isequal ( f', f)) 1897s ***** test 1897s % more true/false 1897s syms x 1897s A = [x true 1i]; 1897s B = [conj(x); true; -sym(1i)]; 1897s assert (isequal ( A', B)) 1898s 9 tests, 9 passed, 0 known failure, 0 skipped 1898s [inst/@sym/cross.m] 1898s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cross.m 1898s ***** error cross (sym(1), 2, 3) 1898s ***** test 1898s a = sym([1; 0; 0]); 1898s b = sym([0; 1; 0]); 1898s c = cross(a, b); 1898s assert (isequal (c, sym([0; 0; 1]))) 1898s ***** test 1898s syms x 1898s a = sym([x; 0; 0]); 1898s b = sym([0; 1; 0]); 1898s c = cross(a, b); 1898s assert (isequal (c, sym([0; 0; x]))) 1899s 3 tests, 3 passed, 0 known failure, 0 skipped 1899s [inst/@sym/horzcat.m] 1899s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/horzcat.m 1899s ***** test 1899s % basic 1899s syms x 1899s A = [x x]; 1899s B = horzcat(x, x); 1899s C = horzcat(x, x, x); 1899s assert (isa (A, 'sym')) 1899s assert (isa (B, 'sym')) 1899s assert (isa (C, 'sym')) 1899s assert (isequal (size(A), [1 2])) 1899s assert (isequal (size(B), [1 2])) 1899s assert (isequal (size(C), [1 3])) 1900s ***** test 1900s % basic, part 2 1900s syms x 1900s A = [x 1]; 1900s B = [1 x]; 1900s C = [1 2 x]; 1900s assert (isa (A, 'sym')) 1900s assert (isa (B, 'sym')) 1900s assert (isa (C, 'sym')) 1900s assert (isequal (size(A), [1 2])) 1900s assert (isequal (size(B), [1 2])) 1900s assert (isequal (size(C), [1 3])) 1900s ***** test 1900s % row vectors 1900s a = [sym(1) 2]; 1900s b = [sym(3) 4]; 1900s assert (isequal ( [a b] , [1 2 3 4] )) 1900s assert (isequal ( [a 3 4] , [1 2 3 4] )) 1900s assert (isequal ( [3 4 a] , [3 4 1 2] )) 1900s assert (isequal ( [a [3 4]] , [1 2 3 4] )) 1900s assert (isequal ( [a sym(3) 4] , [1 2 3 4] )) 1900s assert (isequal ( [a [sym(3) 4]] , [1 2 3 4] )) 1904s ***** test 1904s % col vectors 1904s a = [sym(1); 2]; 1904s b = [sym(3); 4]; 1904s assert (isequal ( [a b] , [1 3; 2 4] )) 1904s assert (isequal ( [a b a] , [1 3 1; 2 4 2] )) 1905s ***** test 1905s % empty vectors 1905s v = sym(1); 1905s a = [v []]; 1905s assert (isequal (a, v)) 1905s a = [[] v []]; 1905s assert (isequal (a, v)) 1905s a = [v [] []]; 1905s assert (isequal (a, v)) 1905s ***** test 1905s % more empty vectors 1905s v = [sym(1) sym(2)]; 1905s q = sym(ones(1, 0)); 1905s assert (isequal ([v q], v)) 1906s ***** error 1906s v = [sym(1) sym(2)]; 1906s q = sym(ones(3, 0)); 1906s w = horzcat(v, q); 1906s ***** test 1906s % issue #700 1906s A = sym ([1 2]); 1906s B = simplify (A); 1906s assert (isequal ([B A], [A B])) 1906s 8 tests, 8 passed, 0 known failure, 0 skipped 1906s [inst/@sym/eq.m] 1906s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/eq.m 1906s ***** test 1906s % simple tests with scalar numbers 1906s assert (logical (sym(1) == sym(1))) 1906s assert (logical (sym(1) == 1)) 1906s assert (~logical (sym(1) == 0)) 1906s assert (isequal (sym(1) == sym(1), sym(true))) 1906s assert (isequal (sym(1) == 1, sym(true))) 1906s assert (isequal (sym(1) == 0, sym(false))) 1908s ***** test 1908s % Type of the output is sym or logical? 1908s % FIXME: in current version, they are sym 1908s e = sym(1) == sym(1); 1908s %assert (islogical (e)) 1908s assert (isa (e, 'sym')) 1908s ***** test 1908s % things involving a variable are usually not bool but sym. 1908s % (SMT behaviour says always, FIXME: currently we differ.) 1908s syms x 1908s e = x == 0; 1908s assert (~islogical (e)) 1908s assert (isa (e, 'sym')) 1908s ***** test 1908s % ... except of course via cancelation 1908s syms x 1908s e = x - x == 0; 1908s assert (logical (e)) 1908s assert (isequal (e, sym(true))) 1908s ***** test 1908s % array == array 1908s a = sym([1 2; 3 4]); 1908s y = a == a; 1908s assert (isequal( size(y), [2 2])) 1908s assert (isequal (y, sym([true true; true true]))) 1908s assert (all(all(y))) 1908s y = a == 1; 1908s assert (isequal( size(y), [2 2])) 1908s assert (isequal (y, sym([true false; false false]))) 1908s assert (any(any(y))) 1908s y = a == 42; 1908s assert (isequal( size(y), [2 2])) 1908s assert (isequal (y, sym([false false; false false]))) 1910s ***** test 1910s % more array == array 1910s D = [0 1; 2 3]; 1910s A = [sym(0) 1; sym(2) 3]; 1910s DZ = D - D; 1910s assert (isequal (logical(A == A), [true true; true true])) 1910s assert (isequal (logical(A == D), [true true; true true])) 1910s assert (isequal (logical(A - D == DZ), [true true; true true])) 1910s assert (all (all ( A == A ))) 1910s assert (all (all ( A == D ))) 1910s assert (all (all ( A - D == DZ ))) 1913s ***** test 1913s % logical output, right shape, etc 1913s t = true; f = false; 1913s a = sym([0 1 2; 3 4 5]); 1913s b = sym([0 1 1; 3 5 5]); 1913s e = a == b; 1913s eexp = sym(logical([1 1 0; 1 0 1])); 1913s assert (isequal (e, eexp)) 1913s a = sym([0 1 2]); 1913s b = sym([0 1 1]); 1913s e = a == b; 1913s eexp = sym(logical([1 1 0])); 1913s assert (isequal (e, eexp)) 1913s e = a' == b'; 1913s eexp = eexp.'; % is/was bug here with ' 1913s assert (isequal (e, eexp)) 1915s ***** test 1915s % empty matrices compare to correct empty size 1915s a = zeros (sym(3), 0); 1915s assert (size (a == a), [3, 0]) 1915s a = zeros (sym(0), 2); 1915s assert (size (a == a), [0, 2]) 1916s 8 tests, 8 passed, 0 known failure, 0 skipped 1916s [inst/@sym/taylor.m] 1916s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/taylor.m 1916s ***** test 1916s syms x 1916s f = exp(x); 1916s expected = 1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120; 1916s assert (isequal (taylor(f), expected)) 1916s assert (isequal (taylor(f,x), expected)) 1916s assert (isequal (taylor(f,x,0), expected)) 1919s ***** test 1919s syms x 1919s f = exp(x); 1919s expected = 1 + x + x^2/2 + x^3/6 + x^4/24; 1919s assert (isequal (taylor(f,'order',5), expected)) 1919s assert (isequal (taylor(f,x,'order',5), expected)) 1919s assert (isequal (taylor(f,x,0,'order',5), expected)) 1923s ***** test 1923s % key/value ordering doesn't matter 1923s syms x 1923s f = exp(x); 1923s g1 = taylor(f, 'expansionPoint', 1, 'order', 3); 1923s g2 = taylor(f, 'order', 3, 'expansionPoint', 1); 1923s assert (isequal (g1, g2)) 1924s ***** test 1924s syms x 1924s f = x^2; 1924s assert (isequal (taylor(f,x,0,'order',0), 0)) 1924s assert (isequal (taylor(f,x,0,'order',1), 0)) 1924s assert (isequal (taylor(f,x,0,'order',2), 0)) 1924s assert (isequal (taylor(f,x,0,'order',3), x^2)) 1924s assert (isequal (taylor(f,x,0,'order',4), x^2)) 1926s ***** test 1926s syms x y 1926s f = exp(x)+exp(y); 1926s expected = 2 + x + x^2/2 + x^3/6 + x^4/24 + y + y^2/2 + y^3/6 + y^4/24; 1926s assert (isAlways(taylor(f,[x,y],'order',5)== expected)) 1926s assert (isAlways(taylor(f,[x,y],[0,0],'order',5) == expected)) 1930s ***** test 1930s % key/value ordering doesn't matter 1930s syms x 1930s f = exp(x); 1930s g1 = taylor(f, 'expansionPoint', 1, 'order', 3); 1930s g2 = taylor(f, 'order', 3, 'expansionPoint', 1); 1930s assert (isequal (g1, g2)) 1931s ***** test 1931s syms x 1931s f = x^2; 1931s assert (isequal (taylor(f,x,0,'order',0), 0)) 1931s assert (isequal (taylor(f,x,0,'order',1), 0)) 1931s assert (isequal (taylor(f,x,0,'order',2), 0)) 1931s assert (isequal (taylor(f,x,0,'order',3), x^2)) 1931s assert (isequal (taylor(f,x,0,'order',4), x^2)) 1933s ***** test 1933s % syms for a and order 1933s syms x 1933s f = x^2; 1933s assert (isequal (taylor(f,x,sym(0),'order',sym(2)), 0)) 1933s assert (isequal (taylor(f,x,sym(0),'order',sym(4)), x^2)) 1934s ***** test 1934s syms x y 1934s f = exp (x^2 + y^2); 1934s expected = 1+ x^2 +y^2 + x^4/2 + x^2*y^2 + y^4/2; 1934s assert (isAlways(taylor(f,[x,y],'order',5)== expected)) 1934s assert (isAlways(taylor(f,[x,y],'expansionPoint', [0,0],'order',5) == expected)) 1938s ***** test 1938s syms x y 1938s f = sqrt(1+x^2+y^2); 1938s expected = 1+ x^2/2 +y^2/2 - x^4/8 - x^2*y^2/4 - y^4/8; 1938s assert (isAlways(taylor(f,[x,y],'order',6)== expected)) 1938s assert (isAlways(taylor(f,[x,y],'expansionPoint', [0,0],'order',5) == expected)) 1944s ***** test 1944s syms x y 1944s f = sin (x^2 + y^2); 1944s expected = sin(sym(1))+2*cos(sym(1))*(x-1)+(cos(sym(1))-2*sin(sym(1)))*(x-1)^2 + cos(sym(1))*y^2; 1944s assert (isAlways(taylor(f,[x,y],'expansionPoint', [1,0],'order',3) == expected)) 1948s ***** test 1948s % key/value ordering doesn't matter 1948s syms x y 1948s f = exp(x+y); 1948s g1 = taylor(f, 'expansionPoint',1, 'order', 3); 1948s g2 = taylor(f, 'order', 3, 'expansionPoint',1); 1948s assert (isAlways(g1== g2)) 1950s ***** test 1950s syms x y 1950s f = x^2 + y^2; 1950s assert (isAlways(taylor(f,[x,y],[0,0],'order',0)== sym(0) )) 1950s assert (isAlways(taylor(f,[x,y],[0,0],'order',1)== sym(0) )) 1950s assert (isAlways(taylor(f,[x,y],[0,0],'order',2)== sym(0) )) 1950s assert (isAlways(taylor(f,[x,y],[0,0],'order',3)== sym(x^2 + y^2))) 1950s assert (isAlways(taylor(f,[x,y],[0,0],'order',4)== sym(x^2 + y^2))) 1953s ***** test 1953s % expansion point 1953s syms x a 1953s f = x^2; 1953s g = taylor(f,x,2); 1953s assert (isequal (simplify(g), f)) 1953s assert (isequal (g, 4*x+(x-2)^2-4)) 1953s g = taylor(f,x,a); 1953s assert (isequal (simplify(g), f)) 1955s ***** test 1955s % wrong order-1 series with nonzero expansion pt: 1955s % upstream bug https://github.com/sympy/sympy/issues/9351 1955s syms x 1955s g = x^2 + 2*x + 3; 1955s h = taylor (g, x, 4, 'order', 1); 1955s assert (isequal (h, 27)) 1955s ***** test 1955s syms x y z 1955s g = x^2 + 2*y + 3*z; 1955s h = taylor (g, [x,y,z], 'order', 4); 1955s assert (isAlways(h == g)) ; 1957s ***** test 1957s syms x y z 1957s g = sin(x*y*z); 1957s h = taylor (g, [x,y,z], 'order', 4); 1957s assert (isAlways(h == x*y*z)) ; 1958s ***** error 1958s syms x y 1958s taylor(0, [x, y], [1, 2, 3]); 1958s 18 tests, 18 passed, 0 known failure, 0 skipped 1958s [inst/@sym/interval.m] 1958s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/interval.m 1958s ***** test 1958s a = interval(sym(1), 2); 1958s assert (isa (a, 'sym')) 1958s ***** test 1958s % some set subtraction 1958s a = interval(sym(0), 4); 1958s b = interval(sym(0), 1); 1958s c = interval(sym(1), 4, true); 1958s q = a - b; 1958s assert (isequal( q, c)) 1959s 2 tests, 2 passed, 0 known failure, 0 skipped 1959s [inst/@sym/ipermute.m] 1959s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ipermute.m 1959s ***** error permute (sym(1)) 1960s ***** error permute (sym(1), 2, 3) 1960s ***** test 1960s syms x 1960s A = [1 x]; 1960s perm = [2 1]; 1960s B = permute(A, perm); 1960s C = ipermute(B, perm); 1960s assert (isequal(C, A)) 1960s 3 tests, 3 passed, 0 known failure, 0 skipped 1960s [inst/@sym/chebyshevT.m] 1960s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/chebyshevT.m 1960s ***** error chebyshevT (sym(1)) 1961s ***** error chebyshevT (sym(1), 2, 3) 1961s ***** assert (isequaln (chebyshevT (2, sym(nan)), sym(nan))) 1961s ***** shared x 1961s syms x 1961s ***** assert(isequal(chebyshevT(0, x), sym(1))) 1962s ***** assert(isequal(chebyshevT(1, x), x)) 1962s ***** assert(isequal(chebyshevT(2, x), 2*x*x - 1)) 1962s ***** assert(isequal(chebyshevT([0 1 2], x), [sym(1) x (2*x*x-1)])) 1963s ***** test 1963s % round trip 1963s syms n z 1963s f = chebyshevT (n, z); 1963s h = function_handle (f, 'vars', [n z]); 1963s A = h (1.1, 2.2); 1963s B = chebyshevT (1.1, 2.2); 1963s assert (A, B) 1963s 8 tests, 8 passed, 0 known failure, 0 skipped 1963s [inst/@sym/rdivide.m] 1963s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/rdivide.m 1963s ***** test 1963s % scalar 1963s syms x 1963s assert (isa (x ./ 1, 'sym')) 1963s assert (isa (x ./ x, 'sym')) 1963s assert (isequal (x ./ 1, x)) 1963s assert (isequal (x ./ x, sym(1))) 1964s ***** test 1964s % matrix-scalar 1964s D = 2*[0 1; 2 3]; 1964s A = sym(D); 1964s assert (isequal ( A./2 , D/2 )) 1964s assert (isequal ( A./sym(2) , D/2 )) 1964s assert (isequal ( D./sym(2) , D/2 )) 1965s ***** test 1965s % matrix ./ matrix 1965s D = [1 2; 3 4]; 1965s A = sym(D); 1965s assert (isequal ( A./A , D./D )) 1965s assert (isequal ( A./D , D./D )) 1965s assert (isequal ( D./A , D./D )) 1967s ***** test 1967s % matrix ./ matrix with symbols 1967s syms x y 1967s A = [x y; x^2 2*y]; 1967s B = [y x; x y]; 1967s assert (isequal ( A./A , sym(ones(2,2)) )) 1967s assert (isequal ( A./B , [x/y y/x; x 2] )) 1969s ***** test 1969s % scalar ./ matrix 1969s D = [1 2; 3 4]; 1969s A = sym(D); 1969s assert (isequal ( 12./A , 12./D )) 1970s 5 tests, 5 passed, 0 known failure, 0 skipped 1970s [inst/@sym/sum.m] 1970s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sum.m 1970s ***** error sum (sym(1), 2, 3) 1970s ***** error sum (sym(1), 42) 1970s ***** shared x,y,z 1970s syms x y z 1970s ***** assert (isequal (sum (x), x)) 1970s ***** assert (isequal (sum ([x y z]), x+y+z)) 1971s ***** assert (isequal (sum ([x; y; z]), x+y+z)) 1971s ***** assert (isequal (sum ([x y z], 1), [x y z])) 1971s ***** assert (isequal (sum ([x y z], 2), x+y+z)) 1972s ***** shared a,b 1972s b = [1 2; 3 4]; a = sym(b); 1972s ***** assert (isequal (sum(a), sum(b))) 1972s ***** assert (isequal (sum(a,1), sum(b,1))) 1973s ***** assert (isequal (sum(a,2), sum(b,2))) 1973s ***** test 1973s % weird inputs 1973s a = sum('xx', sym(1)); 1973s assert (isequal (a, sym('xx'))) 1973s 11 tests, 11 passed, 0 known failure, 0 skipped 1973s [inst/@sym/tand.m] 1973s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/tand.m 1973s ***** error tand (sym(1), 2) 1973s ***** assert (isequaln (tand (sym(nan)), sym(nan))) 1973s ***** test 1973s f1 = tand (sym(1)); 1973s f2 = tand (1); 1973s assert (double (f1), f2, -eps) 1974s ***** test 1974s D = [10 30; 110 -45]; 1974s A = sym(D); 1974s f1 = tand (A); 1974s f2 = tand (D); 1974s assert (double (f1), f2, -eps) 1975s 4 tests, 4 passed, 0 known failure, 0 skipped 1975s [inst/@sym/kroneckerDelta.m] 1975s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/kroneckerDelta.m 1975s ***** error kroneckerDelta (sym(1), 2, 3) 1975s ***** test 1975s syms x 1975s assert (isequal (kroneckerDelta (x, x), sym(1))) 1975s ***** assert (isequal (kroneckerDelta ([sym(1) 2 3], [1 2 0]), sym([1 1 0]))) 1976s ***** test 1976s % round trip 1976s syms x y 1976s f = kroneckerDelta (x, y); 1976s h = function_handle (f); 1976s assert (h (1, 2), 0) 1976s assert (h (2, 2), 1) 1976s 4 tests, 4 passed, 0 known failure, 0 skipped 1976s [inst/@sym/cosd.m] 1976s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cosd.m 1976s ***** error cosd (sym(1), 2) 1976s ***** assert (isequaln (cosd (sym(nan)), sym(nan))) 1976s ***** test 1976s f1 = cosd (sym(1)); 1976s f2 = cosd (1); 1976s assert (double (f1), f2, -eps) 1976s ***** test 1976s D = [10 30; 110 -45]; 1976s A = sym(D); 1976s f1 = cosd (A); 1976s f2 = cosd (D); 1976s assert (double (f1), f2, -4*eps) 1977s 4 tests, 4 passed, 0 known failure, 0 skipped 1977s [inst/@sym/gammaln.m] 1977s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/gammaln.m 1977s ***** assert (isequal (gammaln (sym (3)), log (sym (2)))) 1978s ***** assert (isequal (gammaln (sym (10)), log (gamma (sym (10))))) 1978s ***** test 1978s % compare to Maple: evalf(lnGAMMA(Pi)); 1978s maple = vpa ('0.827694592323437101529578558452359951153502', 40); 1978s us = vpa (gammaln (sym(pi)), 40); 1978s assert (abs(double(maple-us)) < 1e-39) 1978s ***** test 1978s % compare to Maple: evalf(lnGAMMA(3+2*I)); 1978s maple = vpa ('-0.0316390593739611898037677296008797172022603', 40) + ... 1978s vpa ('2.02219319750132712401643376238334982100512j', 40); 1978s us = vpa (gammaln (sym(3) + 2i), 40); 1978s assert (abs(double(maple-us)) < 1e-39) 1979s ***** test 1979s % compare to Maple: evalf(lnGAMMA(-1.5)); 1979s % notably, @double/gammaln has zero imag part 1979s maple = vpa ('0.8600470153764810145109326816703567873271571', 40) - ... 1979s vpa ('6.2831853071795864769252867665590057683943388j', 40); 1979s us = vpa (gammaln (-sym(3)/2), 40); 1979s assert (abs(double(maple-us)) < 1e-39) 1980s ***** assert (gammaln (pi), double (gammaln (sym (pi))), -3*eps) 1980s ***** assert (gammaln (100), double (gammaln (sym (100))), -3*eps) 1980s ***** assert (gammaln (1e-3), double (gammaln (1/sym (1e3))), -100*eps) 1980s ***** test 1980s % round trip 1980s syms x 1980s f = gammaln (x); 1980s h = function_handle (f); 1980s A = h (1.1); 1980s B = gammaln (1.1); 1980s assert (A, B) 1980s 9 tests, 9 passed, 0 known failure, 0 skipped 1980s [inst/@sym/ge.m] 1980s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ge.m 1980s ***** test 1980s % simple 1980s x = sym(1); y = sym(1); e = x >= y; 1980s assert (logical (e)) 1980s x = sym(1); y = sym(2); e = x >= y; 1980s assert (~logical(e)) 1981s ***** test 1981s % array -- array 1981s syms x 1981s a = sym([1 3 3 2*x]); 1981s b = sym([2 x 3 10]); 1981s e = a >= b; 1981s assert (isa (e, 'sym')) 1981s assert (~logical (e(1))) 1981s assert (isa (e(2), 'sym')) 1981s assert (isequal (e(2), 3 >= x)) 1981s assert (logical (e(3))) 1981s assert (isa (e(4), 'sym')) 1981s assert (isequal (e(4), 2*x >= 10)) 1983s 2 tests, 2 passed, 0 known failure, 0 skipped 1983s [inst/@sym/fliplr.m] 1983s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/fliplr.m 1983s ***** test 1983s % simple 1983s syms x 1983s A = [x 2; sym(pi) x]; 1983s B = [2 x; x sym(pi)]; 1983s assert (isequal (fliplr(A), B)) 1983s ***** test 1983s % simple, odd # cols 1983s syms x 1983s A = [x 2 sym(pi); x 1 2]; 1983s B = [sym(pi) 2 x; 2 1 x]; 1983s assert (isequal (fliplr(A), B)) 1984s ***** test 1984s % scalar 1984s syms x 1984s assert (isequal (fliplr(x), x)) 1984s 3 tests, 3 passed, 0 known failure, 0 skipped 1984s [inst/@sym/qr.m] 1984s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/qr.m 1984s ***** error qr (sym(1), 2, 3) 1984s ***** error [Q, R, P] = qr (sym(1)) 1985s ***** error qr (sym(1), 1) 1985s ***** test 1985s % scalar 1985s [q, r] = qr(sym(6)); 1985s assert (isequal (q, sym(1))) 1985s assert (isequal (r, sym(6))) 1985s ***** test 1985s syms x positive 1985s [q, r] = qr(x); 1985s assert (isequal (q*r, x)) 1985s assert (isequal (q, sym(1))) 1985s assert (isequal (r, x)) 1987s ***** test 1987s % trickier if x could be zero, fails on 1.8 <= SymPy <= 1.10.1 1987s syms x 1987s [q, r] = qr(x); 1987s if (pycall_sympy__ ('return Version(spver) > Version("1.10.1")')) 1987s assert (isequal (q*r, x)) 1987s end 1987s ***** test 1987s A = [1 2; 3 4]; 1987s B = sym(A); 1987s [Q, R] = qr(B); 1987s assert (isequal (Q*R, B)) 1987s assert (isequal (R(2,1), sym(0))) 1987s assert (isequal (Q(:,1)'*Q(:,2), sym(0))) 1987s %[QA, RA] = qr(A) 1987s %assert ( max(max(double(Q)-QA)) <= 10*eps) 1987s %assert ( max(max(double(Q)-QA)) <= 10*eps) 1987s ***** test 1987s % non square: tall skinny 1987s A = sym([1 2; 3 4; 5 6]); 1987s [Q, R] = qr (A, 0); 1987s assert (size (Q), [3 2]) 1987s assert (size (R), [2 2]) 1987s assert (isequal (Q*R, A)) 1988s ***** test 1988s % non square: short fat 1988s A = sym([1 2 3; 4 5 6]); 1988s [Q, R] = qr (A); 1988s assert (isequal (Q*R, A)) 1988s ***** test 1988s % non square: short fat, rank deficient 1988s A = sym([1 2 3; 2 4 6]); 1988s [Q, R] = qr (A); 1988s assert (isequal (Q*R, A)) 1988s A = sym([1 2 3; 2 4 6; 0 0 0]); 1988s [Q, R] = qr (A); 1988s assert (isequal (Q*R, A)) 1990s ***** test 1990s % rank deficient 1990s A = sym([1 2 3; 2 4 6; 0 0 0]); 1990s [Q, R] = qr (A); 1990s assert (isequal (Q*R, A)) 1990s A = sym([1 2 3; 2 5 6; 0 0 0]); 1990s [Q, R] = qr (A); 1990s assert (isequal (Q*R, A)) 1991s ***** test 1991s % single return value R not Q 1991s assert (isequal (qr (sym(4)), sym(4))) 1991s 12 tests, 12 passed, 0 known failure, 0 skipped 1991s [inst/@sym/all.m] 1991s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/all.m 1991s ***** test 1991s % matrix 1991s a = [0 3; 1 2]; 1991s s = sym (a); 1991s assert (isequal (all (s), all (a))) 1991s assert (isequal (all (s,1), all (a,1))) 1991s assert (isequal (all (s,2), all (a,2))) 1992s ***** test 1992s % vector 1992s a = [1 2 3]; 1992s s = sym (a); 1992s assert (isequal (all (s), all (a))) 1992s assert (isequal (all (s,1), all (a,1))) 1992s assert (isequal (all (s,2), all (a,2))) 1992s ***** test 1992s % should fail on symbols 1992s syms x 1992s s = [1 2 x]; 1992s try 1992s all (s) 1992s waserr = false; 1992s catch 1992s waserr = true; 1992s end 1992s assert (waserr) 1992s 3 tests, 3 passed, 0 known failure, 0 skipped 1992s [inst/@sym/charpoly.m] 1992s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/charpoly.m 1992s ***** error charpoly (sym (1), 1, 2) 1993s ***** error charpoly (sym ([1 2])) 1993s ***** test 1993s syms x 1993s A = sym([1 2; 3 4]); 1993s assert (isequal (charpoly(A, x), x^2 - 5*x -2)) 1994s ***** test 1994s syms x 1994s A = sym([1 2; 3 4]); 1994s B = sym([1 -5 -2]); 1994s assert (isequal (charpoly(A), B)) 1994s ***** test 1994s syms x 1994s A = sym([x x; x x]); 1994s B = sym([1 -2*x 0]); 1994s assert (isequal (charpoly(A), B)) 1995s 5 tests, 5 passed, 0 known failure, 0 skipped 1995s [inst/@sym/cbrt.m] 1995s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/cbrt.m 1995s ***** error cbrt (sym(1), 2) 1995s ***** assert (isequaln (cbrt (sym(nan)), sym(nan))) 1995s ***** shared x, d 1995s d = 2; 1995s x = sym('2'); 1995s ***** test 1995s f1 = cbrt(x); 1995s f2 = 1.2599210498948731647; 1995s assert( abs(double(f1) - f2) < 1e-15 ) 1995s ***** test 1995s D = [d d; d d]; 1995s A = [x x; x x]; 1995s f1 = cbrt(A); 1995s f2 = 1.2599210498948731647; 1995s f2 = [f2 f2; f2 f2]; 1995s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 1996s ***** test 1996s % round trip 1996s y = sym('y'); 1996s if (exist ('OCTAVE_VERSION', 'builtin')) 1996s A = cbrt (d); 1996s else 1996s % Issue #742 1996s A = d^(1/3); 1996s end 1996s f = cbrt (y); 1996s h = function_handle (f); 1996s B = h (d); 1996s assert (A, B, -eps) 1996s 5 tests, 5 passed, 0 known failure, 0 skipped 1996s [inst/@sym/argnames.m] 1996s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/argnames.m 1996s ***** test 1996s % basic tests 1996s syms x 1996s f = 2*x; 1996s assert (isempty (argnames(x))) 1996s assert (isempty (argnames(f))) 1996s 1 test, 1 passed, 0 known failure, 0 skipped 1996s [inst/@sym/isNone.m] 1997s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/isNone.m 1997s ***** test 1997s None = pycall_sympy__ ('return None'); 1997s ***** shared None 1997s None = pycall_sympy__ ('return None'); 1997s ***** assert (isNone(None)) 1997s ***** assert (~isNone(sym('x'))) 1997s ***** assert (islogical(isNone(None))) 1997s ***** test 1997s a = [1 None]; 1997s a = [None None]; 1997s a = [None; 1]; 1997s a = [None; None]; 1997s a = [None 2; 3 None]; 1997s ***** test 1997s a = sym([1 2]); 1997s a(1,2) = None; 1997s assert (isequal (a, [sym(1) None])); 1998s ***** assert (isequal (None(1), None)); 1998s ***** error None(None); 1998s ***** error x=sym('x'); x(None); 1998s ***** error x=1; x(None); 1998s ***** error None(None); 1998s ***** error 1 + None; 1998s ***** error None - 1; 1998s ***** error 6*None; 1998s ***** error 2^None; 1998s ***** error [1 2].*None; 1998s ***** error isconstant(None); 1998s ***** error nnz(None); 1999s ***** error logical(None); 1999s ***** error isAlways(None); 1999s ***** error logical([sym(true) None]); 1999s ***** error isAlways([sym(true) None]); 1999s ***** assert (isequal (children(None), None)) 1999s ***** assert (isequal (repmat(None, 1, 2), [None None])) 1999s ***** assert (isequal (fliplr(None), None)) 1999s ***** assert (isequal (flipud(None), None)) 1999s 26 tests, 26 passed, 0 known failure, 0 skipped 1999s [inst/@sym/union.m] 1999s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/union.m 1999s ***** test 1999s A = sym([1 2 3]); 1999s B = sym([1 2 4]); 1999s C = union(A, B); 1999s D = sym([1 2 3 4]); 1999s assert (isequal (C, D)) 2000s ***** test 2000s % one nonsym 2000s A = sym([1 2 3]); 2000s B = [1 2 4]; 2000s C = union(A, B); 2000s D = sym([1 2 3 4]); 2000s assert (isequal (C, D)) 2001s ***** test 2001s % empty 2001s A = sym([1 2 3]); 2001s C = union(A, A); 2001s assert (isequal(C, A)) 2001s ***** test 2001s % empty input 2001s A = sym([1 2]); 2001s C = union(A, []); 2001s assert (isequal (C, sym([1 2]))) 2002s ***** test 2002s % scalar 2002s syms x 2002s assert (isequal (union([x 1], x), [1 x])) 2002s assert (isequal (union(x, x), x)) 2002s ***** test 2002s A = interval(sym(1), 3); 2002s B = interval(sym(2), 5); 2002s C = union(A, B); 2002s assert( isequal( C, interval(sym(1), 5))) 2003s 6 tests, 6 passed, 0 known failure, 0 skipped 2003s [inst/@sym/ellipticE.m] 2003s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticE.m 2003s ***** error ellipticE (sym(1), 2, 3) 2003s ***** assert (double (ellipticE (sym (-105)/10)), 3.70961391, 10e-9) 2003s ***** assert (double (ellipticE (sym (-pi)/4)), 1.844349247, 10e-10) 2004s ***** assert (double (ellipticE (sym (0))), 1.570796327, 10e-10) 2004s ***** assert (double (ellipticE (sym (1))), 1, 10e-1) 2004s ***** test 2004s % compare to Maple 2004s us = vpa (ellipticE (sym(7)/6, sym(13)/7), 40); 2004s % > evalf(EllipticE(sin(7/6), sqrt(13/7)), 40); 2004s maple = vpa ('0.6263078268598504591831743625971763209496', 40) + ... 2004s vpa ('0.1775496232203171126975790989055865596501j', 40); 2004s assert (abs (double (maple - us)), 0, 2e-39) 2005s ***** test 2005s % compare to Maple 2005s us = vpa (ellipticE (sym(8)/7), 40); 2005s % > evalf(EllipticE(sqrt(8/7)), 40); 2005s maple = vpa ('0.8717182992576322508542205614105802333270', 40) + ... 2005s vpa ('0.1066754320328976949531350910798010526685j', 40); 2005s assert (abs (double (maple - us)), 0, 2e-39) 2006s 7 tests, 7 passed, 0 known failure, 0 skipped 2006s [inst/@sym/colon.m] 2006s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/colon.m 2006s ***** test 2006s a = sym(1):5; 2006s b = sym(1:5); 2006s assert(isequal(a,b)); 2006s a = 1:sym(5); 2006s b = sym(1:5); 2006s assert(isequal(a,b)); 2007s ***** test 2007s a = 2:sym(2):8; 2007s b = sym(2:2:8); 2007s assert(isequal(a,b)); 2008s ***** test 2008s a = sym(10):-2:-4; 2008s b = sym(10:-2:-4); 2008s assert(isequal(a,b)); 2009s ***** test 2009s % symbolic intervals 2009s p = sym(pi); 2009s L = 0:p/4:p; 2009s assert(isa(L,'sym')); 2009s assert(isequal(L, [0 p/4 p/2 3*p/4 p])); 2010s ***** test 2010s % mixed symbolic and double intervals 2010s p = sym(pi); 2010s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 2010s L = 0.1:(sym(pi)/3):2.3; 2010s warning(s) 2010s assert(isa(L,'sym')); 2010s t = sym(1)/10; 2010s assert(isequal(L, [t p/3+t 2*p/3+t])); 2013s ***** error syms x; a = 0:x; 2013s ***** error syms x; a = 1:x; 2013s 7 tests, 7 passed, 0 known failure, 0 skipped 2013s [inst/@sym/simplify.m] 2013s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/simplify.m 2013s ***** shared x,p,q 2013s syms x 2013s p = x^2 + x + 1; 2013s q = horner (p); 2013s ***** assert(~isequal( p - q, 0)) 2013s ***** assert(isequal( simplify(p - q), 0)) 2013s 2 tests, 2 passed, 0 known failure, 0 skipped 2013s [inst/@sym/ellipticCE.m] 2013s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ellipticCE.m 2013s ***** error ellipticCE (sym (1), 2) 2013s ***** assert (isequal (ellipticCE (sym (0)), sym (1))) 2013s ***** assert (isequal (ellipticCE (sym (1)), sym (pi)/2)) 2013s ***** assert (double (ellipticCE (sym (pi)/4)), 1.482786927, 10e-10) 2014s ***** assert (double (ellipticCE (sym (pi)/2)), 1.775344699, 10e-10) 2015s 5 tests, 5 passed, 0 known failure, 0 skipped 2015s [inst/@sym/horner.m] 2015s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/horner.m 2015s ***** error horner (sym(1), 2, 3) 2015s ***** assert (isAlways (horner(sym(1)) == 1)) 2015s ***** test 2015s syms x 2015s assert (isAlways (horner(x) == x)) 2015s ***** test 2015s syms x a 2015s p = a^2 + a*x + 2*a + 2*x; 2015s assert (isequal (horner (p, a), a*(a+x+2) + 2*x)) 2015s q = a^2 + 2*a + x*(a + 2); 2015s assert (isequal (horner (p, x), q)) 2015s assert (isequal (horner (p), q)) 2017s ***** test 2017s syms x 2017s p = poly2sym ([2 4 6 8], x); 2017s q = horner (p); 2017s assert (isAlways (p == q)) 2017s assert (isAlways (horner(2*x^3 + 4*x^2 + 6*x + 8) == q)) 2020s ***** test 2020s % non-sym input 2020s syms x 2020s assert (isequal (horner(6, x), sym(6))) 2020s 6 tests, 6 passed, 0 known failure, 0 skipped 2020s [inst/@sym/sinh.m] 2020s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sinh.m 2020s ***** error sinh (sym(1), 2) 2020s ***** assert (isequaln (sinh (sym(nan)), sym(nan))) 2020s ***** shared x, d 2020s d = 1; 2020s x = sym('1'); 2020s ***** test 2020s f1 = sinh(x); 2020s f2 = sinh(d); 2020s assert( abs(double(f1) - f2) < 1e-15 ) 2020s ***** test 2020s D = [d d; d d]; 2020s A = [x x; x x]; 2020s f1 = sinh(A); 2020s f2 = sinh(D); 2020s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 2021s ***** test 2021s % round trip 2021s y = sym('y'); 2021s A = sinh (d); 2021s f = sinh (y); 2021s h = function_handle (f); 2021s B = h (d); 2021s assert (A, B, -eps) 2021s 5 tests, 5 passed, 0 known failure, 0 skipped 2021s [inst/@sym/divisors.m] 2021s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/divisors.m 2021s ***** test 2021s assert( isequal( divisors(sym(150)), divisors(sym(-150)) )) 2023s 1 test, 1 passed, 0 known failure, 0 skipped 2023s [inst/@sym/sec.m] 2023s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sec.m 2023s ***** error sec (sym(1), 2) 2023s ***** assert (isequaln (sec (sym(nan)), sym(nan))) 2024s ***** shared x, d 2024s d = 1; 2024s x = sym('1'); 2024s ***** test 2024s f1 = sec(x); 2024s f2 = sec(d); 2024s assert( abs(double(f1) - f2) < 1e-15 ) 2024s ***** test 2024s D = [d d; d d]; 2024s A = [x x; x x]; 2024s f1 = sec(A); 2024s f2 = sec(D); 2024s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 2024s ***** test 2024s % round trip 2024s y = sym('y'); 2024s A = sec (d); 2024s f = sec (y); 2024s h = function_handle (f); 2024s B = h (d); 2024s assert (A, B, -eps) 2025s 5 tests, 5 passed, 0 known failure, 0 skipped 2025s [inst/@sym/prevprime.m] 2025s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/prevprime.m 2025s ***** assert (isequal (prevprime(sym(3)), 2)); 2025s ***** assert (isequal (prevprime(sym(20)), 19)); 2025s ***** assert (isequal (prevprime(sym([3 5 10])), [2 3 7])); 2026s ***** error prevprime(sym(2)) 2026s ***** error prevprime(sym(-2)) 2026s ***** test 2026s % result is a sym 2026s p = prevprime(sym(3)); 2026s assert (isa (p, 'sym')) 2026s 6 tests, 6 passed, 0 known failure, 0 skipped 2026s [inst/@sym/sin.m] 2026s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/sin.m 2026s ***** error sin (sym(1), 2) 2026s ***** assert (isequaln (sin (sym(nan)), sym(nan))) 2026s ***** shared x, d 2026s d = 1; 2026s x = sym('1'); 2026s ***** test 2026s f1 = sin(x); 2026s f2 = sin(d); 2026s assert( abs(double(f1) - f2) < 1e-15 ) 2026s ***** test 2026s D = [d d; d d]; 2026s A = [x x; x x]; 2026s f1 = sin(A); 2026s f2 = sin(D); 2026s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 2027s ***** test 2027s % round trip 2027s y = sym('y'); 2027s A = sin (d); 2027s f = sin (y); 2027s h = function_handle (f); 2027s B = h (d); 2027s assert (A, B, -eps) 2027s 5 tests, 5 passed, 0 known failure, 0 skipped 2027s [inst/@sym/and.m] 2027s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/and.m 2027s ***** shared t, f 2027s t = sym(true); 2027s f = sym(false); 2027s ***** test 2027s % simple 2027s assert (isequal (t & f, f)) 2027s assert (isequal (t & t, t)) 2028s ***** test 2028s % mix wih nonsym 2028s assert (isequal (t & false, f)) 2028s assert (isequal (t & true, t)) 2028s assert (isequal (t & 0, f)) 2028s assert (isequal (t & 1, t)) 2028s assert (isa (t & false, 'sym')) 2028s assert (isa (t & 1, 'sym')) 2028s ***** test 2028s % array 2028s w = [t t f f]; 2028s z = [t f t f]; 2028s assert (isequal (w & z, [t f f f])) 2029s ***** test 2029s % number 2029s assert (isequal( sym(1) & t, t)) 2029s assert (isequal( sym(0) & t, f)) 2029s ***** test 2029s % output is sym even for scalar t/f 2029s assert (isa (t & f, 'sym')) 2029s ***** test 2029s % eqns, exclusive 2029s syms x 2029s e = (x == 3) & (x^2 == 9); 2029s assert (isequal (subs(e, x, [-3 0 3]), [f f t])) 2030s ***** error and (sym('x'), 2, 3) 2030s 7 tests, 7 passed, 0 known failure, 0 skipped 2030s [inst/@sym/times.m] 2030s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/times.m 2030s ***** test 2030s % scalar 2030s syms x 2030s assert (isa (x.*2, 'sym')) 2030s assert (isequal (x.*2, x*2)) 2030s assert (isequal (2.*sym(3), sym(6))) 2030s assert (isequal (sym(2).*3, sym(6))) 2031s ***** test 2031s % matrix-matrix and matrix-scalar 2031s D = [0 1; 2 3]; 2031s A = sym(D); 2031s assert (isequal ( 2.*A , 2*D )) 2031s assert (isequal ( A.*2 , 2*D )) 2031s assert (isequal ( A.*A , D.*D )) 2031s assert (isequal ( A.*D , D.*D )) 2031s assert (isequal ( D.*A , D.*D )) 2033s ***** test 2033s syms x 2033s A = [1 x]; 2033s B = [2 3]; 2033s assert (isequal (A.*B, [2 3*x])) 2034s ***** test 2034s % immutable test 2034s A = sym([1 2]); 2034s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)]])'); 2034s assert (isequal (A.*A, B.*B)) 2034s :18: SyntaxWarning: invalid escape sequence '\(' 2034s ***** test 2034s % MatrixSymbol test 2034s A = sym([1 2; 3 4]); 2034s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 2034s C = sym('MatrixSymbol("C", 2, 2)'); 2034s assert (~ isempty (strfind (sympy (C.*C), 'Hadamard'))) 2034s assert (~ isempty (strfind (sympy (A.*C), 'Hadamard'))) 2034s assert (~ isempty (strfind (sympy (C.*A), 'Hadamard'))) 2034s assert (~ isempty (strfind (sympy (B.*C), 'Hadamard'))) 2034s assert (~ isempty (strfind (sympy (C.*B), 'Hadamard'))) 2035s :18: SyntaxWarning: invalid escape sequence '\(' 2035s :18: SyntaxWarning: invalid escape sequence '\(' 2035s 5 tests, 5 passed, 0 known failure, 0 skipped 2035s [inst/@sym/lt.m] 2035s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/lt.m 2035s ***** test 2035s % simple 2035s x = sym(1); y = sym(1); e = x < y; 2035s assert (~logical (e)) 2035s x = sym(1); y = sym(2); e = x < y; 2035s assert (logical (e)) 2035s ***** test 2035s % mix sym and double 2035s x = sym(1); y = 1; e = x < y; 2035s assert (~logical (e)) 2035s x = sym(1); y = 2; e = x < y; 2035s assert (logical (e)) 2035s x = 1; y = sym(1); e = x < y; 2035s assert (~logical (e)) 2035s x = 1; y = sym(2); e = x < y; 2035s assert (logical (e)) 2036s ***** test 2036s % Type of the output is sym or logical? 2036s % FIXME: in current version, they are sym 2036s x = sym(1); y = sym(1); e1 = x < y; 2036s x = sym(1); y = sym(2); e2 = x < y; 2036s %assert (islogical (e1)) 2036s %assert (islogical (e2)) 2036s assert (isa (e1, 'sym')) 2036s assert (isa (e2, 'sym')) 2036s ***** test 2036s % ineq w/ symbols 2036s syms x y 2036s e = x < y; 2036s assert (~islogical (e)) 2036s assert (isa (e, 'sym')) 2036s ***** test 2036s % array -- array 2036s syms x 2036s a = sym([1 3 3 2*x]); 2036s b = sym([2 x 3 10]); 2036s e = a < b; 2036s assert (isa (e, 'sym')) 2036s assert (logical (e(1))) 2036s assert (isa (e(2), 'sym')) 2036s assert (isequal (e(2), 3 < x)) 2036s assert (~logical (e(3))) 2036s assert (isa (e(4), 'sym')) 2036s assert (isequal (e(4), 2*x < 10)) 2038s ***** test 2038s % array -- scalar 2038s syms x oo 2038s a = sym([1 x oo]); 2038s b = sym(3); 2038s e = a < b; 2038s assert (isa (e, 'sym')) 2038s assert (logical (e(1))) 2038s assert (isa (e(2), 'sym')) 2038s assert (isequal (e(2), x < 3)) 2038s assert (~logical (e(3))) 2039s ***** test 2039s % scalar -- array 2039s syms x oo 2039s a = sym(1); 2039s b = sym([2 x -oo]); 2039s e = a < b; 2039s assert (isa (e, 'sym')) 2039s assert (logical (e(1))) 2039s assert (isa (e(2), 'sym')) 2039s assert (isequal (e(2), 1 < x)) 2039s assert (~logical (e(3))) 2040s ***** test 2040s % ineq w/ nan 2040s syms x 2040s snan = sym(nan); 2040s e = x < snan; 2040s assert (~logical (e)) 2040s e = snan < x; 2040s assert (~logical (e)) 2040s b = [sym(0) x]; 2040s e = b < snan; 2040s assert (isequal (e, [false false])) 2040s ***** test 2040s % oo 2040s syms oo x 2040s e = oo < x; 2040s assert (isa (e, 'sym')) 2040s assert (strcmp (strtrim (disp (e, 'flat')), 'oo < x')) 2040s ***** test 2040s % sympy true matrix 2040s a = sym([1 3 3]); 2040s b = sym([2 4 1]); 2040s e = a < b; 2040s %assert (~isa (e, 'sym')) 2040s %assert (islogical (e)) 2040s assert (isequal (e, [true true false])) 2041s ***** test 2041s % oo, finite real variables 2041s syms oo 2041s syms z real 2041s assumeAlso(z, 'finite') 2041s e = -oo < z; 2041s assert (isequal (e, sym(true))) 2041s e = z < oo; 2041s assert (isequal (e, sym(true))) 2042s ***** test 2042s % -oo, positive var (known failure w/ sympy 0.7.6.x) 2042s syms oo 2042s syms z positive 2042s e = -oo < z; 2042s assert (logical (e)) 2042s assert (isequal (e, sym(true))) 2042s ***** test 2042s % positive 2042s syms z positive 2042s e = -1 < z; 2042s assert (isequal (e, sym(true))) 2042s ***** test 2042s syms oo 2042s z = sym('z', 'negative'); 2042s e = z < oo; 2042s assert (isequal (e, sym(true))) 2043s 14 tests, 14 passed, 0 known failure, 0 skipped 2043s [inst/@sym/assume.m] 2043s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/assume.m 2043s ***** test 2043s syms x 2043s x = assume(x, 'positive'); 2043s a = assumptions(x); 2043s assert(strcmp(a, 'x: positive')) 2043s x = assume(x, 'even'); 2043s a = assumptions(x); 2043s assert(strcmp(a, 'x: even')) 2043s x = assume(x, 'odd'); 2043s a = assumptions(x); 2043s assert(strcmp(a, 'x: odd')) 2043s ***** error 2043s syms x 2043s x = assume (x, x); 2043s ***** error 2043s syms x 2043s x = assume (x/pi, 'integer') 2044s ***** test 2044s % multiple assumptions 2044s syms x 2044s x = assume(x, 'positive', 'integer'); 2044s [tilde, a] = assumptions(x, 'dict'); 2044s assert(a{1}.integer) 2044s assert(a{1}.positive) 2044s ***** test 2044s % multiple assumptions 2044s syms x 2044s x = assume(x, 'even', 'positive'); 2044s [tilde, a] = assumptions(x, 'dict'); 2044s assert(a{1}.even) 2044s assert(a{1}.positive) 2044s ***** test 2044s % has output so avoids workspace 2044s syms x positive 2044s x2 = x; 2044s f = sin(x); 2044s x = assume(x, 'negative'); 2044s a = assumptions(x); 2044s assert(strcmp(a, 'x: negative')) 2044s a = assumptions(x2); 2044s assert(strcmp(a, 'x: positive')) 2044s a = assumptions(f); 2044s assert(strcmp(a, 'x: positive')) 2045s ***** test 2045s % clear: has output so avoids workspace 2045s syms x positive 2045s f = 2*x; 2045s x2 = assume(x, 'clear'); 2045s assert (~ isempty (assumptions (f))); 2045s ***** test 2045s % has no output so does workspace 2045s syms x positive 2045s x2 = x; 2045s f = sin(x); 2045s assume(x, 'negative'); 2045s a = assumptions(x); 2045s assert(strcmp(a, 'x: negative')) 2045s a = assumptions(x2); 2045s assert(strcmp(a, 'x: negative')) 2045s a = assumptions(f); 2045s assert(strcmp(a, 'x: negative')) 2046s ***** test 2046s % clear: has not output so does workspace 2046s syms x positive 2046s f = 2*x; 2046s assume(x, 'clear'); 2046s assert (isempty (assumptions (f))); 2046s assert (isempty (assumptions ())); 2047s ***** test 2047s syms x positive 2047s assume (x, 'clear') 2047s assert (isempty (assumptions ())) 2047s ***** error 2047s syms x 2047s x2 = assume (x, 'clear', 'real'); 2047s ***** error 2047s syms a 2047s assume (a > 0) 2047s ***** test 2047s syms x y 2047s assume ([x y], 'real') 2047s assert (strcmp (assumptions (x), 'x: real')) 2047s assert (strcmp (assumptions (y), 'y: real')) 2048s ***** test 2048s syms x y 2048s assume ([x y], 'positive', 'even') 2048s assert (strcmp (assumptions (x), 'x: positive, even') || strcmp (assumptions (x), 'x: even, positive')) 2048s assert (strcmp (assumptions (y), 'y: positive, even') || strcmp (assumptions (y), 'y: even, positive')) 2049s ***** test 2049s % with output, original x and y are unchanged 2049s syms x y 2049s [p, q] = assume ([x y], 'real'); 2049s assert (isempty (assumptions (x))) 2049s assert (isempty (assumptions (y))) 2049s assert (strcmp (assumptions (p), 'x: real')) 2049s assert (strcmp (assumptions (q), 'y: real')) 2050s ***** test 2050s % matrix input 2050s syms a b c d 2050s assume ([a b; c d], 'real') 2050s assert (strcmp (assumptions (a), 'a: real')) 2050s assert (strcmp (assumptions (b), 'b: real')) 2050s assert (strcmp (assumptions (c), 'c: real')) 2050s assert (strcmp (assumptions (d), 'd: real')) 2052s 16 tests, 16 passed, 0 known failure, 0 skipped 2052s [inst/@sym/acosd.m] 2052s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/acosd.m 2052s ***** error acosd (sym(1), 2) 2052s ***** assert (isequaln (acosd (sym(nan)), sym(nan))) 2052s ***** test 2052s f1 = acosd (sym(1)/2); 2052s f2 = acosd (1/2); 2052s assert (double (f1), f2, -eps) 2052s ***** test 2052s D = [1 2; 3 4]/4; 2052s A = sym([1 2; 3 4])/4; 2052s f1 = acosd (A); 2052s f2 = acosd (D); 2052s assert (double (f1), f2, -eps) 2054s 4 tests, 4 passed, 0 known failure, 0 skipped 2054s [inst/@sym/ccode.m] 2054s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ccode.m 2054s ***** shared x,y,z 2054s syms x y z 2054s ***** test 2054s % basic test 2054s f = x*sin(y) + abs(z); 2054s source = ccode(f); 2054s expected = 'x*sin(y) + fabs(z)'; 2054s assert(strcmp(source, expected)) 2054s ***** test 2054s % output test 2054s f = x*sin(y) + abs(z); 2054s [C, H] = ccode(f, 'file', '', 'show_header', false); 2054s expected_c_code = sprintf('#include \"file.h\"\n#include \n\ndouble myfun(double x, double y, double z) {\n\n double myfun_result;\n myfun_result = x*sin(y) + fabs(z);\n return myfun_result;\n\n}\n'); 2054s expected_h_code = sprintf('\n#ifndef PROJECT__FILE__H\n#define PROJECT__FILE__H\n\ndouble myfun(double x, double y, double z);\n\n#endif\n\n'); 2054s assert(strcmp(C.name, 'file.c')) 2054s assert(strcmp(H.name, 'file.h')) 2054s hwin = strrep(expected_h_code, sprintf('\n'), sprintf('\r\n')); 2054s assert (strcmp (H.code, expected_h_code) || strcmp (H.code, hwin)) 2054s s1 = expected_c_code; 2054s s2 = strrep(expected_c_code, sprintf('\n'), sprintf('\r\n')); 2054s assert (strcmp (C.code, s1) || strcmp (C.code, s2)) 2054s 2 tests, 2 passed, 0 known failure, 0 skipped 2054s [inst/@sym/ismatrix.m] 2054s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/ismatrix.m 2055s ***** assert(ismatrix(sym('x'))) 2055s ***** assert(ismatrix(sym([1 2 3]))) 2055s ***** assert(ismatrix(sym([1; 2]))) 2055s ***** assert(ismatrix(sym([1 2; 3 4]))) 2055s ***** assert(ismatrix(sym([]))) 2055s ***** assert(ismatrix(sym(ones(1,0)))) 2055s ***** assert(ismatrix(sym(ones(0,3)))) 2055s 7 tests, 7 passed, 0 known failure, 0 skipped 2055s [inst/@sym/size.m] 2055s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/@sym/size.m 2055s ***** test 2055s a = sym([1 2 3]); 2055s [n,m] = size(a); 2055s assert (n == 1 && m == 3) 2056s ***** test 2056s a = sym([1 2 3]); 2056s n = size(a); 2056s assert (isequal (n, [1 3])) 2056s ***** test 2056s %% size, numel, length 2056s a = sym([1 2 3; 4 5 6]); 2056s assert (isa (size(a), 'double')) 2056s assert (isa (numel(a), 'double')) 2056s assert (isa (length(a), 'double')) 2056s assert (isequal (size(a), [2 3])) 2056s assert (length(a) == 3) 2056s assert (numel(a) == 6) 2056s a = sym([1; 2; 3]); 2056s assert (isequal (size(a), [3 1])) 2056s assert (length(a) == 3) 2056s assert (numel(a) == 3) 2056s ***** test 2056s %% size by dim 2056s a = sym([1 2 3; 4 5 6]); 2056s n = size(a, 1); 2056s assert (n == 2) 2056s m = size(a, 2); 2056s assert (m == 3) 2056s a = sym([1 2 3]'); 2056s n = size(a, 1); 2056s assert (n == 3) 2056s m = size(a, 2); 2056s assert (m == 1) 2057s ***** xtest 2057s % symbolic-size matrices 2057s syms n m integer 2057s A = sym('A', [n m]); 2057s d = size(A); 2057s assert (~isa(d, 'sym')) 2057s assert (isnumeric(d)) 2057s assert (isequaln (d, [NaN NaN])) 2057s !!!!! known failure 2057s assert (isequaln (d, [NaN, NaN])) failed 2057s ***** xtest 2057s % half-symbolic-size matrices 2057s % FIXME: will fail until size stop lying by saying 1x1 2057s syms n integer 2057s A = sym('A', [n 3]); 2057s assert (isequaln (size(A), [NaN 3])) 2057s A = sym('A', [4 n]); 2057s assert (isequaln (size(A), [4 NaN])) 2057s !!!!! known failure 2057s assert (isequaln (size (A), [NaN, 3])) failed 2057s ***** xtest 2057s % half-symbolic-size empty matrices 2057s % FIXME: will fail until size stop lying by saying 1x1 2057s syms n integer 2057s A = sym('A', [n 0]); 2057s assert (isequaln (size(A), [NaN 0])) 2057s !!!!! known failure 2057s assert (isequaln (size (A), [NaN, 0])) failed 2057s 7 tests, 4 passed, 3 known failures, 0 skipped 2057s [inst/findsymbols.m] 2057s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/findsymbols.m 2057s ***** test 2057s syms x b y n a arlo 2057s z = a*x + b*pi*sin (n) + exp (y) + exp (sym (1)) + arlo; 2057s s = findsymbols (z); 2057s assert (isequal ([s{:}], [a,arlo,b,n,x,y])) 2059s ***** test 2059s syms x 2059s s = findsymbols (x); 2059s assert (isequal (s{1}, x)) 2059s ***** test 2059s syms z x y a 2059s s = findsymbols ([x y; 1 a]); 2059s assert (isequal ([s{:}], [a x y])) 2059s ***** assert (isempty (findsymbols (sym (1)))) 2059s ***** assert (isempty (findsymbols (sym ([1 2])))) 2060s ***** assert (isempty (findsymbols (sym (nan)))) 2060s ***** assert (isempty (findsymbols (sym (inf)))) 2060s ***** assert (isempty (findsymbols (exp (sym (2))))) 2060s ***** test 2060s % empty sym for findsymbols, findsym, and symvar 2060s assert (isempty (findsymbols (sym([])))) 2060s assert (isempty (findsym (sym([])))) 2060s assert (isempty (symvar (sym([])))) 2060s ***** test 2060s % diff. assumptions make diff. symbols 2060s x1 = sym('x'); 2060s x2 = sym('x', 'positive'); 2060s f = x1*x2; 2060s assert (length (findsymbols (f)) == 2) 2061s ***** test 2061s % symfun or sym 2061s syms x f(y) 2061s a = f*x; 2061s b = f(y)*x; 2061s assert (isequal (findsymbols(a), {x y})) 2061s assert (isequal (findsymbols(b), {x y})) 2061s ***** test 2061s % findsymbols on symfun does not find the argnames (unless they 2061s % are on the RHS of course, this matches SMT 2014a). 2061s syms a x y 2061s f(x, y) = a; % const symfun 2061s assert (isequal (findsymbols(f), {a})) 2061s syms a x y 2061s f(x, y) = a*y; 2061s assert (isequal (findsymbols(f), {a y})) 2062s ***** test 2062s % sorts lexigraphically, same as symvar *with single input* 2062s % (note symvar does something different with 2 inputs). 2062s syms A B a b x y X Y 2062s f = A*a*B*b*y*X*Y*x; 2062s assert (isequal (findsymbols(f), {A B X Y a b x y})) 2062s assert (isequal (symvar(f), [A B X Y a b x y])) 2065s ***** test 2065s % symbols in matpow 2065s syms x y 2065s syms n 2065s A = [sin(x) 2; y 1]; 2065s B = A^n; 2065s L = findsymbols(B); 2065s assert (isequal (L, {n x y})) 2072s ***** test 2072s % array of eq 2072s syms x y 2072s assert (isequal (findsymbols (2 == [2 x y]), {x y})) 2073s ***** test 2073s % array of ineq 2073s syms x y 2073s A = [x < 1 2*x < y x >= 2 3 <= x x != y]; 2073s assert (isequal (findsymbols (A), {x y})) 2073s 16 tests, 16 passed, 0 known failure, 0 skipped 2073s [inst/assume.m] 2073s >>>>> /tmp/autopkgtest.YBAQ4g/build.Ldm/src/inst/assume.m 2073s ***** error 2073s a = assume('a', 'real') 2073s ***** error 2073s assume positive integer 2073s ***** error 2073s assume x y 2073s ***** error 2073s assume x clear real 2073s ***** error 2073s assume a>0 2073s ***** error 2073s assume 'x/pi' integer 2073s ***** test 2073s syms x 2073s assume x positive 2073s a = assumptions(x); 2073s assert(strcmp(a, 'x: positive')) 2073s assume x even 2073s a = assumptions(x); 2073s assert(strcmp(a, 'x: even')) 2074s ***** test 2074s % multiple assumptions 2074s syms x 2074s assume x positive integer 2074s [tilde, a] = assumptions(x, 'dict'); 2074s assert(a{1}.integer) 2074s assert(a{1}.positive) 2074s ***** test 2074s % does workspace 2074s syms x positive 2074s x2 = x; 2074s f = sin(x); 2074s assume x negative 2074s a = assumptions(x); 2074s assert(strcmp(a, 'x: negative')) 2074s a = assumptions(x2); 2074s assert(strcmp(a, 'x: negative')) 2074s a = assumptions(f); 2074s assert(strcmp(a, 'x: negative')) 2075s ***** error 2075s % does not create new variable x 2075s clear x 2075s assume x real 2075s ***** error 2075s % no explicit variable named x 2075s clear x 2075s f = 2*sym('x'); 2075s assume x real 2075s ***** test 2075s % clear does workspace 2075s syms x positive 2075s f = 2*x; 2075s assume x clear 2075s assert (isempty (assumptions (f))); 2075s assert (isempty (assumptions ())); 2076s ***** test 2076s syms x y 2076s f = sin (2*x); 2076s assume x y real 2076s assert (strcmp (assumptions (x), 'x: real')) 2076s assert (strcmp (assumptions (y), 'y: real')) 2076s assert (strcmp (assumptions (f), 'x: real')) 2077s ***** test 2077s syms x y 2077s f = sin (2*x); 2077s assume x y positive even 2077s assert (strcmp (assumptions (x), 'x: positive, even') || strcmp (assumptions (x), 'x: even, positive')) 2077s assert (strcmp (assumptions (y), 'y: positive, even') || strcmp (assumptions (y), 'y: even, positive')) 2077s assert (strcmp (assumptions (f), 'x: positive, even') || strcmp (assumptions (f), 'x: even, positive')) 2079s ***** test 2079s % works from variable names not symbols 2079s syms x y 2079s a = [x y]; 2079s assume a real 2079s assert (strcmp (assumptions (x), 'x: real')) 2079s assert (strcmp (assumptions (y), 'y: real')) 2080s ***** test 2080s % works from variable names not symbols 2080s y = sym('x'); 2080s f = 2*y; 2080s assume y real 2080s assert (strcmp (assumptions (f), 'x: real')) 2080s ***** test 2080s % matrix of symbols 2080s syms a b c d 2080s A = [a b; c d]; 2080s assume A real 2080s assert (strcmp (assumptions (a), 'a: real')) 2080s assert (strcmp (assumptions (b), 'b: real')) 2080s assert (strcmp (assumptions (c), 'c: real')) 2080s assert (strcmp (assumptions (d), 'd: real')) 2083s ***** test 2083s % assume after symfun 2083s clear x 2083s syms f(x) 2083s assume x real 2083s assert (~ isempty (assumptions (formula (f)))) 2083s assert (~ isempty (assumptions (argnames (f)))) 2084s 18 tests, 18 passed, 0 known failure, 0 skipped 2084s Checking C++ files ... 2084s 2086s Done running the unit tests. 2086s Summary: 2401 tests, 2371 passed, 30 known failures, 0 skipped 2086s autopkgtest [20:15:52]: test command1: -----------------------] 2087s autopkgtest [20:15:53]: test command1: - - - - - - - - - - results - - - - - - - - - - 2087s command1 PASS 2088s autopkgtest [20:15:54]: @@@@@@@@@@@@@@@@@@@@ summary 2088s command1 PASS 2099s Creating nova instance adt-noble-arm64-octave-symbolic-20240320-194106-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240320.img (UUID 6a08b5d2-0d74-409b-820d-5d035099b87d)...