0s autopkgtest [10:21:36]: starting date and time: 2024-06-16 10:21:36+0000 0s autopkgtest [10:21:36]: git checkout: 433ed4c Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [10:21:36]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.yph451m_/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:sympy --apt-upgrade octave-symbolic --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=sympy/1.12.1-1 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/oracular/armhf 26s autopkgtest [10:22:02]: testbed dpkg architecture: armhf 28s autopkgtest [10:22:04]: testbed apt version: 2.9.5 28s autopkgtest [10:22:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 37s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [389 kB] 37s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 37s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 37s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [36.1 kB] 37s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [34.8 kB] 37s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1860 B] 37s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [293 kB] 37s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [2528 B] 37s Fetched 877 kB in 2s (515 kB/s) 37s Reading package lists... 54s tee: /proc/self/fd/2: Permission denied 77s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 77s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 77s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 77s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 78s Reading package lists... 78s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Calculating upgrade... 80s The following packages will be upgraded: 80s libldap-common libldap2 80s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 203 kB of archives. 80s After this operation, 0 B of additional disk space will be used. 80s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu9 [31.5 kB] 80s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu9 [171 kB] 81s Fetched 203 kB in 0s (456 kB/s) 81s (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 ... 58402 files and directories currently installed.) 81s Preparing to unpack .../libldap-common_2.6.7+dfsg-1~exp1ubuntu9_all.deb ... 81s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 81s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu9_armhf.deb ... 81s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu9) over (2.6.7+dfsg-1~exp1ubuntu8) ... 81s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu9) ... 81s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu9) ... 81s Processing triggers for man-db (2.12.1-2) ... 81s Processing triggers for libc-bin (2.39-0ubuntu9) ... 81s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s autopkgtest [10:23:00]: rebooting testbed after setup commands that affected boot 125s autopkgtest [10:23:41]: testbed running kernel: Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 11:19:33 UTC 2 156s autopkgtest [10:24:12]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-symbolic 167s Get:1 http://ftpmaster.internal/ubuntu oracular/universe octave-symbolic 3.1.1-2 (dsc) [2289 B] 167s Get:2 http://ftpmaster.internal/ubuntu oracular/universe octave-symbolic 3.1.1-2 (tar) [266 kB] 167s Get:3 http://ftpmaster.internal/ubuntu oracular/universe octave-symbolic 3.1.1-2 (diff) [6096 B] 167s gpgv: Signature made Tue Jun 13 21:02:30 2023 UTC 167s gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 167s gpgv: issuer "rafael@debian.org" 167s gpgv: Can't check signature: No public key 167s dpkg-source: warning: cannot verify inline signature for ./octave-symbolic_3.1.1-2.dsc: no acceptable signature found 167s autopkgtest [10:24:23]: testing package octave-symbolic version 3.1.1-2 169s autopkgtest [10:24:25]: build not needed 172s autopkgtest [10:24:28]: test command1: preparing testbed 181s Reading package lists... 182s Building dependency tree... 182s Reading state information... 182s Starting pkgProblemResolver with broken count: 0 182s Starting 2 pkgProblemResolver with broken count: 0 182s Done 183s The following additional packages will be installed: 183s aglfn autoconf automake autopoint autotools-dev cme cpp cpp-13 183s cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 183s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 183s diffstat dwz fontconfig fontconfig-config fonts-dejavu-core 183s fonts-dejavu-mono fonts-freefont-otf g++ g++-13 g++-13-arm-linux-gnueabihf 183s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf gcc-13-base 183s gcc-arm-linux-gnueabihf gettext gfortran gfortran-13 183s gfortran-13-arm-linux-gnueabihf gfortran-arm-linux-gnueabihf gnuplot-data 183s gnuplot-nox hdf5-helpers intltool-debian libaec-dev libaec0 183s libalgorithm-c3-perl libaliased-perl libamd3 libaom3 libapp-cmd-perl 183s libapt-pkg-perl libarchive-zip-perl libarpack2t64 libarray-intspan-perl 183s libasan8 libasound2-data libasound2t64 libatomic1 libavahi-client3 183s libavahi-common-data libavahi-common3 libb-hooks-endofscope-perl 183s libb-hooks-op-check-perl libberkeleydb-perl libblas-dev libblas3 183s libboolean-perl libbtf2 libc-dev-bin libc6-dev libcairo2 libcamd3 183s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 183s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 183s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 183s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 183s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 183s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 183s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 183s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 183s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 183s libdata-validate-domain-perl libdata-validate-ip-perl 183s libdata-validate-uri-perl libdatrie1 libde265-0 libdebhelper-perl 183s libdeflate0 libdevel-callchecker-perl libdevel-size-perl 183s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 183s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 183s libegl-mesa0 libegl1 libemail-address-xs-perl libencode-locale-perl 183s liberror-perl libevent-pthreads-2.1-7t64 libexception-class-perl 183s libexporter-lite-perl libexporter-tiny-perl libfabric1 libfftw3-bin 183s libfftw3-dev libfftw3-double3 libfftw3-mpi3 libfftw3-single3 183s libfile-basedir-perl libfile-find-rule-perl libfile-homedir-perl 183s libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl 183s libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 183s libfontenc1 libfreetype6 libgbm1 libgcc-13-dev libgd3 183s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgif7 183s libgl-dev libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles2 183s libglpk40 libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 183s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 183s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 183s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 183s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-aomdec 183s libheif-plugin-libde265 libheif1 libhtml-form-perl 183s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 183s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 183s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 183s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 183s libimath-3-1-29t64 libimport-into-perl libindirect-perl libinput-bin 183s libinput10 libio-html-perl libio-interactive-perl libio-socket-ssl-perl 183s libio-string-perl libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 183s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 183s libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev 183s libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl libjxl0.9 libklu2 183s liblapack-dev liblapack3 liblcms2-2 liblerc4 liblist-compare-perl 183s liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl 183s liblist-utilsby-perl libllvm17t64 liblog-any-adapter-screen-perl 183s liblog-any-perl liblog-log4perl-perl libltdl7 liblua5.4-0 183s liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl 183s libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl libmldbm-perl 183s libmodule-implementation-perl libmodule-pluggable-perl 183s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 183s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 183s libmpc3 libmpg123-0t64 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 183s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 183s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 183s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 183s libnumber-compare-perl libobject-pad-perl libogg0 libopenexr-3-1-30 183s libopengl0 libopenmpi3t64 libopus0 libpackage-stash-perl libpango-1.0-0 183s libpangocairo-1.0-0 libpangoft2-1.0-0 libparams-classify-perl 183s libparams-util-perl libparams-validate-perl libparse-debcontrol-perl 183s libparse-recdescent-perl libpath-iterator-rule-perl libpath-tiny-perl 183s libpciaccess0 libpcre2-16-0 libperlio-gzip-perl libperlio-utf8-strict-perl 183s libpetsc-real3.19t64 libpixman-1-0 libpmix2t64 libpod-constants-perl 183s libpod-parser-perl libpod-pom-perl libportaudio2 libproc-processtable-perl 183s libptscotch-7.0 libqhull-r8.0 libqrupdate1 libqscintilla2-qt5-15 183s libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 libqt5gui5t64 183s libqt5help5 libqt5network5t64 libqt5printsupport5t64 libqt5sql5t64 183s libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 183s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 183s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 183s libscalapack-openmpi2.2 libsereal-decoder-perl libsereal-encoder-perl 183s libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 183s libsoftware-copyright-perl libsoftware-license-perl 183s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 183s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 183s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 183s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 183s libsub-install-perl libsub-name-perl libsub-quote-perl libsub-uplevel-perl 183s libsuitesparseconfig7 libsundials-ida6 libsundials-nvecparallel-petsc6 183s libsundials-sunlinsol3 libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 183s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 183s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 183s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 183s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 183s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 183s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 183s libtool libtry-tiny-perl libubsan1 libumfpack6 libunicode-utf8-perl 183s libunwind8 liburi-perl libvariable-magic-perl libvorbis0a libvorbisenc2 183s libvulkan1 libwacom-common libwacom9 libwayland-client0 libwayland-server0 183s libwebp7 libwebpmux3 libwmflite-0.2-7 libwww-mechanize-perl libwww-perl 183s libwww-robotrules-perl libx11-dev libx11-xcb1 libxau-dev libxaw7 183s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 183s libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 183s libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 183s libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev 183s libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 libxinerama1 183s libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 183s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 183s libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 183s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 183s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 183s linux-libc-dev lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave 183s octave-common octave-dev octave-symbolic openmpi-bin openmpi-common 183s patchutils perl-openssl-defaults po-debconf python3-mpmath python3-sympy 183s rpcsvc-proto t1utils tex-common texinfo texinfo-lib unzip x11-common 183s x11-xkb-utils x11proto-dev xorg-sgml-doctools xserver-common xtrans-dev xvfb 183s zlib1g-dev 183s Suggested packages: 183s autoconf-archive gnu-standards autoconf-doc libconfig-model-cursesui-perl 183s libconfig-model-itself-perl cpp-doc gcc-13-locales cpp-13-doc dh-make 183s gcc-13-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 183s gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 183s gfortran-doc gfortran-13-doc libcoarrays-dev gnuplot-doc alsa-utils 183s libasound2-plugins liblapack-doc glibc-doc libconfig-model-openssh-perl 183s libterm-readline-perl-perl | libterm-readline-gnu-perl cups-common 183s libcurl4-doc libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev 183s pkgconf libfftw3-doc libfftw3-mpi-dev libxml-parser-perl libgd-tools 183s libiodbc2-dev default-libmysqlclient-dev graphicsmagick-dbg libhdf5-doc 183s libheif-plugin-x265 libheif-plugin-ffmpegdec libheif-plugin-jpegdec 183s libheif-plugin-jpegenc libheif-plugin-j2kdec libheif-plugin-j2kenc 183s libheif-plugin-rav1e libheif-plugin-svtenc libdata-dump-perl 183s libio-compress-brotli-perl jackd2 liblcms2-utils libdbd-csv-perl 183s liblog-dispatch-filerotate-perl librrds-perl libxml-dom-perl 183s libcrypt-ssleay-perl ncurses-doc opus-tools libscalar-number-perl 183s libqscintilla2-doc qgnomeplatform-qt5 qt5-image-formats-plugins readline-doc 183s scalapack-doc libssl-doc libstdc++-13-doc libbareword-filehandles-perl 183s libmultidimensional-perl libxstring-perl libdatetime-format-rfc3339-perl 183s libtool-doc gcj-jdk libbusiness-isbn-perl libregexp-ipv6-perl libwacom-bin 183s libauthen-ntlm-perl libx11-doc libxcb-doc binutils-multiarch m4-doc 183s opencl-icd libmail-box-perl python-mpmath-doc python3-gmpy2 183s python3-matplotlib texlive-fonts-extra dvipng python-sympy-doc texlive-base 183s texlive-latex-base texlive-plain-generic texlive-fonts-recommended zip 183s Recommended packages: 183s libconfig-model-approx-perl libconfig-model-lcdproc-perl 183s libconfig-model-openssh-perl libconfig-model-systemd-perl 183s libconfig-model-tkui-perl fonts-liberation groff alsa-ucm-conf 183s alsa-topology-conf manpages manpages-dev libc-devtools libcgi-fast-perl 183s libclass-c3-xs-perl fuse libfuse-perl libarchive-cpio-perl libgl1-amber-dri 183s ghostscript fonts-urw-base35 libheif-plugin-aomenc libhtml-format-perl 183s libjson-xs-perl liblist-someutils-xs-perl libipc-shareable-perl 183s liblog-dispatch-perl libfreezethaw-perl libmath-base85-perl 183s libauthen-sasl-perl libsocket6-perl libpackage-stash-xs-perl 183s libtie-ixhash-perl qttranslations5-l10n libqt5svg5 qt5-gtk-platformtheme 183s qtwayland5 libcups2 libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc 183s | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libre-engine-re2-perl 183s libtypes-serialiser-perl libltdl-dev mesa-vulkan-drivers | vulkan-icd 183s libdata-dump-perl libhttp-daemon-perl libxml-sax-expat-perl libopenblas0 183s | libblis4 pstoedit epstool default-jre-headless octave-doc 183s libmail-sendmail-perl python3-pil python3-numpy isympy-common xfonts-base 183s The following NEW packages will be installed: 183s aglfn autoconf automake autopkgtest-satdep autopoint autotools-dev cme cpp 183s cpp-13 cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 183s debugedit dh-autoreconf dh-octave dh-octave-autopkgtest 183s dh-strip-nondeterminism diffstat dwz fontconfig fontconfig-config 183s fonts-dejavu-core fonts-dejavu-mono fonts-freefont-otf g++ g++-13 183s g++-13-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-13 183s gcc-13-arm-linux-gnueabihf gcc-13-base gcc-arm-linux-gnueabihf gettext 183s gfortran gfortran-13 gfortran-13-arm-linux-gnueabihf 183s gfortran-arm-linux-gnueabihf gnuplot-data gnuplot-nox hdf5-helpers 183s intltool-debian libaec-dev libaec0 libalgorithm-c3-perl libaliased-perl 183s libamd3 libaom3 libapp-cmd-perl libapt-pkg-perl libarchive-zip-perl 183s libarpack2t64 libarray-intspan-perl libasan8 libasound2-data libasound2t64 183s libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 183s libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl 183s libblas-dev libblas3 libboolean-perl libbtf2 libc-dev-bin libc6-dev 183s libcairo2 libcamd3 libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 183s libccolamd3 libcgi-pm-perl libcholmod5 libclass-c3-perl 183s libclass-data-inheritable-perl libclass-load-perl 183s libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-choose-perl 183s libclone-perl libcolamd3 libcombblas2.0.0t64 183s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 183s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 183s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 183s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 183s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 183s libdata-validate-domain-perl libdata-validate-ip-perl 183s libdata-validate-uri-perl libdatrie1 libde265-0 libdebhelper-perl 183s libdeflate0 libdevel-callchecker-perl libdevel-size-perl 183s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 183s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 183s libegl-mesa0 libegl1 libemail-address-xs-perl libencode-locale-perl 183s liberror-perl libevent-pthreads-2.1-7t64 libexception-class-perl 183s libexporter-lite-perl libexporter-tiny-perl libfabric1 libfftw3-bin 183s libfftw3-dev libfftw3-double3 libfftw3-mpi3 libfftw3-single3 183s libfile-basedir-perl libfile-find-rule-perl libfile-homedir-perl 183s libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl 183s libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 183s libfontenc1 libfreetype6 libgbm1 libgcc-13-dev libgd3 183s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgif7 183s libgl-dev libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles2 183s libglpk40 libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 183s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 183s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 183s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 183s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-aomdec 183s libheif-plugin-libde265 libheif1 libhtml-form-perl 183s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 183s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 183s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 183s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 183s libimath-3-1-29t64 libimport-into-perl libindirect-perl libinput-bin 183s libinput10 libio-html-perl libio-interactive-perl libio-socket-ssl-perl 183s libio-string-perl libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 183s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 183s libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev 183s libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl libjxl0.9 libklu2 183s liblapack-dev liblapack3 liblcms2-2 liblerc4 liblist-compare-perl 183s liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl 183s liblist-utilsby-perl libllvm17t64 liblog-any-adapter-screen-perl 183s liblog-any-perl liblog-log4perl-perl libltdl7 liblua5.4-0 183s liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl 183s libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl libmldbm-perl 183s libmodule-implementation-perl libmodule-pluggable-perl 183s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 183s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 183s libmpc3 libmpg123-0t64 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 183s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 183s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 183s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 183s libnumber-compare-perl libobject-pad-perl libogg0 libopenexr-3-1-30 183s libopengl0 libopenmpi3t64 libopus0 libpackage-stash-perl libpango-1.0-0 183s libpangocairo-1.0-0 libpangoft2-1.0-0 libparams-classify-perl 183s libparams-util-perl libparams-validate-perl libparse-debcontrol-perl 183s libparse-recdescent-perl libpath-iterator-rule-perl libpath-tiny-perl 183s libpciaccess0 libpcre2-16-0 libperlio-gzip-perl libperlio-utf8-strict-perl 183s libpetsc-real3.19t64 libpixman-1-0 libpmix2t64 libpod-constants-perl 183s libpod-parser-perl libpod-pom-perl libportaudio2 libproc-processtable-perl 183s libptscotch-7.0 libqhull-r8.0 libqrupdate1 libqscintilla2-qt5-15 183s libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 libqt5gui5t64 183s libqt5help5 libqt5network5t64 libqt5printsupport5t64 libqt5sql5t64 183s libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 183s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 183s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 183s libscalapack-openmpi2.2 libsereal-decoder-perl libsereal-encoder-perl 183s libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 183s libsoftware-copyright-perl libsoftware-license-perl 183s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 183s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 183s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 183s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 183s libsub-install-perl libsub-name-perl libsub-quote-perl libsub-uplevel-perl 183s libsuitesparseconfig7 libsundials-ida6 libsundials-nvecparallel-petsc6 183s libsundials-sunlinsol3 libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 183s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 183s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 183s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 183s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 183s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 183s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 183s libtool libtry-tiny-perl libubsan1 libumfpack6 libunicode-utf8-perl 183s libunwind8 liburi-perl libvariable-magic-perl libvorbis0a libvorbisenc2 183s libvulkan1 libwacom-common libwacom9 libwayland-client0 libwayland-server0 183s libwebp7 libwebpmux3 libwmflite-0.2-7 libwww-mechanize-perl libwww-perl 183s libwww-robotrules-perl libx11-dev libx11-xcb1 libxau-dev libxaw7 183s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 183s libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 183s libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 183s libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev 183s libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 libxinerama1 183s libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 183s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 183s libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 183s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 183s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 183s linux-libc-dev lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave 183s octave-common octave-dev octave-symbolic openmpi-bin openmpi-common 183s patchutils perl-openssl-defaults po-debconf python3-mpmath python3-sympy 183s rpcsvc-proto t1utils tex-common texinfo texinfo-lib unzip x11-common 183s x11-xkb-utils x11proto-dev xorg-sgml-doctools xserver-common xtrans-dev xvfb 183s zlib1g-dev 183s 0 upgraded, 477 newly installed, 0 to remove and 0 not upgraded. 183s Need to get 195 MB/195 MB of archives. 183s After this operation, 619 MB of additional disk space will be used. 183s Get:1 /tmp/autopkgtest.RVRrDz/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [772 B] 183s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf m4 armhf 1.4.19-4build1 [235 kB] 184s Get:3 http://ftpmaster.internal/ubuntu oracular/main armhf autoconf all 2.71-3 [339 kB] 184s Get:4 http://ftpmaster.internal/ubuntu oracular/main armhf autotools-dev all 20220109.1 [44.9 kB] 184s Get:5 http://ftpmaster.internal/ubuntu oracular/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 184s Get:6 http://ftpmaster.internal/ubuntu oracular/main armhf autopoint all 0.21-14ubuntu2 [422 kB] 184s Get:7 http://ftpmaster.internal/ubuntu oracular/main armhf libcapture-tiny-perl all 0.48-2 [20.2 kB] 184s Get:8 http://ftpmaster.internal/ubuntu oracular/main armhf libparams-util-perl armhf 1.102-3 [20.3 kB] 184s Get:9 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-install-perl all 0.929-1 [9764 B] 184s Get:10 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-optlist-perl all 0.114-1 [9708 B] 184s Get:11 http://ftpmaster.internal/ubuntu oracular/main armhf libb-hooks-op-check-perl armhf 0.22-3build1 [9080 B] 184s Get:12 http://ftpmaster.internal/ubuntu oracular/main armhf libdynaloader-functions-perl all 0.003-3 [12.1 kB] 184s Get:13 http://ftpmaster.internal/ubuntu oracular/main armhf libdevel-callchecker-perl armhf 0.009-1 [14.1 kB] 184s Get:14 http://ftpmaster.internal/ubuntu oracular/main armhf libparams-classify-perl armhf 0.015-2build5 [18.7 kB] 184s Get:15 http://ftpmaster.internal/ubuntu oracular/main armhf libmodule-runtime-perl all 0.016-2 [16.4 kB] 184s Get:16 http://ftpmaster.internal/ubuntu oracular/main armhf libtry-tiny-perl all 0.31-2 [20.8 kB] 184s Get:17 http://ftpmaster.internal/ubuntu oracular/main armhf libmodule-implementation-perl all 0.09-2 [12.0 kB] 184s Get:18 http://ftpmaster.internal/ubuntu oracular/main armhf libpackage-stash-perl all 0.40-1 [19.5 kB] 184s Get:19 http://ftpmaster.internal/ubuntu oracular/universe armhf libclass-load-perl all 0.25-2 [12.7 kB] 184s Get:20 http://ftpmaster.internal/ubuntu oracular/main armhf libio-stringy-perl all 2.111-3 [55.8 kB] 184s Get:21 http://ftpmaster.internal/ubuntu oracular/universe armhf libparams-validate-perl armhf 1.31-2build3 [53.0 kB] 184s Get:22 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-exporter-perl all 0.990-1 [49.0 kB] 184s Get:23 http://ftpmaster.internal/ubuntu oracular/universe armhf libgetopt-long-descriptive-perl all 0.111-1 [25.5 kB] 184s Get:24 http://ftpmaster.internal/ubuntu oracular/universe armhf libio-tiecombine-perl all 1.005-3 [9464 B] 184s Get:25 http://ftpmaster.internal/ubuntu oracular/universe armhf libmodule-pluggable-perl all 5.2-5 [19.5 kB] 184s Get:26 http://ftpmaster.internal/ubuntu oracular/universe armhf libstring-rewriteprefix-perl all 0.009-1 [6310 B] 184s Get:27 http://ftpmaster.internal/ubuntu oracular/universe armhf libapp-cmd-perl all 0.336-1 [62.1 kB] 184s Get:28 http://ftpmaster.internal/ubuntu oracular/universe armhf libboolean-perl all 0.46-3 [8430 B] 184s Get:29 http://ftpmaster.internal/ubuntu oracular/universe armhf libsub-uplevel-perl all 0.2800-3 [11.6 kB] 184s Get:30 http://ftpmaster.internal/ubuntu oracular/universe armhf libtest-exception-perl all 0.43-3 [13.4 kB] 184s Get:31 http://ftpmaster.internal/ubuntu oracular/universe armhf libcarp-assert-more-perl all 2.4.0-1 [18.0 kB] 184s Get:32 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-which-perl all 1.27-2 [12.5 kB] 184s Get:33 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-homedir-perl all 1.006-2 [37.0 kB] 184s Get:34 http://ftpmaster.internal/ubuntu oracular/universe armhf libclone-choose-perl all 0.010-2 [7738 B] 184s Get:35 http://ftpmaster.internal/ubuntu oracular/universe armhf libhash-merge-perl all 0.302-1 [13.0 kB] 184s Get:36 http://ftpmaster.internal/ubuntu oracular/main armhf libjson-perl all 4.10000-1 [81.9 kB] 184s Get:37 http://ftpmaster.internal/ubuntu oracular/main armhf libexporter-tiny-perl all 1.006002-1 [36.8 kB] 184s Get:38 http://ftpmaster.internal/ubuntu oracular/universe armhf liblist-moreutils-xs-perl armhf 0.430-4 [38.0 kB] 184s Get:39 http://ftpmaster.internal/ubuntu oracular/universe armhf liblist-moreutils-perl all 0.430-2 [38.2 kB] 184s Get:40 http://ftpmaster.internal/ubuntu oracular/universe armhf liblog-log4perl-perl all 1.57-1 [345 kB] 184s Get:41 http://ftpmaster.internal/ubuntu oracular/main armhf libmouse-perl armhf 2.5.10-1build8 [129 kB] 184s Get:42 http://ftpmaster.internal/ubuntu oracular/universe armhf libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 184s Get:43 http://ftpmaster.internal/ubuntu oracular/universe armhf libmousex-strictconstructor-perl all 0.02-3 [4582 B] 184s Get:44 http://ftpmaster.internal/ubuntu oracular/universe armhf libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 184s Get:45 http://ftpmaster.internal/ubuntu oracular/main armhf libpath-tiny-perl all 0.144-1 [47.7 kB] 184s Get:46 http://ftpmaster.internal/ubuntu oracular/universe armhf libpod-pom-perl all 2.01-4 [61.3 kB] 184s Get:47 http://ftpmaster.internal/ubuntu oracular/main armhf libregexp-common-perl all 2017060201-3 [171 kB] 184s Get:48 http://ftpmaster.internal/ubuntu oracular/main armhf libyaml-tiny-perl all 1.74-1 [25.3 kB] 184s Get:49 http://ftpmaster.internal/ubuntu oracular/universe armhf libconfig-model-perl all 2.153-3 [408 kB] 184s Get:50 http://ftpmaster.internal/ubuntu oracular/universe armhf libyaml-pp-perl all 0.38.0-1 [105 kB] 184s Get:51 http://ftpmaster.internal/ubuntu oracular/universe armhf cme all 1.040-1 [64.8 kB] 184s Get:52 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13-base armhf 13.2.0-23ubuntu4 [48.9 kB] 184s Get:53 http://ftpmaster.internal/ubuntu oracular/main armhf libisl23 armhf 0.26-3build1 [544 kB] 184s Get:54 http://ftpmaster.internal/ubuntu oracular/main armhf libmpc3 armhf 1.3.1-1build1 [46.7 kB] 184s Get:55 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [8759 kB] 185s Get:56 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-13 armhf 13.2.0-23ubuntu4 [1034 B] 185s Get:57 http://ftpmaster.internal/ubuntu oracular/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 185s Get:58 http://ftpmaster.internal/ubuntu oracular/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 185s Get:59 http://ftpmaster.internal/ubuntu oracular/main armhf libdebhelper-perl all 13.15.3ubuntu2 [92.3 kB] 185s Get:60 http://ftpmaster.internal/ubuntu oracular/main armhf libcc1-0 armhf 14.1.0-1ubuntu1 [43.3 kB] 185s Get:61 http://ftpmaster.internal/ubuntu oracular/main armhf libgomp1 armhf 14.1.0-1ubuntu1 [125 kB] 185s Get:62 http://ftpmaster.internal/ubuntu oracular/main armhf libatomic1 armhf 14.1.0-1ubuntu1 [7816 B] 185s Get:63 http://ftpmaster.internal/ubuntu oracular/main armhf libasan8 armhf 14.1.0-1ubuntu1 [2913 kB] 185s Get:64 http://ftpmaster.internal/ubuntu oracular/main armhf libubsan1 armhf 14.1.0-1ubuntu1 [1154 kB] 185s Get:65 http://ftpmaster.internal/ubuntu oracular/main armhf libgcc-13-dev armhf 13.2.0-23ubuntu4 [899 kB] 185s Get:66 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [16.9 MB] 186s Get:67 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-13 armhf 13.2.0-23ubuntu4 [453 kB] 186s Get:68 http://ftpmaster.internal/ubuntu oracular/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 186s Get:69 http://ftpmaster.internal/ubuntu oracular/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 186s Get:70 http://ftpmaster.internal/ubuntu oracular/main armhf libc-dev-bin armhf 2.39-0ubuntu9 [19.1 kB] 186s Get:71 http://ftpmaster.internal/ubuntu oracular/main armhf linux-libc-dev armhf 6.8.0-31.31 [1557 kB] 186s Get:72 http://ftpmaster.internal/ubuntu oracular/main armhf libcrypt-dev armhf 1:4.4.36-4build1 [120 kB] 186s Get:73 http://ftpmaster.internal/ubuntu oracular/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 186s Get:74 http://ftpmaster.internal/ubuntu oracular/main armhf libc6-dev armhf 2.39-0ubuntu9 [1351 kB] 186s Get:75 http://ftpmaster.internal/ubuntu oracular/main armhf libtool all 2.4.7-7build1 [166 kB] 186s Get:76 http://ftpmaster.internal/ubuntu oracular/main armhf dh-autoreconf all 20 [16.1 kB] 186s Get:77 http://ftpmaster.internal/ubuntu oracular/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 186s Get:78 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 186s Get:79 http://ftpmaster.internal/ubuntu oracular/main armhf dh-strip-nondeterminism all 1.14.0-1 [5058 B] 186s Get:80 http://ftpmaster.internal/ubuntu oracular/main armhf libdw1t64 armhf 0.191-1 [238 kB] 186s Get:81 http://ftpmaster.internal/ubuntu oracular/main armhf debugedit armhf 1:5.0-5build2 [42.3 kB] 186s Get:82 http://ftpmaster.internal/ubuntu oracular/main armhf dwz armhf 0.15-1build6 [116 kB] 186s Get:83 http://ftpmaster.internal/ubuntu oracular/main armhf gettext armhf 0.21-14ubuntu2 [800 kB] 186s Get:84 http://ftpmaster.internal/ubuntu oracular/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 186s Get:85 http://ftpmaster.internal/ubuntu oracular/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 186s Get:86 http://ftpmaster.internal/ubuntu oracular/main armhf debhelper all 13.15.3ubuntu2 [878 kB] 186s Get:87 http://ftpmaster.internal/ubuntu oracular/universe armhf aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 186s Get:88 http://ftpmaster.internal/ubuntu oracular/universe armhf gnuplot-data all 6.0.0+dfsg1-1ubuntu3 [75.3 kB] 186s Get:89 http://ftpmaster.internal/ubuntu oracular/main armhf libfreetype6 armhf 2.13.2+dfsg-1build3 [331 kB] 186s Get:90 http://ftpmaster.internal/ubuntu oracular/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 186s Get:91 http://ftpmaster.internal/ubuntu oracular/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 186s Get:92 http://ftpmaster.internal/ubuntu oracular/universe armhf fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 186s Get:93 http://ftpmaster.internal/ubuntu oracular/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu2 [37.4 kB] 186s Get:94 http://ftpmaster.internal/ubuntu oracular/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu2 [113 kB] 186s Get:95 http://ftpmaster.internal/ubuntu oracular/main armhf libpixman-1-0 armhf 0.42.2-1build1 [193 kB] 186s Get:96 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-render0 armhf 1.17.0-2 [15.3 kB] 186s Get:97 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 186s Get:98 http://ftpmaster.internal/ubuntu oracular/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 186s Get:99 http://ftpmaster.internal/ubuntu oracular/main armhf libcairo2 armhf 1.18.0-3build1 [482 kB] 186s Get:100 http://ftpmaster.internal/ubuntu oracular/main armhf libsharpyuv0 armhf 1.4.0-0.1 [16.3 kB] 186s Get:101 http://ftpmaster.internal/ubuntu oracular/main armhf libaom3 armhf 3.8.2-3 [1681 kB] 186s Get:102 http://ftpmaster.internal/ubuntu oracular/main armhf libheif-plugin-aomdec armhf 1.17.6-3build1 [9700 B] 186s Get:103 http://ftpmaster.internal/ubuntu oracular/main armhf libde265-0 armhf 1.0.15-1build3 [158 kB] 187s Get:104 http://ftpmaster.internal/ubuntu oracular/main armhf libheif-plugin-libde265 armhf 1.17.6-3build1 [10.3 kB] 187s Get:105 http://ftpmaster.internal/ubuntu oracular/main armhf libheif1 armhf 1.17.6-3build1 [266 kB] 187s Get:106 http://ftpmaster.internal/ubuntu oracular/main armhf libjpeg-turbo8 armhf 2.1.5-2ubuntu2 [125 kB] 187s Get:107 http://ftpmaster.internal/ubuntu oracular/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 187s Get:108 http://ftpmaster.internal/ubuntu oracular/main armhf libdeflate0 armhf 1.20-1 [38.3 kB] 187s Get:109 http://ftpmaster.internal/ubuntu oracular/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 187s Get:110 http://ftpmaster.internal/ubuntu oracular/main armhf liblerc4 armhf 4.0.0+ds-4ubuntu2 [151 kB] 187s Get:111 http://ftpmaster.internal/ubuntu oracular/main armhf libwebp7 armhf 1.4.0-0.1 [184 kB] 187s Get:112 http://ftpmaster.internal/ubuntu oracular/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu2 [178 kB] 187s Get:113 http://ftpmaster.internal/ubuntu oracular/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 187s Get:114 http://ftpmaster.internal/ubuntu oracular/main armhf libgd3 armhf 2.3.3-9ubuntu5 [108 kB] 187s Get:115 http://ftpmaster.internal/ubuntu oracular/main armhf liblua5.4-0 armhf 5.4.6-3build2 [133 kB] 187s Get:116 http://ftpmaster.internal/ubuntu oracular/main armhf fontconfig armhf 2.15.0-1.1ubuntu2 [189 kB] 187s Get:117 http://ftpmaster.internal/ubuntu oracular/main armhf libgraphite2-3 armhf 1.3.14-2build1 [64.6 kB] 187s Get:118 http://ftpmaster.internal/ubuntu oracular/main armhf libharfbuzz0b armhf 8.3.0-2build2 [446 kB] 187s Get:119 http://ftpmaster.internal/ubuntu oracular/main armhf libthai-data all 0.1.29-2build1 [158 kB] 187s Get:120 http://ftpmaster.internal/ubuntu oracular/main armhf libdatrie1 armhf 0.2.13-3build1 [15.7 kB] 187s Get:121 http://ftpmaster.internal/ubuntu oracular/main armhf libthai0 armhf 0.1.29-2build1 [15.2 kB] 187s Get:122 http://ftpmaster.internal/ubuntu oracular/main armhf libpango-1.0-0 armhf 1.54.0+ds-1 [209 kB] 187s Get:123 http://ftpmaster.internal/ubuntu oracular/main armhf libpangoft2-1.0-0 armhf 1.54.0+ds-1 [36.4 kB] 187s Get:124 http://ftpmaster.internal/ubuntu oracular/main armhf libpangocairo-1.0-0 armhf 1.54.0+ds-1 [24.8 kB] 187s Get:125 http://ftpmaster.internal/ubuntu oracular/main armhf libwebpmux3 armhf 1.4.0-0.1 [22.5 kB] 187s Get:126 http://ftpmaster.internal/ubuntu oracular/universe armhf gnuplot-nox armhf 6.0.0+dfsg1-1ubuntu3 [902 kB] 187s Get:127 http://ftpmaster.internal/ubuntu oracular/universe armhf dh-octave-autopkgtest all 1.8.0 [10.1 kB] 187s Get:128 http://ftpmaster.internal/ubuntu oracular/main armhf libapt-pkg-perl armhf 0.1.40build7 [65.9 kB] 187s Get:129 http://ftpmaster.internal/ubuntu oracular/main armhf libarray-intspan-perl all 2.004-2 [25.0 kB] 187s Get:130 http://ftpmaster.internal/ubuntu oracular/main armhf libyaml-libyaml-perl armhf 0.89+ds-1build2 [28.7 kB] 187s Get:131 http://ftpmaster.internal/ubuntu oracular/universe armhf libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 187s Get:132 http://ftpmaster.internal/ubuntu oracular/universe armhf libexporter-lite-perl all 0.09-2 [9748 B] 187s Get:133 http://ftpmaster.internal/ubuntu oracular/main armhf libencode-locale-perl all 1.05-3 [11.6 kB] 187s Get:134 http://ftpmaster.internal/ubuntu oracular/main armhf libtimedate-perl all 2.3300-2 [34.0 kB] 187s Get:135 http://ftpmaster.internal/ubuntu oracular/main armhf libhttp-date-perl all 6.06-1 [10.2 kB] 187s Get:136 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-listing-perl all 6.16-1 [11.3 kB] 187s Get:137 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-tagset-perl all 3.24-1 [14.1 kB] 187s Get:138 http://ftpmaster.internal/ubuntu oracular/main armhf liburi-perl all 5.28-1 [88.1 kB] 187s Get:139 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-parser-perl armhf 3.82-1 [82.4 kB] 187s Get:140 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-tree-perl all 5.07-3 [200 kB] 187s Get:141 http://ftpmaster.internal/ubuntu oracular/main armhf libclone-perl armhf 0.46-1build3 [10.0 kB] 187s Get:142 http://ftpmaster.internal/ubuntu oracular/main armhf libio-html-perl all 1.004-3 [15.9 kB] 187s Get:143 http://ftpmaster.internal/ubuntu oracular/main armhf liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 187s Get:144 http://ftpmaster.internal/ubuntu oracular/main armhf libhttp-message-perl all 6.45-1ubuntu1 [78.2 kB] 187s Get:145 http://ftpmaster.internal/ubuntu oracular/main armhf libhttp-cookies-perl all 6.11-1 [18.2 kB] 187s Get:146 http://ftpmaster.internal/ubuntu oracular/main armhf libhttp-negotiate-perl all 6.01-2 [12.4 kB] 187s Get:147 http://ftpmaster.internal/ubuntu oracular/main armhf perl-openssl-defaults armhf 7build3 [6628 B] 187s Get:148 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-ssleay-perl armhf 1.94-1build4 [298 kB] 187s Get:149 http://ftpmaster.internal/ubuntu oracular/main armhf libio-socket-ssl-perl all 2.085-1 [195 kB] 187s Get:150 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-http-perl all 6.23-1 [22.3 kB] 187s Get:151 http://ftpmaster.internal/ubuntu oracular/main armhf liblwp-protocol-https-perl all 6.14-1 [9040 B] 187s Get:152 http://ftpmaster.internal/ubuntu oracular/main armhf libwww-robotrules-perl all 6.02-1 [12.6 kB] 187s Get:153 http://ftpmaster.internal/ubuntu oracular/main armhf libwww-perl all 6.77-1 [138 kB] 187s Get:154 http://ftpmaster.internal/ubuntu oracular/main armhf liberror-perl all 0.17029-2 [25.6 kB] 187s Get:155 http://ftpmaster.internal/ubuntu oracular/universe armhf libparse-debcontrol-perl all 2.005-6 [20.4 kB] 187s Get:156 http://ftpmaster.internal/ubuntu oracular/universe armhf libsoftware-copyright-perl all 0.012-2 [17.4 kB] 187s Get:157 http://ftpmaster.internal/ubuntu oracular/universe armhf libalgorithm-c3-perl all 0.11-2 [10.2 kB] 187s Get:158 http://ftpmaster.internal/ubuntu oracular/universe armhf libclass-c3-perl all 0.35-2 [18.4 kB] 187s Get:159 http://ftpmaster.internal/ubuntu oracular/universe armhf libmro-compat-perl all 0.15-2 [10.1 kB] 187s Get:160 http://ftpmaster.internal/ubuntu oracular/universe armhf libdata-section-perl all 0.200008-1 [11.6 kB] 187s Get:161 http://ftpmaster.internal/ubuntu oracular/universe armhf libtext-template-perl all 1.61-1 [48.5 kB] 187s Get:162 http://ftpmaster.internal/ubuntu oracular/universe armhf libsoftware-license-perl all 0.104006-1 [117 kB] 187s Get:163 http://ftpmaster.internal/ubuntu oracular/universe armhf libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 187s Get:164 http://ftpmaster.internal/ubuntu oracular/main armhf libsort-versions-perl all 1.62-3 [7378 B] 187s Get:165 http://ftpmaster.internal/ubuntu oracular/universe armhf libtext-reform-perl all 1.20-5 [35.4 kB] 187s Get:166 http://ftpmaster.internal/ubuntu oracular/universe armhf libtext-autoformat-perl all 1.750000-2 [29.8 kB] 187s Get:167 http://ftpmaster.internal/ubuntu oracular/universe armhf libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 187s Get:168 http://ftpmaster.internal/ubuntu oracular/universe armhf libtoml-tiny-perl all 0.17-1 [21.5 kB] 187s Get:169 http://ftpmaster.internal/ubuntu oracular/main armhf libindirect-perl armhf 0.39-2build4 [20.5 kB] 188s Get:170 http://ftpmaster.internal/ubuntu oracular/main armhf libxs-parse-keyword-perl armhf 0.42-1 [53.9 kB] 188s Get:171 http://ftpmaster.internal/ubuntu oracular/main armhf libxs-parse-sublike-perl armhf 0.21-2build3 [37.5 kB] 188s Get:172 http://ftpmaster.internal/ubuntu oracular/main armhf libobject-pad-perl armhf 0.808-1build3 [102 kB] 188s Get:173 http://ftpmaster.internal/ubuntu oracular/main armhf libsyntax-keyword-try-perl armhf 0.29-2 [23.7 kB] 188s Get:174 http://ftpmaster.internal/ubuntu oracular/main armhf libio-interactive-perl all 1.025-1 [10.4 kB] 188s Get:175 http://ftpmaster.internal/ubuntu oracular/main armhf liblog-any-perl all 1.717-1 [73.2 kB] 188s Get:176 http://ftpmaster.internal/ubuntu oracular/main armhf liblog-any-adapter-screen-perl all 0.140-2 [12.4 kB] 188s Get:177 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 188s Get:178 http://ftpmaster.internal/ubuntu oracular/main armhf libvariable-magic-perl armhf 0.64-1 [33.2 kB] 188s Get:179 http://ftpmaster.internal/ubuntu oracular/main armhf libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 188s Get:180 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-identify-perl armhf 0.14-3build3 [9300 B] 188s Get:181 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-name-perl armhf 0.27-1build3 [10.2 kB] 188s Get:182 http://ftpmaster.internal/ubuntu oracular/main armhf libnamespace-clean-perl all 0.27-2 [14.0 kB] 188s Get:183 http://ftpmaster.internal/ubuntu oracular/main armhf libnumber-compare-perl all 0.03-3 [5974 B] 188s Get:184 http://ftpmaster.internal/ubuntu oracular/main armhf libtext-glob-perl all 0.11-3 [6780 B] 188s Get:185 http://ftpmaster.internal/ubuntu oracular/main armhf libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 188s Get:186 http://ftpmaster.internal/ubuntu oracular/main armhf libpod-parser-perl all 1.67-1 [80.6 kB] 188s Get:187 http://ftpmaster.internal/ubuntu oracular/main armhf libpod-constants-perl all 0.19-2 [16.3 kB] 188s Get:188 http://ftpmaster.internal/ubuntu oracular/main armhf libset-intspan-perl all 1.19-3 [24.8 kB] 188s Get:189 http://ftpmaster.internal/ubuntu oracular/main armhf libstring-copyright-perl all 0.003014-1 [20.5 kB] 188s Get:190 http://ftpmaster.internal/ubuntu oracular/main armhf libstring-escape-perl all 2010.002-3 [16.1 kB] 188s Get:191 http://ftpmaster.internal/ubuntu oracular/main armhf libregexp-pattern-license-perl all 3.11.0-1 [85.8 kB] 188s Get:192 http://ftpmaster.internal/ubuntu oracular/main armhf libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 188s Get:193 http://ftpmaster.internal/ubuntu oracular/main armhf libstring-license-perl all 0.0.9-2ubuntu1 [35.0 kB] 188s Get:194 http://ftpmaster.internal/ubuntu oracular/main armhf licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 188s Get:195 http://ftpmaster.internal/ubuntu oracular/main armhf diffstat armhf 1.66-1build1 [27.7 kB] 188s Get:196 http://ftpmaster.internal/ubuntu oracular/main armhf libberkeleydb-perl armhf 0.64-2build4 [109 kB] 188s Get:197 http://ftpmaster.internal/ubuntu oracular/main armhf libclass-xsaccessor-perl armhf 1.19-4build4 [32.5 kB] 188s Get:198 http://ftpmaster.internal/ubuntu oracular/main armhf libconfig-tiny-perl all 2.30-1 [14.7 kB] 188s Get:199 http://ftpmaster.internal/ubuntu oracular/main armhf libconst-fast-perl all 0.014-2 [8034 B] 188s Get:200 http://ftpmaster.internal/ubuntu oracular/main armhf libcpanel-json-xs-perl armhf 4.38-1 [112 kB] 188s Get:201 http://ftpmaster.internal/ubuntu oracular/main armhf libaliased-perl all 0.34-3 [12.8 kB] 188s Get:202 http://ftpmaster.internal/ubuntu oracular/main armhf libclass-data-inheritable-perl all 0.08-3 [8084 B] 188s Get:203 http://ftpmaster.internal/ubuntu oracular/main armhf libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 188s Get:204 http://ftpmaster.internal/ubuntu oracular/main armhf libexception-class-perl all 1.45-1 [28.6 kB] 188s Get:205 http://ftpmaster.internal/ubuntu oracular/main armhf libiterator-perl all 0.03+ds1-2 [18.8 kB] 188s Get:206 http://ftpmaster.internal/ubuntu oracular/main armhf libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 188s Get:207 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-dpath-perl all 0.59-1 [39.2 kB] 188s Get:208 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-domain-tld-perl all 1.75-3 [29.4 kB] 188s Get:209 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-validate-domain-perl all 0.10-1.1 [9992 B] 188s Get:210 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 188s Get:211 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-netmask-perl all 2.0002-2 [24.8 kB] 188s Get:212 http://ftpmaster.internal/ubuntu oracular/main armhf libnetaddr-ip-perl armhf 4.079+dfsg-2build4 [78.9 kB] 188s Get:213 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-validate-ip-perl all 0.31-1 [17.2 kB] 188s Get:214 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-validate-uri-perl all 0.07-3 [10.8 kB] 188s Get:215 http://ftpmaster.internal/ubuntu oracular/main armhf libdevel-size-perl armhf 0.84-1 [18.7 kB] 188s Get:216 http://ftpmaster.internal/ubuntu oracular/main armhf libemail-address-xs-perl armhf 1.05-1build4 [26.3 kB] 188s Get:217 http://ftpmaster.internal/ubuntu oracular/main armhf libipc-system-simple-perl all 1.30-2 [22.3 kB] 188s Get:218 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-basedir-perl all 0.09-2 [14.4 kB] 188s Get:219 http://ftpmaster.internal/ubuntu oracular/main armhf libfile-find-rule-perl all 0.34-3 [24.4 kB] 188s Get:220 http://ftpmaster.internal/ubuntu oracular/main armhf libio-string-perl all 1.08-4 [11.1 kB] 188s Get:221 http://ftpmaster.internal/ubuntu oracular/main armhf libfont-ttf-perl all 1.06-2 [323 kB] 189s Get:222 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 189s Get:223 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 189s Get:224 http://ftpmaster.internal/ubuntu oracular/main armhf libipc-run3-perl all 0.049-1 [28.8 kB] 189s Get:225 http://ftpmaster.internal/ubuntu oracular/main armhf libjson-maybexs-perl all 1.004005-1 [11.3 kB] 189s Get:226 http://ftpmaster.internal/ubuntu oracular/main armhf liblist-compare-perl all 0.55-2 [62.9 kB] 189s Get:227 http://ftpmaster.internal/ubuntu oracular/main armhf liblist-someutils-perl all 0.59-1 [30.4 kB] 189s Get:228 http://ftpmaster.internal/ubuntu oracular/main armhf liblist-utilsby-perl all 0.12-2 [14.9 kB] 189s Get:229 http://ftpmaster.internal/ubuntu oracular/main armhf libmldbm-perl all 2.05-4 [16.0 kB] 189s Get:230 http://ftpmaster.internal/ubuntu oracular/main armhf libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 189s Get:231 http://ftpmaster.internal/ubuntu oracular/main armhf libimport-into-perl all 1.002005-2 [10.7 kB] 189s Get:232 http://ftpmaster.internal/ubuntu oracular/main armhf librole-tiny-perl all 2.002004-1 [16.3 kB] 189s Get:233 http://ftpmaster.internal/ubuntu oracular/main armhf libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 189s Get:234 http://ftpmaster.internal/ubuntu oracular/main armhf libmoo-perl all 2.005005-1 [47.4 kB] 189s Get:235 http://ftpmaster.internal/ubuntu oracular/main armhf libstrictures-perl all 2.000006-1 [16.3 kB] 189s Get:236 http://ftpmaster.internal/ubuntu oracular/main armhf libmoox-aliases-perl all 0.001006-2 [6796 B] 189s Get:237 http://ftpmaster.internal/ubuntu oracular/main armhf libperlio-gzip-perl armhf 0.20-1build4 [13.4 kB] 189s Get:238 http://ftpmaster.internal/ubuntu oracular/main armhf libperlio-utf8-strict-perl armhf 0.010-1build3 [10.4 kB] 189s Get:239 http://ftpmaster.internal/ubuntu oracular/main armhf libproc-processtable-perl armhf 0.636-1build3 [35.5 kB] 189s Get:240 http://ftpmaster.internal/ubuntu oracular/main armhf libregexp-wildcards-perl all 1.05-3 [12.9 kB] 189s Get:241 http://ftpmaster.internal/ubuntu oracular/main armhf libsereal-decoder-perl armhf 5.004+ds-1build3 [92.6 kB] 189s Get:242 http://ftpmaster.internal/ubuntu oracular/main armhf libsereal-encoder-perl armhf 5.004+ds-1build3 [94.3 kB] 189s Get:243 http://ftpmaster.internal/ubuntu oracular/main armhf libterm-readkey-perl armhf 2.38-2build4 [22.5 kB] 189s Get:244 http://ftpmaster.internal/ubuntu oracular/main armhf libtext-levenshteinxs-perl armhf 0.03-5build4 [7350 B] 189s Get:245 http://ftpmaster.internal/ubuntu oracular/main armhf libmarkdown2 armhf 2.2.7-2build1 [30.7 kB] 189s Get:246 http://ftpmaster.internal/ubuntu oracular/main armhf libtext-markdown-discount-perl armhf 0.16-1build3 [11.7 kB] 189s Get:247 http://ftpmaster.internal/ubuntu oracular/main armhf libdata-messagepack-perl armhf 1.02-1build4 [29.2 kB] 189s Get:248 http://ftpmaster.internal/ubuntu oracular/main armhf libtext-xslate-perl armhf 3.5.9-2 [157 kB] 189s Get:249 http://ftpmaster.internal/ubuntu oracular/main armhf libtime-duration-perl all 1.21-2 [12.3 kB] 189s Get:250 http://ftpmaster.internal/ubuntu oracular/main armhf libtime-moment-perl armhf 0.44-2build4 [70.5 kB] 189s Get:251 http://ftpmaster.internal/ubuntu oracular/main armhf libunicode-utf8-perl armhf 0.62-2build3 [16.9 kB] 189s Get:252 http://ftpmaster.internal/ubuntu oracular/main armhf libcgi-pm-perl all 4.65-1 [185 kB] 189s Get:253 http://ftpmaster.internal/ubuntu oracular/main armhf libhtml-form-perl all 6.11-1 [32.1 kB] 189s Get:254 http://ftpmaster.internal/ubuntu oracular/main armhf libwww-mechanize-perl all 2.18-1ubuntu1 [93.1 kB] 189s Get:255 http://ftpmaster.internal/ubuntu oracular/main armhf libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 189s Get:256 http://ftpmaster.internal/ubuntu oracular/main armhf libxml-sax-base-perl all 1.09-3 [18.9 kB] 189s Get:257 http://ftpmaster.internal/ubuntu oracular/main armhf libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] 189s Get:258 http://ftpmaster.internal/ubuntu oracular/main armhf libxml-libxml-perl armhf 2.0207+dfsg+really+2.0134-2 [291 kB] 189s Get:259 http://ftpmaster.internal/ubuntu oracular/main armhf lzip armhf 1.24.1-1build1 [79.9 kB] 189s Get:260 http://ftpmaster.internal/ubuntu oracular/main armhf lzop armhf 1.04-2build3 [82.4 kB] 189s Get:261 http://ftpmaster.internal/ubuntu oracular/main armhf patchutils armhf 0.4.2-1build3 [73.2 kB] 189s Get:262 http://ftpmaster.internal/ubuntu oracular/main armhf t1utils armhf 1.41-4build3 [51.8 kB] 189s Get:263 http://ftpmaster.internal/ubuntu oracular/main armhf unzip armhf 6.0-28ubuntu5 [167 kB] 189s Get:264 http://ftpmaster.internal/ubuntu oracular/main armhf lintian all 2.117.0ubuntu2 [1065 kB] 190s Get:265 http://ftpmaster.internal/ubuntu oracular/universe armhf libconfig-model-dpkg-perl all 3.005 [175 kB] 190s Get:266 http://ftpmaster.internal/ubuntu oracular/main armhf libconvert-binhex-perl all 1.125-3 [27.1 kB] 190s Get:267 http://ftpmaster.internal/ubuntu oracular/main armhf libnet-smtp-ssl-perl all 1.04-2 [6218 B] 190s Get:268 http://ftpmaster.internal/ubuntu oracular/main armhf libmailtools-perl all 2.21-3 [77.0 kB] 190s Get:269 http://ftpmaster.internal/ubuntu oracular/main armhf libmime-tools-perl all 5.515-1 [187 kB] 190s Get:270 http://ftpmaster.internal/ubuntu oracular/main armhf libsuitesparseconfig7 armhf 1:7.7.0+dfsg-2 [12.1 kB] 190s Get:271 http://ftpmaster.internal/ubuntu oracular/universe armhf libamd3 armhf 1:7.7.0+dfsg-2 [28.1 kB] 190s Get:272 http://ftpmaster.internal/ubuntu oracular/main armhf libblas3 armhf 3.12.0-3build1 [123 kB] 190s Get:273 http://ftpmaster.internal/ubuntu oracular/main armhf libgfortran5 armhf 14.1.0-1ubuntu1 [311 kB] 190s Get:274 http://ftpmaster.internal/ubuntu oracular/main armhf liblapack3 armhf 3.12.0-3build1 [2085 kB] 190s Get:275 http://ftpmaster.internal/ubuntu oracular/universe armhf libarpack2t64 armhf 3.9.1-1.1build2 [88.4 kB] 190s Get:276 http://ftpmaster.internal/ubuntu oracular/universe armhf libccolamd3 armhf 1:7.7.0+dfsg-2 [28.2 kB] 190s Get:277 http://ftpmaster.internal/ubuntu oracular/universe armhf libcamd3 armhf 1:7.7.0+dfsg-2 [26.1 kB] 190s Get:278 http://ftpmaster.internal/ubuntu oracular/main armhf libcolamd3 armhf 1:7.7.0+dfsg-2 [20.0 kB] 190s Get:279 http://ftpmaster.internal/ubuntu oracular/universe armhf libcholmod5 armhf 1:7.7.0+dfsg-2 [665 kB] 190s Get:280 http://ftpmaster.internal/ubuntu oracular/universe armhf libcxsparse4 armhf 1:7.7.0+dfsg-2 [70.4 kB] 190s Get:281 http://ftpmaster.internal/ubuntu oracular/main armhf libfftw3-double3 armhf 3.3.10-1ubuntu3 [369 kB] 190s Get:282 http://ftpmaster.internal/ubuntu oracular/main armhf libfftw3-single3 armhf 3.3.10-1ubuntu3 [376 kB] 190s Get:283 http://ftpmaster.internal/ubuntu oracular/main armhf libxfixes3 armhf 1:6.0.0-2build1 [9038 B] 190s Get:284 http://ftpmaster.internal/ubuntu oracular/main armhf libxcursor1 armhf 1:1.2.2-1 [17.6 kB] 190s Get:285 http://ftpmaster.internal/ubuntu oracular/main armhf libxft2 armhf 2.3.6-1build1 [37.4 kB] 190s Get:286 http://ftpmaster.internal/ubuntu oracular/main armhf libxinerama1 armhf 2:1.1.4-3build1 [5866 B] 190s Get:287 http://ftpmaster.internal/ubuntu oracular/universe armhf libfltk1.3t64 armhf 1.3.8-6.1build2 [553 kB] 190s Get:288 http://ftpmaster.internal/ubuntu oracular/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 190s Get:289 http://ftpmaster.internal/ubuntu oracular/main armhf libglapi-mesa armhf 24.0.9-0ubuntu1 [48.1 kB] 190s Get:290 http://ftpmaster.internal/ubuntu oracular/main armhf libx11-xcb1 armhf 2:1.8.7-1build1 [7748 B] 190s Get:291 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-dri2-0 armhf 1.17.0-2 [6868 B] 191s Get:292 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 191s Get:293 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB] 191s Get:294 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 191s Get:295 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 191s Get:296 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 191s Get:297 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 191s Get:298 http://ftpmaster.internal/ubuntu oracular/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 191s Get:299 http://ftpmaster.internal/ubuntu oracular/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 191s Get:300 http://ftpmaster.internal/ubuntu oracular/main armhf libvulkan1 armhf 1.3.283.0-1 [123 kB] 191s Get:301 http://ftpmaster.internal/ubuntu oracular/main armhf libdrm-amdgpu1 armhf 2.4.121-2 [18.8 kB] 191s Get:302 http://ftpmaster.internal/ubuntu oracular/main armhf libdrm-nouveau2 armhf 2.4.121-2 [15.2 kB] 191s Get:303 http://ftpmaster.internal/ubuntu oracular/main armhf libdrm-radeon1 armhf 2.4.121-2 [18.2 kB] 191s Get:304 http://ftpmaster.internal/ubuntu oracular/main armhf libllvm17t64 armhf 1:17.0.6-12 [25.3 MB] 193s Get:305 http://ftpmaster.internal/ubuntu oracular/main armhf libgl1-mesa-dri armhf 24.0.9-0ubuntu1 [7207 kB] 194s Get:306 http://ftpmaster.internal/ubuntu oracular/main armhf libglx-mesa0 armhf 24.0.9-0ubuntu1 [132 kB] 194s Get:307 http://ftpmaster.internal/ubuntu oracular/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB] 194s Get:308 http://ftpmaster.internal/ubuntu oracular/main armhf libgl1 armhf 1.7.0-1build1 [105 kB] 194s Get:309 http://ftpmaster.internal/ubuntu oracular/universe armhf libfltk-gl1.3t64 armhf 1.3.8-6.1build2 [36.6 kB] 194s Get:310 http://ftpmaster.internal/ubuntu oracular/universe armhf libgl2ps1.4 armhf 1.4.2+dfsg1-2build1 [37.7 kB] 194s Get:311 http://ftpmaster.internal/ubuntu oracular/main armhf libltdl7 armhf 2.4.7-7build1 [37.6 kB] 194s Get:312 http://ftpmaster.internal/ubuntu oracular/universe armhf libglpk40 armhf 5.0-1build2 [326 kB] 194s Get:313 http://ftpmaster.internal/ubuntu oracular/main armhf libopengl0 armhf 1.7.0-1build1 [36.2 kB] 194s Get:314 http://ftpmaster.internal/ubuntu oracular/main armhf libglu1-mesa armhf 9.0.2-1.1build1 [153 kB] 194s Get:315 http://ftpmaster.internal/ubuntu oracular/main armhf libgif7 armhf 5.2.2-1ubuntu1 [32.6 kB] 194s Get:316 http://ftpmaster.internal/ubuntu oracular/universe armhf libhwy1t64 armhf 1.2.0-2 [39.2 kB] 194s Get:317 http://ftpmaster.internal/ubuntu oracular/main armhf liblcms2-2 armhf 2.14-2build1 [132 kB] 194s Get:318 http://ftpmaster.internal/ubuntu oracular/universe armhf libimath-3-1-29t64 armhf 3.1.9-3.1ubuntu2 [68.5 kB] 194s Get:319 http://ftpmaster.internal/ubuntu oracular/universe armhf libopenexr-3-1-30 armhf 3.1.5-5.1build3 [915 kB] 194s Get:320 http://ftpmaster.internal/ubuntu oracular/universe armhf libjxl0.9 armhf 0.9.2-8 [799 kB] 194s Get:321 http://ftpmaster.internal/ubuntu oracular/main armhf libwmflite-0.2-7 armhf 0.2.13-1.1build3 [63.2 kB] 194s Get:322 http://ftpmaster.internal/ubuntu oracular/universe armhf libgraphicsmagick-q16-3t64 armhf 1.4+really1.3.43-1build2 [1218 kB] 194s Get:323 http://ftpmaster.internal/ubuntu oracular/universe armhf libgraphicsmagick++-q16-12t64 armhf 1.4+really1.3.43-1build2 [98.6 kB] 194s Get:324 http://ftpmaster.internal/ubuntu oracular/universe armhf libaec0 armhf 1.1.3-1 [20.8 kB] 194s Get:325 http://ftpmaster.internal/ubuntu oracular/universe armhf libsz2 armhf 1.1.3-1 [5302 B] 194s Get:326 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-103-1t64 armhf 1.10.10+repack-3.1ubuntu4 [1337 kB] 194s Get:327 http://ftpmaster.internal/ubuntu oracular/main armhf libasound2-data all 1.2.11-1build2 [21.0 kB] 194s Get:328 http://ftpmaster.internal/ubuntu oracular/main armhf libasound2t64 armhf 1.2.11-1build2 [346 kB] 194s Get:329 http://ftpmaster.internal/ubuntu oracular/main armhf libopus0 armhf 1.4-1build1 [187 kB] 194s Get:330 http://ftpmaster.internal/ubuntu oracular/main armhf libsamplerate0 armhf 0.2.2-4build1 [1341 kB] 194s Get:331 http://ftpmaster.internal/ubuntu oracular/main armhf libjack-jackd2-0 armhf 1.9.21~dfsg-3ubuntu3 [245 kB] 194s Get:332 http://ftpmaster.internal/ubuntu oracular/universe armhf libportaudio2 armhf 19.6.0-1.2build3 [60.9 kB] 194s Get:333 http://ftpmaster.internal/ubuntu oracular/universe armhf libqhull-r8.0 armhf 2020.2-6build1 [173 kB] 194s Get:334 http://ftpmaster.internal/ubuntu oracular/universe armhf libqrupdate1 armhf 1.1.2-4build1 [29.6 kB] 194s Get:335 http://ftpmaster.internal/ubuntu oracular/universe armhf libqscintilla2-qt5-l10n all 2.14.1+dfsg-1build4 [56.5 kB] 194s Get:336 http://ftpmaster.internal/ubuntu oracular/universe armhf libdouble-conversion3 armhf 3.3.0-1build1 [38.6 kB] 194s Get:337 http://ftpmaster.internal/ubuntu oracular/main armhf libpcre2-16-0 armhf 10.42-4ubuntu2 [180 kB] 194s Get:338 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5core5t64 armhf 5.15.13+dfsg-1ubuntu1 [1752 kB] 194s Get:339 http://ftpmaster.internal/ubuntu oracular/main armhf libwayland-server0 armhf 1.22.0-2.1build1 [29.3 kB] 194s Get:340 http://ftpmaster.internal/ubuntu oracular/main armhf libgbm1 armhf 24.0.9-0ubuntu1 [39.1 kB] 194s Get:341 http://ftpmaster.internal/ubuntu oracular/main armhf libwayland-client0 armhf 1.22.0-2.1build1 [22.0 kB] 194s Get:342 http://ftpmaster.internal/ubuntu oracular/main armhf libegl-mesa0 armhf 24.0.9-0ubuntu1 [95.2 kB] 194s Get:343 http://ftpmaster.internal/ubuntu oracular/main armhf libegl1 armhf 1.7.0-1build1 [29.8 kB] 194s Get:344 http://ftpmaster.internal/ubuntu oracular/main armhf libgles2 armhf 1.7.0-1build1 [18.0 kB] 194s Get:345 http://ftpmaster.internal/ubuntu oracular/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 194s Get:346 http://ftpmaster.internal/ubuntu oracular/main armhf libice6 armhf 2:1.0.10-1build3 [35.4 kB] 194s Get:347 http://ftpmaster.internal/ubuntu oracular/main armhf libmtdev1t64 armhf 1.1.6-1.2 [13.2 kB] 194s Get:348 http://ftpmaster.internal/ubuntu oracular/main armhf libwacom-common all 2.10.0-2 [63.4 kB] 194s Get:349 http://ftpmaster.internal/ubuntu oracular/main armhf libwacom9 armhf 2.10.0-2 [20.9 kB] 194s Get:350 http://ftpmaster.internal/ubuntu oracular/main armhf libinput-bin armhf 1.26.0-1 [24.9 kB] 195s Get:351 http://ftpmaster.internal/ubuntu oracular/main armhf libinput10 armhf 1.26.0-1 [119 kB] 195s Get:352 http://ftpmaster.internal/ubuntu oracular/universe armhf libmd4c0 armhf 0.4.8-1build1 [36.7 kB] 195s Get:353 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5dbus5t64 armhf 5.15.13+dfsg-1ubuntu1 [196 kB] 195s Get:354 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5network5t64 armhf 5.15.13+dfsg-1ubuntu1 [649 kB] 195s Get:355 http://ftpmaster.internal/ubuntu oracular/main armhf libsm6 armhf 2:1.2.3-1build3 [14.1 kB] 195s Get:356 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-icccm4 armhf 0.4.1-1.1build3 [9450 B] 195s Get:357 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-util1 armhf 0.4.0-1build3 [9224 B] 195s Get:358 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-image0 armhf 0.4.0-2build1 [9680 B] 195s Get:359 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-keysyms1 armhf 0.4.0-1build4 [7260 B] 195s Get:360 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-render-util0 armhf 0.3.9-1build4 [8648 B] 195s Get:361 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-shape0 armhf 1.17.0-2 [6030 B] 195s Get:362 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-xinerama0 armhf 1.17.0-2 [5212 B] 195s Get:363 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-xinput0 armhf 1.17.0-2 [29.5 kB] 195s Get:364 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb-xkb1 armhf 1.17.0-2 [28.8 kB] 195s Get:365 http://ftpmaster.internal/ubuntu oracular/main armhf libxkbcommon-x11-0 armhf 1.6.0-1build1 [13.8 kB] 195s Get:366 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5gui5t64 armhf 5.15.13+dfsg-1ubuntu1 [2935 kB] 195s Get:367 http://ftpmaster.internal/ubuntu oracular/main armhf libavahi-common-data armhf 0.8-13ubuntu6 [29.7 kB] 195s Get:368 http://ftpmaster.internal/ubuntu oracular/main armhf libavahi-common3 armhf 0.8-13ubuntu6 [20.2 kB] 195s Get:369 http://ftpmaster.internal/ubuntu oracular/main armhf libavahi-client3 armhf 0.8-13ubuntu6 [24.2 kB] 195s Get:370 http://ftpmaster.internal/ubuntu oracular/main armhf libcups2t64 armhf 2.4.7-1.2ubuntu7 [240 kB] 195s Get:371 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5widgets5t64 armhf 5.15.13+dfsg-1ubuntu1 [2247 kB] 195s Get:372 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5printsupport5t64 armhf 5.15.13+dfsg-1ubuntu1 [190 kB] 195s Get:373 http://ftpmaster.internal/ubuntu oracular/universe armhf libqscintilla2-qt5-15 armhf 2.14.1+dfsg-1build4 [1020 kB] 195s Get:374 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5sql5t64 armhf 5.15.13+dfsg-1ubuntu1 [107 kB] 195s Get:375 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5help5 armhf 5.15.13-3 [143 kB] 195s Get:376 http://ftpmaster.internal/ubuntu oracular/universe armhf libqt5xml5t64 armhf 5.15.13+dfsg-1ubuntu1 [108 kB] 195s Get:377 http://ftpmaster.internal/ubuntu oracular/main armhf libogg0 armhf 1.3.5-3build1 [20.5 kB] 195s Get:378 http://ftpmaster.internal/ubuntu oracular/main armhf libflac12t64 armhf 1.4.3+ds-2.1ubuntu2 [144 kB] 195s Get:379 http://ftpmaster.internal/ubuntu oracular/main armhf libmp3lame0 armhf 3.100-6build1 [126 kB] 195s Get:380 http://ftpmaster.internal/ubuntu oracular/main armhf libmpg123-0t64 armhf 1.32.6-3 [156 kB] 195s Get:381 http://ftpmaster.internal/ubuntu oracular/main armhf libvorbis0a armhf 1.3.7-2 [86.7 kB] 195s Get:382 http://ftpmaster.internal/ubuntu oracular/main armhf libvorbisenc2 armhf 1.3.7-2 [72.9 kB] 195s Get:383 http://ftpmaster.internal/ubuntu oracular/main armhf libsndfile1 armhf 1.2.2-1ubuntu5 [200 kB] 195s Get:384 http://ftpmaster.internal/ubuntu oracular/universe armhf libspqr4 armhf 1:7.7.0+dfsg-2 [127 kB] 195s Get:385 http://ftpmaster.internal/ubuntu oracular/universe armhf libsundials-ida6 armhf 6.4.1+dfsg1-3build5 [113 kB] 195s Get:386 http://ftpmaster.internal/ubuntu oracular/universe armhf libbtf2 armhf 1:7.7.0+dfsg-2 [14.5 kB] 195s Get:387 http://ftpmaster.internal/ubuntu oracular/universe armhf libklu2 armhf 1:7.7.0+dfsg-2 [74.9 kB] 195s Get:388 http://ftpmaster.internal/ubuntu oracular/main armhf libevent-pthreads-2.1-7t64 armhf 2.1.12-stable-10 [7530 B] 195s Get:389 http://ftpmaster.internal/ubuntu oracular/main armhf librdmacm1t64 armhf 50.0-2build2 [63.0 kB] 195s Get:390 http://ftpmaster.internal/ubuntu oracular/universe armhf libfabric1 armhf 1.17.0-3build2 [419 kB] 195s Get:391 http://ftpmaster.internal/ubuntu oracular/universe armhf libhwloc15 armhf 2.10.0-1build1 [146 kB] 195s Get:392 http://ftpmaster.internal/ubuntu oracular/universe armhf libmunge2 armhf 0.5.15-4build1 [17.1 kB] 195s Get:393 http://ftpmaster.internal/ubuntu oracular/main armhf libpciaccess0 armhf 0.17-3build1 [16.3 kB] 195s Get:394 http://ftpmaster.internal/ubuntu oracular/main armhf libxnvctrl0 armhf 510.47.03-0ubuntu4 [11.6 kB] 195s Get:395 http://ftpmaster.internal/ubuntu oracular/universe armhf ocl-icd-libopencl1 armhf 2.3.2-1build1 [34.5 kB] 195s Get:396 http://ftpmaster.internal/ubuntu oracular/universe armhf libhwloc-plugins armhf 2.10.0-1build1 [13.7 kB] 195s Get:397 http://ftpmaster.internal/ubuntu oracular/universe armhf libpmix2t64 armhf 5.0.1-4.1build1 [616 kB] 195s Get:398 http://ftpmaster.internal/ubuntu oracular/universe armhf libopenmpi3t64 armhf 4.1.6-7ubuntu2 [2041 kB] 195s Get:399 http://ftpmaster.internal/ubuntu oracular/universe armhf libfftw3-mpi3 armhf 3.3.10-1ubuntu3 [35.1 kB] 195s Get:400 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-openmpi-103-1t64 armhf 1.10.10+repack-3.1ubuntu4 [1393 kB] 195s Get:401 http://ftpmaster.internal/ubuntu oracular/universe armhf libcombblas2.0.0t64 armhf 2.0.0-3.1build2 [247 kB] 195s Get:402 http://ftpmaster.internal/ubuntu oracular/universe armhf libmetis5 armhf 5.1.0.dfsg-7build3 [145 kB] 195s Get:403 http://ftpmaster.internal/ubuntu oracular/universe armhf libptscotch-7.0 armhf 7.0.4-1ubuntu2 [750 kB] 195s Get:404 http://ftpmaster.internal/ubuntu oracular/universe armhf libsuperlu-dist8 armhf 8.2.1+dfsg1-1build2 [551 kB] 196s Get:405 http://ftpmaster.internal/ubuntu oracular/universe armhf libhypre-2.28.0 armhf 2.28.0-8build2 [1315 kB] 197s Get:406 http://ftpmaster.internal/ubuntu oracular/universe armhf openmpi-common all 4.1.6-7ubuntu2 [170 kB] 197s Get:407 http://ftpmaster.internal/ubuntu oracular/universe armhf openmpi-bin armhf 4.1.6-7ubuntu2 [83.2 kB] 197s Get:408 http://ftpmaster.internal/ubuntu oracular/universe armhf mpi-default-bin armhf 1.15build1 [2376 B] 197s Get:409 http://ftpmaster.internal/ubuntu oracular/universe armhf libscalapack-openmpi2.2 armhf 2.2.1-3.1ubuntu1 [1448 kB] 197s Get:410 http://ftpmaster.internal/ubuntu oracular/universe armhf libmumps-5.6t64 armhf 5.6.2-2.1build2 [1923 kB] 198s Get:411 http://ftpmaster.internal/ubuntu oracular/universe armhf libsuperlu6 armhf 6.0.1+dfsg1-1build1 [155 kB] 198s Get:412 http://ftpmaster.internal/ubuntu oracular/universe armhf libumfpack6 armhf 1:7.7.0+dfsg-2 [284 kB] 198s Get:413 http://ftpmaster.internal/ubuntu oracular/universe armhf libpetsc-real3.19t64 armhf 3.19.6+dfsg1-2.2ubuntu2 [6794 kB] 199s Get:414 http://ftpmaster.internal/ubuntu oracular/universe armhf libsundials-nvecparallel-petsc6 armhf 6.4.1+dfsg1-3build5 [34.2 kB] 199s Get:415 http://ftpmaster.internal/ubuntu oracular/universe armhf libsundials-sunmatrix4 armhf 6.4.1+dfsg1-3build5 [68.7 kB] 199s Get:416 http://ftpmaster.internal/ubuntu oracular/universe armhf libsundials-sunlinsol3 armhf 6.4.1+dfsg1-3build5 [137 kB] 199s Get:417 http://ftpmaster.internal/ubuntu oracular/universe armhf libtext-unidecode-perl all 1.30-3 [105 kB] 199s Get:418 http://ftpmaster.internal/ubuntu oracular/universe armhf texinfo-lib armhf 7.1-3build2 [114 kB] 199s Get:419 http://ftpmaster.internal/ubuntu oracular/universe armhf tex-common all 6.18 [32.8 kB] 199s Get:420 http://ftpmaster.internal/ubuntu oracular/universe armhf texinfo all 7.1-3build2 [1273 kB] 199s Get:421 http://ftpmaster.internal/ubuntu oracular/universe armhf octave-common all 8.4.0-1build5 [5925 kB] 199s Get:422 http://ftpmaster.internal/ubuntu oracular/universe armhf octave armhf 8.4.0-1build5 [9082 kB] 200s Get:423 http://ftpmaster.internal/ubuntu oracular/main armhf libncurses-dev armhf 6.5-2 [501 kB] 200s Get:424 http://ftpmaster.internal/ubuntu oracular/main armhf libreadline-dev armhf 8.2-4build1 [153 kB] 200s Get:425 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-fortran-102t64 armhf 1.10.10+repack-3.1ubuntu4 [74.2 kB] 200s Get:426 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-hl-100t64 armhf 1.10.10+repack-3.1ubuntu4 [54.8 kB] 200s Get:427 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-hl-fortran-100t64 armhf 1.10.10+repack-3.1ubuntu4 [25.7 kB] 200s Get:428 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-cpp-103-1t64 armhf 1.10.10+repack-3.1ubuntu4 [125 kB] 200s Get:429 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-hl-cpp-100t64 armhf 1.10.10+repack-3.1ubuntu4 [10.6 kB] 200s Get:430 http://ftpmaster.internal/ubuntu oracular/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu2 [880 kB] 200s Get:431 http://ftpmaster.internal/ubuntu oracular/main armhf libjpeg-turbo8-dev armhf 2.1.5-2ubuntu2 [262 kB] 200s Get:432 http://ftpmaster.internal/ubuntu oracular/main armhf libjpeg8-dev armhf 8c-2ubuntu11 [1484 B] 200s Get:433 http://ftpmaster.internal/ubuntu oracular/main armhf libjpeg-dev armhf 8c-2ubuntu11 [1482 B] 200s Get:434 http://ftpmaster.internal/ubuntu oracular/universe armhf libaec-dev armhf 1.1.3-1 [17.3 kB] 200s Get:435 http://ftpmaster.internal/ubuntu oracular/main armhf libcurl4-openssl-dev armhf 8.8.0-1ubuntu1 [431 kB] 200s Get:436 http://ftpmaster.internal/ubuntu oracular/main armhf libssl-dev armhf 3.0.13-0ubuntu4 [2086 kB] 200s Get:437 http://ftpmaster.internal/ubuntu oracular/universe armhf hdf5-helpers armhf 1.10.10+repack-3.1ubuntu4 [15.8 kB] 200s Get:438 http://ftpmaster.internal/ubuntu oracular/universe armhf libhdf5-dev armhf 1.10.10+repack-3.1ubuntu4 [2844 kB] 200s Get:439 http://ftpmaster.internal/ubuntu oracular/main armhf xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 200s Get:440 http://ftpmaster.internal/ubuntu oracular/main armhf x11proto-dev all 2024.1-1 [606 kB] 200s Get:441 http://ftpmaster.internal/ubuntu oracular/main armhf libxau-dev armhf 1:1.0.9-1build6 [8964 B] 200s Get:442 http://ftpmaster.internal/ubuntu oracular/main armhf libxdmcp-dev armhf 1:1.1.3-0ubuntu6 [24.9 kB] 200s Get:443 http://ftpmaster.internal/ubuntu oracular/main armhf xtrans-dev all 1.4.0-1 [68.9 kB] 200s Get:444 http://ftpmaster.internal/ubuntu oracular/main armhf libxcb1-dev armhf 1.17.0-2 [85.0 kB] 200s Get:445 http://ftpmaster.internal/ubuntu oracular/main armhf libx11-dev armhf 2:1.8.7-1build1 [671 kB] 200s Get:446 http://ftpmaster.internal/ubuntu oracular/main armhf libglx-dev armhf 1.7.0-1build1 [14.2 kB] 200s Get:447 http://ftpmaster.internal/ubuntu oracular/main armhf libgl-dev armhf 1.7.0-1build1 [102 kB] 200s Get:448 http://ftpmaster.internal/ubuntu oracular/main armhf libblas-dev armhf 3.12.0-3build1 [132 kB] 200s Get:449 http://ftpmaster.internal/ubuntu oracular/main armhf liblapack-dev armhf 3.12.0-3build1 [2177 kB] 200s Get:450 http://ftpmaster.internal/ubuntu oracular/main armhf libfftw3-bin armhf 3.3.10-1ubuntu3 [30.0 kB] 200s Get:451 http://ftpmaster.internal/ubuntu oracular/main armhf libfftw3-dev armhf 3.3.10-1ubuntu3 [707 kB] 200s Get:452 http://ftpmaster.internal/ubuntu oracular/main armhf libgfortran-13-dev armhf 13.2.0-23ubuntu4 [359 kB] 200s Get:453 http://ftpmaster.internal/ubuntu oracular/main armhf gfortran-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [9182 kB] 201s Get:454 http://ftpmaster.internal/ubuntu oracular/main armhf gfortran-13 armhf 13.2.0-23ubuntu4 [11.7 kB] 201s Get:455 http://ftpmaster.internal/ubuntu oracular/main armhf gfortran-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1024 B] 201s Get:456 http://ftpmaster.internal/ubuntu oracular/main armhf gfortran armhf 4:13.2.0-7ubuntu1 [1166 B] 201s Get:457 http://ftpmaster.internal/ubuntu oracular/main armhf libstdc++-13-dev armhf 13.2.0-23ubuntu4 [2456 kB] 201s Get:458 http://ftpmaster.internal/ubuntu oracular/main armhf g++-13-arm-linux-gnueabihf armhf 13.2.0-23ubuntu4 [9941 kB] 201s Get:459 http://ftpmaster.internal/ubuntu oracular/main armhf g++-13 armhf 13.2.0-23ubuntu4 [14.5 kB] 201s Get:460 http://ftpmaster.internal/ubuntu oracular/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 201s Get:461 http://ftpmaster.internal/ubuntu oracular/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 201s Get:462 http://ftpmaster.internal/ubuntu oracular/universe armhf octave-dev armhf 8.4.0-1build5 [469 kB] 201s Get:463 http://ftpmaster.internal/ubuntu oracular/universe armhf dh-octave all 1.8.0 [19.7 kB] 201s Get:464 http://ftpmaster.internal/ubuntu oracular/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 201s Get:465 http://ftpmaster.internal/ubuntu oracular/main armhf libunwind8 armhf 1.6.2-3.1 [47.6 kB] 201s Get:466 http://ftpmaster.internal/ubuntu oracular/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 201s Get:467 http://ftpmaster.internal/ubuntu oracular/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 201s Get:468 http://ftpmaster.internal/ubuntu oracular/main armhf libxaw7 armhf 2:1.0.14-1build2 [153 kB] 201s Get:469 http://ftpmaster.internal/ubuntu oracular/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 201s Get:470 http://ftpmaster.internal/ubuntu oracular/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 201s Get:471 http://ftpmaster.internal/ubuntu oracular/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 201s Get:472 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-mpmath all 1.3.0-1 [425 kB] 201s Get:473 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf python3-sympy all 1.12.1-1 [3967 kB] 201s Get:474 http://ftpmaster.internal/ubuntu oracular/universe armhf octave-symbolic all 3.1.1-2 [207 kB] 201s Get:475 http://ftpmaster.internal/ubuntu oracular/main armhf x11-xkb-utils armhf 7.7+8build2 [159 kB] 201s Get:476 http://ftpmaster.internal/ubuntu oracular/main armhf xserver-common all 2:21.1.12-1ubuntu1 [33.3 kB] 201s Get:477 http://ftpmaster.internal/ubuntu oracular/universe armhf xvfb armhf 2:21.1.12-1ubuntu1 [739 kB] 203s Fetched 195 MB in 18s (10.9 MB/s) 203s Selecting previously unselected package m4. 203s (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 ... 58402 files and directories currently installed.) 203s Preparing to unpack .../000-m4_1.4.19-4build1_armhf.deb ... 203s Unpacking m4 (1.4.19-4build1) ... 203s Selecting previously unselected package autoconf. 203s Preparing to unpack .../001-autoconf_2.71-3_all.deb ... 203s Unpacking autoconf (2.71-3) ... 203s Selecting previously unselected package autotools-dev. 203s Preparing to unpack .../002-autotools-dev_20220109.1_all.deb ... 203s Unpacking autotools-dev (20220109.1) ... 203s Selecting previously unselected package automake. 203s Preparing to unpack .../003-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 203s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 203s Selecting previously unselected package autopoint. 204s Preparing to unpack .../004-autopoint_0.21-14ubuntu2_all.deb ... 204s Unpacking autopoint (0.21-14ubuntu2) ... 204s Selecting previously unselected package libcapture-tiny-perl. 204s Preparing to unpack .../005-libcapture-tiny-perl_0.48-2_all.deb ... 204s Unpacking libcapture-tiny-perl (0.48-2) ... 204s Selecting previously unselected package libparams-util-perl. 204s Preparing to unpack .../006-libparams-util-perl_1.102-3_armhf.deb ... 204s Unpacking libparams-util-perl (1.102-3) ... 204s Selecting previously unselected package libsub-install-perl. 204s Preparing to unpack .../007-libsub-install-perl_0.929-1_all.deb ... 204s Unpacking libsub-install-perl (0.929-1) ... 204s Selecting previously unselected package libdata-optlist-perl. 204s Preparing to unpack .../008-libdata-optlist-perl_0.114-1_all.deb ... 204s Unpacking libdata-optlist-perl (0.114-1) ... 204s Selecting previously unselected package libb-hooks-op-check-perl:armhf. 204s Preparing to unpack .../009-libb-hooks-op-check-perl_0.22-3build1_armhf.deb ... 204s Unpacking libb-hooks-op-check-perl:armhf (0.22-3build1) ... 204s Selecting previously unselected package libdynaloader-functions-perl. 204s Preparing to unpack .../010-libdynaloader-functions-perl_0.003-3_all.deb ... 204s Unpacking libdynaloader-functions-perl (0.003-3) ... 204s Selecting previously unselected package libdevel-callchecker-perl:armhf. 204s Preparing to unpack .../011-libdevel-callchecker-perl_0.009-1_armhf.deb ... 204s Unpacking libdevel-callchecker-perl:armhf (0.009-1) ... 204s Selecting previously unselected package libparams-classify-perl:armhf. 204s Preparing to unpack .../012-libparams-classify-perl_0.015-2build5_armhf.deb ... 204s Unpacking libparams-classify-perl:armhf (0.015-2build5) ... 204s Selecting previously unselected package libmodule-runtime-perl. 205s Preparing to unpack .../013-libmodule-runtime-perl_0.016-2_all.deb ... 205s Unpacking libmodule-runtime-perl (0.016-2) ... 205s Selecting previously unselected package libtry-tiny-perl. 205s Preparing to unpack .../014-libtry-tiny-perl_0.31-2_all.deb ... 205s Unpacking libtry-tiny-perl (0.31-2) ... 205s Selecting previously unselected package libmodule-implementation-perl. 205s Preparing to unpack .../015-libmodule-implementation-perl_0.09-2_all.deb ... 205s Unpacking libmodule-implementation-perl (0.09-2) ... 205s Selecting previously unselected package libpackage-stash-perl. 205s Preparing to unpack .../016-libpackage-stash-perl_0.40-1_all.deb ... 205s Unpacking libpackage-stash-perl (0.40-1) ... 205s Selecting previously unselected package libclass-load-perl. 205s Preparing to unpack .../017-libclass-load-perl_0.25-2_all.deb ... 205s Unpacking libclass-load-perl (0.25-2) ... 205s Selecting previously unselected package libio-stringy-perl. 205s Preparing to unpack .../018-libio-stringy-perl_2.111-3_all.deb ... 205s Unpacking libio-stringy-perl (2.111-3) ... 205s Selecting previously unselected package libparams-validate-perl:armhf. 206s Preparing to unpack .../019-libparams-validate-perl_1.31-2build3_armhf.deb ... 206s Unpacking libparams-validate-perl:armhf (1.31-2build3) ... 206s Selecting previously unselected package libsub-exporter-perl. 206s Preparing to unpack .../020-libsub-exporter-perl_0.990-1_all.deb ... 206s Unpacking libsub-exporter-perl (0.990-1) ... 206s Selecting previously unselected package libgetopt-long-descriptive-perl. 206s Preparing to unpack .../021-libgetopt-long-descriptive-perl_0.111-1_all.deb ... 206s Unpacking libgetopt-long-descriptive-perl (0.111-1) ... 206s Selecting previously unselected package libio-tiecombine-perl. 206s Preparing to unpack .../022-libio-tiecombine-perl_1.005-3_all.deb ... 206s Unpacking libio-tiecombine-perl (1.005-3) ... 206s Selecting previously unselected package libmodule-pluggable-perl. 206s Preparing to unpack .../023-libmodule-pluggable-perl_5.2-5_all.deb ... 206s Unpacking libmodule-pluggable-perl (5.2-5) ... 206s Selecting previously unselected package libstring-rewriteprefix-perl. 206s Preparing to unpack .../024-libstring-rewriteprefix-perl_0.009-1_all.deb ... 206s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 206s Selecting previously unselected package libapp-cmd-perl. 206s Preparing to unpack .../025-libapp-cmd-perl_0.336-1_all.deb ... 206s Unpacking libapp-cmd-perl (0.336-1) ... 206s Selecting previously unselected package libboolean-perl. 206s Preparing to unpack .../026-libboolean-perl_0.46-3_all.deb ... 206s Unpacking libboolean-perl (0.46-3) ... 206s Selecting previously unselected package libsub-uplevel-perl. 206s Preparing to unpack .../027-libsub-uplevel-perl_0.2800-3_all.deb ... 206s Unpacking libsub-uplevel-perl (0.2800-3) ... 206s Selecting previously unselected package libtest-exception-perl. 206s Preparing to unpack .../028-libtest-exception-perl_0.43-3_all.deb ... 206s Unpacking libtest-exception-perl (0.43-3) ... 206s Selecting previously unselected package libcarp-assert-more-perl. 207s Preparing to unpack .../029-libcarp-assert-more-perl_2.4.0-1_all.deb ... 207s Unpacking libcarp-assert-more-perl (2.4.0-1) ... 207s Selecting previously unselected package libfile-which-perl. 207s Preparing to unpack .../030-libfile-which-perl_1.27-2_all.deb ... 207s Unpacking libfile-which-perl (1.27-2) ... 207s Selecting previously unselected package libfile-homedir-perl. 207s Preparing to unpack .../031-libfile-homedir-perl_1.006-2_all.deb ... 207s Unpacking libfile-homedir-perl (1.006-2) ... 207s Selecting previously unselected package libclone-choose-perl. 207s Preparing to unpack .../032-libclone-choose-perl_0.010-2_all.deb ... 207s Unpacking libclone-choose-perl (0.010-2) ... 207s Selecting previously unselected package libhash-merge-perl. 207s Preparing to unpack .../033-libhash-merge-perl_0.302-1_all.deb ... 207s Unpacking libhash-merge-perl (0.302-1) ... 207s Selecting previously unselected package libjson-perl. 207s Preparing to unpack .../034-libjson-perl_4.10000-1_all.deb ... 207s Unpacking libjson-perl (4.10000-1) ... 207s Selecting previously unselected package libexporter-tiny-perl. 207s Preparing to unpack .../035-libexporter-tiny-perl_1.006002-1_all.deb ... 207s Unpacking libexporter-tiny-perl (1.006002-1) ... 207s Selecting previously unselected package liblist-moreutils-xs-perl. 207s Preparing to unpack .../036-liblist-moreutils-xs-perl_0.430-4_armhf.deb ... 207s Unpacking liblist-moreutils-xs-perl (0.430-4) ... 207s Selecting previously unselected package liblist-moreutils-perl. 207s Preparing to unpack .../037-liblist-moreutils-perl_0.430-2_all.deb ... 207s Unpacking liblist-moreutils-perl (0.430-2) ... 207s Selecting previously unselected package liblog-log4perl-perl. 207s Preparing to unpack .../038-liblog-log4perl-perl_1.57-1_all.deb ... 207s Unpacking liblog-log4perl-perl (1.57-1) ... 207s Selecting previously unselected package libmouse-perl. 207s Preparing to unpack .../039-libmouse-perl_2.5.10-1build8_armhf.deb ... 207s Unpacking libmouse-perl (2.5.10-1build8) ... 207s Selecting previously unselected package libmousex-nativetraits-perl. 207s Preparing to unpack .../040-libmousex-nativetraits-perl_1.09-3_all.deb ... 207s Unpacking libmousex-nativetraits-perl (1.09-3) ... 207s Selecting previously unselected package libmousex-strictconstructor-perl. 207s Preparing to unpack .../041-libmousex-strictconstructor-perl_0.02-3_all.deb ... 207s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 207s Selecting previously unselected package libparse-recdescent-perl. 207s Preparing to unpack .../042-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 207s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 207s Selecting previously unselected package libpath-tiny-perl. 207s Preparing to unpack .../043-libpath-tiny-perl_0.144-1_all.deb ... 207s Unpacking libpath-tiny-perl (0.144-1) ... 207s Selecting previously unselected package libpod-pom-perl. 207s Preparing to unpack .../044-libpod-pom-perl_2.01-4_all.deb ... 207s Unpacking libpod-pom-perl (2.01-4) ... 207s Selecting previously unselected package libregexp-common-perl. 207s Preparing to unpack .../045-libregexp-common-perl_2017060201-3_all.deb ... 207s Unpacking libregexp-common-perl (2017060201-3) ... 207s Selecting previously unselected package libyaml-tiny-perl. 207s Preparing to unpack .../046-libyaml-tiny-perl_1.74-1_all.deb ... 207s Unpacking libyaml-tiny-perl (1.74-1) ... 207s Selecting previously unselected package libconfig-model-perl. 207s Preparing to unpack .../047-libconfig-model-perl_2.153-3_all.deb ... 207s Unpacking libconfig-model-perl (2.153-3) ... 207s Selecting previously unselected package libyaml-pp-perl. 207s Preparing to unpack .../048-libyaml-pp-perl_0.38.0-1_all.deb ... 207s Unpacking libyaml-pp-perl (0.38.0-1) ... 207s Selecting previously unselected package cme. 207s Preparing to unpack .../049-cme_1.040-1_all.deb ... 207s Unpacking cme (1.040-1) ... 207s Selecting previously unselected package gcc-13-base:armhf. 207s Preparing to unpack .../050-gcc-13-base_13.2.0-23ubuntu4_armhf.deb ... 207s Unpacking gcc-13-base:armhf (13.2.0-23ubuntu4) ... 207s Selecting previously unselected package libisl23:armhf. 207s Preparing to unpack .../051-libisl23_0.26-3build1_armhf.deb ... 207s Unpacking libisl23:armhf (0.26-3build1) ... 207s Selecting previously unselected package libmpc3:armhf. 207s Preparing to unpack .../052-libmpc3_1.3.1-1build1_armhf.deb ... 207s Unpacking libmpc3:armhf (1.3.1-1build1) ... 207s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 207s Preparing to unpack .../053-cpp-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 207s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 208s Selecting previously unselected package cpp-13. 208s Preparing to unpack .../054-cpp-13_13.2.0-23ubuntu4_armhf.deb ... 208s Unpacking cpp-13 (13.2.0-23ubuntu4) ... 208s Selecting previously unselected package cpp-arm-linux-gnueabihf. 208s Preparing to unpack .../055-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 208s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 208s Selecting previously unselected package cpp. 208s Preparing to unpack .../056-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 208s Unpacking cpp (4:13.2.0-7ubuntu1) ... 208s Selecting previously unselected package libdebhelper-perl. 208s Preparing to unpack .../057-libdebhelper-perl_13.15.3ubuntu2_all.deb ... 208s Unpacking libdebhelper-perl (13.15.3ubuntu2) ... 208s Selecting previously unselected package libcc1-0:armhf. 208s Preparing to unpack .../058-libcc1-0_14.1.0-1ubuntu1_armhf.deb ... 208s Unpacking libcc1-0:armhf (14.1.0-1ubuntu1) ... 208s Selecting previously unselected package libgomp1:armhf. 208s Preparing to unpack .../059-libgomp1_14.1.0-1ubuntu1_armhf.deb ... 208s Unpacking libgomp1:armhf (14.1.0-1ubuntu1) ... 208s Selecting previously unselected package libatomic1:armhf. 208s Preparing to unpack .../060-libatomic1_14.1.0-1ubuntu1_armhf.deb ... 208s Unpacking libatomic1:armhf (14.1.0-1ubuntu1) ... 208s Selecting previously unselected package libasan8:armhf. 208s Preparing to unpack .../061-libasan8_14.1.0-1ubuntu1_armhf.deb ... 208s Unpacking libasan8:armhf (14.1.0-1ubuntu1) ... 208s Selecting previously unselected package libubsan1:armhf. 208s Preparing to unpack .../062-libubsan1_14.1.0-1ubuntu1_armhf.deb ... 208s Unpacking libubsan1:armhf (14.1.0-1ubuntu1) ... 208s Selecting previously unselected package libgcc-13-dev:armhf. 208s Preparing to unpack .../063-libgcc-13-dev_13.2.0-23ubuntu4_armhf.deb ... 208s Unpacking libgcc-13-dev:armhf (13.2.0-23ubuntu4) ... 208s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 208s Preparing to unpack .../064-gcc-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 208s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 209s Selecting previously unselected package gcc-13. 209s Preparing to unpack .../065-gcc-13_13.2.0-23ubuntu4_armhf.deb ... 209s Unpacking gcc-13 (13.2.0-23ubuntu4) ... 209s Selecting previously unselected package gcc-arm-linux-gnueabihf. 209s Preparing to unpack .../066-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 209s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 209s Selecting previously unselected package gcc. 209s Preparing to unpack .../067-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 209s Unpacking gcc (4:13.2.0-7ubuntu1) ... 209s Selecting previously unselected package libc-dev-bin. 209s Preparing to unpack .../068-libc-dev-bin_2.39-0ubuntu9_armhf.deb ... 209s Unpacking libc-dev-bin (2.39-0ubuntu9) ... 209s Selecting previously unselected package linux-libc-dev:armhf. 209s Preparing to unpack .../069-linux-libc-dev_6.8.0-31.31_armhf.deb ... 209s Unpacking linux-libc-dev:armhf (6.8.0-31.31) ... 209s Selecting previously unselected package libcrypt-dev:armhf. 209s Preparing to unpack .../070-libcrypt-dev_1%3a4.4.36-4build1_armhf.deb ... 209s Unpacking libcrypt-dev:armhf (1:4.4.36-4build1) ... 209s Selecting previously unselected package rpcsvc-proto. 209s Preparing to unpack .../071-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 209s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 209s Selecting previously unselected package libc6-dev:armhf. 209s Preparing to unpack .../072-libc6-dev_2.39-0ubuntu9_armhf.deb ... 209s Unpacking libc6-dev:armhf (2.39-0ubuntu9) ... 209s Selecting previously unselected package libtool. 209s Preparing to unpack .../073-libtool_2.4.7-7build1_all.deb ... 209s Unpacking libtool (2.4.7-7build1) ... 209s Selecting previously unselected package dh-autoreconf. 209s Preparing to unpack .../074-dh-autoreconf_20_all.deb ... 209s Unpacking dh-autoreconf (20) ... 209s Selecting previously unselected package libarchive-zip-perl. 209s Preparing to unpack .../075-libarchive-zip-perl_1.68-1_all.deb ... 209s Unpacking libarchive-zip-perl (1.68-1) ... 209s Selecting previously unselected package libfile-stripnondeterminism-perl. 209s Preparing to unpack .../076-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 209s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 209s Selecting previously unselected package dh-strip-nondeterminism. 209s Preparing to unpack .../077-dh-strip-nondeterminism_1.14.0-1_all.deb ... 209s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 209s Selecting previously unselected package libdw1t64:armhf. 209s Preparing to unpack .../078-libdw1t64_0.191-1_armhf.deb ... 209s Unpacking libdw1t64:armhf (0.191-1) ... 209s Selecting previously unselected package debugedit. 209s Preparing to unpack .../079-debugedit_1%3a5.0-5build2_armhf.deb ... 209s Unpacking debugedit (1:5.0-5build2) ... 209s Selecting previously unselected package dwz. 209s Preparing to unpack .../080-dwz_0.15-1build6_armhf.deb ... 209s Unpacking dwz (0.15-1build6) ... 209s Selecting previously unselected package gettext. 209s Preparing to unpack .../081-gettext_0.21-14ubuntu2_armhf.deb ... 209s Unpacking gettext (0.21-14ubuntu2) ... 210s Selecting previously unselected package intltool-debian. 210s Preparing to unpack .../082-intltool-debian_0.35.0+20060710.6_all.deb ... 210s Unpacking intltool-debian (0.35.0+20060710.6) ... 210s Selecting previously unselected package po-debconf. 210s Preparing to unpack .../083-po-debconf_1.0.21+nmu1_all.deb ... 210s Unpacking po-debconf (1.0.21+nmu1) ... 210s Selecting previously unselected package debhelper. 210s Preparing to unpack .../084-debhelper_13.15.3ubuntu2_all.deb ... 210s Unpacking debhelper (13.15.3ubuntu2) ... 210s Selecting previously unselected package aglfn. 210s Preparing to unpack .../085-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 210s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 210s Selecting previously unselected package gnuplot-data. 210s Preparing to unpack .../086-gnuplot-data_6.0.0+dfsg1-1ubuntu3_all.deb ... 210s Unpacking gnuplot-data (6.0.0+dfsg1-1ubuntu3) ... 210s Selecting previously unselected package libfreetype6:armhf. 210s Preparing to unpack .../087-libfreetype6_2.13.2+dfsg-1build3_armhf.deb ... 210s Unpacking libfreetype6:armhf (2.13.2+dfsg-1build3) ... 210s Selecting previously unselected package fonts-dejavu-mono. 210s Preparing to unpack .../088-fonts-dejavu-mono_2.37-8_all.deb ... 210s Unpacking fonts-dejavu-mono (2.37-8) ... 210s Selecting previously unselected package fonts-dejavu-core. 210s Preparing to unpack .../089-fonts-dejavu-core_2.37-8_all.deb ... 210s Unpacking fonts-dejavu-core (2.37-8) ... 210s Selecting previously unselected package fonts-freefont-otf. 210s Preparing to unpack .../090-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 210s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 210s Selecting previously unselected package fontconfig-config. 210s Preparing to unpack .../091-fontconfig-config_2.15.0-1.1ubuntu2_armhf.deb ... 210s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 210s Selecting previously unselected package libfontconfig1:armhf. 210s Preparing to unpack .../092-libfontconfig1_2.15.0-1.1ubuntu2_armhf.deb ... 210s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 210s Selecting previously unselected package libpixman-1-0:armhf. 210s Preparing to unpack .../093-libpixman-1-0_0.42.2-1build1_armhf.deb ... 210s Unpacking libpixman-1-0:armhf (0.42.2-1build1) ... 210s Selecting previously unselected package libxcb-render0:armhf. 210s Preparing to unpack .../094-libxcb-render0_1.17.0-2_armhf.deb ... 210s Unpacking libxcb-render0:armhf (1.17.0-2) ... 211s Selecting previously unselected package libxcb-shm0:armhf. 211s Preparing to unpack .../095-libxcb-shm0_1.17.0-2_armhf.deb ... 211s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 211s Selecting previously unselected package libxrender1:armhf. 211s Preparing to unpack .../096-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 211s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 211s Selecting previously unselected package libcairo2:armhf. 211s Preparing to unpack .../097-libcairo2_1.18.0-3build1_armhf.deb ... 211s Unpacking libcairo2:armhf (1.18.0-3build1) ... 211s Selecting previously unselected package libsharpyuv0:armhf. 211s Preparing to unpack .../098-libsharpyuv0_1.4.0-0.1_armhf.deb ... 211s Unpacking libsharpyuv0:armhf (1.4.0-0.1) ... 211s Selecting previously unselected package libaom3:armhf. 211s Preparing to unpack .../099-libaom3_3.8.2-3_armhf.deb ... 211s Unpacking libaom3:armhf (3.8.2-3) ... 211s Selecting previously unselected package libheif-plugin-aomdec:armhf. 211s Preparing to unpack .../100-libheif-plugin-aomdec_1.17.6-3build1_armhf.deb ... 211s Unpacking libheif-plugin-aomdec:armhf (1.17.6-3build1) ... 211s Selecting previously unselected package libde265-0:armhf. 211s Preparing to unpack .../101-libde265-0_1.0.15-1build3_armhf.deb ... 211s Unpacking libde265-0:armhf (1.0.15-1build3) ... 211s Selecting previously unselected package libheif-plugin-libde265:armhf. 211s Preparing to unpack .../102-libheif-plugin-libde265_1.17.6-3build1_armhf.deb ... 211s Unpacking libheif-plugin-libde265:armhf (1.17.6-3build1) ... 211s Selecting previously unselected package libheif1:armhf. 211s Preparing to unpack .../103-libheif1_1.17.6-3build1_armhf.deb ... 211s Unpacking libheif1:armhf (1.17.6-3build1) ... 211s Selecting previously unselected package libjpeg-turbo8:armhf. 211s Preparing to unpack .../104-libjpeg-turbo8_2.1.5-2ubuntu2_armhf.deb ... 211s Unpacking libjpeg-turbo8:armhf (2.1.5-2ubuntu2) ... 211s Selecting previously unselected package libjpeg8:armhf. 211s Preparing to unpack .../105-libjpeg8_8c-2ubuntu11_armhf.deb ... 211s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 211s Selecting previously unselected package libdeflate0:armhf. 211s Preparing to unpack .../106-libdeflate0_1.20-1_armhf.deb ... 211s Unpacking libdeflate0:armhf (1.20-1) ... 211s Selecting previously unselected package libjbig0:armhf. 211s Preparing to unpack .../107-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 211s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 211s Selecting previously unselected package liblerc4:armhf. 211s Preparing to unpack .../108-liblerc4_4.0.0+ds-4ubuntu2_armhf.deb ... 211s Unpacking liblerc4:armhf (4.0.0+ds-4ubuntu2) ... 211s Selecting previously unselected package libwebp7:armhf. 211s Preparing to unpack .../109-libwebp7_1.4.0-0.1_armhf.deb ... 211s Unpacking libwebp7:armhf (1.4.0-0.1) ... 211s Selecting previously unselected package libtiff6:armhf. 211s Preparing to unpack .../110-libtiff6_4.5.1+git230720-4ubuntu2_armhf.deb ... 211s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu2) ... 211s Selecting previously unselected package libxpm4:armhf. 211s Preparing to unpack .../111-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 211s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 211s Selecting previously unselected package libgd3:armhf. 211s Preparing to unpack .../112-libgd3_2.3.3-9ubuntu5_armhf.deb ... 211s Unpacking libgd3:armhf (2.3.3-9ubuntu5) ... 211s Selecting previously unselected package liblua5.4-0:armhf. 211s Preparing to unpack .../113-liblua5.4-0_5.4.6-3build2_armhf.deb ... 211s Unpacking liblua5.4-0:armhf (5.4.6-3build2) ... 211s Selecting previously unselected package fontconfig. 211s Preparing to unpack .../114-fontconfig_2.15.0-1.1ubuntu2_armhf.deb ... 211s Unpacking fontconfig (2.15.0-1.1ubuntu2) ... 211s Selecting previously unselected package libgraphite2-3:armhf. 211s Preparing to unpack .../115-libgraphite2-3_1.3.14-2build1_armhf.deb ... 211s Unpacking libgraphite2-3:armhf (1.3.14-2build1) ... 211s Selecting previously unselected package libharfbuzz0b:armhf. 211s Preparing to unpack .../116-libharfbuzz0b_8.3.0-2build2_armhf.deb ... 211s Unpacking libharfbuzz0b:armhf (8.3.0-2build2) ... 211s Selecting previously unselected package libthai-data. 211s Preparing to unpack .../117-libthai-data_0.1.29-2build1_all.deb ... 211s Unpacking libthai-data (0.1.29-2build1) ... 211s Selecting previously unselected package libdatrie1:armhf. 211s Preparing to unpack .../118-libdatrie1_0.2.13-3build1_armhf.deb ... 211s Unpacking libdatrie1:armhf (0.2.13-3build1) ... 212s Selecting previously unselected package libthai0:armhf. 212s Preparing to unpack .../119-libthai0_0.1.29-2build1_armhf.deb ... 212s Unpacking libthai0:armhf (0.1.29-2build1) ... 212s Selecting previously unselected package libpango-1.0-0:armhf. 212s Preparing to unpack .../120-libpango-1.0-0_1.54.0+ds-1_armhf.deb ... 212s Unpacking libpango-1.0-0:armhf (1.54.0+ds-1) ... 212s Selecting previously unselected package libpangoft2-1.0-0:armhf. 212s Preparing to unpack .../121-libpangoft2-1.0-0_1.54.0+ds-1_armhf.deb ... 212s Unpacking libpangoft2-1.0-0:armhf (1.54.0+ds-1) ... 212s Selecting previously unselected package libpangocairo-1.0-0:armhf. 212s Preparing to unpack .../122-libpangocairo-1.0-0_1.54.0+ds-1_armhf.deb ... 212s Unpacking libpangocairo-1.0-0:armhf (1.54.0+ds-1) ... 212s Selecting previously unselected package libwebpmux3:armhf. 212s Preparing to unpack .../123-libwebpmux3_1.4.0-0.1_armhf.deb ... 212s Unpacking libwebpmux3:armhf (1.4.0-0.1) ... 212s Selecting previously unselected package gnuplot-nox. 212s Preparing to unpack .../124-gnuplot-nox_6.0.0+dfsg1-1ubuntu3_armhf.deb ... 212s Unpacking gnuplot-nox (6.0.0+dfsg1-1ubuntu3) ... 212s Selecting previously unselected package dh-octave-autopkgtest. 212s Preparing to unpack .../125-dh-octave-autopkgtest_1.8.0_all.deb ... 212s Unpacking dh-octave-autopkgtest (1.8.0) ... 212s Selecting previously unselected package libapt-pkg-perl. 212s Preparing to unpack .../126-libapt-pkg-perl_0.1.40build7_armhf.deb ... 212s Unpacking libapt-pkg-perl (0.1.40build7) ... 212s Selecting previously unselected package libarray-intspan-perl. 212s Preparing to unpack .../127-libarray-intspan-perl_2.004-2_all.deb ... 212s Unpacking libarray-intspan-perl (2.004-2) ... 212s Selecting previously unselected package libyaml-libyaml-perl. 212s Preparing to unpack .../128-libyaml-libyaml-perl_0.89+ds-1build2_armhf.deb ... 212s Unpacking libyaml-libyaml-perl (0.89+ds-1build2) ... 212s Selecting previously unselected package libconfig-model-backend-yaml-perl. 212s Preparing to unpack .../129-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 212s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 212s Selecting previously unselected package libexporter-lite-perl. 212s Preparing to unpack .../130-libexporter-lite-perl_0.09-2_all.deb ... 212s Unpacking libexporter-lite-perl (0.09-2) ... 212s Selecting previously unselected package libencode-locale-perl. 212s Preparing to unpack .../131-libencode-locale-perl_1.05-3_all.deb ... 212s Unpacking libencode-locale-perl (1.05-3) ... 212s Selecting previously unselected package libtimedate-perl. 212s Preparing to unpack .../132-libtimedate-perl_2.3300-2_all.deb ... 212s Unpacking libtimedate-perl (2.3300-2) ... 212s Selecting previously unselected package libhttp-date-perl. 212s Preparing to unpack .../133-libhttp-date-perl_6.06-1_all.deb ... 212s Unpacking libhttp-date-perl (6.06-1) ... 212s Selecting previously unselected package libfile-listing-perl. 212s Preparing to unpack .../134-libfile-listing-perl_6.16-1_all.deb ... 212s Unpacking libfile-listing-perl (6.16-1) ... 212s Selecting previously unselected package libhtml-tagset-perl. 212s Preparing to unpack .../135-libhtml-tagset-perl_3.24-1_all.deb ... 212s Unpacking libhtml-tagset-perl (3.24-1) ... 212s Selecting previously unselected package liburi-perl. 212s Preparing to unpack .../136-liburi-perl_5.28-1_all.deb ... 212s Unpacking liburi-perl (5.28-1) ... 212s Selecting previously unselected package libhtml-parser-perl:armhf. 212s Preparing to unpack .../137-libhtml-parser-perl_3.82-1_armhf.deb ... 212s Unpacking libhtml-parser-perl:armhf (3.82-1) ... 212s Selecting previously unselected package libhtml-tree-perl. 212s Preparing to unpack .../138-libhtml-tree-perl_5.07-3_all.deb ... 212s Unpacking libhtml-tree-perl (5.07-3) ... 212s Selecting previously unselected package libclone-perl:armhf. 212s Preparing to unpack .../139-libclone-perl_0.46-1build3_armhf.deb ... 212s Unpacking libclone-perl:armhf (0.46-1build3) ... 212s Selecting previously unselected package libio-html-perl. 212s Preparing to unpack .../140-libio-html-perl_1.004-3_all.deb ... 212s Unpacking libio-html-perl (1.004-3) ... 212s Selecting previously unselected package liblwp-mediatypes-perl. 212s Preparing to unpack .../141-liblwp-mediatypes-perl_6.04-2_all.deb ... 212s Unpacking liblwp-mediatypes-perl (6.04-2) ... 212s Selecting previously unselected package libhttp-message-perl. 212s Preparing to unpack .../142-libhttp-message-perl_6.45-1ubuntu1_all.deb ... 212s Unpacking libhttp-message-perl (6.45-1ubuntu1) ... 212s Selecting previously unselected package libhttp-cookies-perl. 212s Preparing to unpack .../143-libhttp-cookies-perl_6.11-1_all.deb ... 212s Unpacking libhttp-cookies-perl (6.11-1) ... 212s Selecting previously unselected package libhttp-negotiate-perl. 212s Preparing to unpack .../144-libhttp-negotiate-perl_6.01-2_all.deb ... 212s Unpacking libhttp-negotiate-perl (6.01-2) ... 212s Selecting previously unselected package perl-openssl-defaults:armhf. 212s Preparing to unpack .../145-perl-openssl-defaults_7build3_armhf.deb ... 212s Unpacking perl-openssl-defaults:armhf (7build3) ... 212s Selecting previously unselected package libnet-ssleay-perl:armhf. 212s Preparing to unpack .../146-libnet-ssleay-perl_1.94-1build4_armhf.deb ... 212s Unpacking libnet-ssleay-perl:armhf (1.94-1build4) ... 213s Selecting previously unselected package libio-socket-ssl-perl. 213s Preparing to unpack .../147-libio-socket-ssl-perl_2.085-1_all.deb ... 213s Unpacking libio-socket-ssl-perl (2.085-1) ... 213s Selecting previously unselected package libnet-http-perl. 213s Preparing to unpack .../148-libnet-http-perl_6.23-1_all.deb ... 213s Unpacking libnet-http-perl (6.23-1) ... 213s Selecting previously unselected package liblwp-protocol-https-perl. 213s Preparing to unpack .../149-liblwp-protocol-https-perl_6.14-1_all.deb ... 213s Unpacking liblwp-protocol-https-perl (6.14-1) ... 213s Selecting previously unselected package libwww-robotrules-perl. 213s Preparing to unpack .../150-libwww-robotrules-perl_6.02-1_all.deb ... 213s Unpacking libwww-robotrules-perl (6.02-1) ... 213s Selecting previously unselected package libwww-perl. 213s Preparing to unpack .../151-libwww-perl_6.77-1_all.deb ... 213s Unpacking libwww-perl (6.77-1) ... 213s Selecting previously unselected package liberror-perl. 213s Preparing to unpack .../152-liberror-perl_0.17029-2_all.deb ... 213s Unpacking liberror-perl (0.17029-2) ... 213s Selecting previously unselected package libparse-debcontrol-perl. 213s Preparing to unpack .../153-libparse-debcontrol-perl_2.005-6_all.deb ... 213s Unpacking libparse-debcontrol-perl (2.005-6) ... 213s Selecting previously unselected package libsoftware-copyright-perl. 213s Preparing to unpack .../154-libsoftware-copyright-perl_0.012-2_all.deb ... 213s Unpacking libsoftware-copyright-perl (0.012-2) ... 213s Selecting previously unselected package libalgorithm-c3-perl. 213s Preparing to unpack .../155-libalgorithm-c3-perl_0.11-2_all.deb ... 213s Unpacking libalgorithm-c3-perl (0.11-2) ... 213s Selecting previously unselected package libclass-c3-perl. 213s Preparing to unpack .../156-libclass-c3-perl_0.35-2_all.deb ... 213s Unpacking libclass-c3-perl (0.35-2) ... 213s Selecting previously unselected package libmro-compat-perl. 213s Preparing to unpack .../157-libmro-compat-perl_0.15-2_all.deb ... 213s Unpacking libmro-compat-perl (0.15-2) ... 213s Selecting previously unselected package libdata-section-perl. 213s Preparing to unpack .../158-libdata-section-perl_0.200008-1_all.deb ... 213s Unpacking libdata-section-perl (0.200008-1) ... 213s Selecting previously unselected package libtext-template-perl. 213s Preparing to unpack .../159-libtext-template-perl_1.61-1_all.deb ... 213s Unpacking libtext-template-perl (1.61-1) ... 213s Selecting previously unselected package libsoftware-license-perl. 213s Preparing to unpack .../160-libsoftware-license-perl_0.104006-1_all.deb ... 213s Unpacking libsoftware-license-perl (0.104006-1) ... 213s Selecting previously unselected package libsoftware-licensemoreutils-perl. 213s Preparing to unpack .../161-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 213s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 213s Selecting previously unselected package libsort-versions-perl. 213s Preparing to unpack .../162-libsort-versions-perl_1.62-3_all.deb ... 213s Unpacking libsort-versions-perl (1.62-3) ... 213s Selecting previously unselected package libtext-reform-perl. 213s Preparing to unpack .../163-libtext-reform-perl_1.20-5_all.deb ... 213s Unpacking libtext-reform-perl (1.20-5) ... 213s Selecting previously unselected package libtext-autoformat-perl. 213s Preparing to unpack .../164-libtext-autoformat-perl_1.750000-2_all.deb ... 213s Unpacking libtext-autoformat-perl (1.750000-2) ... 213s Selecting previously unselected package libtext-levenshtein-damerau-perl. 213s Preparing to unpack .../165-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 213s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 213s Selecting previously unselected package libtoml-tiny-perl. 213s Preparing to unpack .../166-libtoml-tiny-perl_0.17-1_all.deb ... 213s Unpacking libtoml-tiny-perl (0.17-1) ... 213s Selecting previously unselected package libindirect-perl. 213s Preparing to unpack .../167-libindirect-perl_0.39-2build4_armhf.deb ... 213s Unpacking libindirect-perl (0.39-2build4) ... 213s Selecting previously unselected package libxs-parse-keyword-perl. 213s Preparing to unpack .../168-libxs-parse-keyword-perl_0.42-1_armhf.deb ... 213s Unpacking libxs-parse-keyword-perl (0.42-1) ... 213s Selecting previously unselected package libxs-parse-sublike-perl:armhf. 213s Preparing to unpack .../169-libxs-parse-sublike-perl_0.21-2build3_armhf.deb ... 213s Unpacking libxs-parse-sublike-perl:armhf (0.21-2build3) ... 213s Selecting previously unselected package libobject-pad-perl. 213s Preparing to unpack .../170-libobject-pad-perl_0.808-1build3_armhf.deb ... 213s Unpacking libobject-pad-perl (0.808-1build3) ... 213s Selecting previously unselected package libsyntax-keyword-try-perl. 213s Preparing to unpack .../171-libsyntax-keyword-try-perl_0.29-2_armhf.deb ... 213s Unpacking libsyntax-keyword-try-perl (0.29-2) ... 213s Selecting previously unselected package libio-interactive-perl. 213s Preparing to unpack .../172-libio-interactive-perl_1.025-1_all.deb ... 213s Unpacking libio-interactive-perl (1.025-1) ... 213s Selecting previously unselected package liblog-any-perl. 213s Preparing to unpack .../173-liblog-any-perl_1.717-1_all.deb ... 213s Unpacking liblog-any-perl (1.717-1) ... 213s Selecting previously unselected package liblog-any-adapter-screen-perl. 214s Preparing to unpack .../174-liblog-any-adapter-screen-perl_0.140-2_all.deb ... 214s Unpacking liblog-any-adapter-screen-perl (0.140-2) ... 214s Selecting previously unselected package libsub-exporter-progressive-perl. 214s Preparing to unpack .../175-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 214s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 214s Selecting previously unselected package libvariable-magic-perl. 214s Preparing to unpack .../176-libvariable-magic-perl_0.64-1_armhf.deb ... 214s Unpacking libvariable-magic-perl (0.64-1) ... 214s Selecting previously unselected package libb-hooks-endofscope-perl. 214s Preparing to unpack .../177-libb-hooks-endofscope-perl_0.28-1_all.deb ... 214s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 214s Selecting previously unselected package libsub-identify-perl. 214s Preparing to unpack .../178-libsub-identify-perl_0.14-3build3_armhf.deb ... 214s Unpacking libsub-identify-perl (0.14-3build3) ... 214s Selecting previously unselected package libsub-name-perl:armhf. 214s Preparing to unpack .../179-libsub-name-perl_0.27-1build3_armhf.deb ... 214s Unpacking libsub-name-perl:armhf (0.27-1build3) ... 214s Selecting previously unselected package libnamespace-clean-perl. 214s Preparing to unpack .../180-libnamespace-clean-perl_0.27-2_all.deb ... 214s Unpacking libnamespace-clean-perl (0.27-2) ... 214s Selecting previously unselected package libnumber-compare-perl. 214s Preparing to unpack .../181-libnumber-compare-perl_0.03-3_all.deb ... 214s Unpacking libnumber-compare-perl (0.03-3) ... 214s Selecting previously unselected package libtext-glob-perl. 214s Preparing to unpack .../182-libtext-glob-perl_0.11-3_all.deb ... 214s Unpacking libtext-glob-perl (0.11-3) ... 214s Selecting previously unselected package libpath-iterator-rule-perl. 214s Preparing to unpack .../183-libpath-iterator-rule-perl_1.015-2_all.deb ... 214s Unpacking libpath-iterator-rule-perl (1.015-2) ... 214s Selecting previously unselected package libpod-parser-perl. 214s Preparing to unpack .../184-libpod-parser-perl_1.67-1_all.deb ... 214s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 214s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 214s Unpacking libpod-parser-perl (1.67-1) ... 214s Selecting previously unselected package libpod-constants-perl. 214s Preparing to unpack .../185-libpod-constants-perl_0.19-2_all.deb ... 214s Unpacking libpod-constants-perl (0.19-2) ... 214s Selecting previously unselected package libset-intspan-perl. 214s Preparing to unpack .../186-libset-intspan-perl_1.19-3_all.deb ... 214s Unpacking libset-intspan-perl (1.19-3) ... 214s Selecting previously unselected package libstring-copyright-perl. 214s Preparing to unpack .../187-libstring-copyright-perl_0.003014-1_all.deb ... 214s Unpacking libstring-copyright-perl (0.003014-1) ... 214s Selecting previously unselected package libstring-escape-perl. 214s Preparing to unpack .../188-libstring-escape-perl_2010.002-3_all.deb ... 214s Unpacking libstring-escape-perl (2010.002-3) ... 214s Selecting previously unselected package libregexp-pattern-license-perl. 214s Preparing to unpack .../189-libregexp-pattern-license-perl_3.11.0-1_all.deb ... 214s Unpacking libregexp-pattern-license-perl (3.11.0-1) ... 214s Selecting previously unselected package libregexp-pattern-perl. 214s Preparing to unpack .../190-libregexp-pattern-perl_0.2.14-2_all.deb ... 214s Unpacking libregexp-pattern-perl (0.2.14-2) ... 214s Selecting previously unselected package libstring-license-perl. 214s Preparing to unpack .../191-libstring-license-perl_0.0.9-2ubuntu1_all.deb ... 214s Unpacking libstring-license-perl (0.0.9-2ubuntu1) ... 214s Selecting previously unselected package licensecheck. 214s Preparing to unpack .../192-licensecheck_3.3.9-1ubuntu1_all.deb ... 214s Unpacking licensecheck (3.3.9-1ubuntu1) ... 214s Selecting previously unselected package diffstat. 214s Preparing to unpack .../193-diffstat_1.66-1build1_armhf.deb ... 214s Unpacking diffstat (1.66-1build1) ... 214s Selecting previously unselected package libberkeleydb-perl:armhf. 214s Preparing to unpack .../194-libberkeleydb-perl_0.64-2build4_armhf.deb ... 214s Unpacking libberkeleydb-perl:armhf (0.64-2build4) ... 214s Selecting previously unselected package libclass-xsaccessor-perl. 214s Preparing to unpack .../195-libclass-xsaccessor-perl_1.19-4build4_armhf.deb ... 214s Unpacking libclass-xsaccessor-perl (1.19-4build4) ... 214s Selecting previously unselected package libconfig-tiny-perl. 214s Preparing to unpack .../196-libconfig-tiny-perl_2.30-1_all.deb ... 214s Unpacking libconfig-tiny-perl (2.30-1) ... 214s Selecting previously unselected package libconst-fast-perl. 215s Preparing to unpack .../197-libconst-fast-perl_0.014-2_all.deb ... 215s Unpacking libconst-fast-perl (0.014-2) ... 215s Selecting previously unselected package libcpanel-json-xs-perl:armhf. 215s Preparing to unpack .../198-libcpanel-json-xs-perl_4.38-1_armhf.deb ... 215s Unpacking libcpanel-json-xs-perl:armhf (4.38-1) ... 215s Selecting previously unselected package libaliased-perl. 215s Preparing to unpack .../199-libaliased-perl_0.34-3_all.deb ... 215s Unpacking libaliased-perl (0.34-3) ... 215s Selecting previously unselected package libclass-data-inheritable-perl. 215s Preparing to unpack .../200-libclass-data-inheritable-perl_0.08-3_all.deb ... 215s Unpacking libclass-data-inheritable-perl (0.08-3) ... 215s Selecting previously unselected package libdevel-stacktrace-perl. 215s Preparing to unpack .../201-libdevel-stacktrace-perl_2.0500-1_all.deb ... 215s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 215s Selecting previously unselected package libexception-class-perl. 215s Preparing to unpack .../202-libexception-class-perl_1.45-1_all.deb ... 215s Unpacking libexception-class-perl (1.45-1) ... 215s Selecting previously unselected package libiterator-perl. 215s Preparing to unpack .../203-libiterator-perl_0.03+ds1-2_all.deb ... 215s Unpacking libiterator-perl (0.03+ds1-2) ... 215s Selecting previously unselected package libiterator-util-perl. 215s Preparing to unpack .../204-libiterator-util-perl_0.02+ds1-2_all.deb ... 215s Unpacking libiterator-util-perl (0.02+ds1-2) ... 215s Selecting previously unselected package libdata-dpath-perl. 215s Preparing to unpack .../205-libdata-dpath-perl_0.59-1_all.deb ... 215s Unpacking libdata-dpath-perl (0.59-1) ... 215s Selecting previously unselected package libnet-domain-tld-perl. 215s Preparing to unpack .../206-libnet-domain-tld-perl_1.75-3_all.deb ... 215s Unpacking libnet-domain-tld-perl (1.75-3) ... 215s Selecting previously unselected package libdata-validate-domain-perl. 215s Preparing to unpack .../207-libdata-validate-domain-perl_0.10-1.1_all.deb ... 215s Unpacking libdata-validate-domain-perl (0.10-1.1) ... 215s Selecting previously unselected package libnet-ipv6addr-perl. 215s Preparing to unpack .../208-libnet-ipv6addr-perl_1.02-1_all.deb ... 215s Unpacking libnet-ipv6addr-perl (1.02-1) ... 215s Selecting previously unselected package libnet-netmask-perl. 215s Preparing to unpack .../209-libnet-netmask-perl_2.0002-2_all.deb ... 215s Unpacking libnet-netmask-perl (2.0002-2) ... 215s Selecting previously unselected package libnetaddr-ip-perl. 215s Preparing to unpack .../210-libnetaddr-ip-perl_4.079+dfsg-2build4_armhf.deb ... 215s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build4) ... 215s Selecting previously unselected package libdata-validate-ip-perl. 215s Preparing to unpack .../211-libdata-validate-ip-perl_0.31-1_all.deb ... 215s Unpacking libdata-validate-ip-perl (0.31-1) ... 215s Selecting previously unselected package libdata-validate-uri-perl. 215s Preparing to unpack .../212-libdata-validate-uri-perl_0.07-3_all.deb ... 215s Unpacking libdata-validate-uri-perl (0.07-3) ... 215s Selecting previously unselected package libdevel-size-perl. 215s Preparing to unpack .../213-libdevel-size-perl_0.84-1_armhf.deb ... 215s Unpacking libdevel-size-perl (0.84-1) ... 215s Selecting previously unselected package libemail-address-xs-perl. 215s Preparing to unpack .../214-libemail-address-xs-perl_1.05-1build4_armhf.deb ... 215s Unpacking libemail-address-xs-perl (1.05-1build4) ... 215s Selecting previously unselected package libipc-system-simple-perl. 215s Preparing to unpack .../215-libipc-system-simple-perl_1.30-2_all.deb ... 215s Unpacking libipc-system-simple-perl (1.30-2) ... 215s Selecting previously unselected package libfile-basedir-perl. 215s Preparing to unpack .../216-libfile-basedir-perl_0.09-2_all.deb ... 215s Unpacking libfile-basedir-perl (0.09-2) ... 215s Selecting previously unselected package libfile-find-rule-perl. 215s Preparing to unpack .../217-libfile-find-rule-perl_0.34-3_all.deb ... 215s Unpacking libfile-find-rule-perl (0.34-3) ... 215s Selecting previously unselected package libio-string-perl. 215s Preparing to unpack .../218-libio-string-perl_1.08-4_all.deb ... 215s Unpacking libio-string-perl (1.08-4) ... 215s Selecting previously unselected package libfont-ttf-perl. 215s Preparing to unpack .../219-libfont-ttf-perl_1.06-2_all.deb ... 215s Unpacking libfont-ttf-perl (1.06-2) ... 215s Selecting previously unselected package libhtml-html5-entities-perl. 215s Preparing to unpack .../220-libhtml-html5-entities-perl_0.004-3_all.deb ... 215s Unpacking libhtml-html5-entities-perl (0.004-3) ... 215s Selecting previously unselected package libhtml-tokeparser-simple-perl. 215s Preparing to unpack .../221-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 215s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 215s Selecting previously unselected package libipc-run3-perl. 215s Preparing to unpack .../222-libipc-run3-perl_0.049-1_all.deb ... 215s Unpacking libipc-run3-perl (0.049-1) ... 215s Selecting previously unselected package libjson-maybexs-perl. 215s Preparing to unpack .../223-libjson-maybexs-perl_1.004005-1_all.deb ... 215s Unpacking libjson-maybexs-perl (1.004005-1) ... 215s Selecting previously unselected package liblist-compare-perl. 215s Preparing to unpack .../224-liblist-compare-perl_0.55-2_all.deb ... 215s Unpacking liblist-compare-perl (0.55-2) ... 216s Selecting previously unselected package liblist-someutils-perl. 216s Preparing to unpack .../225-liblist-someutils-perl_0.59-1_all.deb ... 216s Unpacking liblist-someutils-perl (0.59-1) ... 216s Selecting previously unselected package liblist-utilsby-perl. 216s Preparing to unpack .../226-liblist-utilsby-perl_0.12-2_all.deb ... 216s Unpacking liblist-utilsby-perl (0.12-2) ... 216s Selecting previously unselected package libmldbm-perl. 216s Preparing to unpack .../227-libmldbm-perl_2.05-4_all.deb ... 216s Unpacking libmldbm-perl (2.05-4) ... 216s Selecting previously unselected package libclass-method-modifiers-perl. 216s Preparing to unpack .../228-libclass-method-modifiers-perl_2.15-1_all.deb ... 216s Unpacking libclass-method-modifiers-perl (2.15-1) ... 216s Selecting previously unselected package libimport-into-perl. 216s Preparing to unpack .../229-libimport-into-perl_1.002005-2_all.deb ... 216s Unpacking libimport-into-perl (1.002005-2) ... 216s Selecting previously unselected package librole-tiny-perl. 216s Preparing to unpack .../230-librole-tiny-perl_2.002004-1_all.deb ... 216s Unpacking librole-tiny-perl (2.002004-1) ... 216s Selecting previously unselected package libsub-quote-perl. 216s Preparing to unpack .../231-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 216s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 216s Selecting previously unselected package libmoo-perl. 216s Preparing to unpack .../232-libmoo-perl_2.005005-1_all.deb ... 216s Unpacking libmoo-perl (2.005005-1) ... 216s Selecting previously unselected package libstrictures-perl. 216s Preparing to unpack .../233-libstrictures-perl_2.000006-1_all.deb ... 216s Unpacking libstrictures-perl (2.000006-1) ... 216s Selecting previously unselected package libmoox-aliases-perl. 216s Preparing to unpack .../234-libmoox-aliases-perl_0.001006-2_all.deb ... 216s Unpacking libmoox-aliases-perl (0.001006-2) ... 216s Selecting previously unselected package libperlio-gzip-perl. 216s Preparing to unpack .../235-libperlio-gzip-perl_0.20-1build4_armhf.deb ... 216s Unpacking libperlio-gzip-perl (0.20-1build4) ... 216s Selecting previously unselected package libperlio-utf8-strict-perl. 216s Preparing to unpack .../236-libperlio-utf8-strict-perl_0.010-1build3_armhf.deb ... 216s Unpacking libperlio-utf8-strict-perl (0.010-1build3) ... 216s Selecting previously unselected package libproc-processtable-perl:armhf. 216s Preparing to unpack .../237-libproc-processtable-perl_0.636-1build3_armhf.deb ... 216s Unpacking libproc-processtable-perl:armhf (0.636-1build3) ... 216s Selecting previously unselected package libregexp-wildcards-perl. 216s Preparing to unpack .../238-libregexp-wildcards-perl_1.05-3_all.deb ... 216s Unpacking libregexp-wildcards-perl (1.05-3) ... 216s Selecting previously unselected package libsereal-decoder-perl. 216s Preparing to unpack .../239-libsereal-decoder-perl_5.004+ds-1build3_armhf.deb ... 216s Unpacking libsereal-decoder-perl (5.004+ds-1build3) ... 216s Selecting previously unselected package libsereal-encoder-perl. 216s Preparing to unpack .../240-libsereal-encoder-perl_5.004+ds-1build3_armhf.deb ... 216s Unpacking libsereal-encoder-perl (5.004+ds-1build3) ... 216s Selecting previously unselected package libterm-readkey-perl. 216s Preparing to unpack .../241-libterm-readkey-perl_2.38-2build4_armhf.deb ... 216s Unpacking libterm-readkey-perl (2.38-2build4) ... 216s Selecting previously unselected package libtext-levenshteinxs-perl. 216s Preparing to unpack .../242-libtext-levenshteinxs-perl_0.03-5build4_armhf.deb ... 216s Unpacking libtext-levenshteinxs-perl (0.03-5build4) ... 216s Selecting previously unselected package libmarkdown2:armhf. 216s Preparing to unpack .../243-libmarkdown2_2.2.7-2build1_armhf.deb ... 216s Unpacking libmarkdown2:armhf (2.2.7-2build1) ... 216s Selecting previously unselected package libtext-markdown-discount-perl. 216s Preparing to unpack .../244-libtext-markdown-discount-perl_0.16-1build3_armhf.deb ... 216s Unpacking libtext-markdown-discount-perl (0.16-1build3) ... 216s Selecting previously unselected package libdata-messagepack-perl. 216s Preparing to unpack .../245-libdata-messagepack-perl_1.02-1build4_armhf.deb ... 216s Unpacking libdata-messagepack-perl (1.02-1build4) ... 216s Selecting previously unselected package libtext-xslate-perl:armhf. 216s Preparing to unpack .../246-libtext-xslate-perl_3.5.9-2_armhf.deb ... 216s Unpacking libtext-xslate-perl:armhf (3.5.9-2) ... 216s Selecting previously unselected package libtime-duration-perl. 216s Preparing to unpack .../247-libtime-duration-perl_1.21-2_all.deb ... 216s Unpacking libtime-duration-perl (1.21-2) ... 216s Selecting previously unselected package libtime-moment-perl. 216s Preparing to unpack .../248-libtime-moment-perl_0.44-2build4_armhf.deb ... 216s Unpacking libtime-moment-perl (0.44-2build4) ... 216s Selecting previously unselected package libunicode-utf8-perl. 216s Preparing to unpack .../249-libunicode-utf8-perl_0.62-2build3_armhf.deb ... 216s Unpacking libunicode-utf8-perl (0.62-2build3) ... 217s Selecting previously unselected package libcgi-pm-perl. 217s Preparing to unpack .../250-libcgi-pm-perl_4.65-1_all.deb ... 217s Unpacking libcgi-pm-perl (4.65-1) ... 217s Selecting previously unselected package libhtml-form-perl. 217s Preparing to unpack .../251-libhtml-form-perl_6.11-1_all.deb ... 217s Unpacking libhtml-form-perl (6.11-1) ... 217s Selecting previously unselected package libwww-mechanize-perl. 217s Preparing to unpack .../252-libwww-mechanize-perl_2.18-1ubuntu1_all.deb ... 217s Unpacking libwww-mechanize-perl (2.18-1ubuntu1) ... 217s Selecting previously unselected package libxml-namespacesupport-perl. 217s Preparing to unpack .../253-libxml-namespacesupport-perl_1.12-2_all.deb ... 217s Unpacking libxml-namespacesupport-perl (1.12-2) ... 217s Selecting previously unselected package libxml-sax-base-perl. 217s Preparing to unpack .../254-libxml-sax-base-perl_1.09-3_all.deb ... 217s Unpacking libxml-sax-base-perl (1.09-3) ... 217s Selecting previously unselected package libxml-sax-perl. 217s Preparing to unpack .../255-libxml-sax-perl_1.02+dfsg-3_all.deb ... 217s Unpacking libxml-sax-perl (1.02+dfsg-3) ... 217s Selecting previously unselected package libxml-libxml-perl. 217s Preparing to unpack .../256-libxml-libxml-perl_2.0207+dfsg+really+2.0134-2_armhf.deb ... 217s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-2) ... 217s Selecting previously unselected package lzip. 217s Preparing to unpack .../257-lzip_1.24.1-1build1_armhf.deb ... 217s Unpacking lzip (1.24.1-1build1) ... 217s Selecting previously unselected package lzop. 217s Preparing to unpack .../258-lzop_1.04-2build3_armhf.deb ... 217s Unpacking lzop (1.04-2build3) ... 217s Selecting previously unselected package patchutils. 217s Preparing to unpack .../259-patchutils_0.4.2-1build3_armhf.deb ... 217s Unpacking patchutils (0.4.2-1build3) ... 217s Selecting previously unselected package t1utils. 217s Preparing to unpack .../260-t1utils_1.41-4build3_armhf.deb ... 217s Unpacking t1utils (1.41-4build3) ... 217s Selecting previously unselected package unzip. 217s Preparing to unpack .../261-unzip_6.0-28ubuntu5_armhf.deb ... 217s Unpacking unzip (6.0-28ubuntu5) ... 217s Selecting previously unselected package lintian. 217s Preparing to unpack .../262-lintian_2.117.0ubuntu2_all.deb ... 217s Unpacking lintian (2.117.0ubuntu2) ... 217s Selecting previously unselected package libconfig-model-dpkg-perl. 217s Preparing to unpack .../263-libconfig-model-dpkg-perl_3.005_all.deb ... 217s Unpacking libconfig-model-dpkg-perl (3.005) ... 217s Selecting previously unselected package libconvert-binhex-perl. 217s Preparing to unpack .../264-libconvert-binhex-perl_1.125-3_all.deb ... 217s Unpacking libconvert-binhex-perl (1.125-3) ... 217s Selecting previously unselected package libnet-smtp-ssl-perl. 217s Preparing to unpack .../265-libnet-smtp-ssl-perl_1.04-2_all.deb ... 217s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 217s Selecting previously unselected package libmailtools-perl. 217s Preparing to unpack .../266-libmailtools-perl_2.21-3_all.deb ... 217s Unpacking libmailtools-perl (2.21-3) ... 217s Selecting previously unselected package libmime-tools-perl. 217s Preparing to unpack .../267-libmime-tools-perl_5.515-1_all.deb ... 217s Unpacking libmime-tools-perl (5.515-1) ... 218s Selecting previously unselected package libsuitesparseconfig7:armhf. 218s Preparing to unpack .../268-libsuitesparseconfig7_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libsuitesparseconfig7:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libamd3:armhf. 218s Preparing to unpack .../269-libamd3_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libamd3:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libblas3:armhf. 218s Preparing to unpack .../270-libblas3_3.12.0-3build1_armhf.deb ... 218s Unpacking libblas3:armhf (3.12.0-3build1) ... 218s Selecting previously unselected package libgfortran5:armhf. 218s Preparing to unpack .../271-libgfortran5_14.1.0-1ubuntu1_armhf.deb ... 218s Unpacking libgfortran5:armhf (14.1.0-1ubuntu1) ... 218s Selecting previously unselected package liblapack3:armhf. 218s Preparing to unpack .../272-liblapack3_3.12.0-3build1_armhf.deb ... 218s Unpacking liblapack3:armhf (3.12.0-3build1) ... 218s Selecting previously unselected package libarpack2t64:armhf. 218s Preparing to unpack .../273-libarpack2t64_3.9.1-1.1build2_armhf.deb ... 218s Unpacking libarpack2t64:armhf (3.9.1-1.1build2) ... 218s Selecting previously unselected package libccolamd3:armhf. 218s Preparing to unpack .../274-libccolamd3_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libccolamd3:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libcamd3:armhf. 218s Preparing to unpack .../275-libcamd3_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libcamd3:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libcolamd3:armhf. 218s Preparing to unpack .../276-libcolamd3_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libcolamd3:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libcholmod5:armhf. 218s Preparing to unpack .../277-libcholmod5_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libcholmod5:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libcxsparse4:armhf. 218s Preparing to unpack .../278-libcxsparse4_1%3a7.7.0+dfsg-2_armhf.deb ... 218s Unpacking libcxsparse4:armhf (1:7.7.0+dfsg-2) ... 218s Selecting previously unselected package libfftw3-double3:armhf. 218s Preparing to unpack .../279-libfftw3-double3_3.3.10-1ubuntu3_armhf.deb ... 218s Unpacking libfftw3-double3:armhf (3.3.10-1ubuntu3) ... 218s Selecting previously unselected package libfftw3-single3:armhf. 218s Preparing to unpack .../280-libfftw3-single3_3.3.10-1ubuntu3_armhf.deb ... 218s Unpacking libfftw3-single3:armhf (3.3.10-1ubuntu3) ... 218s Selecting previously unselected package libxfixes3:armhf. 218s Preparing to unpack .../281-libxfixes3_1%3a6.0.0-2build1_armhf.deb ... 218s Unpacking libxfixes3:armhf (1:6.0.0-2build1) ... 218s Selecting previously unselected package libxcursor1:armhf. 218s Preparing to unpack .../282-libxcursor1_1%3a1.2.2-1_armhf.deb ... 218s Unpacking libxcursor1:armhf (1:1.2.2-1) ... 218s Selecting previously unselected package libxft2:armhf. 218s Preparing to unpack .../283-libxft2_2.3.6-1build1_armhf.deb ... 218s Unpacking libxft2:armhf (2.3.6-1build1) ... 218s Selecting previously unselected package libxinerama1:armhf. 218s Preparing to unpack .../284-libxinerama1_2%3a1.1.4-3build1_armhf.deb ... 218s Unpacking libxinerama1:armhf (2:1.1.4-3build1) ... 218s Selecting previously unselected package libfltk1.3t64:armhf. 218s Preparing to unpack .../285-libfltk1.3t64_1.3.8-6.1build2_armhf.deb ... 218s Unpacking libfltk1.3t64:armhf (1.3.8-6.1build2) ... 218s Selecting previously unselected package libglvnd0:armhf. 218s Preparing to unpack .../286-libglvnd0_1.7.0-1build1_armhf.deb ... 218s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 218s Selecting previously unselected package libglapi-mesa:armhf. 218s Preparing to unpack .../287-libglapi-mesa_24.0.9-0ubuntu1_armhf.deb ... 218s Unpacking libglapi-mesa:armhf (24.0.9-0ubuntu1) ... 218s Selecting previously unselected package libx11-xcb1:armhf. 218s Preparing to unpack .../288-libx11-xcb1_2%3a1.8.7-1build1_armhf.deb ... 218s Unpacking libx11-xcb1:armhf (2:1.8.7-1build1) ... 218s Selecting previously unselected package libxcb-dri2-0:armhf. 219s Preparing to unpack .../289-libxcb-dri2-0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-dri2-0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-dri3-0:armhf. 219s Preparing to unpack .../290-libxcb-dri3-0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-glx0:armhf. 219s Preparing to unpack .../291-libxcb-glx0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-glx0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-present0:armhf. 219s Preparing to unpack .../292-libxcb-present0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-present0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-randr0:armhf. 219s Preparing to unpack .../293-libxcb-randr0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-sync1:armhf. 219s Preparing to unpack .../294-libxcb-sync1_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxcb-xfixes0:armhf. 219s Preparing to unpack .../295-libxcb-xfixes0_1.17.0-2_armhf.deb ... 219s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 219s Selecting previously unselected package libxshmfence1:armhf. 219s Preparing to unpack .../296-libxshmfence1_1.3-1build5_armhf.deb ... 219s Unpacking libxshmfence1:armhf (1.3-1build5) ... 219s Selecting previously unselected package libxxf86vm1:armhf. 219s Preparing to unpack .../297-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 219s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 219s Selecting previously unselected package libvulkan1:armhf. 219s Preparing to unpack .../298-libvulkan1_1.3.283.0-1_armhf.deb ... 219s Unpacking libvulkan1:armhf (1.3.283.0-1) ... 219s Selecting previously unselected package libdrm-amdgpu1:armhf. 219s Preparing to unpack .../299-libdrm-amdgpu1_2.4.121-2_armhf.deb ... 219s Unpacking libdrm-amdgpu1:armhf (2.4.121-2) ... 219s Selecting previously unselected package libdrm-nouveau2:armhf. 219s Preparing to unpack .../300-libdrm-nouveau2_2.4.121-2_armhf.deb ... 219s Unpacking libdrm-nouveau2:armhf (2.4.121-2) ... 219s Selecting previously unselected package libdrm-radeon1:armhf. 219s Preparing to unpack .../301-libdrm-radeon1_2.4.121-2_armhf.deb ... 219s Unpacking libdrm-radeon1:armhf (2.4.121-2) ... 219s Selecting previously unselected package libllvm17t64:armhf. 219s Preparing to unpack .../302-libllvm17t64_1%3a17.0.6-12_armhf.deb ... 219s Unpacking libllvm17t64:armhf (1:17.0.6-12) ... 220s Selecting previously unselected package libgl1-mesa-dri:armhf. 220s Preparing to unpack .../303-libgl1-mesa-dri_24.0.9-0ubuntu1_armhf.deb ... 220s Unpacking libgl1-mesa-dri:armhf (24.0.9-0ubuntu1) ... 220s Selecting previously unselected package libglx-mesa0:armhf. 220s Preparing to unpack .../304-libglx-mesa0_24.0.9-0ubuntu1_armhf.deb ... 220s Unpacking libglx-mesa0:armhf (24.0.9-0ubuntu1) ... 220s Selecting previously unselected package libglx0:armhf. 220s Preparing to unpack .../305-libglx0_1.7.0-1build1_armhf.deb ... 220s Unpacking libglx0:armhf (1.7.0-1build1) ... 220s Selecting previously unselected package libgl1:armhf. 220s Preparing to unpack .../306-libgl1_1.7.0-1build1_armhf.deb ... 220s Unpacking libgl1:armhf (1.7.0-1build1) ... 220s Selecting previously unselected package libfltk-gl1.3t64:armhf. 220s Preparing to unpack .../307-libfltk-gl1.3t64_1.3.8-6.1build2_armhf.deb ... 220s Unpacking libfltk-gl1.3t64:armhf (1.3.8-6.1build2) ... 220s Selecting previously unselected package libgl2ps1.4. 220s Preparing to unpack .../308-libgl2ps1.4_1.4.2+dfsg1-2build1_armhf.deb ... 220s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2build1) ... 220s Selecting previously unselected package libltdl7:armhf. 220s Preparing to unpack .../309-libltdl7_2.4.7-7build1_armhf.deb ... 220s Unpacking libltdl7:armhf (2.4.7-7build1) ... 220s Selecting previously unselected package libglpk40:armhf. 220s Preparing to unpack .../310-libglpk40_5.0-1build2_armhf.deb ... 220s Unpacking libglpk40:armhf (5.0-1build2) ... 220s Selecting previously unselected package libopengl0:armhf. 220s Preparing to unpack .../311-libopengl0_1.7.0-1build1_armhf.deb ... 220s Unpacking libopengl0:armhf (1.7.0-1build1) ... 220s Selecting previously unselected package libglu1-mesa:armhf. 220s Preparing to unpack .../312-libglu1-mesa_9.0.2-1.1build1_armhf.deb ... 220s Unpacking libglu1-mesa:armhf (9.0.2-1.1build1) ... 220s Selecting previously unselected package libgif7:armhf. 220s Preparing to unpack .../313-libgif7_5.2.2-1ubuntu1_armhf.deb ... 220s Unpacking libgif7:armhf (5.2.2-1ubuntu1) ... 221s Selecting previously unselected package libhwy1t64:armhf. 221s Preparing to unpack .../314-libhwy1t64_1.2.0-2_armhf.deb ... 221s Unpacking libhwy1t64:armhf (1.2.0-2) ... 221s Selecting previously unselected package liblcms2-2:armhf. 221s Preparing to unpack .../315-liblcms2-2_2.14-2build1_armhf.deb ... 221s Unpacking liblcms2-2:armhf (2.14-2build1) ... 221s Selecting previously unselected package libimath-3-1-29t64:armhf. 221s Preparing to unpack .../316-libimath-3-1-29t64_3.1.9-3.1ubuntu2_armhf.deb ... 221s Unpacking libimath-3-1-29t64:armhf (3.1.9-3.1ubuntu2) ... 221s Selecting previously unselected package libopenexr-3-1-30:armhf. 221s Preparing to unpack .../317-libopenexr-3-1-30_3.1.5-5.1build3_armhf.deb ... 221s Unpacking libopenexr-3-1-30:armhf (3.1.5-5.1build3) ... 221s Selecting previously unselected package libjxl0.9:armhf. 221s Preparing to unpack .../318-libjxl0.9_0.9.2-8_armhf.deb ... 221s Unpacking libjxl0.9:armhf (0.9.2-8) ... 221s Selecting previously unselected package libwmflite-0.2-7:armhf. 221s Preparing to unpack .../319-libwmflite-0.2-7_0.2.13-1.1build3_armhf.deb ... 221s Unpacking libwmflite-0.2-7:armhf (0.2.13-1.1build3) ... 221s Selecting previously unselected package libgraphicsmagick-q16-3t64. 221s Preparing to unpack .../320-libgraphicsmagick-q16-3t64_1.4+really1.3.43-1build2_armhf.deb ... 221s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.43-1build2) ... 221s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 221s Preparing to unpack .../321-libgraphicsmagick++-q16-12t64_1.4+really1.3.43-1build2_armhf.deb ... 221s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.43-1build2) ... 221s Selecting previously unselected package libaec0:armhf. 221s Preparing to unpack .../322-libaec0_1.1.3-1_armhf.deb ... 221s Unpacking libaec0:armhf (1.1.3-1) ... 221s Selecting previously unselected package libsz2:armhf. 221s Preparing to unpack .../323-libsz2_1.1.3-1_armhf.deb ... 221s Unpacking libsz2:armhf (1.1.3-1) ... 221s Selecting previously unselected package libhdf5-103-1t64:armhf. 221s Preparing to unpack .../324-libhdf5-103-1t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 221s Unpacking libhdf5-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 221s Selecting previously unselected package libasound2-data. 221s Preparing to unpack .../325-libasound2-data_1.2.11-1build2_all.deb ... 221s Unpacking libasound2-data (1.2.11-1build2) ... 221s Selecting previously unselected package libasound2t64:armhf. 221s Preparing to unpack .../326-libasound2t64_1.2.11-1build2_armhf.deb ... 221s Unpacking libasound2t64:armhf (1.2.11-1build2) ... 221s Selecting previously unselected package libopus0:armhf. 221s Preparing to unpack .../327-libopus0_1.4-1build1_armhf.deb ... 221s Unpacking libopus0:armhf (1.4-1build1) ... 221s Selecting previously unselected package libsamplerate0:armhf. 221s Preparing to unpack .../328-libsamplerate0_0.2.2-4build1_armhf.deb ... 221s Unpacking libsamplerate0:armhf (0.2.2-4build1) ... 221s Selecting previously unselected package libjack-jackd2-0:armhf. 221s Preparing to unpack .../329-libjack-jackd2-0_1.9.21~dfsg-3ubuntu3_armhf.deb ... 221s Unpacking libjack-jackd2-0:armhf (1.9.21~dfsg-3ubuntu3) ... 221s Selecting previously unselected package libportaudio2:armhf. 221s Preparing to unpack .../330-libportaudio2_19.6.0-1.2build3_armhf.deb ... 221s Unpacking libportaudio2:armhf (19.6.0-1.2build3) ... 221s Selecting previously unselected package libqhull-r8.0:armhf. 221s Preparing to unpack .../331-libqhull-r8.0_2020.2-6build1_armhf.deb ... 221s Unpacking libqhull-r8.0:armhf (2020.2-6build1) ... 221s Selecting previously unselected package libqrupdate1:armhf. 221s Preparing to unpack .../332-libqrupdate1_1.1.2-4build1_armhf.deb ... 221s Unpacking libqrupdate1:armhf (1.1.2-4build1) ... 221s Selecting previously unselected package libqscintilla2-qt5-l10n. 221s Preparing to unpack .../333-libqscintilla2-qt5-l10n_2.14.1+dfsg-1build4_all.deb ... 221s Unpacking libqscintilla2-qt5-l10n (2.14.1+dfsg-1build4) ... 221s Selecting previously unselected package libdouble-conversion3:armhf. 221s Preparing to unpack .../334-libdouble-conversion3_3.3.0-1build1_armhf.deb ... 221s Unpacking libdouble-conversion3:armhf (3.3.0-1build1) ... 221s Selecting previously unselected package libpcre2-16-0:armhf. 221s Preparing to unpack .../335-libpcre2-16-0_10.42-4ubuntu2_armhf.deb ... 221s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu2) ... 221s Selecting previously unselected package libqt5core5t64:armhf. 221s Preparing to unpack .../336-libqt5core5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 221s Unpacking libqt5core5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 221s Selecting previously unselected package libwayland-server0:armhf. 222s Preparing to unpack .../337-libwayland-server0_1.22.0-2.1build1_armhf.deb ... 222s Unpacking libwayland-server0:armhf (1.22.0-2.1build1) ... 222s Selecting previously unselected package libgbm1:armhf. 222s Preparing to unpack .../338-libgbm1_24.0.9-0ubuntu1_armhf.deb ... 222s Unpacking libgbm1:armhf (24.0.9-0ubuntu1) ... 222s Selecting previously unselected package libwayland-client0:armhf. 222s Preparing to unpack .../339-libwayland-client0_1.22.0-2.1build1_armhf.deb ... 222s Unpacking libwayland-client0:armhf (1.22.0-2.1build1) ... 222s Selecting previously unselected package libegl-mesa0:armhf. 222s Preparing to unpack .../340-libegl-mesa0_24.0.9-0ubuntu1_armhf.deb ... 222s Unpacking libegl-mesa0:armhf (24.0.9-0ubuntu1) ... 222s Selecting previously unselected package libegl1:armhf. 222s Preparing to unpack .../341-libegl1_1.7.0-1build1_armhf.deb ... 222s Unpacking libegl1:armhf (1.7.0-1build1) ... 222s Selecting previously unselected package libgles2:armhf. 222s Preparing to unpack .../342-libgles2_1.7.0-1build1_armhf.deb ... 222s Unpacking libgles2:armhf (1.7.0-1build1) ... 222s Selecting previously unselected package x11-common. 222s Preparing to unpack .../343-x11-common_1%3a7.7+23ubuntu3_all.deb ... 222s Unpacking x11-common (1:7.7+23ubuntu3) ... 222s Selecting previously unselected package libice6:armhf. 222s Preparing to unpack .../344-libice6_2%3a1.0.10-1build3_armhf.deb ... 222s Unpacking libice6:armhf (2:1.0.10-1build3) ... 222s Selecting previously unselected package libmtdev1t64:armhf. 222s Preparing to unpack .../345-libmtdev1t64_1.1.6-1.2_armhf.deb ... 222s Unpacking libmtdev1t64:armhf (1.1.6-1.2) ... 222s Selecting previously unselected package libwacom-common. 222s Preparing to unpack .../346-libwacom-common_2.10.0-2_all.deb ... 222s Unpacking libwacom-common (2.10.0-2) ... 222s Selecting previously unselected package libwacom9:armhf. 222s Preparing to unpack .../347-libwacom9_2.10.0-2_armhf.deb ... 222s Unpacking libwacom9:armhf (2.10.0-2) ... 222s Selecting previously unselected package libinput-bin. 222s Preparing to unpack .../348-libinput-bin_1.26.0-1_armhf.deb ... 222s Unpacking libinput-bin (1.26.0-1) ... 222s Selecting previously unselected package libinput10:armhf. 222s Preparing to unpack .../349-libinput10_1.26.0-1_armhf.deb ... 222s Unpacking libinput10:armhf (1.26.0-1) ... 222s Selecting previously unselected package libmd4c0:armhf. 222s Preparing to unpack .../350-libmd4c0_0.4.8-1build1_armhf.deb ... 222s Unpacking libmd4c0:armhf (0.4.8-1build1) ... 222s Selecting previously unselected package libqt5dbus5t64:armhf. 222s Preparing to unpack .../351-libqt5dbus5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 222s Unpacking libqt5dbus5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 222s Selecting previously unselected package libqt5network5t64:armhf. 222s Preparing to unpack .../352-libqt5network5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 222s Unpacking libqt5network5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 222s Selecting previously unselected package libsm6:armhf. 222s Preparing to unpack .../353-libsm6_2%3a1.2.3-1build3_armhf.deb ... 222s Unpacking libsm6:armhf (2:1.2.3-1build3) ... 222s Selecting previously unselected package libxcb-icccm4:armhf. 222s Preparing to unpack .../354-libxcb-icccm4_0.4.1-1.1build3_armhf.deb ... 222s Unpacking libxcb-icccm4:armhf (0.4.1-1.1build3) ... 222s Selecting previously unselected package libxcb-util1:armhf. 222s Preparing to unpack .../355-libxcb-util1_0.4.0-1build3_armhf.deb ... 222s Unpacking libxcb-util1:armhf (0.4.0-1build3) ... 222s Selecting previously unselected package libxcb-image0:armhf. 222s Preparing to unpack .../356-libxcb-image0_0.4.0-2build1_armhf.deb ... 222s Unpacking libxcb-image0:armhf (0.4.0-2build1) ... 222s Selecting previously unselected package libxcb-keysyms1:armhf. 222s Preparing to unpack .../357-libxcb-keysyms1_0.4.0-1build4_armhf.deb ... 222s Unpacking libxcb-keysyms1:armhf (0.4.0-1build4) ... 222s Selecting previously unselected package libxcb-render-util0:armhf. 222s Preparing to unpack .../358-libxcb-render-util0_0.3.9-1build4_armhf.deb ... 222s Unpacking libxcb-render-util0:armhf (0.3.9-1build4) ... 222s Selecting previously unselected package libxcb-shape0:armhf. 222s Preparing to unpack .../359-libxcb-shape0_1.17.0-2_armhf.deb ... 222s Unpacking libxcb-shape0:armhf (1.17.0-2) ... 223s Selecting previously unselected package libxcb-xinerama0:armhf. 223s Preparing to unpack .../360-libxcb-xinerama0_1.17.0-2_armhf.deb ... 223s Unpacking libxcb-xinerama0:armhf (1.17.0-2) ... 223s Selecting previously unselected package libxcb-xinput0:armhf. 223s Preparing to unpack .../361-libxcb-xinput0_1.17.0-2_armhf.deb ... 223s Unpacking libxcb-xinput0:armhf (1.17.0-2) ... 223s Selecting previously unselected package libxcb-xkb1:armhf. 223s Preparing to unpack .../362-libxcb-xkb1_1.17.0-2_armhf.deb ... 223s Unpacking libxcb-xkb1:armhf (1.17.0-2) ... 223s Selecting previously unselected package libxkbcommon-x11-0:armhf. 223s Preparing to unpack .../363-libxkbcommon-x11-0_1.6.0-1build1_armhf.deb ... 223s Unpacking libxkbcommon-x11-0:armhf (1.6.0-1build1) ... 223s Selecting previously unselected package libqt5gui5t64:armhf. 223s Preparing to unpack .../364-libqt5gui5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 223s Unpacking libqt5gui5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 223s Selecting previously unselected package libavahi-common-data:armhf. 223s Preparing to unpack .../365-libavahi-common-data_0.8-13ubuntu6_armhf.deb ... 223s Unpacking libavahi-common-data:armhf (0.8-13ubuntu6) ... 223s Selecting previously unselected package libavahi-common3:armhf. 223s Preparing to unpack .../366-libavahi-common3_0.8-13ubuntu6_armhf.deb ... 223s Unpacking libavahi-common3:armhf (0.8-13ubuntu6) ... 223s Selecting previously unselected package libavahi-client3:armhf. 223s Preparing to unpack .../367-libavahi-client3_0.8-13ubuntu6_armhf.deb ... 223s Unpacking libavahi-client3:armhf (0.8-13ubuntu6) ... 223s Selecting previously unselected package libcups2t64:armhf. 223s Preparing to unpack .../368-libcups2t64_2.4.7-1.2ubuntu7_armhf.deb ... 223s Unpacking libcups2t64:armhf (2.4.7-1.2ubuntu7) ... 223s Selecting previously unselected package libqt5widgets5t64:armhf. 223s Preparing to unpack .../369-libqt5widgets5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 223s Unpacking libqt5widgets5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 223s Selecting previously unselected package libqt5printsupport5t64:armhf. 223s Preparing to unpack .../370-libqt5printsupport5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 223s Unpacking libqt5printsupport5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 223s Selecting previously unselected package libqscintilla2-qt5-15:armhf. 223s Preparing to unpack .../371-libqscintilla2-qt5-15_2.14.1+dfsg-1build4_armhf.deb ... 223s Unpacking libqscintilla2-qt5-15:armhf (2.14.1+dfsg-1build4) ... 223s Selecting previously unselected package libqt5sql5t64:armhf. 223s Preparing to unpack .../372-libqt5sql5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 223s Unpacking libqt5sql5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 223s Selecting previously unselected package libqt5help5:armhf. 223s Preparing to unpack .../373-libqt5help5_5.15.13-3_armhf.deb ... 223s Unpacking libqt5help5:armhf (5.15.13-3) ... 223s Selecting previously unselected package libqt5xml5t64:armhf. 223s Preparing to unpack .../374-libqt5xml5t64_5.15.13+dfsg-1ubuntu1_armhf.deb ... 223s Unpacking libqt5xml5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 223s Selecting previously unselected package libogg0:armhf. 223s Preparing to unpack .../375-libogg0_1.3.5-3build1_armhf.deb ... 223s Unpacking libogg0:armhf (1.3.5-3build1) ... 223s Selecting previously unselected package libflac12t64:armhf. 223s Preparing to unpack .../376-libflac12t64_1.4.3+ds-2.1ubuntu2_armhf.deb ... 223s Unpacking libflac12t64:armhf (1.4.3+ds-2.1ubuntu2) ... 223s Selecting previously unselected package libmp3lame0:armhf. 223s Preparing to unpack .../377-libmp3lame0_3.100-6build1_armhf.deb ... 223s Unpacking libmp3lame0:armhf (3.100-6build1) ... 223s Selecting previously unselected package libmpg123-0t64:armhf. 223s Preparing to unpack .../378-libmpg123-0t64_1.32.6-3_armhf.deb ... 223s Unpacking libmpg123-0t64:armhf (1.32.6-3) ... 223s Selecting previously unselected package libvorbis0a:armhf. 223s Preparing to unpack .../379-libvorbis0a_1.3.7-2_armhf.deb ... 223s Unpacking libvorbis0a:armhf (1.3.7-2) ... 223s Selecting previously unselected package libvorbisenc2:armhf. 223s Preparing to unpack .../380-libvorbisenc2_1.3.7-2_armhf.deb ... 223s Unpacking libvorbisenc2:armhf (1.3.7-2) ... 223s Selecting previously unselected package libsndfile1:armhf. 223s Preparing to unpack .../381-libsndfile1_1.2.2-1ubuntu5_armhf.deb ... 223s Unpacking libsndfile1:armhf (1.2.2-1ubuntu5) ... 223s Selecting previously unselected package libspqr4:armhf. 223s Preparing to unpack .../382-libspqr4_1%3a7.7.0+dfsg-2_armhf.deb ... 223s Unpacking libspqr4:armhf (1:7.7.0+dfsg-2) ... 223s Selecting previously unselected package libsundials-ida6:armhf. 223s Preparing to unpack .../383-libsundials-ida6_6.4.1+dfsg1-3build5_armhf.deb ... 223s Unpacking libsundials-ida6:armhf (6.4.1+dfsg1-3build5) ... 224s Selecting previously unselected package libbtf2:armhf. 224s Preparing to unpack .../384-libbtf2_1%3a7.7.0+dfsg-2_armhf.deb ... 224s Unpacking libbtf2:armhf (1:7.7.0+dfsg-2) ... 224s Selecting previously unselected package libklu2:armhf. 224s Preparing to unpack .../385-libklu2_1%3a7.7.0+dfsg-2_armhf.deb ... 224s Unpacking libklu2:armhf (1:7.7.0+dfsg-2) ... 224s Selecting previously unselected package libevent-pthreads-2.1-7t64:armhf. 224s Preparing to unpack .../386-libevent-pthreads-2.1-7t64_2.1.12-stable-10_armhf.deb ... 224s Unpacking libevent-pthreads-2.1-7t64:armhf (2.1.12-stable-10) ... 224s Selecting previously unselected package librdmacm1t64:armhf. 224s Preparing to unpack .../387-librdmacm1t64_50.0-2build2_armhf.deb ... 224s Unpacking librdmacm1t64:armhf (50.0-2build2) ... 224s Selecting previously unselected package libfabric1:armhf. 224s Preparing to unpack .../388-libfabric1_1.17.0-3build2_armhf.deb ... 224s Unpacking libfabric1:armhf (1.17.0-3build2) ... 224s Selecting previously unselected package libhwloc15:armhf. 224s Preparing to unpack .../389-libhwloc15_2.10.0-1build1_armhf.deb ... 224s Unpacking libhwloc15:armhf (2.10.0-1build1) ... 224s Selecting previously unselected package libmunge2:armhf. 224s Preparing to unpack .../390-libmunge2_0.5.15-4build1_armhf.deb ... 224s Unpacking libmunge2:armhf (0.5.15-4build1) ... 224s Selecting previously unselected package libpciaccess0:armhf. 224s Preparing to unpack .../391-libpciaccess0_0.17-3build1_armhf.deb ... 224s Unpacking libpciaccess0:armhf (0.17-3build1) ... 224s Selecting previously unselected package libxnvctrl0:armhf. 224s Preparing to unpack .../392-libxnvctrl0_510.47.03-0ubuntu4_armhf.deb ... 224s Unpacking libxnvctrl0:armhf (510.47.03-0ubuntu4) ... 224s Selecting previously unselected package ocl-icd-libopencl1:armhf. 224s Preparing to unpack .../393-ocl-icd-libopencl1_2.3.2-1build1_armhf.deb ... 224s Unpacking ocl-icd-libopencl1:armhf (2.3.2-1build1) ... 224s Selecting previously unselected package libhwloc-plugins:armhf. 224s Preparing to unpack .../394-libhwloc-plugins_2.10.0-1build1_armhf.deb ... 224s Unpacking libhwloc-plugins:armhf (2.10.0-1build1) ... 224s Selecting previously unselected package libpmix2t64:armhf. 224s Preparing to unpack .../395-libpmix2t64_5.0.1-4.1build1_armhf.deb ... 224s Unpacking libpmix2t64:armhf (5.0.1-4.1build1) ... 224s Selecting previously unselected package libopenmpi3t64:armhf. 224s Preparing to unpack .../396-libopenmpi3t64_4.1.6-7ubuntu2_armhf.deb ... 224s Unpacking libopenmpi3t64:armhf (4.1.6-7ubuntu2) ... 224s Selecting previously unselected package libfftw3-mpi3:armhf. 224s Preparing to unpack .../397-libfftw3-mpi3_3.3.10-1ubuntu3_armhf.deb ... 224s Unpacking libfftw3-mpi3:armhf (3.3.10-1ubuntu3) ... 224s Selecting previously unselected package libhdf5-openmpi-103-1t64:armhf. 224s Preparing to unpack .../398-libhdf5-openmpi-103-1t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 224s Unpacking libhdf5-openmpi-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 224s Selecting previously unselected package libcombblas2.0.0t64:armhf. 224s Preparing to unpack .../399-libcombblas2.0.0t64_2.0.0-3.1build2_armhf.deb ... 224s Unpacking libcombblas2.0.0t64:armhf (2.0.0-3.1build2) ... 224s Selecting previously unselected package libmetis5:armhf. 224s Preparing to unpack .../400-libmetis5_5.1.0.dfsg-7build3_armhf.deb ... 224s Unpacking libmetis5:armhf (5.1.0.dfsg-7build3) ... 225s Selecting previously unselected package libptscotch-7.0:armhf. 225s Preparing to unpack .../401-libptscotch-7.0_7.0.4-1ubuntu2_armhf.deb ... 225s Unpacking libptscotch-7.0:armhf (7.0.4-1ubuntu2) ... 225s Selecting previously unselected package libsuperlu-dist8:armhf. 225s Preparing to unpack .../402-libsuperlu-dist8_8.2.1+dfsg1-1build2_armhf.deb ... 225s Unpacking libsuperlu-dist8:armhf (8.2.1+dfsg1-1build2) ... 225s Selecting previously unselected package libhypre-2.28.0:armhf. 225s Preparing to unpack .../403-libhypre-2.28.0_2.28.0-8build2_armhf.deb ... 225s Unpacking libhypre-2.28.0:armhf (2.28.0-8build2) ... 225s Selecting previously unselected package openmpi-common. 225s Preparing to unpack .../404-openmpi-common_4.1.6-7ubuntu2_all.deb ... 225s Unpacking openmpi-common (4.1.6-7ubuntu2) ... 225s Selecting previously unselected package openmpi-bin. 225s Preparing to unpack .../405-openmpi-bin_4.1.6-7ubuntu2_armhf.deb ... 225s Unpacking openmpi-bin (4.1.6-7ubuntu2) ... 225s Selecting previously unselected package mpi-default-bin. 225s Preparing to unpack .../406-mpi-default-bin_1.15build1_armhf.deb ... 225s Unpacking mpi-default-bin (1.15build1) ... 225s Selecting previously unselected package libscalapack-openmpi2.2:armhf. 225s Preparing to unpack .../407-libscalapack-openmpi2.2_2.2.1-3.1ubuntu1_armhf.deb ... 225s Unpacking libscalapack-openmpi2.2:armhf (2.2.1-3.1ubuntu1) ... 225s Selecting previously unselected package libmumps-5.6t64:armhf. 225s Preparing to unpack .../408-libmumps-5.6t64_5.6.2-2.1build2_armhf.deb ... 225s Unpacking libmumps-5.6t64:armhf (5.6.2-2.1build2) ... 225s Selecting previously unselected package libsuperlu6:armhf. 225s Preparing to unpack .../409-libsuperlu6_6.0.1+dfsg1-1build1_armhf.deb ... 225s Unpacking libsuperlu6:armhf (6.0.1+dfsg1-1build1) ... 225s Selecting previously unselected package libumfpack6:armhf. 225s Preparing to unpack .../410-libumfpack6_1%3a7.7.0+dfsg-2_armhf.deb ... 225s Unpacking libumfpack6:armhf (1:7.7.0+dfsg-2) ... 225s Selecting previously unselected package libpetsc-real3.19t64:armhf. 225s Preparing to unpack .../411-libpetsc-real3.19t64_3.19.6+dfsg1-2.2ubuntu2_armhf.deb ... 225s Unpacking libpetsc-real3.19t64:armhf (3.19.6+dfsg1-2.2ubuntu2) ... 225s Selecting previously unselected package libsundials-nvecparallel-petsc6:armhf. 225s Preparing to unpack .../412-libsundials-nvecparallel-petsc6_6.4.1+dfsg1-3build5_armhf.deb ... 225s Unpacking libsundials-nvecparallel-petsc6:armhf (6.4.1+dfsg1-3build5) ... 225s Selecting previously unselected package libsundials-sunmatrix4:armhf. 225s Preparing to unpack .../413-libsundials-sunmatrix4_6.4.1+dfsg1-3build5_armhf.deb ... 225s Unpacking libsundials-sunmatrix4:armhf (6.4.1+dfsg1-3build5) ... 225s Selecting previously unselected package libsundials-sunlinsol3:armhf. 225s Preparing to unpack .../414-libsundials-sunlinsol3_6.4.1+dfsg1-3build5_armhf.deb ... 225s Unpacking libsundials-sunlinsol3:armhf (6.4.1+dfsg1-3build5) ... 225s Selecting previously unselected package libtext-unidecode-perl. 225s Preparing to unpack .../415-libtext-unidecode-perl_1.30-3_all.deb ... 225s Unpacking libtext-unidecode-perl (1.30-3) ... 226s Selecting previously unselected package texinfo-lib. 226s Preparing to unpack .../416-texinfo-lib_7.1-3build2_armhf.deb ... 226s Unpacking texinfo-lib (7.1-3build2) ... 226s Selecting previously unselected package tex-common. 226s Preparing to unpack .../417-tex-common_6.18_all.deb ... 226s Unpacking tex-common (6.18) ... 226s Selecting previously unselected package texinfo. 226s Preparing to unpack .../418-texinfo_7.1-3build2_all.deb ... 226s Unpacking texinfo (7.1-3build2) ... 226s Selecting previously unselected package octave-common. 226s Preparing to unpack .../419-octave-common_8.4.0-1build5_all.deb ... 226s Unpacking octave-common (8.4.0-1build5) ... 226s Selecting previously unselected package octave. 226s Preparing to unpack .../420-octave_8.4.0-1build5_armhf.deb ... 226s Unpacking octave (8.4.0-1build5) ... 226s Selecting previously unselected package libncurses-dev:armhf. 226s Preparing to unpack .../421-libncurses-dev_6.5-2_armhf.deb ... 226s Unpacking libncurses-dev:armhf (6.5-2) ... 226s Selecting previously unselected package libreadline-dev:armhf. 226s Preparing to unpack .../422-libreadline-dev_8.2-4build1_armhf.deb ... 226s Unpacking libreadline-dev:armhf (8.2-4build1) ... 226s Selecting previously unselected package libhdf5-fortran-102t64:armhf. 226s Preparing to unpack .../423-libhdf5-fortran-102t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 226s Unpacking libhdf5-fortran-102t64:armhf (1.10.10+repack-3.1ubuntu4) ... 226s Selecting previously unselected package libhdf5-hl-100t64:armhf. 227s Preparing to unpack .../424-libhdf5-hl-100t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking libhdf5-hl-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package libhdf5-hl-fortran-100t64:armhf. 227s Preparing to unpack .../425-libhdf5-hl-fortran-100t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking libhdf5-hl-fortran-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package libhdf5-cpp-103-1t64:armhf. 227s Preparing to unpack .../426-libhdf5-cpp-103-1t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking libhdf5-cpp-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package libhdf5-hl-cpp-100t64:armhf. 227s Preparing to unpack .../427-libhdf5-hl-cpp-100t64_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking libhdf5-hl-cpp-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package zlib1g-dev:armhf. 227s Preparing to unpack .../428-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2_armhf.deb ... 227s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2) ... 227s Selecting previously unselected package libjpeg-turbo8-dev:armhf. 227s Preparing to unpack .../429-libjpeg-turbo8-dev_2.1.5-2ubuntu2_armhf.deb ... 227s Unpacking libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu2) ... 227s Selecting previously unselected package libjpeg8-dev:armhf. 227s Preparing to unpack .../430-libjpeg8-dev_8c-2ubuntu11_armhf.deb ... 227s Unpacking libjpeg8-dev:armhf (8c-2ubuntu11) ... 227s Selecting previously unselected package libjpeg-dev:armhf. 227s Preparing to unpack .../431-libjpeg-dev_8c-2ubuntu11_armhf.deb ... 227s Unpacking libjpeg-dev:armhf (8c-2ubuntu11) ... 227s Selecting previously unselected package libaec-dev:armhf. 227s Preparing to unpack .../432-libaec-dev_1.1.3-1_armhf.deb ... 227s Unpacking libaec-dev:armhf (1.1.3-1) ... 227s Selecting previously unselected package libcurl4-openssl-dev:armhf. 227s Preparing to unpack .../433-libcurl4-openssl-dev_8.8.0-1ubuntu1_armhf.deb ... 227s Unpacking libcurl4-openssl-dev:armhf (8.8.0-1ubuntu1) ... 227s Selecting previously unselected package libssl-dev:armhf. 227s Preparing to unpack .../434-libssl-dev_3.0.13-0ubuntu4_armhf.deb ... 227s Unpacking libssl-dev:armhf (3.0.13-0ubuntu4) ... 227s Selecting previously unselected package hdf5-helpers. 227s Preparing to unpack .../435-hdf5-helpers_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking hdf5-helpers (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package libhdf5-dev. 227s Preparing to unpack .../436-libhdf5-dev_1.10.10+repack-3.1ubuntu4_armhf.deb ... 227s Unpacking libhdf5-dev (1.10.10+repack-3.1ubuntu4) ... 227s Selecting previously unselected package xorg-sgml-doctools. 227s Preparing to unpack .../437-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 227s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 227s Selecting previously unselected package x11proto-dev. 227s Preparing to unpack .../438-x11proto-dev_2024.1-1_all.deb ... 227s Unpacking x11proto-dev (2024.1-1) ... 227s Selecting previously unselected package libxau-dev:armhf. 227s Preparing to unpack .../439-libxau-dev_1%3a1.0.9-1build6_armhf.deb ... 227s Unpacking libxau-dev:armhf (1:1.0.9-1build6) ... 227s Selecting previously unselected package libxdmcp-dev:armhf. 227s Preparing to unpack .../440-libxdmcp-dev_1%3a1.1.3-0ubuntu6_armhf.deb ... 227s Unpacking libxdmcp-dev:armhf (1:1.1.3-0ubuntu6) ... 227s Selecting previously unselected package xtrans-dev. 227s Preparing to unpack .../441-xtrans-dev_1.4.0-1_all.deb ... 227s Unpacking xtrans-dev (1.4.0-1) ... 227s Selecting previously unselected package libxcb1-dev:armhf. 227s Preparing to unpack .../442-libxcb1-dev_1.17.0-2_armhf.deb ... 227s Unpacking libxcb1-dev:armhf (1.17.0-2) ... 227s Selecting previously unselected package libx11-dev:armhf. 227s Preparing to unpack .../443-libx11-dev_2%3a1.8.7-1build1_armhf.deb ... 227s Unpacking libx11-dev:armhf (2:1.8.7-1build1) ... 227s Selecting previously unselected package libglx-dev:armhf. 227s Preparing to unpack .../444-libglx-dev_1.7.0-1build1_armhf.deb ... 227s Unpacking libglx-dev:armhf (1.7.0-1build1) ... 228s Selecting previously unselected package libgl-dev:armhf. 228s Preparing to unpack .../445-libgl-dev_1.7.0-1build1_armhf.deb ... 228s Unpacking libgl-dev:armhf (1.7.0-1build1) ... 228s Selecting previously unselected package libblas-dev:armhf. 228s Preparing to unpack .../446-libblas-dev_3.12.0-3build1_armhf.deb ... 228s Unpacking libblas-dev:armhf (3.12.0-3build1) ... 228s Selecting previously unselected package liblapack-dev:armhf. 228s Preparing to unpack .../447-liblapack-dev_3.12.0-3build1_armhf.deb ... 228s Unpacking liblapack-dev:armhf (3.12.0-3build1) ... 228s Selecting previously unselected package libfftw3-bin. 228s Preparing to unpack .../448-libfftw3-bin_3.3.10-1ubuntu3_armhf.deb ... 228s Unpacking libfftw3-bin (3.3.10-1ubuntu3) ... 228s Selecting previously unselected package libfftw3-dev:armhf. 228s Preparing to unpack .../449-libfftw3-dev_3.3.10-1ubuntu3_armhf.deb ... 228s Unpacking libfftw3-dev:armhf (3.3.10-1ubuntu3) ... 228s Selecting previously unselected package libgfortran-13-dev:armhf. 228s Preparing to unpack .../450-libgfortran-13-dev_13.2.0-23ubuntu4_armhf.deb ... 228s Unpacking libgfortran-13-dev:armhf (13.2.0-23ubuntu4) ... 228s Selecting previously unselected package gfortran-13-arm-linux-gnueabihf. 228s Preparing to unpack .../451-gfortran-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 228s Unpacking gfortran-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 228s Selecting previously unselected package gfortran-13. 228s Preparing to unpack .../452-gfortran-13_13.2.0-23ubuntu4_armhf.deb ... 228s Unpacking gfortran-13 (13.2.0-23ubuntu4) ... 228s Selecting previously unselected package gfortran-arm-linux-gnueabihf. 228s Preparing to unpack .../453-gfortran-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 228s Unpacking gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package gfortran. 228s Preparing to unpack .../454-gfortran_4%3a13.2.0-7ubuntu1_armhf.deb ... 228s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package libstdc++-13-dev:armhf. 228s Preparing to unpack .../455-libstdc++-13-dev_13.2.0-23ubuntu4_armhf.deb ... 228s Unpacking libstdc++-13-dev:armhf (13.2.0-23ubuntu4) ... 228s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 229s Preparing to unpack .../456-g++-13-arm-linux-gnueabihf_13.2.0-23ubuntu4_armhf.deb ... 229s Unpacking g++-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 229s Selecting previously unselected package g++-13. 229s Preparing to unpack .../457-g++-13_13.2.0-23ubuntu4_armhf.deb ... 229s Unpacking g++-13 (13.2.0-23ubuntu4) ... 229s Selecting previously unselected package g++-arm-linux-gnueabihf. 229s Preparing to unpack .../458-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 229s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package g++. 229s Preparing to unpack .../459-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 229s Unpacking g++ (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package octave-dev. 229s Preparing to unpack .../460-octave-dev_8.4.0-1build5_armhf.deb ... 229s Unpacking octave-dev (8.4.0-1build5) ... 229s Selecting previously unselected package dh-octave. 229s Preparing to unpack .../461-dh-octave_1.8.0_all.deb ... 229s Unpacking dh-octave (1.8.0) ... 229s Selecting previously unselected package libfontenc1:armhf. 229s Preparing to unpack .../462-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 229s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 229s Selecting previously unselected package libunwind8:armhf. 229s Preparing to unpack .../463-libunwind8_1.6.2-3.1_armhf.deb ... 229s Unpacking libunwind8:armhf (1.6.2-3.1) ... 229s Selecting previously unselected package libxt6t64:armhf. 229s Preparing to unpack .../464-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 229s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 229s Selecting previously unselected package libxmu6:armhf. 229s Preparing to unpack .../465-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 229s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 229s Selecting previously unselected package libxaw7:armhf. 229s Preparing to unpack .../466-libxaw7_2%3a1.0.14-1build2_armhf.deb ... 229s Unpacking libxaw7:armhf (2:1.0.14-1build2) ... 229s Selecting previously unselected package libxfont2:armhf. 229s Preparing to unpack .../467-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 229s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 229s Selecting previously unselected package libxkbfile1:armhf. 229s Preparing to unpack .../468-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 229s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 229s Selecting previously unselected package libxrandr2:armhf. 229s Preparing to unpack .../469-libxrandr2_2%3a1.5.4-1_armhf.deb ... 229s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 229s Selecting previously unselected package python3-mpmath. 229s Preparing to unpack .../470-python3-mpmath_1.3.0-1_all.deb ... 229s Unpacking python3-mpmath (1.3.0-1) ... 229s Selecting previously unselected package python3-sympy. 229s Preparing to unpack .../471-python3-sympy_1.12.1-1_all.deb ... 229s Unpacking python3-sympy (1.12.1-1) ... 230s Selecting previously unselected package octave-symbolic. 230s Preparing to unpack .../472-octave-symbolic_3.1.1-2_all.deb ... 230s Unpacking octave-symbolic (3.1.1-2) ... 230s Selecting previously unselected package x11-xkb-utils. 230s Preparing to unpack .../473-x11-xkb-utils_7.7+8build2_armhf.deb ... 230s Unpacking x11-xkb-utils (7.7+8build2) ... 230s Selecting previously unselected package xserver-common. 230s Preparing to unpack .../474-xserver-common_2%3a21.1.12-1ubuntu1_all.deb ... 230s Unpacking xserver-common (2:21.1.12-1ubuntu1) ... 230s Selecting previously unselected package xvfb. 230s Preparing to unpack .../475-xvfb_2%3a21.1.12-1ubuntu1_armhf.deb ... 230s Unpacking xvfb (2:21.1.12-1ubuntu1) ... 230s Selecting previously unselected package autopkgtest-satdep. 230s Preparing to unpack .../476-1-autopkgtest-satdep.deb ... 230s Unpacking autopkgtest-satdep (0) ... 230s Setting up libapt-pkg-perl (0.1.40build7) ... 230s Setting up libhwy1t64:armhf (1.2.0-2) ... 230s Setting up libmodule-pluggable-perl (5.2-5) ... 230s Setting up libgraphite2-3:armhf (1.3.14-2build1) ... 230s Setting up libstring-escape-perl (2010.002-3) ... 230s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 230s Setting up liblcms2-2:armhf (2.14-2build1) ... 230s Setting up libberkeleydb-perl:armhf (0.64-2build4) ... 230s Setting up libpixman-1-0:armhf (0.42.2-1build1) ... 230s Setting up libsharpyuv0:armhf (1.4.0-0.1) ... 230s Setting up libwayland-server0:armhf (1.22.0-2.1build1) ... 230s Setting up libaom3:armhf (3.8.2-3) ... 230s Setting up libx11-xcb1:armhf (2:1.8.7-1build1) ... 230s Setting up libpciaccess0:armhf (0.17-3build1) ... 230s Setting up libfile-which-perl (1.27-2) ... 230s Setting up libdouble-conversion3:armhf (3.3.0-1build1) ... 230s Setting up libdrm-nouveau2:armhf (2.4.121-2) ... 230s Setting up libunicode-utf8-perl (0.62-2build3) ... 230s Setting up libset-intspan-perl (1.19-3) ... 230s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 230s Setting up libogg0:armhf (1.3.5-3build1) ... 230s Setting up libmouse-perl (2.5.10-1build8) ... 230s Setting up liblerc4:armhf (4.0.0+ds-4ubuntu2) ... 230s Setting up libpod-pom-perl (2.01-4) ... 230s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 230s Setting up hdf5-helpers (1.10.10+repack-3.1ubuntu4) ... 230s Setting up libwmflite-0.2-7:armhf (0.2.13-1.1build3) ... 230s Setting up libregexp-pattern-perl (0.2.14-2) ... 230s Setting up libdata-messagepack-perl (1.02-1build4) ... 230s Setting up libxcb-xinput0:armhf (1.17.0-2) ... 230s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 230s Setting up libdynaloader-functions-perl (0.003-3) ... 230s Setting up libdatrie1:armhf (0.2.13-3build1) ... 230s Setting up libtext-glob-perl (0.11-3) ... 230s Setting up libclass-method-modifiers-perl (2.15-1) ... 230s Setting up liblist-compare-perl (0.55-2) ... 230s Setting up libxcb-render0:armhf (1.17.0-2) ... 230s Setting up libclone-perl:armhf (0.46-1build3) ... 230s Setting up libarchive-zip-perl (1.68-1) ... 230s Setting up libsub-identify-perl (0.14-3build3) ... 230s Setting up libevent-pthreads-2.1-7t64:armhf (2.1.12-stable-10) ... 230s Setting up libdrm-radeon1:armhf (2.4.121-2) ... 230s Setting up libcpanel-json-xs-perl:armhf (4.38-1) ... 230s Setting up libglvnd0:armhf (1.7.0-1build1) ... 230s Setting up libio-stringy-perl (2.111-3) ... 230s Setting up libhtml-tagset-perl (3.24-1) ... 230s Setting up liblog-any-perl (1.717-1) ... 230s Setting up libqscintilla2-qt5-l10n (2.14.1+dfsg-1build4) ... 230s Setting up libyaml-pp-perl (0.38.0-1) ... 230s Setting up libxcb-glx0:armhf (1.17.0-2) ... 230s Setting up libdevel-size-perl (0.84-1) ... 230s Setting up unzip (6.0-28ubuntu5) ... 230s Setting up libdebhelper-perl (13.15.3ubuntu2) ... 230s Setting up libregexp-pattern-license-perl (3.11.0-1) ... 230s Setting up libconvert-binhex-perl (1.125-3) ... 230s Setting up liblwp-mediatypes-perl (6.04-2) ... 230s Setting up libyaml-libyaml-perl (0.89+ds-1build2) ... 230s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 230s Setting up libio-interactive-perl (1.025-1) ... 230s Setting up libxcb-keysyms1:armhf (0.4.0-1build4) ... 230s Setting up libxcb-shape0:armhf (1.17.0-2) ... 230s Setting up x11-common (1:7.7+23ubuntu3) ... 231s Setting up libtry-tiny-perl (0.31-2) ... 231s Setting up libdeflate0:armhf (1.20-1) ... 231s Setting up perl-openssl-defaults:armhf (7build3) ... 231s Setting up libmldbm-perl (2.05-4) ... 231s Setting up linux-libc-dev:armhf (6.8.0-31.31) ... 231s Setting up libxml-namespacesupport-perl (1.12-2) ... 231s Setting up m4 (1.4.19-4build1) ... 231s Setting up libclone-choose-perl (0.010-2) ... 231s Setting up libqhull-r8.0:armhf (2020.2-6build1) ... 231s Setting up libxcb-render-util0:armhf (0.3.9-1build4) ... 231s Setting up libtime-moment-perl (0.44-2build4) ... 231s Setting up libencode-locale-perl (1.05-3) ... 231s Setting up libmetis5:armhf (5.1.0.dfsg-7build3) ... 231s Setting up libxcb-shm0:armhf (1.17.0-2) ... 231s Setting up libxcb-icccm4:armhf (0.4.1-1.1build3) ... 231s Setting up texinfo-lib (7.1-3build2) ... 231s Setting up libmpg123-0t64:armhf (1.32.6-3) ... 231s Setting up libgomp1:armhf (14.1.0-1ubuntu1) ... 231s Setting up libconfig-tiny-perl (2.30-1) ... 231s Setting up libsereal-encoder-perl (5.004+ds-1build3) ... 231s Setting up libunwind8:armhf (1.6.2-3.1) ... 231s Setting up liblist-utilsby-perl (0.12-2) ... 231s Setting up libyaml-tiny-perl (1.74-1) ... 231s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 231s Setting up octave-common (8.4.0-1build5) ... 231s Setting up libregexp-common-perl (2017060201-3) ... 231s Setting up libpcre2-16-0:armhf (10.42-4ubuntu2) ... 231s Setting up libaec0:armhf (1.1.3-1) ... 231s Setting up libnet-netmask-perl (2.0002-2) ... 231s Setting up libopengl0:armhf (1.7.0-1build1) ... 231s Setting up libsub-install-perl (0.929-1) ... 231s Setting up libxcb-util1:armhf (0.4.0-1build3) ... 231s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 231s Setting up libindirect-perl (0.39-2build4) ... 231s Setting up libxcb-xkb1:armhf (1.17.0-2) ... 231s Setting up libxcb-image0:armhf (0.4.0-2build1) ... 231s Setting up libxs-parse-sublike-perl:armhf (0.21-2build3) ... 231s Setting up libnumber-compare-perl (0.03-3) ... 231s Setting up libdw1t64:armhf (0.191-1) ... 231s Setting up libxnvctrl0:armhf (510.47.03-0ubuntu4) ... 231s Setting up libxcb-present0:armhf (1.17.0-2) ... 231s Setting up liberror-perl (0.17029-2) ... 231s Setting up libasound2-data (1.2.11-1build2) ... 231s Setting up patchutils (0.4.2-1build3) ... 231s Setting up tex-common (6.18) ... 232s update-language: texlive-base not installed and configured, doing nothing! 232s Setting up libbtf2:armhf (1:7.7.0+dfsg-2) ... 232s Setting up libjson-maybexs-perl (1.004005-1) ... 232s Setting up libxml-sax-base-perl (1.09-3) ... 232s Setting up libio-string-perl (1.08-4) ... 232s Setting up libboolean-perl (0.46-3) ... 232s Setting up libnetaddr-ip-perl (4.079+dfsg-2build4) ... 232s Setting up xtrans-dev (1.4.0-1) ... 232s Setting up libqt5core5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 232s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 232s Setting up autotools-dev (20220109.1) ... 232s Setting up libblas3:armhf (3.12.0-3build1) ... 232s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 232s Setting up libclass-data-inheritable-perl (0.08-3) ... 232s Setting up libxs-parse-keyword-perl (0.42-1) ... 232s Setting up libxcb-xinerama0:armhf (1.17.0-2) ... 232s Setting up libalgorithm-c3-perl (0.11-2) ... 232s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 232s Setting up libgles2:armhf (1.7.0-1build1) ... 232s Setting up libasound2t64:armhf (1.2.11-1build2) ... 232s Setting up gcc-13-base:armhf (13.2.0-23ubuntu4) ... 232s Setting up libmunge2:armhf (0.5.15-4build1) ... 232s Setting up liblog-log4perl-perl (1.57-1) ... 232s Setting up libllvm17t64:armhf (1:17.0.6-12) ... 232s Setting up libtext-reform-perl (1.20-5) ... 232s Setting up libfreetype6:armhf (2.13.2+dfsg-1build3) ... 232s Setting up libfile-find-rule-perl (0.34-3) ... 232s Setting up libxfixes3:armhf (1:6.0.0-2build1) ... 232s Setting up libcurl4-openssl-dev:armhf (8.8.0-1ubuntu1) ... 232s Setting up libxcb-sync1:armhf (1.17.0-2) ... 232s Setting up libipc-system-simple-perl (1.30-2) ... 232s Setting up libio-tiecombine-perl (1.005-3) ... 232s Setting up libnet-domain-tld-perl (1.75-3) ... 232s Setting up libperlio-utf8-strict-perl (0.010-1build3) ... 232s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 232s Setting up lzip (1.24.1-1build1) ... 232s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 232s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 232s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 232s Setting up libavahi-common-data:armhf (0.8-13ubuntu6) ... 232s Setting up libopus0:armhf (1.4-1build1) ... 232s Setting up t1utils (1.41-4build3) ... 232s Setting up libxinerama1:armhf (2:1.1.4-3build1) ... 232s Setting up diffstat (1.66-1build1) ... 232s Setting up libxkbcommon-x11-0:armhf (1.6.0-1build1) ... 232s Setting up fonts-dejavu-mono (2.37-8) ... 232s Setting up libssl-dev:armhf (3.0.13-0ubuntu4) ... 232s Setting up libhwloc15:armhf (2.10.0-1build1) ... 232s Setting up libimath-3-1-29t64:armhf (3.1.9-3.1ubuntu2) ... 232s Setting up libmpc3:armhf (1.3.1-1build1) ... 232s Setting up libatomic1:armhf (14.1.0-1ubuntu1) ... 232s Setting up libvorbis0a:armhf (1.3.7-2) ... 232s Setting up libvariable-magic-perl (0.64-1) ... 232s Setting up libio-html-perl (1.004-3) ... 232s Setting up libxrandr2:armhf (2:1.5.4-1) ... 232s Setting up libtext-template-perl (1.61-1) ... 232s Setting up libpod-parser-perl (1.67-1) ... 232s Setting up autopoint (0.21-14ubuntu2) ... 232s Setting up libb-hooks-op-check-perl:armhf (0.22-3build1) ... 232s Setting up fonts-dejavu-core (2.37-8) ... 232s Setting up liblist-moreutils-xs-perl (0.430-4) ... 232s Setting up libjpeg-turbo8:armhf (2.1.5-2ubuntu2) ... 232s Setting up libltdl7:armhf (2.4.7-7build1) ... 232s Setting up libfftw3-double3:armhf (3.3.10-1ubuntu3) ... 232s Setting up libglapi-mesa:armhf (24.0.9-0ubuntu1) ... 232s Setting up libparams-util-perl (1.102-3) ... 232s Setting up libgfortran5:armhf (14.1.0-1ubuntu1) ... 232s Setting up libvulkan1:armhf (1.3.283.0-1) ... 232s Setting up libtime-duration-perl (1.21-2) ... 232s Setting up autoconf (2.71-3) ... 232s Setting up libtext-xslate-perl:armhf (3.5.9-2) ... 232s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 232s Setting up libwebp7:armhf (1.4.0-0.1) ... 232s Setting up libarray-intspan-perl (2.004-2) ... 232s Setting up libcapture-tiny-perl (0.48-2) ... 232s Setting up libtimedate-perl (2.3300-2) ... 232s Setting up libexporter-lite-perl (0.09-2) ... 232s Setting up libubsan1:armhf (14.1.0-1ubuntu1) ... 232s Setting up libxcb-dri2-0:armhf (1.17.0-2) ... 232s Setting up libsub-name-perl:armhf (0.27-1build3) ... 232s Setting up libgif7:armhf (5.2.2-1ubuntu1) ... 232s Setting up libsyntax-keyword-try-perl (0.29-2) ... 232s Setting up dwz (0.15-1build6) ... 232s Setting up libdata-validate-domain-perl (0.10-1.1) ... 232s Setting up libproc-processtable-perl:armhf (0.636-1build3) ... 232s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 232s Setting up libmtdev1t64:armhf (1.1.6-1.2) ... 232s Setting up ocl-icd-libopencl1:armhf (2.3.2-1build1) ... 232s Setting up libxshmfence1:armhf (1.3-1build5) ... 232s Setting up libcrypt-dev:armhf (1:4.4.36-4build1) ... 232s Setting up libxcb-randr0:armhf (1.17.0-2) ... 232s Setting up libpath-tiny-perl (0.144-1) ... 232s Setting up libasan8:armhf (14.1.0-1ubuntu1) ... 232s Setting up lzop (1.04-2build3) ... 232s Setting up libjson-perl (4.10000-1) ... 232s Setting up liblog-any-adapter-screen-perl (0.140-2) ... 232s Setting up librole-tiny-perl (2.002004-1) ... 232s Setting up openmpi-common (4.1.6-7ubuntu2) ... 232s Setting up libqt5sql5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 232s Setting up debugedit (1:5.0-5build2) ... 232s Setting up libipc-run3-perl (0.049-1) ... 232s Setting up libmd4c0:armhf (0.4.8-1build1) ... 232s Setting up libregexp-wildcards-perl (1.05-3) ... 232s Setting up libmousex-strictconstructor-perl (0.02-3) ... 232s Setting up libsub-uplevel-perl (0.2800-3) ... 232s Setting up libsuitesparseconfig7:armhf (1:7.7.0+dfsg-2) ... 232s Setting up librdmacm1t64:armhf (50.0-2build2) ... 232s Setting up liblua5.4-0:armhf (5.4.6-3build2) ... 232s Setting up libaliased-perl (0.34-3) ... 232s Setting up libharfbuzz0b:armhf (8.3.0-2build2) ... 232s Setting up libthai-data (0.1.29-2build1) ... 232s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 232s Setting up libstrictures-perl (2.000006-1) ... 232s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 232s Setting up libdevel-stacktrace-perl (2.0500-1) ... 232s Setting up libclass-xsaccessor-perl (1.19-4build4) ... 232s Setting up libtext-autoformat-perl (1.750000-2) ... 232s Setting up libglu1-mesa:armhf (9.0.2-1.1build1) ... 232s Setting up libflac12t64:armhf (1.4.3+ds-2.1ubuntu2) ... 232s Setting up libtoml-tiny-perl (0.17-1) ... 232s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 232s Setting up libsort-versions-perl (1.62-3) ... 232s Setting up libexporter-tiny-perl (1.006002-1) ... 232s Setting up libterm-readkey-perl (2.38-2build4) ... 232s Setting up python3-mpmath (1.3.0-1) ... 233s Setting up libisl23:armhf (0.26-3build1) ... 233s Setting up libtext-unidecode-perl (1.30-3) ... 233s Setting up libde265-0:armhf (1.0.15-1build3) ... 233s Setting up libc-dev-bin (2.39-0ubuntu9) ... 233s Setting up libfont-ttf-perl (1.06-2) ... 233s Setting up libfile-homedir-perl (1.006-2) ... 233s Setting up libsamplerate0:armhf (0.2.2-4build1) ... 233s Setting up libwebpmux3:armhf (1.4.0-0.1) ... 233s Setting up libtext-levenshteinxs-perl (0.03-5build4) ... 233s Setting up libperlio-gzip-perl (0.20-1build4) ... 233s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 233s Setting up libhtml-html5-entities-perl (0.004-3) ... 233s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 233s Setting up libsereal-decoder-perl (5.004+ds-1build3) ... 233s Setting up libmarkdown2:armhf (2.2.7-2build1) ... 233s Setting up libcc1-0:armhf (14.1.0-1ubuntu1) ... 233s Setting up liburi-perl (5.28-1) ... 233s Setting up libnet-ipv6addr-perl (1.02-1) ... 233s Setting up libmp3lame0:armhf (3.100-6build1) ... 233s Setting up libblas-dev:armhf (3.12.0-3build1) ... 233s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode 233s Setting up libsz2:armhf (1.1.3-1) ... 233s Setting up libvorbisenc2:armhf (1.3.7-2) ... 233s Setting up libdata-validate-ip-perl (0.31-1) ... 233s Setting up libdrm-amdgpu1:armhf (2.4.121-2) ... 233s Setting up libwacom-common (2.10.0-2) ... 233s Setting up libmousex-nativetraits-perl (1.09-3) ... 233s Setting up libemail-address-xs-perl (1.05-1build4) ... 233s Setting up libwayland-client0:armhf (1.22.0-2.1build1) ... 233s Setting up libnet-ssleay-perl:armhf (1.94-1build4) ... 233s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 233s Setting up automake (1:1.16.5-1.3ubuntu1) ... 233s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 233s Setting up x11proto-dev (2024.1-1) ... 233s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 233s Setting up libfabric1:armhf (1.17.0-3build2) ... 233s Setting up python3-sympy (1.12.1-1) ... 239s Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu3) ... 239s Setting up libice6:armhf (2:1.0.10-1build3) ... 239s Setting up libhttp-date-perl (6.06-1) ... 239s Setting up liblapack3:armhf (3.12.0-3build1) ... 239s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 239s Setting up libqt5dbus5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 239s Setting up libfile-basedir-perl (0.09-2) ... 239s Setting up gettext (0.21-14ubuntu2) ... 239s Setting up libarpack2t64:armhf (3.9.1-1.1build2) ... 239s Setting up libfftw3-single3:armhf (3.3.10-1ubuntu3) ... 239s Setting up libamd3:armhf (1:7.7.0+dfsg-2) ... 239s Setting up libfile-listing-perl (6.16-1) ... 239s Setting up libxau-dev:armhf (1:1.0.9-1build6) ... 239s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 239s Setting up libgbm1:armhf (24.0.9-0ubuntu1) ... 239s Setting up libcolamd3:armhf (1:7.7.0+dfsg-2) ... 239s Setting up libfftw3-bin (3.3.10-1ubuntu3) ... 239s Setting up libwacom9:armhf (2.10.0-2) ... 239s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 239s Setting up liblist-moreutils-perl (0.430-2) ... 239s Setting up libxcursor1:armhf (1:1.2.2-1) ... 239s Setting up libpod-constants-perl (0.19-2) ... 239s Setting up libgl1-mesa-dri:armhf (24.0.9-0ubuntu1) ... 239s Setting up libqt5network5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 239s Setting up libhash-merge-perl (0.302-1) ... 239s Setting up libsoftware-copyright-perl (0.012-2) ... 239s Setting up libaec-dev:armhf (1.1.3-1) ... 239s Setting up libavahi-common3:armhf (0.8-13ubuntu6) ... 239s Setting up libcxsparse4:armhf (1:7.7.0+dfsg-2) ... 239s Setting up libnet-http-perl (6.23-1) ... 239s Setting up libpath-iterator-rule-perl (1.015-2) ... 239s Setting up libtext-markdown-discount-perl (0.16-1build3) ... 239s Setting up libqt5xml5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 239s Setting up libexception-class-perl (1.45-1) ... 239s Setting up libsundials-sunmatrix4:armhf (6.4.1+dfsg1-3build5) ... 239s Setting up libclass-c3-perl (0.35-2) ... 239s Setting up libsuperlu6:armhf (6.0.1+dfsg1-1build1) ... 239s Setting up libhwloc-plugins:armhf (2.10.0-1build1) ... 239s Setting up libqrupdate1:armhf (1.1.2-4build1) ... 239s Setting up libdevel-callchecker-perl:armhf (0.009-1) ... 239s Setting up libxml-sax-perl (1.02+dfsg-3) ... 239s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 239s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 240s 240s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 240s Setting up libsundials-ida6:armhf (6.4.1+dfsg1-3build5) ... 240s Setting up libcamd3:armhf (1:7.7.0+dfsg-2) ... 240s Setting up libinput-bin (1.26.0-1) ... 240s Setting up intltool-debian (0.35.0+20060710.6) ... 240s Setting up libobject-pad-perl (0.808-1build3) ... 240s Setting up libthai0:armhf (0.1.29-2build1) ... 240s Setting up libxdmcp-dev:armhf (1:1.1.3-0ubuntu6) ... 240s Setting up libegl-mesa0:armhf (24.0.9-0ubuntu1) ... 240s Setting up libdata-validate-uri-perl (0.07-3) ... 240s Setting up libtest-exception-perl (0.43-3) ... 240s Setting up libglpk40:armhf (5.0-1build2) ... 240s Setting up libstring-copyright-perl (0.003014-1) ... 240s Setting up libopenexr-3-1-30:armhf (3.1.5-5.1build3) ... 240s Setting up liblapack-dev:armhf (3.12.0-3build1) ... 240s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode 240s Setting up libdata-optlist-perl (0.114-1) ... 240s Setting up libpmix2t64:armhf (5.0.1-4.1build1) ... 240s Setting up libopenmpi3t64:armhf (4.1.6-7ubuntu2) ... 240s Setting up libccolamd3:armhf (1:7.7.0+dfsg-2) ... 240s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-2) ... 240s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 241s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 241s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 241s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 241s Setting up dh-strip-nondeterminism (1.14.0-1) ... 241s Setting up libwww-robotrules-perl (6.02-1) ... 241s Setting up libjack-jackd2-0:armhf (1.9.21~dfsg-3ubuntu3) ... 241s Setting up libgcc-13-dev:armhf (13.2.0-23ubuntu4) ... 241s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu2) ... 241s Setting up libhtml-parser-perl:armhf (3.82-1) ... 241s Setting up libegl1:armhf (1.7.0-1build1) ... 241s Setting up libc6-dev:armhf (2.39-0ubuntu9) ... 241s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 241s Setting up libsndfile1:armhf (1.2.2-1ubuntu5) ... 241s Setting up libmro-compat-perl (0.15-2) ... 241s Setting up libhdf5-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 241s Setting up libgfortran-13-dev:armhf (13.2.0-23ubuntu4) ... 241s Setting up libsm6:armhf (2:1.2.3-1build3) ... 241s Setting up libfftw3-dev:armhf (3.3.10-1ubuntu3) ... 241s Setting up libavahi-client3:armhf (0.8-13ubuntu6) ... 241s Setting up libio-socket-ssl-perl (2.085-1) ... 241s Setting up openmpi-bin (4.1.6-7ubuntu2) ... 241s update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode 241s update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode 241s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 241s Setting up libstdc++-13-dev:armhf (13.2.0-23ubuntu4) ... 241s Setting up libsub-exporter-perl (0.990-1) ... 241s Setting up libhttp-message-perl (6.45-1ubuntu1) ... 241s Setting up libhtml-form-perl (6.11-1) ... 241s Setting up libiterator-perl (0.03+ds1-2) ... 241s Setting up libinput10:armhf (1.26.0-1) ... 241s Setting up libhdf5-hl-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 241s Setting up libportaudio2:armhf (19.6.0-1.2build3) ... 241s Setting up libhttp-negotiate-perl (6.01-2) ... 241s Setting up fontconfig (2.15.0-1.1ubuntu2) ... 243s Regenerating fonts cache... done. 243s Setting up libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu2) ... 243s Setting up libcarp-assert-more-perl (2.4.0-1) ... 243s Setting up libcholmod5:armhf (1:7.7.0+dfsg-2) ... 243s Setting up libptscotch-7.0:armhf (7.0.4-1ubuntu2) ... 243s Setting up libxft2:armhf (2.3.6-1build1) ... 243s Setting up libncurses-dev:armhf (6.5-2) ... 243s Setting up libglx-mesa0:armhf (24.0.9-0ubuntu1) ... 243s Setting up libxcb1-dev:armhf (1.17.0-2) ... 243s Setting up libiterator-util-perl (0.02+ds1-2) ... 243s Setting up libglx0:armhf (1.7.0-1build1) ... 243s Setting up cpp-13 (13.2.0-23ubuntu4) ... 243s Setting up libhttp-cookies-perl (6.11-1) ... 243s Setting up libspqr4:armhf (1:7.7.0+dfsg-2) ... 243s Setting up po-debconf (1.0.21+nmu1) ... 243s Setting up libhtml-tree-perl (5.07-3) ... 243s Setting up libparams-classify-perl:armhf (0.015-2build5) ... 243s Setting up libpango-1.0-0:armhf (1.54.0+ds-1) ... 243s Setting up libhdf5-cpp-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 243s Setting up libcgi-pm-perl (4.65-1) ... 243s Setting up mpi-default-bin (1.15build1) ... 243s Setting up libx11-dev:armhf (2:1.8.7-1build1) ... 243s Setting up libhdf5-fortran-102t64:armhf (1.10.10+repack-3.1ubuntu4) ... 243s Setting up libjxl0.9:armhf (0.9.2-8) ... 243s Setting up libcombblas2.0.0t64:armhf (2.0.0-3.1build2) ... 243s Setting up libfftw3-mpi3:armhf (3.3.10-1ubuntu3) ... 243s Setting up libreadline-dev:armhf (8.2-4build1) ... 243s Setting up libcairo2:armhf (1.18.0-3build1) ... 243s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 243s Setting up libhdf5-openmpi-103-1t64:armhf (1.10.10+repack-3.1ubuntu4) ... 243s Setting up libqt5gui5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 243s Setting up libgl1:armhf (1.7.0-1build1) ... 243s Setting up libnet-smtp-ssl-perl (1.04-2) ... 243s Setting up libmodule-runtime-perl (0.016-2) ... 243s Setting up libmailtools-perl (2.21-3) ... 243s Setting up libklu2:armhf (1:7.7.0+dfsg-2) ... 243s Setting up libconfig-model-perl (2.153-3) ... 243s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 243s Setting up gcc-13 (13.2.0-23ubuntu4) ... 243s Setting up texinfo (7.1-3build2) ... 243s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu2) ... 243s Setting up libumfpack6:armhf (1:7.7.0+dfsg-2) ... 243s Setting up libconst-fast-perl (0.014-2) ... 243s Setting up cpp (4:13.2.0-7ubuntu1) ... 243s Setting up libdata-section-perl (0.200008-1) ... 243s Setting up libglx-dev:armhf (1.7.0-1build1) ... 243s Setting up libpangoft2-1.0-0:armhf (1.54.0+ds-1) ... 243s Setting up libjpeg8-dev:armhf (8c-2ubuntu11) ... 243s Setting up libdata-dpath-perl (0.59-1) ... 243s Setting up libhdf5-hl-cpp-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 243s Setting up libfltk1.3t64:armhf (1.3.8-6.1build2) ... 243s Setting up libcups2t64:armhf (2.4.7-1.2ubuntu7) ... 243s Setting up libgl-dev:armhf (1.7.0-1build1) ... 243s Setting up libstring-rewriteprefix-perl (0.009-1) ... 243s Setting up libpangocairo-1.0-0:armhf (1.54.0+ds-1) ... 243s Setting up libscalapack-openmpi2.2:armhf (2.2.1-3.1ubuntu1) ... 243s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 243s Setting up g++-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 243s Setting up gfortran-13-arm-linux-gnueabihf (13.2.0-23ubuntu4) ... 243s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 243s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 243s Setting up g++-13 (13.2.0-23ubuntu4) ... 243s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 243s Setting up libtool (2.4.7-7build1) ... 243s Setting up libmodule-implementation-perl (0.09-2) ... 243s Setting up libqt5widgets5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 243s Setting up libsuperlu-dist8:armhf (8.2.1+dfsg1-1build2) ... 243s Setting up libpackage-stash-perl (0.40-1) ... 243s Setting up libimport-into-perl (1.002005-2) ... 243s Setting up libmoo-perl (2.005005-1) ... 243s Setting up libjpeg-dev:armhf (8c-2ubuntu11) ... 243s Setting up libhdf5-hl-fortran-100t64:armhf (1.10.10+repack-3.1ubuntu4) ... 243s Setting up liblist-someutils-perl (0.59-1) ... 243s Setting up libxaw7:armhf (2:1.0.14-1build2) ... 243s Setting up libmime-tools-perl (5.515-1) ... 243s Setting up libqt5help5:armhf (5.15.13-3) ... 243s Setting up libsoftware-license-perl (0.104006-1) ... 243s Setting up libclass-load-perl (0.25-2) ... 243s Setting up gcc (4:13.2.0-7ubuntu1) ... 243s Setting up libgl2ps1.4 (1.4.2+dfsg1-2build1) ... 243s Setting up gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 243s Setting up dh-autoreconf (20) ... 243s Setting up libfltk-gl1.3t64:armhf (1.3.8-6.1build2) ... 243s Setting up gfortran-13 (13.2.0-23ubuntu4) ... 243s Setting up libmumps-5.6t64:armhf (5.6.2-2.1build2) ... 243s Setting up libhdf5-dev (1.10.10+repack-3.1ubuntu4) ... 243s update-alternatives: using /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5-serial.pc to provide /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 243s Setting up libhypre-2.28.0:armhf (2.28.0-8build2) ... 243s Setting up g++ (4:13.2.0-7ubuntu1) ... 243s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 243s Setting up libpetsc-real3.19t64:armhf (3.19.6+dfsg1-2.2ubuntu2) ... 243s update-alternatives: using /usr/lib/arm-linux-gnueabihf/libpetsc_real.so.3.19.6 to provide /usr/lib/arm-linux-gnueabihf/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode 243s Setting up libmoox-aliases-perl (0.001006-2) ... 243s Setting up libparams-validate-perl:armhf (1.31-2build3) ... 243s Setting up libb-hooks-endofscope-perl (0.28-1) ... 243s Setting up libqt5printsupport5t64:armhf (5.15.13+dfsg-1ubuntu1) ... 243s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 243s Setting up x11-xkb-utils (7.7+8build2) ... 243s Setting up debhelper (13.15.3ubuntu2) ... 243s Setting up libqscintilla2-qt5-15:armhf (2.14.1+dfsg-1build4) ... 243s Setting up gfortran (4:13.2.0-7ubuntu1) ... 243s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 243s 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 243s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 243s 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 243s Setting up libnamespace-clean-perl (0.27-2) ... 243s Setting up libstring-license-perl (0.0.9-2ubuntu1) ... 243s Setting up libsundials-nvecparallel-petsc6:armhf (6.4.1+dfsg1-3build5) ... 243s Setting up libgetopt-long-descriptive-perl (0.111-1) ... 243s Setting up xserver-common (2:21.1.12-1ubuntu1) ... 243s Setting up licensecheck (3.3.9-1ubuntu1) ... 243s Setting up libapp-cmd-perl (0.336-1) ... 243s Setting up xvfb (2:21.1.12-1ubuntu1) ... 243s Setting up libsundials-sunlinsol3:armhf (6.4.1+dfsg1-3build5) ... 243s Setting up cme (1.040-1) ... 243s Setting up libheif-plugin-aomdec:armhf (1.17.6-3build1) ... 243s Setting up libwww-perl (6.77-1) ... 243s Setting up libheif1:armhf (1.17.6-3build1) ... 243s Setting up libparse-debcontrol-perl (2.005-6) ... 243s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 243s Setting up libwww-mechanize-perl (2.18-1ubuntu1) ... 243s Setting up libgd3:armhf (2.3.3-9ubuntu5) ... 243s Setting up gnuplot-nox (6.0.0+dfsg1-1ubuntu3) ... 243s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 243s Setting up liblwp-protocol-https-perl (6.14-1) ... 243s Setting up libheif-plugin-libde265:armhf (1.17.6-3build1) ... 243s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.43-1build2) ... 243s Setting up lintian (2.117.0ubuntu2) ... 243s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.43-1build2) ... 243s Setting up libconfig-model-dpkg-perl (3.005) ... 243s Setting up dh-octave-autopkgtest (1.8.0) ... 243s Setting up octave (8.4.0-1build5) ... 244s Setting up octave-dev (8.4.0-1build5) ... 244s Setting up dh-octave (1.8.0) ... 244s Setting up octave-symbolic (3.1.1-2) ... 244s Setting up autopkgtest-satdep (0) ... 244s Processing triggers for libc-bin (2.39-0ubuntu9) ... 244s Processing triggers for man-db (2.12.1-2) ... 246s Processing triggers for udev (255.4-1ubuntu8) ... 246s Processing triggers for install-info (7.1-3build2) ... 304s (Reading database ... 77858 files and directories currently installed.) 304s Removing autopkgtest-satdep (0) ... 310s autopkgtest [10:26:46]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 310s autopkgtest [10:26:46]: test command1: [----------------------- 312s Checking package... 312s Run the unit tests... 313s Checking m files ... 313s [inst/@double/adjoint.m] 313s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/adjoint.m 313s ***** test 313s M = [1 2; 3 4]; 313s A = [4 -2; -3 1]; 313s assert (isequal (adjoint (M), A)); 314s Symbolic pkg v3.1.1: Python communication link active, SymPy v1.12.1. 314s ***** test 314s assert (isequal (adjoint (42), 1)); 314s warning: test: file /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/adjoint.m leaked file descriptors 314s 2 tests, 2 passed, 0 known failure, 0 skipped 314s [inst/@double/bernoulli.m] 314s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/bernoulli.m 314s ***** error bernoulli (1, 2, 3) 314s ***** error bernoulli ([1 2], [1 2 3]) 314s ***** error bernoulli ([1 2], [1; 2]) 314s ***** assert (bernoulli (0), 1) 314s ***** assert (bernoulli (3), 0) 314s ***** test 314s % two different definitions in literature 314s assert (abs (bernoulli (1)), 0.5, -eps) 314s ***** xtest 314s % we want to use B_1 = 1/2, possible with a version-specific filter 314s assert (bernoulli (1), 0.5, -eps) 314s !!!!! known failure 314s ASSERT errors for: assert (bernoulli (1),0.5,-eps) 314s 314s Location | Observed | Expected | Reason 314s () -0.5 0.5 Rel err 2 exceeds tol 2.2204e-16 by 2 314s ***** test 314s n = sym(88); 314s m = 88; 314s A = bernoulli (m); 314s B = double (bernoulli (n)); 314s assert (A, B, -eps); 314s ***** test 314s m = [0 2; 3 4]; 314s n = sym(m); 314s A = bernoulli (m); 314s B = double (bernoulli (n)); 314s assert (isequal (A, B)); 314s ***** test 314s y = sym(19)/10; 314s n = sym(2); 314s x = 1.9; 314s m = 2; 314s A = bernoulli (m, x); 314s B = double (bernoulli (n, y)); 314s assert (A, B, -eps); 314s ***** test 314s assert (isequal (bernoulli (4, inf), inf)) 314s assert (isequal (bernoulli (4, -inf), inf)) 314s ***** xtest 314s % still broken? 314s assert (isequal (bernoulli (3, inf), inf)) 314s assert (isequal (bernoulli (3, -inf), -inf)) 314s ***** test 314s assert (isnan (bernoulli(3, nan))) 314s assert (isnumeric (bernoulli(3, nan))) 314s ***** test 314s % maple, complex input 314s A = 34.21957245745810513 - 130.0046256649829101i; 314s B = bernoulli(7, 2.123 + 1.234i); 314s assert (A, B, -5*eps); 314s ***** test 314s % x matrix, m scalar 314s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 314s n = sym(2); 314s x = double (y); 314s m = 2; 314s A = bernoulli (m, x); 314s B = double (bernoulli (n, y)); 314s assert (A, B, -eps); 315s ***** test 315s % m matrix, x scalar 315s m = [1 2 3; 4 5 6]; 315s n = sym(m); 315s y = sym(21)/10; 315s x = 2.1; 315s A = bernoulli (m, x); 315s B = double (bernoulli (n, y)); 315s assert (A, B, -3*eps); 315s 16 tests, 15 passed, 1 known failure, 0 skipped 315s [inst/@double/chebyshevT.m] 315s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/chebyshevT.m 315s ***** error chebyshevT (1) 316s ***** error chebyshevT (1, 2, 3) 316s ***** error chebyshevT ([1 2], [1 2 3]) 316s ***** error chebyshevT ([1 2], [1; 2]) 316s ***** test 316s y = sym(11)/10; 316s t = sym(2); 316s x = 1.1; 316s s = 2; 316s A = chebyshevT (s, x); 316s B = double (chebyshevT (t, y)); 316s assert (A, B, -2*eps); 316s ***** test 316s % maple 316s A = -0.304681164165948269030369; 316s B = chebyshevT (18.1, 0.9); 316s assert (A, B, -10*eps) 316s ***** test 316s % maple, complex inputs 316s % ChebyshevT(12.1+3.1*I, 0.5+0.2*I); 316s A = 0.637229289490379273451 - 0.475324703778957991318*1i; 316s B = chebyshevT (12.1+3.1*i, 0.5+0.2i); 316s assert (A, B, -5*eps); 316s ***** test 316s % maple, matrix inputs 316s A = [0.59523064198266880000 0.57727442996887552000]; 316s B = chebyshevT ([16 17], [0.9 0.7]); 316s assert (A, B, -10*eps); 316s ***** test 316s % x matrix, s scalar 316s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 316s t = sym(2); 316s x = double (y); 316s s = 2; 316s A = chebyshevT (s, x); 316s B = double (chebyshevT (t, y)); 316s assert (A, B, -eps); 316s ***** test 316s % s matrix, x scalar 316s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 316s y = sym(2); 316s s = double (t); 316s x = 2; 316s A = chebyshevT (s, x); 316s B = double (chebyshevT (t, y)); 316s assert (A, B, -eps); 317s ***** xtest 317s % https://github.com/fredrik-johansson/mpmath/issues/469 317s assert (chebyshevT (4, inf), inf) 317s assert (chebyshevT (4, -inf), inf) 317s assert (chebyshevT (3, inf), inf) 317s assert (chebyshevT (3, -inf), -inf) 317s !!!!! known failure 317s ASSERT errors for: assert (chebyshevT (4, inf),inf) 317s 317s Location | Observed | Expected | Reason 317s () 1 Inf 'Inf' mismatch 317s 11 tests, 10 passed, 1 known failure, 0 skipped 317s [inst/@double/chebyshevU.m] 317s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/chebyshevU.m 317s ***** error chebyshevU (1) 317s ***** error chebyshevU (1, 2, 3) 317s ***** error chebyshevU ([1 2], [1 2 3]) 317s ***** error chebyshevU ([1 2], [1; 2]) 317s ***** test 317s y = sym(11)/10; 317s t = sym(2); 317s x = 1.1; 317s s = 2; 317s A = chebyshevU (s, x); 317s B = double (chebyshevU (t, y)); 317s assert (A, B, -2*eps); 317s ***** test 317s % maple 317s A = 1.661891066691338157; 317s B = chebyshevU (18.1, 0.9); 317s assert (A, B, -3*eps) 317s ***** test 317s % maple, complex inputs> 317s % ChebyshevU(12.1+3.1*I, 0.5+0.2*I); 317s A = 1.046959313670290818 - 0.03386773634958834846*1i; 317s B = chebyshevU (12.1+3.1*i, 0.5+0.2i); 317s assert (A, B, -3*eps); 317s ***** test 317s % maple, matrix inputs 317s A = [2.2543638828875776000 -1.3872651600553574400]; 317s B = chebyshevU ([16 17], [0.9 0.8]); 317s assert (A, B, -10*eps); 317s ***** test 317s % x matrix, s scalar 317s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 317s t = sym(2); 317s x = double (y); 317s s = 2; 317s A = chebyshevU (s, x); 317s B = double (chebyshevU (t, y)); 317s assert (A, B, -eps); 318s ***** test 318s % s matrix, x scalar 318s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 318s y = sym(2); 318s s = double (t); 318s x = 2; 318s A = chebyshevU (s, x); 318s B = double (chebyshevU (t, y)); 318s assert (A, B, -2*eps); 318s ***** xtest 318s % https://github.com/fredrik-johansson/mpmath/issues/469 318s assert (chebyshevU (4, inf), inf) 318s assert (chebyshevU (4, -inf), inf) 318s assert (chebyshevU (3, inf), inf) 318s assert (chebyshevU (3, -inf), -inf) 318s !!!!! known failure 318s ASSERT errors for: assert (chebyshevU (4, inf),inf) 318s 318s Location | Observed | Expected | Reason 318s () 5 Inf 'Inf' mismatch 318s 11 tests, 10 passed, 1 known failure, 0 skipped 318s [inst/@double/coshint.m] 318s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/coshint.m 318s ***** error coshint (1, 2) 318s ***** test 318s x = 1.1; 318s y = sym(11)/10; 318s A = coshint (x); 318s B = double (coshint (y)); 318s assert (A, B, -4*eps); 318s ***** test 318s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 318s x = double (y); 318s A = coshint (x); 318s B = double (coshint (y)); 318s assert (A, B, -4*eps); 319s ***** test 319s % maple: 319s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 319s % > for a in A do evalf(Chi(a)) end do; 319s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 319s A = [ 0.58447599687824767874 + 1.8682915044330306402*1i 319s -0.63131069034703116988 + 1.8986171211850702957*1i 319s 0.13577763724269399110e42 319s -0.045456433004455372635 + 1.5707963267948966192*1i 319s -8.6330747070747332203 + 3.1315929868531280002*1i 319s 0.74701205140887966531e7 + 0.10381444259644068585e8*1i ]; 319s B = coshint (x); 319s assert (A, B, -eps) 319s ***** assert (coshint (inf), inf) 319s ***** assert (isinf (coshint (-inf))) 319s ***** assert (imag (coshint (-inf)), pi) 319s 7 tests, 7 passed, 0 known failure, 0 skipped 319s [inst/@double/cosint.m] 319s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/cosint.m 319s ***** error cosint (1, 2) 319s ***** test 319s x = 1.1; 319s y = sym(11)/10; 319s A = cosint (x); 319s B = double (cosint (y)); 319s assert (A, B, -4*eps); 319s ***** test 319s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 319s x = double (y); 319s A = cosint (x); 319s B = double (cosint (y)); 319s assert (A, B, -4*eps); 320s ***** test 320s % maple: 320s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 320s % > for a in A do evalf(Ci(a)) end do; 320s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 320s A = [ 2.0302963932917216378 - 0.15190715517585688438*1i 320s 1.6153896382910774851 + 19.725754055338264980*1i 320s -0.0051488251426104921444 320s 1246.1144860424544147 + 1.5707963267948966192*1i 320s -8.6330747120742332203 + 3.1315929869531280002*1i 320s 0.069822228467306149311 - 3.1184744625477294643*1i ]; 320s B = cosint (x); 320s assert (A, B, -eps) 320s ***** xtest 320s % is it nan or -inf? SymPy says zoo. 320s assert (isnan (cosint (0))) 320s !!!!! known failure 320s assert (isnan (cosint (0))) failed 320s ***** assert (cosint (inf), 0) 320s ***** assert (cosint (-inf), pi*1i, -eps) 320s ***** assert (cosint (1), 0.33740392290096813466, -eps) 320s ***** assert (cosint (-1), 0.33740392290096813466 + pi*1i, -eps) 320s ***** assert (cosint (pi), 0.073667912046425485978, -5*eps) 320s ***** assert (cosint (-pi), 0.07366791204642548597821 + pi*1i, -5*eps) 320s ***** assert (cosint (300), -3.3321999185921117800e-3, -2*eps) 320s ***** assert (cosint (1e4), -3.0551916724485212665e-5, -2*eps) 320s ***** assert (cosint (1 + 1i), 0.8821721805559363250506+0.2872491335199559395273*1i, eps) 320s ***** assert (cosint (1i), 0.8378669409802082408947 + pi/2*1i, -2*eps) 320s ***** test 320s % compare both sinint and cosint to expint 320s x = pi; 320s C1 = cosint (x); 320s S1 = sinint (x); 320s R = expint (1i*x); 320s C2 = -real (R); 320s S2 = imag (R) + pi/2; 320s assert (C1, C2, -100*eps); 320s assert (S1, S2, -100*eps); 320s 16 tests, 15 passed, 1 known failure, 0 skipped 320s [inst/@double/dilog.m] 320s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/dilog.m 320s ***** test 320s x = 1.1; 320s y = sym(11)/10; 320s A = dilog (x); 320s B = double (dilog (y)); 320s assert (A, B, -4*eps); 320s ***** test 320s y = [2 2 sym(pi); exp(sym(1)) 5 6]; 320s x = double (y); 320s A = dilog (x); 320s B = double (dilog (y)); 320s assert (A, B, -eps); 320s ***** test 320s % maple: 320s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 320s % > for a in A do evalf(dilog(a)) end do; 320s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 320s A = [ -0.59248494924959145800 - 1.5760154034463234224*1i 320s -1.0549087538833908441 - 3.8759788000863368495*1i 320s -12.192421669033171348 320s -2.9195729380904939394 - 3.9540920181102973073*1i 320s 1.6459519160623984119 - 0.00032335296277550987686*1i 320s -1.5445800511775466879 + 9.4256034277816069684*1i ]; 320s B = dilog (x); 320s assert (A, B, -eps) 320s ***** xtest 320s % https://github.com/fredrik-johansson/mpmath/issues/473 320s assert (isinf (dilog (inf))) 320s !!!!! known failure 320s assert (isinf (dilog (inf))) failed 320s ***** assert (isnan (dilog (-inf))) 320s 5 tests, 4 passed, 1 known failure, 0 skipped 320s [inst/@double/euler.m] 320s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/euler.m 320s ***** error euler (1, 2, 3) 320s ***** error euler ([1 2], [1 2 3]) 320s ***** error euler ([1 2], [1; 2]) 320s ***** assert (isequal (euler (0), 1)) 320s ***** assert (isequal (euler (1), 0)) 320s ***** assert (isequal (euler (10), -50521)) 320s ***** test 320s n = sym(88); 320s m = 88; 320s A = euler (m); 320s B = double (euler (n)); 320s assert (A, B, -eps); 321s ***** test 321s m = [0 1; 2 4]; 321s n = sym(m); 321s A = euler (m); 321s B = double (euler (n)); 321s assert (isequal (A, B)); 321s ***** test 321s y = sym(19)/10; 321s n = sym(2); 321s x = 1.9; 321s m = 2; 321s A = euler (m, x); 321s B = double (euler (n, y)); 321s assert (A, B, -eps); 321s ***** test 321s % correct behaviour at floating point infinity 321s assert (isequal (euler (4, inf), inf)) 321s assert (isequal (euler (4, -inf), inf)) 321s assert (isequal (euler (3, inf), inf)) 321s assert (isequal (euler (3, -inf), -inf)) 321s ***** test 321s assert (isnan (euler(3, nan))) 321s assert (isnumeric (euler(3, nan))) 321s ***** test 321s % maple, complex input 321s A = 113.33970046079423204 - 46.991080726974811540i; 321s B = euler(7, 2.12345 + 1.23i); 321s assert (A, B, -eps); 321s ***** test 321s % maple, complex input, large m, small x 321s A = 0.18034673393294025238e276 + 0.27756266681280689172e276*i; 321s B = euler (200, 0.123+0.234i); 321s assert (A, B, -eps); 321s ***** test 321s % x matrix, m scalar 321s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 321s n = sym(2); 321s x = double (y); 321s m = 2; 321s A = euler (m, x); 321s B = double (euler (n, y)); 321s assert (A, B, -eps); 321s ***** test 321s % m matrix, x scalar 321s m = [1 2 3; 4 5 6]; 321s n = sym(m); 321s y = sym(21)/10; 321s x = 2.1; 321s A = euler (m, x); 321s B = double (euler (n, y)); 321s assert (A, B, -3*eps); 322s 15 tests, 15 passed, 0 known failure, 0 skipped 322s [inst/@double/fresnelc.m] 322s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/fresnelc.m 322s ***** error fresnelc (1, 2) 322s ***** test 322s x = 1.1; 322s y = sym(11)/10; 322s A = fresnelc (x); 322s B = double (fresnelc (y)); 322s assert (A, B, -4*eps); 322s ***** test 322s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 322s x = double (y); 322s A = fresnelc (x); 322s B = double (fresnelc (y)); 322s assert (A, B, -4*eps); 323s ***** test 323s % maple: 323s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 323s % > for a in A do evalf(FresnelC(a)) end do; 323s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 323s A = [ 16.087871374125480424 - 36.225687992881650217*1i 323s 0.47688568479874574722e12 + 0.12213736710985573216e13*1i 323s 0.49999989867881789756 323s 0.49989869420551572361*1i 323s -0.000099999999999999997535 + 0.99999999999999987665e-6*1i 323s 0.15391592966931193100e26 - 0.75738824160998910388e24*1i ]; 323s B = fresnelc (x); 323s assert (A, B, -eps) 323s ***** assert (fresnelc (inf), 0.5) 323s ***** assert (fresnelc (-inf), -0.5) 323s 6 tests, 6 passed, 0 known failure, 0 skipped 323s [inst/@double/fresnels.m] 323s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/fresnels.m 323s ***** error fresnels (1, 2) 323s ***** test 323s x = 1.1; 323s y = sym(11)/10; 323s A = fresnels (x); 323s B = double (fresnels (y)); 323s assert (A, B, -4*eps); 323s ***** test 323s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 323s x = double (y); 323s A = fresnels (x); 323s B = double (fresnels (y)); 323s assert (A, B, -4*eps); 323s ***** test 323s % maple: 323s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 323s % > for a in A do evalf(FresnelS(a)) end do; 323s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 323s A = [ 36.725464883991438430 + 15.587751104404587334*1i 323s 0.12213736710980573217e13 - 0.47688568479924574726e12*1i 323s 0.49681690114783755327 323s -0.46816997858488224040*1i 323s -0.52344169596561937423e-12 + 0.15707439669173367248e-13*1i 323s 0.75738824160998910399e24 + 0.15391592966931193100e26*1i ]; 323s B = fresnels (x); 323s assert (A, B, -eps) 323s ***** assert (fresnels (inf), 0.5) 323s ***** assert (fresnels (-inf), -0.5) 323s 6 tests, 6 passed, 0 known failure, 0 skipped 323s [inst/@double/harmonic.m] 323s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/harmonic.m 323s ***** error harmonic (1, 2) 323s ***** test 323s x = 1.1; 323s y = sym(11)/10; 323s A = harmonic (x); 323s B = double (harmonic (y)); 323s assert (A, B, -4*eps); 323s ***** test 323s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 323s x = double (y); 323s A = harmonic (x); 323s B = double (harmonic (y)); 323s assert (A, B, -4*eps); 324s 3 tests, 3 passed, 0 known failure, 0 skipped 324s [inst/@double/logint.m] 324s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/logint.m 324s ***** error logint (1, 2) 324s ***** test 324s x = 1.1; 324s y = sym(11)/10; 324s A = logint (x); 324s B = double (logint (y)); 324s assert (A, B, -4*eps); 324s ***** test 324s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 324s x = double (y); 324s A = logint (x); 324s B = double (logint (y)); 324s assert (A, B, -4*eps); 325s ***** test 325s % maple: 325s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 325s % > for a in A do evalf(Li(a)) end do; 325s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 325s A = [ 1.3876787420229375511 + 2.5087546988592328752*1i 325s 1.6987684473874802274 + 4.5936366057115204667*1i 325s 30.126141584079629926 325s 3.4936715673748995398 + 5.5260023797127391973*1i 325s 0.90264689772681592152e-5 + 3.1415953634267361942*1i 325s -2.3996350854560916779 - 7.6971739096353664559*1i ]; 325s B = logint (x); 325s assert (A, B, -eps) 325s ***** assert (logint (inf), inf) 325s ***** assert (isnan (logint (-inf))) 325s 6 tests, 6 passed, 0 known failure, 0 skipped 325s [inst/@double/pochhammer.m] 325s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/pochhammer.m 325s ***** error pochhammer (1) 325s ***** error pochhammer (1, 2, 3) 325s ***** error pochhammer ([1 2], [1 2 3]) 325s ***** error pochhammer ([1 2], [1; 2]) 325s ***** test 325s y = sym(11)/10; 325s t = sym(3); 325s x = 1.1; 325s s = 3; 325s A = pochhammer (x, s); 325s B = double (pochhammer (y, t)); 325s assert (A, B, -2*eps); 325s ***** test 325s % maple 325s A = 256.798558090310131720; 325s B = pochhammer (18.1, 1.9); 325s assert (A, B, -20*eps) 325s ***** test 325s % maple, complex inputs> 325s A = 2.67921619474318221972 + 1.96716724764630702653*1i; 325s B = pochhammer (12.1+3.1*i, 0.5+0.2i); 325s assert (A, B, -4*eps); 325s ***** test 325s % maple, matrix inputs 325s A = [5.61467232547723663908 20.6144884613920190965]; 325s B = pochhammer ([0.9 0.8], [3.1 4.2]); 325s assert (A, B, -3*eps); 325s ***** test 325s % x matrix, s scalar 325s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 325s t = sym(2); 325s x = double (y); 325s s = 2; 325s A = pochhammer (s, x); 325s B = double (pochhammer (t, y)); 325s assert (A, B, -3*eps); 326s ***** test 326s % s matrix, x scalar 326s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 326s y = sym(2); 326s s = double (t); 326s x = 2; 326s A = pochhammer (s, x); 326s B = double (pochhammer (t, y)); 326s assert (A, B, -5*eps); 326s 10 tests, 10 passed, 0 known failure, 0 skipped 326s [inst/@double/polylog.m] 326s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/polylog.m 326s ***** error polylog (1) 326s ***** error polylog (1, 2, 3) 326s ***** error polylog ([1 2], [1 2 3]) 326s ***** error polylog ([1 2], [1; 2]) 326s ***** test 326s y = sym(11)/10; 326s t = sym(2); 326s x = 1.1; 326s s = 2; 326s A = polylog (s, x); 326s B = double (polylog (t, y)); 326s assert (A, B, -eps); 326s ***** test 326s % maple 326s A = 2.3201804233130983964 - 3.4513922952232026614*1i; 326s B = polylog (2, 3); 326s assert (A, B, -eps) 326s ***** test 326s % maple, complex inputs 326s A = -11.381456201167411758 + 6.2696695219721651947*1i; 326s B = polylog (1+2i, 3+4i); 326s assert (A, B, -eps); 327s ***** test 327s % maple, matrix inputs 327s A1 = 0.47961557317612748431 - 0.52788287823025778869*1i; 327s A2 = -0.0049750526563452645369 - 0.024579343612396884851*1i; 327s B = polylog ([-1-2i -3], [30+40i 40i]); 327s assert ([A1 A2], B, -eps); 327s ***** test 327s % x matrix, s scalar 327s y = [1 2 sym(pi); exp(sym(1)) 5 6]; 327s t = sym(2); 327s x = double (y); 327s s = 2; 327s A = polylog (s, x); 327s B = double (polylog (t, y)); 327s assert (A, B, -eps); 327s ***** test 327s % s matrix, x scalar 327s t = [1 2 sym(pi); exp(sym(1)) 5 6]; 327s y = sym(2); 327s s = double (t); 327s x = 2; 327s A = polylog (s, x); 327s B = double (polylog (t, y)); 327s assert (A, B, -eps); 328s 10 tests, 10 passed, 0 known failure, 0 skipped 328s [inst/@double/sinhint.m] 328s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/sinhint.m 328s ***** error sinhint (1, 2) 328s ***** test 328s x = 1.1; 328s y = sym(11)/10; 328s A = sinhint (x); 328s B = double (sinhint (y)); 328s assert (A, B, -4*eps); 328s ***** test 328s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 328s x = double (y); 328s A = sinhint (x); 328s B = double (sinhint (y)); 328s assert (A, B, -4*eps); 329s ***** test 329s % maple: 329s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 329s % > for a in A do evalf(Shi(a)) end do; 329s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 329s A = [ 0.45769171128668800567 + 1.8332099215048436239*1i 329s 0.60888490416819746440 + 1.2482232175376056201*1i 329s 0.13577763724269399110e42 329s 1.6583475942188740493*1i 329s -0.00010000000005553888891 + 0.10000000016666111119e-5*1i 329s -0.74701205140887967022e7 - 0.10381447401236722090e8*1i ]; 329s B = sinhint (x); 329s assert (A, B, -eps) 329s ***** assert (sinhint (inf), inf) 329s ***** assert (sinhint (-inf), -inf) 329s 6 tests, 6 passed, 0 known failure, 0 skipped 329s [inst/@double/sinint.m] 329s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/sinint.m 329s ***** error sinint (1, 2) 329s ***** test 329s x = 1.1; 329s y = sym(11)/10; 329s A = sinint (x); 329s B = double (sinint (y)); 329s assert (A, B, -4*eps); 329s ***** test 329s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 329s x = double (y); 329s A = sinint (x); 329s B = double (sinint (y)); 329s assert (A, B, -4*eps); 329s ***** assert (sinint (0), 0) 329s ***** assert (sinint (inf), pi/2) 329s ***** assert (sinint (-inf), -pi/2) 329s ***** assert (sinint (1), 0.9460830703671830149414, -2*eps) 329s ***** assert (sinint (-1), -0.9460830703671830149414, -2*eps) 329s ***** assert (sinint (pi), 1.851937051982466170361, -2*eps) 329s ***** assert (sinint (-pi), -1.851937051982466170361, -2*eps) 329s ***** assert (sinint (300), 1.5708810882137495193, -2*eps) 329s ***** assert (sinint (1e4), 1.5708915453859619157, -2*eps) 329s ***** assert (sinint (20i), 1.2807826332028294459e7*1i, -2*eps) 329s ***** test 329s % maple: 329s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 329s % > for a in A do evalf(Si(a)) end do; 329s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 329s A = [ 1.6782404878293681180 + 2.0396845546022061045*1i 329s -18.154174221650281533 + 1.6146414539230479060*1i 329s 1.5622254668890562934 329s 1246.1144901994233444*1i 329s -0.000099999999944461111128 + 0.99999999833338888972e-6*1i 329s -1.5386156269726011209 - 0.053969388020443786229*1i ]; 329s B = sinint (x); 329s assert (A, B, -eps) 329s 14 tests, 14 passed, 0 known failure, 0 skipped 329s [inst/@double/zeta.m] 329s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@double/zeta.m 329s ***** error zeta (1, 2, 3) 329s ***** assert (isnan (zeta (nan))) 329s ***** test 329s x = 1.1; 329s y = sym(11)/10; 329s A = zeta (x); 329s B = double (zeta (y)); 329s assert (A, B, -4*eps); 329s ***** test 329s y = [2 3 sym(pi); exp(sym(1)) 5 6]; 329s x = double (y); 329s A = zeta (x); 329s B = double (zeta (y)); 329s assert (A, B, -4*eps); 330s ***** test 330s % maple: 330s % > A := [1+2*I, -2 + 5*I, 100, 10*I, -1e-4 + 1e-6*I, -20 + I]; 330s % > for a in A do evalf(Zeta(a)) end do; 330s x = [1+2i; -2+5i; 100; 10i; -1e-4 + 1e-6*1i; -20-1i]; 330s A = [ 0.59816556976238173670 - 0.35185474521784529050*1i 330s 0.21425967567391921717 + 0.52503846985036050707*1i 330s 1.0 330s 1.7564685929749629608 - 0.10151198543617116894*1i 330s -0.49990811617645824900 - 0.91873792757763831501e-6*1i 330s 175.09070083717643866 - 71.512541417467273425*1i ]; 330s B = zeta (x); 330s assert (A, B, -eps) 330s ***** assert (zeta (inf), 1.0) 330s 6 tests, 6 passed, 0 known failure, 0 skipped 330s [inst/@logical/isAlways.m] 330s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@logical/isAlways.m 330s ***** error isAlways (true, false) 330s ***** assert(isAlways(true)) 330s ***** assert(~isAlways(false)) 330s 3 tests, 3 passed, 0 known failure, 0 skipped 330s [inst/@sym/abs.m] 330s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/abs.m 330s ***** error abs (sym(1), 2) 330s ***** assert (isequaln (abs (sym(nan)), sym(nan))) 330s ***** shared x, d 330s d = -1; 330s x = sym('-1'); 330s ***** test 330s f1 = abs(x); 330s f2 = abs(d); 330s assert( abs(double(f1) - f2) < 1e-15 ) 330s ***** test 330s D = [d d; d d]; 330s A = [x x; x x]; 330s f1 = abs(A); 330s f2 = abs(D); 330s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 330s ***** test 330s % round trip 330s y = sym('y'); 330s A = abs (d); 330s f = abs (y); 330s h = function_handle (f); 330s B = h (d); 330s assert (A, B, -eps) 330s 5 tests, 5 passed, 0 known failure, 0 skipped 330s [inst/@sym/acos.m] 330s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acos.m 330s ***** error acos (sym(1), 2) 330s ***** assert (isequaln (acos (sym(nan)), sym(nan))) 330s ***** shared x, d 330s d = 1; 330s x = sym('1'); 330s ***** test 330s f1 = acos(x); 330s f2 = acos(d); 330s assert( abs(double(f1) - f2) < 1e-15 ) 330s ***** test 330s D = [d d; d d]; 330s A = [x x; x x]; 330s f1 = acos(A); 330s f2 = acos(D); 330s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 331s ***** test 331s % round trip 331s y = sym('y'); 331s A = acos (d); 331s f = acos (y); 331s h = function_handle (f); 331s B = h (d); 331s assert (A, B, -eps) 331s 5 tests, 5 passed, 0 known failure, 0 skipped 331s [inst/@sym/acosd.m] 331s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acosd.m 331s ***** error acosd (sym(1), 2) 331s ***** assert (isequaln (acosd (sym(nan)), sym(nan))) 331s ***** test 331s f1 = acosd (sym(1)/2); 331s f2 = acosd (1/2); 331s assert (double (f1), f2, -eps) 331s ***** test 331s D = [1 2; 3 4]/4; 331s A = sym([1 2; 3 4])/4; 331s f1 = acosd (A); 331s f2 = acosd (D); 331s assert (double (f1), f2, -eps) 331s 4 tests, 4 passed, 0 known failure, 0 skipped 331s [inst/@sym/acosh.m] 331s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acosh.m 331s ***** error acosh (sym(1), 2) 331s ***** assert (isequaln (acosh (sym(nan)), sym(nan))) 331s ***** shared x, d 331s d = 1; 331s x = sym('1'); 331s ***** test 331s f1 = acosh(x); 331s f2 = acosh(d); 331s assert( abs(double(f1) - f2) < 1e-15 ) 331s ***** test 331s D = [d d; d d]; 331s A = [x x; x x]; 331s f1 = acosh(A); 331s f2 = acosh(D); 331s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 331s ***** test 331s % round trip 331s y = sym('y'); 331s A = acosh (d); 331s f = acosh (y); 331s h = function_handle (f); 331s B = h (d); 331s assert (A, B, -eps) 331s 5 tests, 5 passed, 0 known failure, 0 skipped 331s [inst/@sym/acot.m] 331s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acot.m 331s ***** error acot (sym(1), 2) 331s ***** assert (isequaln (acot (sym(nan)), sym(nan))) 331s ***** shared x, d 331s d = 1; 331s x = sym('1'); 331s ***** test 331s f1 = acot(x); 331s f2 = acot(d); 331s assert( abs(double(f1) - f2) < 1e-15 ) 331s ***** test 331s D = [d d; d d]; 331s A = [x x; x x]; 331s f1 = acot(A); 331s f2 = acot(D); 331s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 332s ***** test 332s % round trip 332s y = sym('y'); 332s A = acot (d); 332s f = acot (y); 332s h = function_handle (f); 332s B = h (d); 332s assert (A, B, -eps) 332s 5 tests, 5 passed, 0 known failure, 0 skipped 332s [inst/@sym/acoth.m] 332s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acoth.m 332s ***** error acoth (sym(1), 2) 332s ***** assert (isequaln (acoth (sym(nan)), sym(nan))) 332s ***** shared x, d 332s d = 2; 332s x = sym('2'); 332s ***** test 332s f1 = acoth(x); 332s f2 = acoth(d); 332s assert( abs(double(f1) - f2) < 1e-15 ) 332s ***** test 332s D = [d d; d d]; 332s A = [x x; x x]; 332s f1 = acoth(A); 332s f2 = acoth(D); 332s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 332s ***** test 332s % round trip 332s y = sym('y'); 332s A = acoth (d); 332s f = acoth (y); 332s h = function_handle (f); 332s B = h (d); 332s assert (A, B, -eps) 332s 5 tests, 5 passed, 0 known failure, 0 skipped 332s [inst/@sym/acsc.m] 332s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acsc.m 332s ***** error acsc (sym(1), 2) 332s ***** assert (isequaln (acsc (sym(nan)), sym(nan))) 332s ***** shared x, d 332s d = 1; 332s x = sym('1'); 332s ***** test 332s f1 = acsc(x); 332s f2 = acsc(d); 332s assert( abs(double(f1) - f2) < 1e-15 ) 332s ***** test 332s D = [d d; d d]; 332s A = [x x; x x]; 332s f1 = acsc(A); 332s f2 = acsc(D); 332s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 332s ***** test 332s % round trip 332s y = sym('y'); 332s A = acsc (d); 332s f = acsc (y); 332s h = function_handle (f); 332s B = h (d); 332s assert (A, B, -eps) 332s 5 tests, 5 passed, 0 known failure, 0 skipped 332s [inst/@sym/acsch.m] 332s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/acsch.m 332s ***** error acsch (sym(1), 2) 332s ***** assert (isequaln (acsch (sym(nan)), sym(nan))) 332s ***** shared x, d 332s d = 1; 332s x = sym('1'); 332s ***** test 332s f1 = acsch(x); 332s f2 = acsch(d); 332s assert( abs(double(f1) - f2) < 1e-15 ) 332s ***** test 332s D = [d d; d d]; 332s A = [x x; x x]; 332s f1 = acsch(A); 332s f2 = acsch(D); 332s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 333s ***** test 333s % round trip 333s y = sym('y'); 333s A = acsch (d); 333s f = acsch (y); 333s h = function_handle (f); 333s B = h (d); 333s assert (A, B, -eps) 333s 5 tests, 5 passed, 0 known failure, 0 skipped 333s [inst/@sym/adjoint.m] 333s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/adjoint.m 333s ***** test 333s syms x 333s A = [x x^2; x^3 x^4]; 333s B = [x^4 -x^2; -x^3 x]; 333s assert( isequal( adjoint(A), B )) 333s ***** test syms x 333s assert( isequal( adjoint(x), 1)) 333s 2 tests, 2 passed, 0 known failure, 0 skipped 333s [inst/@sym/airy.m] 333s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/airy.m 333s ***** test 333s syms z 333s a = airy(0, z); 333s ap = airy(1, z); 333s assert (isequal (diff (a), ap)) 333s assert (isequal (diff (ap), z*a)) 333s ***** test 333s syms z 333s b = airy(2, z); 333s bp = airy(3, z); 333s assert (isequal (diff (b), bp)) 333s assert (isequal (diff (bp), z*b)) 333s ***** test 333s % default to k=0 333s syms z 333s a = airy(0, z); 333s a2 = airy(z); 333s assert (isequal (a, a2)) 333s ***** error airy(0, sym('x'), 2) 333s ***** error airy(4, sym('z')) 333s ***** error airy(-1, sym('z')) 333s ***** test 333s % symbolic k 333s syms z 333s b1 = airy(2, z); 333s b2 = airy(sym(2), z); 333s assert (isequal (b1, b2)) 334s ***** test 334s % doubles, relative error 334s X = [1 2 pi; 4i 5 6+6i]; 334s Xs = sym(X); 334s for k = 0:3 334s A = double(airy(k, Xs)); 334s B = airy(k, X); 334s assert (all (all (abs(A - B) < 500*eps*abs(A)))) 334s end 335s ***** test 335s % round-trip 335s syms x 335s for k = 0:3 335s A = airy(k, 10); 335s q = airy(k, x); 335s h = function_handle(q); 335s B = h(10); 335s assert (abs(A-B) < 500*eps*abs(A)) 335s end 335s 9 tests, 9 passed, 0 known failure, 0 skipped 335s [inst/@sym/all.m] 335s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/all.m 335s ***** test 335s % matrix 335s a = [0 3; 1 2]; 335s s = sym (a); 335s assert (isequal (all (s), all (a))) 335s assert (isequal (all (s,1), all (a,1))) 335s assert (isequal (all (s,2), all (a,2))) 335s ***** test 335s % vector 335s a = [1 2 3]; 335s s = sym (a); 335s assert (isequal (all (s), all (a))) 335s assert (isequal (all (s,1), all (a,1))) 335s assert (isequal (all (s,2), all (a,2))) 335s ***** test 335s % should fail on symbols 335s syms x 335s s = [1 2 x]; 335s try 335s all (s) 335s waserr = false; 335s catch 335s waserr = true; 335s end 335s assert (waserr) 335s 3 tests, 3 passed, 0 known failure, 0 skipped 335s [inst/@sym/and.m] 335s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/and.m 335s ***** shared t, f 335s t = sym(true); 335s f = sym(false); 335s ***** test 335s % simple 335s assert (isequal (t & f, f)) 335s assert (isequal (t & t, t)) 335s ***** test 335s % mix wih nonsym 335s assert (isequal (t & false, f)) 335s assert (isequal (t & true, t)) 335s assert (isequal (t & 0, f)) 335s assert (isequal (t & 1, t)) 335s assert (isa (t & false, 'sym')) 335s assert (isa (t & 1, 'sym')) 335s ***** test 335s % array 335s w = [t t f f]; 335s z = [t f t f]; 335s assert (isequal (w & z, [t f f f])) 335s :7: SymPyDeprecationWarning: 335s 335s non-Expr objects in a Matrix is deprecated. Matrix represents 335s a mathematical matrix. To represent a container of non-numeric 335s entities, Use a list of lists, TableForm, NumPy array, or some 335s other data structure instead. 335s 335s See https://docs.sympy.org/latest/explanation/active-deprecations.html#deprecated-non-expr-in-matrix 335s for details. 335s 335s This has been deprecated since SymPy version 1.9. It 335s will be removed in a future version of SymPy. 335s 335s ***** test 335s % number 335s assert (isequal( sym(1) & t, t)) 335s assert (isequal( sym(0) & t, f)) 335s ***** test 335s % output is sym even for scalar t/f 335s assert (isa (t & f, 'sym')) 335s ***** test 335s % eqns, exclusive 335s syms x 335s e = (x == 3) & (x^2 == 9); 335s assert (isequal (subs(e, x, [-3 0 3]), [f f t])) 336s ***** error and (sym('x'), 2, 3) 336s 7 tests, 7 passed, 0 known failure, 0 skipped 336s [inst/@sym/angle.m] 336s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/angle.m 336s ***** test 336s Z = [sqrt(sym(3)) + 3*sym(i), 3 + sqrt(sym(3))*sym(i); 1 + sym(i), sym(i)]; 336s Q = [sym(pi)/3 sym(pi)/6; sym(pi)/4 sym(pi)/2]; 336s assert( isequal( angle(Z), Q)); 336s ***** test 336s % roundtrip 336s syms x 336s A = angle (2+2i); 336s f = angle (x); 336s h = function_handle (f); 336s B = h (2+2i); 336s assert (A, B, -eps) 336s 2 tests, 2 passed, 0 known failure, 0 skipped 336s [inst/@sym/any.m] 336s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/any.m 336s ***** test 336s % matrix 336s a = [0 0; 1 0]; 336s s = sym(a); 336s assert (isequal (any (s), any (a))) 336s assert (isequal (any (s,1), any (a,1))) 336s assert (isequal (any (s,2), any (a,2))) 336s ***** test 336s % vector 336s a = [0 1 0]; 336s s = sym(a); 336s assert (isequal (any (s), any (a))) 336s assert (isequal (any (s,1), any (a,1))) 336s assert (isequal (any (s,2), any (a,2))) 336s ***** test 336s % should fail on symbols 336s syms x 336s s = [0 1 x]; 336s try 336s any (s) 336s waserr = false; 336s catch 336s waserr = true; 336s end 336s assert (waserr) 336s 3 tests, 3 passed, 0 known failure, 0 skipped 336s [inst/@sym/arg.m] 336s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/arg.m 336s ***** test 336s syms x 336s assert (isequal (angle (x), arg (x))); 336s 1 test, 1 passed, 0 known failure, 0 skipped 336s [inst/@sym/argnames.m] 336s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/argnames.m 336s ***** test 336s % basic tests 336s syms x 336s f = 2*x; 336s assert (isempty (argnames(x))) 336s assert (isempty (argnames(f))) 336s 1 test, 1 passed, 0 known failure, 0 skipped 336s [inst/@sym/asec.m] 336s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/asec.m 336s ***** error asec (sym(1), 2) 336s ***** assert (isequaln (asec (sym(nan)), sym(nan))) 336s ***** shared x, d 336s d = 2; 336s x = sym('2'); 336s ***** test 336s f1 = asec(x); 336s f2 = asec(d); 336s assert( abs(double(f1) - f2) < 1e-15 ) 336s ***** test 336s D = [d d; d d]; 336s A = [x x; x x]; 336s f1 = asec(A); 336s f2 = asec(D); 336s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 337s ***** test 337s % round trip 337s y = sym('y'); 337s A = asec (d); 337s f = asec (y); 337s h = function_handle (f); 337s B = h (d); 337s assert (A, B, -eps) 337s 5 tests, 5 passed, 0 known failure, 0 skipped 337s [inst/@sym/asech.m] 337s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/asech.m 337s ***** error asech (sym(1), 2) 337s ***** assert (isequaln (asech (sym(nan)), sym(nan))) 337s ***** shared x, d 337s d = 1/2; 337s x = sym('1/2'); 337s ***** test 337s f1 = asech(x); 337s f2 = asech(d); 337s assert( abs(double(f1) - f2) < 1e-15 ) 337s ***** test 337s D = [d d; d d]; 337s A = [x x; x x]; 337s f1 = asech(A); 337s f2 = asech(D); 337s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 337s ***** test 337s % round trip 337s y = sym('y'); 337s A = asech (d); 337s f = asech (y); 337s h = function_handle (f); 337s B = h (d); 337s assert (A, B, -eps) 337s 5 tests, 5 passed, 0 known failure, 0 skipped 337s [inst/@sym/asin.m] 337s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/asin.m 337s ***** error asin (sym(1), 2) 337s ***** assert (isequaln (asin (sym(nan)), sym(nan))) 337s ***** shared x, d 337s d = 1; 337s x = sym('1'); 337s ***** test 337s f1 = asin(x); 337s f2 = asin(d); 337s assert( abs(double(f1) - f2) < 1e-15 ) 337s ***** test 337s D = [d d; d d]; 337s A = [x x; x x]; 337s f1 = asin(A); 337s f2 = asin(D); 337s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 337s ***** test 337s % round trip 337s y = sym('y'); 337s A = asin (d); 337s f = asin (y); 337s h = function_handle (f); 337s B = h (d); 337s assert (A, B, -eps) 337s 5 tests, 5 passed, 0 known failure, 0 skipped 337s [inst/@sym/asind.m] 337s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/asind.m 337s ***** error asind (sym(1), 2) 337s ***** assert (isequaln (asind (sym(nan)), sym(nan))) 337s ***** test 337s f1 = asind (sym(1)/2); 337s f2 = asind (1/2); 337s assert (double (f1), f2, -eps) 337s ***** test 337s D = [1 2; 3 4]/4; 337s A = sym([1 2; 3 4])/4; 337s f1 = asind (A); 337s f2 = asind (D); 337s assert (double (f1), f2, -eps) 338s 4 tests, 4 passed, 0 known failure, 0 skipped 338s [inst/@sym/asinh.m] 338s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/asinh.m 338s ***** error asinh (sym(1), 2) 338s ***** assert (isequaln (asinh (sym(nan)), sym(nan))) 338s ***** shared x, d 338s d = 1; 338s x = sym('1'); 338s ***** test 338s f1 = asinh(x); 338s f2 = asinh(d); 338s assert( abs(double(f1) - f2) < 1e-15 ) 338s ***** test 338s D = [d d; d d]; 338s A = [x x; x x]; 338s f1 = asinh(A); 338s f2 = asinh(D); 338s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 338s ***** test 338s % round trip 338s y = sym('y'); 338s A = asinh (d); 338s f = asinh (y); 338s h = function_handle (f); 338s B = h (d); 338s assert (A, B, -eps) 338s 5 tests, 5 passed, 0 known failure, 0 skipped 338s [inst/@sym/assume.m] 338s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/assume.m 338s ***** test 338s syms x 338s x = assume(x, 'positive'); 338s a = assumptions(x); 338s assert(strcmp(a, 'x: positive')) 338s x = assume(x, 'even'); 338s a = assumptions(x); 338s assert(strcmp(a, 'x: even')) 338s x = assume(x, 'odd'); 338s a = assumptions(x); 338s assert(strcmp(a, 'x: odd')) 338s ***** error 338s syms x 338s x = assume (x, x); 338s ***** error 338s syms x 338s x = assume (x/pi, 'integer') 338s ***** test 338s % multiple assumptions 338s syms x 338s x = assume(x, 'positive', 'integer'); 338s [tilde, a] = assumptions(x, 'dict'); 338s assert(a{1}.integer) 338s assert(a{1}.positive) 338s ***** test 338s % multiple assumptions 338s syms x 338s x = assume(x, 'even', 'positive'); 338s [tilde, a] = assumptions(x, 'dict'); 338s assert(a{1}.even) 338s assert(a{1}.positive) 338s ***** test 338s % has output so avoids workspace 338s syms x positive 338s x2 = x; 338s f = sin(x); 338s x = assume(x, 'negative'); 338s a = assumptions(x); 338s assert(strcmp(a, 'x: negative')) 338s a = assumptions(x2); 338s assert(strcmp(a, 'x: positive')) 338s a = assumptions(f); 338s assert(strcmp(a, 'x: positive')) 339s ***** test 339s % clear: has output so avoids workspace 339s syms x positive 339s f = 2*x; 339s x2 = assume(x, 'clear'); 339s assert (~ isempty (assumptions (f))); 339s ***** test 339s % has no output so does workspace 339s syms x positive 339s x2 = x; 339s f = sin(x); 339s assume(x, 'negative'); 339s a = assumptions(x); 339s assert(strcmp(a, 'x: negative')) 339s a = assumptions(x2); 339s assert(strcmp(a, 'x: negative')) 339s a = assumptions(f); 339s assert(strcmp(a, 'x: negative')) 339s ***** test 339s % clear: has not output so does workspace 339s syms x positive 339s f = 2*x; 339s assume(x, 'clear'); 339s assert (isempty (assumptions (f))); 339s assert (isempty (assumptions ())); 339s ***** test 339s syms x positive 339s assume (x, 'clear') 339s assert (isempty (assumptions ())) 339s ***** error 339s syms x 339s x2 = assume (x, 'clear', 'real'); 339s ***** error 339s syms a 339s assume (a > 0) 339s ***** test 339s syms x y 339s assume ([x y], 'real') 339s assert (strcmp (assumptions (x), 'x: real')) 339s assert (strcmp (assumptions (y), 'y: real')) 339s ***** test 339s syms x y 339s assume ([x y], 'positive', 'even') 339s assert (strcmp (assumptions (x), 'x: positive, even') || strcmp (assumptions (x), 'x: even, positive')) 339s assert (strcmp (assumptions (y), 'y: positive, even') || strcmp (assumptions (y), 'y: even, positive')) 340s ***** test 340s % with output, original x and y are unchanged 340s syms x y 340s [p, q] = assume ([x y], 'real'); 340s assert (isempty (assumptions (x))) 340s assert (isempty (assumptions (y))) 340s assert (strcmp (assumptions (p), 'x: real')) 340s assert (strcmp (assumptions (q), 'y: real')) 340s ***** test 340s % matrix input 340s syms a b c d 340s assume ([a b; c d], 'real') 340s assert (strcmp (assumptions (a), 'a: real')) 340s assert (strcmp (assumptions (b), 'b: real')) 340s assert (strcmp (assumptions (c), 'c: real')) 340s assert (strcmp (assumptions (d), 'd: real')) 340s 16 tests, 16 passed, 0 known failure, 0 skipped 340s [inst/@sym/assumeAlso.m] 340s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/assumeAlso.m 340s ***** test 340s syms x 340s x = assumeAlso(x, 'positive'); 340s a = assumptions(x); 340s assert(strcmp(a, 'x: positive')) 340s ***** error 340s syms x 340s x = assumeAlso (x, x); 340s ***** test 340s syms x positive 340s x = assumeAlso(x, 'integer'); 340s [tilde, a] = assumptions(x, 'dict'); 340s assert(a{1}.integer) 340s assert(a{1}.positive) 340s ***** test 340s % multiple assumptions 340s syms x positive 340s x = assumeAlso(x, 'integer', 'even'); 340s [tilde, a] = assumptions(x, 'dict'); 340s assert(a{1}.integer) 340s assert(a{1}.positive) 340s assert(a{1}.even) 341s ***** test 341s % multiple assumptions 341s syms x integer 341s x = assumeAlso (x, 'even', 'positive'); 341s [tilde, a] = assumptions (x, 'dict'); 341s assert (a{1}.integer) 341s assert (a{1}.even) 341s assert (a{1}.positive) 341s ***** test 341s % has output so avoids workspace 341s syms x positive 341s x2 = x; 341s f = sin(x); 341s assumeAlso(x, 'integer'); 341s a = assumptions(x); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s a = assumptions(x2); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s a = assumptions(f); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s ***** test 341s % has no output so does workspace 341s syms x positive 341s x2 = x; 341s f = sin(x); 341s assumeAlso(x, 'integer'); 341s a = assumptions(x); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s a = assumptions(x2); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s a = assumptions(f); 341s assert(strcmp(a, 'x: positive, integer') || strcmp(a, 'x: integer, positive')) 341s ***** error 341s syms a 341s assumeAlso (a > 0) 341s ***** test 341s syms x y 341s assumeAlso ([x y], 'even') 341s assert (strcmp (assumptions (x), 'x: even')) 341s assert (strcmp (assumptions (y), 'y: even')) 341s ***** test 341s syms x y positive 341s f = sin (2*x); 341s assumeAlso ([x y], 'even') 341s assert (strcmp (assumptions (x), 'x: even, positive') || strcmp (assumptions (x), 'x: positive, even')) 341s assert (strcmp (assumptions (y), 'y: even, positive') || strcmp (assumptions (y), 'y: positive, even')) 341s assert (strcmp (assumptions (f), 'x: even, positive') || strcmp (assumptions (f), 'x: positive, even')) 342s ***** test 342s % with output, original x and y are unchanged 342s syms x y positive 342s f = sin (2*x); 342s [p, q] = assumeAlso ([x y], 'even'); 342s assert (strcmp (assumptions (x), 'x: positive')) 342s assert (strcmp (assumptions (y), 'y: positive')) 342s assert (strcmp (assumptions (f), 'x: positive')) 342s assert (strcmp (assumptions (p), 'x: even, positive') || strcmp (assumptions (p), 'x: positive, even')) 342s assert (strcmp (assumptions (q), 'y: even, positive') || strcmp (assumptions (q), 'y: positive, even')) 342s 11 tests, 11 passed, 0 known failure, 0 skipped 342s [inst/@sym/atan.m] 342s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/atan.m 342s ***** error atan (sym(1), 2) 342s ***** assert (isequaln (atan (sym(nan)), sym(nan))) 342s ***** shared x, d 342s d = 1; 342s x = sym('1'); 342s ***** test 342s f1 = atan(x); 342s f2 = atan(d); 342s assert( abs(double(f1) - f2) < 1e-15 ) 342s ***** test 342s D = [d d; d d]; 342s A = [x x; x x]; 342s f1 = atan(A); 342s f2 = atan(D); 342s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 342s ***** test 342s % round trip 342s y = sym('y'); 342s A = atan (d); 342s f = atan (y); 342s h = function_handle (f); 342s B = h (d); 342s assert (A, B, -eps) 342s 5 tests, 5 passed, 0 known failure, 0 skipped 342s [inst/@sym/atan2.m] 342s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/atan2.m 342s ***** error atan2 (1) 342s ***** error atan2 (1, 2, 3) 342s ***** test 342s % some angles 342s e = sym(1); 342s a = atan2(0, e); 342s assert (isequal (a, sym(0))) 342s a = atan2(e, 0); 342s assert (isequal (a, sym(pi)/2)) 343s ***** test 343s % symbols can give numerical answer 343s syms x positive 343s a = atan2(0, x); 343s assert (isequal (a, sym(0))) 343s a = atan2(x, 0); 343s assert (isequal (a, sym(pi)/2)) 343s a = atan2(-x, 0); 343s assert (isequal (a, -sym(pi)/2)) 343s ***** test 343s % matrices 343s x = sym([1 -2; 0 0]); 343s y = sym([0 0; 8 -3]); 343s a = atan2(y, x); 343s sp = sym(pi); 343s aex = [0 sp; sp/2 -sp/2]; 343s assert (isequal (a, aex)) 343s ***** test 343s % round trip 343s syms x y 343s xd = -2; yd = -3; 343s f = atan2 (x, y); 343s A = atan2 (xd, yd); 343s h = function_handle (f); 343s B = h (xd, yd); 343s assert (A, B, -eps) 343s 6 tests, 6 passed, 0 known failure, 0 skipped 343s [inst/@sym/atand.m] 343s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/atand.m 343s ***** error atand (sym(1), 2) 343s ***** assert (isequaln (atand (sym(nan)), sym(nan))) 343s ***** test 343s f1 = atand (sym(1)/2); 343s f2 = atand (1/2); 343s assert (double (f1), f2, -eps) 343s ***** test 343s D = [1 2; 3 4]/4; 343s A = sym([1 2; 3 4])/4; 343s f1 = atand (A); 343s f2 = atand (D); 343s assert (double (f1), f2, -eps) 344s 4 tests, 4 passed, 0 known failure, 0 skipped 344s [inst/@sym/atanh.m] 344s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/atanh.m 344s ***** error atanh (sym(1), 2) 344s ***** assert (isequaln (atanh (sym(nan)), sym(nan))) 344s ***** shared x, d 344s d = 1/2; 344s x = sym('1/2'); 344s ***** test 344s f1 = atanh(x); 344s f2 = atanh(d); 344s assert( abs(double(f1) - f2) < 1e-15 ) 344s ***** test 344s D = [d d; d d]; 344s A = [x x; x x]; 344s f1 = atanh(A); 344s f2 = atanh(D); 344s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 344s ***** test 344s % round trip 344s y = sym('y'); 344s A = atanh (d); 344s f = atanh (y); 344s h = function_handle (f); 344s B = h (d); 344s assert (A, B, -eps) 344s 5 tests, 5 passed, 0 known failure, 0 skipped 344s [inst/@sym/bernoulli.m] 344s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/bernoulli.m 344s ***** error bernoulli (sym(1), 2, 3) 344s ***** assert (isequal (bernoulli (sym(8)), -sym(1)/30)) 344s ***** assert (isequal (bernoulli (sym(9)), sym(0))) 344s ***** test syms x 344s assert (isequal (bernoulli(3,x), x^3 - 3*x^2/2 + x/2)) 344s ***** test 344s % two different definitions in literature 344s assert (isequal (abs (bernoulli (sym(1))), sym(1)/2)) 345s ***** test 345s % we use B_1 = 1/2 345s if (pycall_sympy__ ('return Version(spver) >= Version("1.12.dev")')) 345s assert (isequal (bernoulli (sym(1)), sym(1)/2)) 345s end 345s !!!!! test failed 345s Python exception: TypeError: '>=' not supported between instances of 'int' and 'str' 345s occurred at line 1 of the Python code block: 345s return Version(spver) >= Version("1.12.dev") 345s ***** test 345s m = sym([0 2; 8 888889]); 345s A = bernoulli (m); 345s B = [1 sym(1)/6; -sym(1)/30 0]; 345s assert (isequal (A, B)) 345s ***** test 345s syms x 345s A = bernoulli ([0; 1], x); 345s B = [sym(1); x - sym(1)/2]; 345s assert (isequal (A, B)) 345s ***** test 345s % round trip 345s syms n x 345s f = bernoulli (n, x); 345s h = function_handle (f, 'vars', [n x]); 345s A = h (2, 2.2); 345s B = bernoulli (2, 2.2); 345s assert (A, B) 345s 9 tests, 8 passed, 0 known failure, 0 skipped 345s [inst/@sym/besselh.m] 345s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besselh.m 345s ***** test 345s % default to k=1 345s syms z a 345s A = besselh(a, z); 345s B = besselh(a, 1, z); 345s assert (isequal (A, B)) 345s ***** error besselh(sym('z')) 345s ***** error besselh(2, 0, sym('z')) 345s ***** error besselh(2, 3, sym('z')) 345s ***** test 345s % doubles, relative error 345s X = [1 2 pi; 4i 5 6+6i]; 345s Xs = sym(X); 345s Alpha = [pi 3 1; 3 2 0]; 345s Alphas = sym(Alpha); 345s for k = 1:2 345s A = double(besselh(Alphas, k, Xs)); 345s B = besselh(Alpha, k, X); 345s assert (all (all (abs(A - B) < 10*eps*abs(A)))) 345s end 346s ***** test 346s % round-trip 346s syms x 346s for k = 1:2 346s A = besselh(4, k, 10); 346s q = besselh(4, k, x); 346s h = function_handle(q); 346s B = h(10); 346s assert (abs(A - B) <= eps*abs(A)) 346s end 346s 6 tests, 6 passed, 0 known failure, 0 skipped 346s [inst/@sym/besseli.m] 346s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besseli.m 346s ***** test 346s X = [1 2 3; 4 5 6]; 346s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 346s n = double(ns); 346s A = double(besseli(ns, X)); 346s B = besseli(n, X); 346s assert (all (all (abs (A - B) < 100*eps*abs(A)))) 347s ***** test 347s % roundtrip 347s syms x 347s A = besseli(2, 10); 347s q = besseli(2, x); 347s h = function_handle(q); 347s B = h(10); 347s assert (abs (A - B) <= eps*abs(A)) 347s ***** error besseli(sym('x')) 347s 3 tests, 3 passed, 0 known failure, 0 skipped 347s [inst/@sym/besselj.m] 347s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besselj.m 347s ***** test 347s X = [1 2 3; 4 5 6]; 347s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 347s n = double(ns); 347s A = double(besselj(ns, X)); 347s B = besselj(n, X); 347s assert (all (all (abs (A - B) < 50*eps*abs(A)))) 348s ***** test 348s % roundtrip 348s syms x 348s A = besselj(2, 10); 348s q = besselj(2, x); 348s h = function_handle(q); 348s B = h(10); 348s assert (abs (A - B) <= eps*abs(A)) 348s ***** error besselj(sym('x')) 348s 3 tests, 3 passed, 0 known failure, 0 skipped 348s [inst/@sym/besseljn.m] 348s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besseljn.m 348s ***** test 348s % roundtrip 348s syms x 348s A = double(besseljn(sym(2), sym(9))); 348s q = besseljn(sym(2), x); 348s h = function_handle(q); 348s B = h(9); 348s assert (abs (A - B) <= eps) 348s ***** error jn(sym('x')) 348s 2 tests, 2 passed, 0 known failure, 0 skipped 348s [inst/@sym/besselk.m] 348s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besselk.m 348s ***** test 348s X = [1 2 3; 4 5 6]; 348s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 348s n = double(ns); 348s A = double(besselk(ns, X)); 348s B = besselk(n, X); 348s assert (all (all (abs (A - B) < 2*eps*abs(A)))) 349s ***** test 349s % roundtrip 349s syms x 349s A = besselk(2, 10); 349s q = besselk(2, x); 349s h = function_handle(q); 349s B = h(10); 349s assert (abs (A - B) <= eps*abs(A)) 349s ***** error besselk(sym('x')) 349s 3 tests, 3 passed, 0 known failure, 0 skipped 349s [inst/@sym/bessely.m] 349s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/bessely.m 349s ***** test 349s X = [1 2 3; 4 5 6]; 349s ns = [sym(0) 1 -2; sym(1)/2 -sym(3)/2 pi]; 349s n = double(ns); 349s A = double(bessely(ns, X)); 349s B = bessely(n, X); 349s assert (all (all (abs (A - B) < 50*eps*abs(A)))) 350s ***** test 350s % roundtrip 350s syms x 350s A = bessely(2, 10); 350s q = bessely(2, x); 350s h = function_handle(q); 350s B = h(10); 350s assert (abs (A - B) <= eps*abs(A)) 350s ***** error bessely(sym('x')) 350s 3 tests, 3 passed, 0 known failure, 0 skipped 350s [inst/@sym/besselyn.m] 350s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/besselyn.m 350s ***** test 350s % roundtrip 350s syms x 350s A = double(besselyn(sym(2), sym(10))); 350s q = besselyn(sym(2), x); 350s h = function_handle(q); 350s B = h(10); 350s assert (abs (A - B) <= eps) 350s ***** error yn(sym('x')) 350s 2 tests, 2 passed, 0 known failure, 0 skipped 350s [inst/@sym/beta.m] 350s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/beta.m 350s ***** error beta (sym(1), 2, 3) 350s ***** assert (isequal (double (beta (sym(1), 2)), 1/2)) 350s ***** assert (isinf (double (beta (sym(1), 0)))) 350s ***** test 350s % round trip 350s syms x y 350s f = beta (x, y); 350s h = function_handle (f); 350s A = h (1.1, 2.2); 350s B = beta (1.1, 2.2); 350s assert (A, B) 350s 4 tests, 4 passed, 0 known failure, 0 skipped 350s [inst/@sym/cart2pol.m] 350s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cart2pol.m 350s ***** test 350s % multiple non-scalar inputs 350s x = sym ('x', [2 2]); 350s assume (x, 'real'); 350s y = sym ('y', [2 2]); 350s assume (y, 'real'); 350s [theta, r] = cart2pol (x, y); 350s assert (isequal (r, sqrt (x.^2 + y.^2))); 350s assert (isequal (tan (theta), y ./ x)); 350s % mixing scalar inputs with non-scalar inputs 350s syms z real 350s [theta_2, r_2, z_2] = cart2pol (x, y, z); 350s assert (isequal (r_2, sqrt (x.^2 + y.^2))); 350s assert (isequal (tan (theta_2), y ./ x)); 350s assert (isequal (z_2, z * ones (2, 2))); 352s ***** test 352s % column vector with 2 entries 352s syms x y real 352s [theta, r] = cart2pol ([x; y]); 352s assert (isequal (r, sqrt (x.^2 + y.^2))); 352s assert (isequal (tan (theta), y ./ x)); 352s % column vector with 3 entries 352s syms z real 352s [theta_2, r_2, z_2] = cart2pol ([x; y; z]); 352s assert (isequal (r_2, sqrt (x.^2 + y.^2))); 352s assert (isequal (tan (theta_2), y ./ x)); 352s assert (isequal (z_2, z)); 352s ***** test 352s % matrix with 2 columns 352s syms x y u v real 352s C = [x y; u v]; 352s [theta, r] = cart2pol (C); 352s assert (isequal (r, [sqrt(x.^2+y.^2); sqrt(u.^2+v.^2)])); 352s assert (isequal (tan (theta), [y/x; v/u])); 352s % matrix with 3 columns 352s syms z w real 352s C_2 = [x y z; u v w]; 352s [theta_2, r_2, z_2] = cart2pol (C_2); 352s assert (isequal (r, [sqrt(x.^2+y.^2); sqrt(u.^2+v.^2)])); 352s assert (isequal (tan (theta), [y/x; v/u])); 352s assert (isequal (z_2, [z; w])); 353s 3 tests, 3 passed, 0 known failure, 0 skipped 353s [inst/@sym/cat.m] 353s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cat.m 353s ***** test 353s % mostly tested in horzcat, vertcat: one for good measure 353s syms x 353s assert (isequal (cat(1, x, x), [x x])) 353s assert (isequal (cat(2, x, x), [x; x])) 353s ***** error cat(3, sym(2), sym(3)) 353s ***** error cat(0, sym(2), sym(3)) 353s 3 tests, 3 passed, 0 known failure, 0 skipped 353s [inst/@sym/cbrt.m] 353s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cbrt.m 353s ***** error cbrt (sym(1), 2) 353s ***** assert (isequaln (cbrt (sym(nan)), sym(nan))) 354s ***** shared x, d 354s d = 2; 354s x = sym('2'); 354s ***** test 354s f1 = cbrt(x); 354s f2 = 1.2599210498948731647; 354s assert( abs(double(f1) - f2) < 1e-15 ) 354s ***** test 354s D = [d d; d d]; 354s A = [x x; x x]; 354s f1 = cbrt(A); 354s f2 = 1.2599210498948731647; 354s f2 = [f2 f2; f2 f2]; 354s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 354s ***** test 354s % round trip 354s y = sym('y'); 354s if (exist ('OCTAVE_VERSION', 'builtin')) 354s A = cbrt (d); 354s else 354s % Issue #742 354s A = d^(1/3); 354s end 354s f = cbrt (y); 354s h = function_handle (f); 354s B = h (d); 354s assert (A, B, -eps) 354s 5 tests, 5 passed, 0 known failure, 0 skipped 354s [inst/@sym/ccode.m] 354s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ccode.m 354s ***** shared x,y,z 354s syms x y z 354s ***** test 354s % basic test 354s f = x*sin(y) + abs(z); 354s source = ccode(f); 354s expected = 'x*sin(y) + fabs(z)'; 354s assert(strcmp(source, expected)) 354s ***** test 354s % output test 354s f = x*sin(y) + abs(z); 354s [C, H] = ccode(f, 'file', '', 'show_header', false); 354s 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'); 354s 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'); 354s assert(strcmp(C.name, 'file.c')) 354s assert(strcmp(H.name, 'file.h')) 354s hwin = strrep(expected_h_code, sprintf('\n'), sprintf('\r\n')); 354s assert (strcmp (H.code, expected_h_code) || strcmp (H.code, hwin)) 354s s1 = expected_c_code; 354s s2 = strrep(expected_c_code, sprintf('\n'), sprintf('\r\n')); 354s assert (strcmp (C.code, s1) || strcmp (C.code, s2)) 354s 2 tests, 2 passed, 0 known failure, 0 skipped 354s [inst/@sym/ceil.m] 354s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ceil.m 354s ***** error ceil (sym(1), 2) 354s ***** assert (isequaln (ceil (sym(nan)), sym(nan))) 354s ***** shared x, d 354s d = 3/2; 354s x = sym('3/2'); 354s ***** test 354s f1 = ceil(x); 354s f2 = ceil(d); 354s assert( abs(double(f1) - f2) < 1e-15 ) 354s ***** test 354s D = [d d; d d]; 354s A = [x x; x x]; 354s f1 = ceil(A); 354s f2 = ceil(D); 354s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 354s ***** test 354s % round trip 354s y = sym('y'); 354s A = ceil (d); 354s f = ceil (y); 354s h = function_handle (f); 354s B = h (d); 354s assert (A, B, -eps) 354s 5 tests, 5 passed, 0 known failure, 0 skipped 354s [inst/@sym/char.m] 354s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/char.m 354s ***** test 354s % issue #91: expose as string 354s a = sym(pi); 354s assert (strcmp (char (a), 'pi')) 354s ***** shared x 354s x = sym('x'); 354s ***** assert (strcmp (char (x), 'x')) 354s ***** assert (strcmp (char (2*x), '2*x')) 354s ***** assert (strcmp (char ([2*x x]), 'Matrix([[2*x, x]])')) 354s ***** assert (strcmp (char ([2*x 2; 1 x]), 'Matrix([[2*x, 2], [1, x]])')) 354s 5 tests, 5 passed, 0 known failure, 0 skipped 354s [inst/@sym/charpoly.m] 354s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/charpoly.m 354s ***** error charpoly (sym (1), 1, 2) 355s ***** error charpoly (sym ([1 2])) 355s ***** test 355s syms x 355s A = sym([1 2; 3 4]); 355s assert (isequal (charpoly(A, x), x^2 - 5*x -2)) 355s ***** test 355s syms x 355s A = sym([1 2; 3 4]); 355s B = sym([1 -5 -2]); 355s assert (isequal (charpoly(A), B)) 355s ***** test 355s syms x 355s A = sym([x x; x x]); 355s B = sym([1 -2*x 0]); 355s assert (isequal (charpoly(A), B)) 355s 5 tests, 5 passed, 0 known failure, 0 skipped 355s [inst/@sym/chebyshevT.m] 355s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/chebyshevT.m 355s ***** error chebyshevT (sym(1)) 355s ***** error chebyshevT (sym(1), 2, 3) 355s ***** assert (isequaln (chebyshevT (2, sym(nan)), sym(nan))) 355s ***** shared x 355s syms x 355s ***** assert(isequal(chebyshevT(0, x), sym(1))) 355s ***** assert(isequal(chebyshevT(1, x), x)) 355s ***** assert(isequal(chebyshevT(2, x), 2*x*x - 1)) 355s ***** assert(isequal(chebyshevT([0 1 2], x), [sym(1) x (2*x*x-1)])) 356s ***** test 356s % round trip 356s syms n z 356s f = chebyshevT (n, z); 356s h = function_handle (f, 'vars', [n z]); 356s A = h (1.1, 2.2); 356s B = chebyshevT (1.1, 2.2); 356s assert (A, B) 356s 8 tests, 8 passed, 0 known failure, 0 skipped 356s [inst/@sym/chebyshevU.m] 356s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/chebyshevU.m 356s ***** error chebyshevU (sym(1)) 356s ***** error chebyshevU (sym(1), 2, 3) 356s ***** assert (isequaln (chebyshevU (2, sym(nan)), sym(nan))) 356s ***** shared x 356s syms x 356s ***** assert(isequal(chebyshevU(0, x), sym(1))) 356s ***** assert(isequal(chebyshevU(1, x), 2*x)) 356s ***** assert(isequal(chebyshevU(2, x), 4*x*x - 1)) 356s ***** assert(isequal(chebyshevU([0 1 2], x), [sym(1) 2*x (4*x*x-1)])) 356s ***** test 356s % round trip 356s syms n z 356s f = chebyshevU (n, z); 356s h = function_handle (f, 'vars', [n z]); 356s A = h (1.1, 2.2); 356s B = chebyshevU (1.1, 2.2); 356s assert (A, B) 356s 8 tests, 8 passed, 0 known failure, 0 skipped 356s [inst/@sym/children.m] 356s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/children.m 356s ***** test 356s % basics, sum 356s syms x y 356s f = 2*x + x*x + sin(y); 356s assert (isempty (setxor (children(f), [2*x x*x sin(y)]))) 357s ***** test 357s % basics, product 357s syms x y 357s f = 2*x*sin(y); 357s assert (isempty (setxor (children(f), [2 x sin(y)]))) 357s ***** test 357s % basics, product and powers 357s syms x y 357s f = 2*x^2*y^3; 357s assert (isempty (setxor (children(f), [2 x^2 y^3]))) 357s ***** test 357s % eqn, ineq 357s syms x y 357s lhs = 2*x^2; rhs = y^3 + 7; 357s assert (isequal (children(lhs == rhs), [lhs rhs])) 357s assert (isequal (children(lhs < rhs), [lhs rhs])) 357s assert (isequal (children(lhs >= rhs), [lhs rhs])) 357s ***** test 357s % matrix 357s syms x y 357s f = [4 + y 1 + x; 2 + x 3 + x]; 357s c = children(f); 357s ec = {[4 y], [1 x]; [2 x], [3 x]}; 357s assert (isequal (size(c), size(ec))) 357s for i=1:length(c) 357s assert (isempty (setxor (c{i}, ec{i}))) 357s end 357s ***** test 357s % matrix, sum/prod 357s syms x y 357s f = [x + y; x*sin(y); sin(x)]; 357s ec = {[x y]; [x sin(y)]; [x]}; 357s c = children(f); 357s assert (isequal (size(c), size(ec))) 357s for i=1:length(c) 357s assert (isempty (setxor (c{i}, ec{i}))) 357s end 358s ***** test 358s % scalar symbol 358s syms x 358s assert (isequal (children(x), x)) 358s ***** test 358s % scalar number 358s x = sym(6); 358s assert (isequal (children(x), x)) 358s ***** test 358s % symbolic size matrix 358s syms n m integer 358s A = sym('a', [n m]); 358s C = children (A); 358s assert (isequal (C(2), n)) 358s assert (isequal (C(3), m)) 358s ***** xtest 358s % symbolic size matrix, fails on newer SymPy Issue #1089 358s syms n m integer 358s A = sym('a', [n m]); 358s assert (isequal (children (A), [sym('a') n m])) 358s !!!!! known failure 358s assert (isequal (children (A), [sym('a'), n, m])) failed 358s 10 tests, 9 passed, 1 known failure, 0 skipped 358s [inst/@sym/chol.m] 358s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/chol.m 358s ***** error chol (sym ([1 2; 3 4])); 358s ***** error chol (sym ([1 2; 3 4; 5 6])); 358s ***** test 358s A = chol(hilb(sym(2))); 358s B = [[1 0]; sym(1)/2 sqrt(sym(3))/6]; 358s assert( isequal( A, B )) 358s 3 tests, 3 passed, 0 known failure, 0 skipped 358s [inst/@sym/coeffs.m] 358s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/coeffs.m 358s ***** error coeffs (sym(1), 2, 3, 4) 358s ***** error coeffs (sym(1), 2, 'al') 358s ***** error coeffs (sym(1), 'al') 358s ***** test 358s % simple 358s syms x 358s [c, t] = coeffs(6*x*x + 27); 358s assert (isequal (c, [6 27])) 358s assert (isequal (t, [x*x 1])) 358s ***** test 358s % specify a variable 358s syms x 358s [c, t] = coeffs(6*x*x + 27, x); 358s assert (isequal (c, [6 27])) 358s assert (isequal (t, [x*x 1])) 359s ***** test 359s % specify another variable 359s syms x y 359s [c, t] = coeffs(6*x + 27, y); 359s assert (isequal (c, 6*x + 27)) 359s assert (isequal (t, 1)) 359s ***** test 359s % weird SMT order 359s syms x 359s a1 = [27 6]; 359s a2 = [6 27]; 359s c = coeffs(6*x*x + 27); 359s assert (isequal (c, a1)) 359s coeffs(6*x*x + 27); 359s assert (isequal (ans, a1)) 359s [c, t] = coeffs(6*x*x + 27); 359s assert (isequal (c, a2)) 359s ***** test 359s % no weird order with "all" 359s syms x 359s c = coeffs(6*x*x + 27, 'all'); 359s assert (isequal (c, [6 0 27])) 359s ***** test 359s % "all" 359s syms x 359s [c, t] = coeffs(6*x*x + 27, 'all'); 359s assert (isequal (c, [6 0 27])) 359s assert (isequal (t, [x^2 x 1])) 360s ***** test 360s % "All" 360s syms x 360s [c, t] = coeffs(6*x, 'All'); 360s assert (isequal (c, [6 0])) 360s assert (isequal (t, [x 1])) 360s ***** test 360s % multivariable array 360s syms x y 360s [c, t] = coeffs(6*x*x + 27*y*x + 36, [x y]); 360s a = [6 27 36]; 360s s = [x^2 x*y 1]; 360s assert (isequal (c, a)) 360s assert (isequal (t, s)) 360s % with list 360s [c, t] = coeffs(6*x*x + 27*y*x + 36, {x y}); 360s assert (isequal (c, a)) 360s assert (isequal (t, s)) 360s ***** test 360s % other symbols treated as part of coeffs 360s syms x y 360s [c, t] = coeffs(6*x*x + 27*y*x + 36, x); 360s a = [6 27*y 36]; 360s s = [x^2 x 1]; 360s assert (isequal (c, a)) 360s assert (isequal (t, s)) 361s ***** error 361s % TODO: multivariate all not working (https://github.com/cbm755/octsympy/issues/720) 361s syms x y 361s [c, t] = coeffs(6*x^2 + 7*y + 19, [x y], 'all'); 361s ***** test 361s % empty same as not specifying; maybe not SMT compatible: 361s % https://github.com/cbm755/octsympy/pull/708#discussion_r94292831 361s syms x y 361s [c, t] = coeffs(6*x*x + 27*y*x + 36, {}); 361s a = [6 27 36]; 361s assert (isequal (c, a)) 361s [c, t] = coeffs(6*x*x + 27*y*x + 36); 361s assert (isequal (c, a)) 361s ***** test 361s % no input defaults to all symbols (not symvar to get x) 361s syms x y 361s [c, t] = coeffs(6*x*x + 27*y*x + 36); 361s assert (isequal (c, [6 27 36])) 361s ***** test 361s % non sym input 361s syms x 361s assert (isequal (coeffs(6, x), sym(6))) 361s ***** test 361s % constant input without x 361s assert (isequal (coeffs(sym(6)), sym(6))) 362s ***** test 362s % constant input without x 362s assert (isequal (coeffs (sym(6), {}), sym(6))) 362s % irrational coefficients 362s syms x 362s f = x^2 + sqrt(sym(2))*x; 362s [c1, t1] = coeffs (f); 362s [c2, t2] = coeffs (f, x); 362s assert (isequal (c1, c2)) 362s assert (isequal (t1, t2)) 362s 18 tests, 18 passed, 0 known failure, 0 skipped 362s [inst/@sym/colon.m] 362s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/colon.m 362s ***** test 362s a = sym(1):5; 362s b = sym(1:5); 362s assert(isequal(a,b)); 362s a = 1:sym(5); 362s b = sym(1:5); 362s assert(isequal(a,b)); 362s ***** test 362s a = 2:sym(2):8; 362s b = sym(2:2:8); 362s assert(isequal(a,b)); 362s ***** test 362s a = sym(10):-2:-4; 362s b = sym(10:-2:-4); 362s assert(isequal(a,b)); 362s ***** test 362s % symbolic intervals 362s p = sym(pi); 362s L = 0:p/4:p; 362s assert(isa(L,'sym')); 362s assert(isequal(L, [0 p/4 p/2 3*p/4 p])); 363s ***** test 363s % mixed symbolic and double intervals 363s p = sym(pi); 363s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 363s L = 0.1:(sym(pi)/3):2.3; 363s warning(s) 363s assert(isa(L,'sym')); 363s t = sym(1)/10; 363s assert(isequal(L, [t p/3+t 2*p/3+t])); 363s ***** error syms x; a = 0:x; 363s ***** error syms x; a = 1:x; 363s 7 tests, 7 passed, 0 known failure, 0 skipped 363s [inst/@sym/columns.m] 363s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/columns.m 363s ***** test 363s a = sym([1 2 3]); 363s assert (columns(a) == 3) 363s ***** test 363s a = sym([1; 2]); 363s assert (columns(a) == 1) 363s 2 tests, 2 passed, 0 known failure, 0 skipped 363s [inst/@sym/cond.m] 363s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cond.m 363s ***** test 363s A = [1 2; 3 4]; 363s B = sym(A); 363s k1 = cond(A); 363s k2 = cond(B); 363s k3 = double(k2); 363s assert (k1 - k3 <= 100*eps) 363s ***** test 363s % matrix with symbols 363s syms x positive 363s A = [x 0; sym(0) 2*x]; 363s k1 = cond(A); 363s assert (isequal (k1, sym(2))) 363s 2 tests, 2 passed, 0 known failure, 0 skipped 363s [inst/@sym/conj.m] 363s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/conj.m 363s ***** test 363s a = sym(6); 363s b = sym(5i); 363s assert (isequal (conj(a), a)) 363s assert (isequal (conj(b), -b)) 363s assert (isequal (conj(a+b), a-b)) 363s ***** test 363s syms x 363s assert (isequal (conj(conj(x)), x)) 363s ***** test 363s syms x real 363s assert (isequal (conj(x), x)) 363s ***** test 363s % array 363s syms x 363s A = [x 6+1i; sym(1) x+2i]; 363s B = [conj(x) 6-1i; sym(1) conj(x)-2i]; 363s assert (isequal (conj(A), B)) 364s ***** test 364s % true/false 364s t = sym(true); 364s f = sym(false); 364s assert (isequal ( conj(t), t)) 364s assert (isequal ( conj(f), f)) 364s ***** test 364s % round trip 364s syms x 364s d = 3 - 5i; 364s f = conj (x); 364s A = conj (d); 364s h = function_handle (f); 364s B = h (d); 364s assert (A, B) 364s 6 tests, 6 passed, 0 known failure, 0 skipped 364s [inst/@sym/cos.m] 364s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cos.m 364s ***** error cos (sym(1), 2) 364s ***** assert (isequaln (cos (sym(nan)), sym(nan))) 364s ***** shared x, d 364s d = 1; 364s x = sym('1'); 364s ***** test 364s f1 = cos(x); 364s f2 = cos(d); 364s assert( abs(double(f1) - f2) < 1e-15 ) 364s ***** test 364s D = [d d; d d]; 364s A = [x x; x x]; 364s f1 = cos(A); 364s f2 = cos(D); 364s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 364s ***** test 364s % round trip 364s y = sym('y'); 364s A = cos (d); 364s f = cos (y); 364s h = function_handle (f); 364s B = h (d); 364s assert (A, B, -eps) 364s 5 tests, 5 passed, 0 known failure, 0 skipped 364s [inst/@sym/cosd.m] 364s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cosd.m 364s ***** error cosd (sym(1), 2) 364s ***** assert (isequaln (cosd (sym(nan)), sym(nan))) 364s ***** test 364s f1 = cosd (sym(1)); 364s f2 = cosd (1); 364s assert (double (f1), f2, -eps) 364s ***** test 364s D = [10 30; 110 -45]; 364s A = sym(D); 364s f1 = cosd (A); 364s f2 = cosd (D); 364s assert (double (f1), f2, -4*eps) 365s 4 tests, 4 passed, 0 known failure, 0 skipped 365s [inst/@sym/cosh.m] 365s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cosh.m 365s ***** error cosh (sym(1), 2) 365s ***** assert (isequaln (cosh (sym(nan)), sym(nan))) 365s ***** shared x, d 365s d = 1; 365s x = sym('1'); 365s ***** test 365s f1 = cosh(x); 365s f2 = cosh(d); 365s assert( abs(double(f1) - f2) < 1e-15 ) 365s ***** test 365s D = [d d; d d]; 365s A = [x x; x x]; 365s f1 = cosh(A); 365s f2 = cosh(D); 365s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 365s ***** test 365s % round trip 365s y = sym('y'); 365s A = cosh (d); 365s f = cosh (y); 365s h = function_handle (f); 365s B = h (d); 365s assert (A, B, -eps) 365s 5 tests, 5 passed, 0 known failure, 0 skipped 365s [inst/@sym/coshint.m] 365s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/coshint.m 365s ***** error coshint (sym(1), 2) 365s ***** xtest 365s assert (isequaln (coshint (sym(nan)), sym(nan))) 365s !!!!! known failure 365s assert (isequaln (coshint (sym (nan)), sym (nan))) failed 365s ***** shared x, d 365s d = 1; 365s x = sym('1'); 365s ***** test 365s f1 = coshint(x); 365s f2 = 0.8378669409802082408947; 365s assert( abs(double(f1) - f2) < 1e-15 ) 365s ***** test 365s D = [d d; d d]; 365s A = [x x; x x]; 365s f1 = coshint(A); 365s f2 = 0.8378669409802082408947; 365s f2 = [f2 f2; f2 f2]; 365s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 365s ***** test 365s % round trip 365s y = sym('y'); 365s A = coshint (d); 365s f = coshint (y); 365s h = function_handle (f); 365s B = h (d); 365s assert (A, B, -eps) 365s 5 tests, 4 passed, 1 known failure, 0 skipped 365s [inst/@sym/cosint.m] 365s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cosint.m 365s ***** error cosint (sym(1), 2) 365s ***** xtest 365s assert (isequaln (cosint (sym(nan)), sym(nan))) 365s !!!!! known failure 365s assert (isequaln (cosint (sym (nan)), sym (nan))) failed 365s ***** shared x, d 365s d = 1; 365s x = sym('1'); 365s ***** test 365s f1 = cosint(x); 365s f2 = 0.3374039229009681346626; 365s assert( abs(double(f1) - f2) < 1e-15 ) 365s ***** test 365s D = [d d; d d]; 365s A = [x x; x x]; 365s f1 = cosint(A); 365s f2 = 0.3374039229009681346626; 365s f2 = [f2 f2; f2 f2]; 365s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 365s ***** test 365s % round trip 365s y = sym('y'); 365s A = cosint (d); 365s f = cosint (y); 365s h = function_handle (f); 365s B = h (d); 365s assert (A, B, -eps) 365s 5 tests, 4 passed, 1 known failure, 0 skipped 365s [inst/@sym/cot.m] 365s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cot.m 365s ***** error cot (sym(1), 2) 365s ***** assert (isequaln (cot (sym(nan)), sym(nan))) 366s ***** shared x, d 366s d = 1; 366s x = sym('1'); 366s ***** test 366s f1 = cot(x); 366s f2 = cot(d); 366s assert( abs(double(f1) - f2) < 1e-15 ) 366s ***** test 366s D = [d d; d d]; 366s A = [x x; x x]; 366s f1 = cot(A); 366s f2 = cot(D); 366s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 366s ***** test 366s % round trip 366s y = sym('y'); 366s A = cot (d); 366s f = cot (y); 366s h = function_handle (f); 366s B = h (d); 366s assert (A, B, -eps) 366s 5 tests, 5 passed, 0 known failure, 0 skipped 366s [inst/@sym/coth.m] 366s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/coth.m 366s ***** error coth (sym(1), 2) 366s ***** assert (isequaln (coth (sym(nan)), sym(nan))) 366s ***** shared x, d 366s d = 1; 366s x = sym('1'); 366s ***** test 366s f1 = coth(x); 366s f2 = coth(d); 366s assert( abs(double(f1) - f2) < 1e-15 ) 366s ***** test 366s D = [d d; d d]; 366s A = [x x; x x]; 366s f1 = coth(A); 366s f2 = coth(D); 366s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 366s ***** test 366s % round trip 366s y = sym('y'); 366s A = coth (d); 366s f = coth (y); 366s h = function_handle (f); 366s B = h (d); 366s assert (A, B, -eps) 366s 5 tests, 5 passed, 0 known failure, 0 skipped 366s [inst/@sym/cross.m] 366s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cross.m 366s ***** error cross (sym(1), 2, 3) 366s ***** test 366s a = sym([1; 0; 0]); 366s b = sym([0; 1; 0]); 366s c = cross(a, b); 366s assert (isequal (c, sym([0; 0; 1]))) 366s ***** test 366s syms x 366s a = sym([x; 0; 0]); 366s b = sym([0; 1; 0]); 366s c = cross(a, b); 366s assert (isequal (c, sym([0; 0; x]))) 366s 3 tests, 3 passed, 0 known failure, 0 skipped 366s [inst/@sym/csc.m] 366s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/csc.m 366s ***** error csc (sym(1), 2) 366s ***** assert (isequaln (csc (sym(nan)), sym(nan))) 366s ***** shared x, d 366s d = 1; 366s x = sym('1'); 366s ***** test 366s f1 = csc(x); 366s f2 = csc(d); 366s assert( abs(double(f1) - f2) < 1e-15 ) 366s ***** test 366s D = [d d; d d]; 366s A = [x x; x x]; 366s f1 = csc(A); 366s f2 = csc(D); 366s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 367s ***** test 367s % round trip 367s y = sym('y'); 367s A = csc (d); 367s f = csc (y); 367s h = function_handle (f); 367s B = h (d); 367s assert (A, B, -eps) 367s 5 tests, 5 passed, 0 known failure, 0 skipped 367s [inst/@sym/csch.m] 367s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/csch.m 367s ***** error csch (sym(1), 2) 367s ***** assert (isequaln (csch (sym(nan)), sym(nan))) 367s ***** shared x, d 367s d = 1; 367s x = sym('1'); 367s ***** test 367s f1 = csch(x); 367s f2 = csch(d); 367s assert( abs(double(f1) - f2) < 1e-15 ) 367s ***** test 367s D = [d d; d d]; 367s A = [x x; x x]; 367s f1 = csch(A); 367s f2 = csch(D); 367s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 367s ***** test 367s % round trip 367s y = sym('y'); 367s A = csch (d); 367s f = csch (y); 367s h = function_handle (f); 367s B = h (d); 367s assert (A, B, -eps) 367s 5 tests, 5 passed, 0 known failure, 0 skipped 367s [inst/@sym/ctranspose.m] 367s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ctranspose.m 367s ***** test 367s x = sym(1); 367s assert (isequal (x', x)) 367s ***** assert (isempty (sym([])')) 367s ***** test 367s % conjugate does nothing to real x 367s syms x real 367s assert (isequal (x', x)) 367s ***** test 367s % complex 367s syms x 367s assert (isequal (x', conj(x))) 367s ***** test 367s % complex array 367s syms x 367s A = [x 2*x]; 367s B = [conj(x); 2*conj(x)]; 367s assert(isequal(A', B)) 367s ***** test 367s A = [1 2; 3 4]; 367s assert(isequal( sym(A)' , sym(A') )) 367s ***** test 367s A = [1 2] + 1i; 367s assert(isequal( sym(A)' , sym(A') )) 368s ***** test 368s % true/false 368s t = sym(true); 368s f = sym(false); 368s assert (isequal ( t', t)) 368s assert (isequal ( f', f)) 368s ***** test 368s % more true/false 368s syms x 368s A = [x true 1i]; 368s B = [conj(x); true; -sym(1i)]; 368s assert (isequal ( A', B)) 368s /usr/lib/python3/dist-packages/sympy/matrices/common.py:1989: SymPyDeprecationWarning: 368s 368s non-Expr objects in a Matrix is deprecated. Matrix represents 368s a mathematical matrix. To represent a container of non-numeric 368s entities, Use a list of lists, TableForm, NumPy array, or some 368s other data structure instead. 368s 368s See https://docs.sympy.org/latest/explanation/active-deprecations.html#deprecated-non-expr-in-matrix 368s for details. 368s 368s This has been deprecated since SymPy version 1.9. It 368s will be removed in a future version of SymPy. 368s 368s return self._eval_applyfunc(f) 368s 9 tests, 9 passed, 0 known failure, 0 skipped 368s [inst/@sym/cumprod.m] 368s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cumprod.m 368s ***** shared x, y 368s x = sym ('x'); 368s y = sym ('y'); 368s ***** error cumprod (x, 1, 2) 368s ***** assert (isequal (cumprod ([-x; -2*x; -3*x]), [-x; 2*x^2; -6*x^3])) 368s ***** assert (isequal (expand (cumprod ([x + i, x - i])), [x + i, x^2 + 1])) 369s ***** assert (isequal (cumprod ([1, x; y, 2], 1), [1, x; y, 2*x] )) 369s ***** assert (isequal (cumprod ([1, x; y, 2], 2), [1, x; y, 2*y] )) 369s ***** test cumprod ([x, x], [2, 1]); # ensure behaves like builtin cumprod 369s ***** test cumprod ([x, x], [1, -2]); # ensure behaves like builtin cumprod 369s ***** error cumprod (x, []) 369s ***** error cumprod (x, {1}) 369s ***** error cumprod (x, struct('a', 1)) 369s ***** error cumprod (x, x) 369s ***** error cumprod (x, 0) 369s ***** error cumprod (x, -1) 369s 13 tests, 13 passed, 0 known failure, 0 skipped 369s [inst/@sym/cumsum.m] 369s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/cumsum.m 369s ***** shared x, y 369s x = sym ('x'); 369s y = sym ('y'); 369s ***** error cumsum (x, 1, 2) 369s ***** assert (isequal (cumsum ([-x; -2*x; -3*x]), [-x; -3*x; -6*x])) 370s ***** assert (isequal (cumsum ([x + 2i*y, 2*x + i*y]), [x + 2i*y, 3*x + 3i*y])) 370s ***** assert (isequal (cumsum ([x, 2*x; 3*x, 4*x], 1), [1*x, 2*x; 4*x, 6*x] )) 371s ***** assert (isequal (cumsum ([x, 2*x; 3*x, 4*x], 2), [1*x, 3*x; 3*x, 7*x] )) 371s ***** test cumsum ([x, x], [2, 1]); # ensure behaves like builtin cumsum 371s ***** test cumsum ([x, x], [1, -2]); # ensure behaves like builtin cumsum 371s ***** error cumsum (x, []) 371s ***** error cumsum (x, {1}) 371s ***** error cumsum (x, struct('a', 1)) 371s ***** error cumsum (x, x) 371s ***** error cumsum (x, 0) 371s ***** error cumsum (x, -1) 371s 13 tests, 13 passed, 0 known failure, 0 skipped 371s [inst/@sym/curl.m] 371s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/curl.m 371s ***** error curl([sym(1) 2 3], 42, 42) 371s ***** shared x,y,z 371s syms x y z 371s ***** test 371s % double const 371s f = [1 2 3]; 371s g = [sym(0); 0; 0]; 371s assert (isequal (curl(f, [x y z]), g)) 371s % should fail, calls @double: curl(f, {x y z}), g)) 372s ***** test 372s % div curl always 0 372s v = [exp(x); x*y; sin(z)]; 372s g = curl(v); 372s a = divergence(g, [x y z]); 372s assert (isAlways (a == sym(0))) 372s assert (isa (a, 'sym')) 372s g = curl(v, [x y z]); 372s a = divergence(g, [x y z]); 372s assert (isAlways (a == sym(0))) 372s assert (isa (a, 'sym')) 372s ***** test 372s % div curl always 0 372s v = [exp(x); erfc(x*y); sin(exp(x)*y+sinh(z))]; 372s g = curl(v, [x y z]); 372s a = divergence(g, [x y z]); 372s assert (isAlways (a == sym(0))) 372s assert (isa (a, 'sym')) 373s ***** test 373s % curl grad is vec zero 373s f = sin(exp(x)*y+sinh(z)); 373s g = curl(gradient(f, [x,y,z])); 373s assert (isequal (g, sym([0;0;0]))) 374s ***** test 374s % 2d fcn in 2d/3d 374s u = sin(exp(x)*y); 374s v = x^2*y^3; 374s vorticity2d = diff(v,x) - diff(u,y); 374s omega = curl([u; v; 0], [x y z]); 374s assert (isequal (omega, [0; 0; vorticity2d])) 375s ***** error <3D vector> curl([sym(1) 2 3 4]) 375s ***** error curl([sym(1) 2 3], {sym('x') sym('y') sym('z') sym('t')}) 375s 8 tests, 8 passed, 0 known failure, 0 skipped 375s [inst/@sym/dawson.m] 375s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/dawson.m 375s ***** test 375s if (exist ('OCTAVE_VERSION', 'builtin')) 375s % dawson missing on Matlab, Issue #742 375s A = dawson([1 2]); 375s B = double(dawson(sym([1 2]))); 375s assert(A, B, -eps) 375s end 375s 1 test, 1 passed, 0 known failure, 0 skipped 375s [inst/@sym/degree.m] 375s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/degree.m 375s ***** error degree (sym(1), 2, 3) 375s ***** test 375s syms x 375s assert (isequal (degree(x^3), 3)) 375s assert (isequal (degree(x^3 + 6), 3)) 375s ***** test 375s % specify variable 375s syms x y 375s p = x^2 + y*x + 1; 375s assert (isequal (degree(p), 2)) 375s assert (isequal (degree(p, x), 2)) 375s assert (isequal (degree(p, y), 1)) 375s ***** test 375s syms x a oo 375s assert (isequal (degree(x^3, a), 0)) 375s assert (isequal (degree(sym(1), a), 0)) 375s assert (isequal (degree(sym(0), a), -oo)) 376s ***** xtest 376s % constant inputs 376s syms oo 376s assert (isequal (degree(sym(1)), 0)) 376s assert (isequal (degree(sym(0)), -oo)) 376s 5 tests, 5 passed, 0 known failure, 0 skipped 376s [inst/@sym/det.m] 376s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/det.m 376s ***** assert (isequal (det(sym([])), 1)) 376s ***** test 376s syms x y real 376s assert (isequal (det([x 5; 7 y]), x*y-35)) 376s ***** test 376s syms x 376s assert (isequal (det(x), x)) 376s assert (isequal (det(sym(-6)), sym(-6))) 376s 3 tests, 3 passed, 0 known failure, 0 skipped 376s [inst/@sym/diag.m] 376s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/diag.m 376s ***** test 376s % scalar 376s syms x 376s assert (isequal (diag(x), x)) 376s ***** test 376s % row,col vec input 376s syms x 376s r = [1 x 2]; 376s c = [sym(1); x]; 376s assert (isequal (diag(diag(c)), c)) 376s assert (isequal (diag(c), [sym(1) 0; 0 x])) 376s assert (isequal (diag(diag(r)), r.')) 376s assert (isequal (diag(r), [sym(1) 0 0; 0 x 0; sym(0) 0 2])) 376s ***** test 376s % create matrix, kth diag 376s syms x 376s r = [1 x]; 376s z = sym(0); 376s assert (isequal (diag (x, 0), x)) 376s assert (isequal (diag (x, 1), [z x; z z])) 376s assert (isequal (diag (x, -1), [z z; x z])) 376s assert (isequal (diag (x, 2), [z z x; z z z; z z z])) 376s assert (isequal (diag (r, 1), [z 1 z; z z x; z z z])) 377s ***** test 377s % extract kth diag 377s A = sym([1 2 3; 4 5 6]); 377s assert (isequal (diag(A), sym([1; 5]))) 377s assert (isequal (diag(A, 0), sym([1; 5]))) 377s assert (isequal (diag(A, 1), sym([2; 6]))) 377s assert (isequal (diag(A, 2), sym(3))) 377s assert (isequal (diag(A, -1), sym(4))) 377s assert (isempty (diag(A, -2))) 377s assert (isempty (diag(A, 3))) 377s 4 tests, 4 passed, 0 known failure, 0 skipped 377s [inst/@sym/diff.m] 377s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/diff.m 377s ***** shared x,y,z 377s syms x y z 377s ***** test 377s % basic 377s assert(logical( diff(sin(x)) - cos(x) == 0 )) 377s assert(logical( diff(sin(x),x) - cos(x) == 0 )) 377s assert(logical( diff(sin(x),x,x) + sin(x) == 0 )) 377s ***** test 377s % these fail when doubles are not converted to sym 377s assert(logical( diff(sin(x),x,2) + sin(x) == 0 )) 377s assert(logical( diff(sym(1),x) == 0 )) 377s assert(logical( diff(1,x) == 0 )) 377s assert(logical( diff(pi,x) == 0 )) 378s ***** test 378s % symbolic diff of const (w/o variable) fails in sympy, but we work around 378s assert (isequal (diff(sym(1)), sym(0))) 378s ***** test 378s % nth symbolic diff of const 378s assert (isequal (diff(sym(1), 2), sym(0))) 378s assert (isequal (diff(sym(1), sym(1)), sym(0))) 378s ***** test 378s % octave's vector difference still works 378s assert(isempty(diff(1))) 378s assert((diff([2 6]) == 4)) 378s ***** test 378s % other forms 378s f = sin(x); 378s g = diff(f,x,2); 378s assert (isequal (diff(f,2), g)) 378s assert (isequal (diff(f,sym(2)), g)) 378s g = diff(f,x); 378s assert (isequal (diff(f), g)) 378s assert (isequal (diff(f,1), g)) 378s ***** test 378s % old SMT supported (still does?) the 'n' before the 'x' 378s % we might remove this someday, no longer seems documented in SMT 378s f = sin(x); 378s g = diff(f,x,2); 378s assert (isequal (diff(f,2,x), g)) 378s assert (isequal (diff(f,sym(2),x), g)) 378s g = diff(f,x); 378s assert (isequal (diff(f,1,x), g)) 378s ***** test 378s % matrix 378s A = [x sin(x); x*y 10]; 378s B = [1 cos(x); y 0]; 378s assert(isequal(diff(A,x),B)) 379s ***** test 379s % bug: use symvar 379s a = x*y; 379s b = diff(a); 379s assert (isequal (b, y)) 379s ***** test 379s % bug: symvar should be used on the matrix, not comp-by-comp 379s a = [x y x*x]; 379s b = diff(a); 379s assert (~isequal (b(2), 1)) 379s assert (isequal (b, [1 0 2*x])) 379s b = diff(a,1); 379s assert (~isequal (b(2), 1)) 379s assert (isequal (b, [1 0 2*x])) 379s 10 tests, 10 passed, 0 known failure, 0 skipped 379s [inst/@sym/dilog.m] 379s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/dilog.m 379s ***** assert (isequal (dilog (sym(1)), sym(0))) 379s ***** assert (isequal (dilog (sym(0)), sym(pi)^2/6)) 379s ***** assert (isequal (dilog (sym(2)), -sym(pi)^2/12)) 379s ***** assert (double(dilog(sym(-1))), pi^2/4 - pi*1i*log(2), eps) 379s ***** test 379s % round-trip 379s syms x 379s f = dilog (x); 379s h = function_handle (f); 379s A = h (1.1); 379s B = dilog (1.1); 379s assert (A, B, -eps) 379s 5 tests, 5 passed, 0 known failure, 0 skipped 379s [inst/@sym/dirac.m] 379s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/dirac.m 379s ***** error dirac (sym(1), 2) 379s ***** assert (isequaln (dirac (sym(nan)), sym(nan))) 380s ***** shared x, d 380s d = 1; 380s x = sym('1'); 380s ***** test 380s f1 = dirac(x); 380s f2 = dirac(d); 380s assert( abs(double(f1) - f2) < 1e-15 ) 380s ***** test 380s D = [d d; d d]; 380s A = [x x; x x]; 380s f1 = dirac(A); 380s f2 = dirac(D); 380s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 380s ***** test 380s % round trip 380s y = sym('y'); 380s A = dirac (d); 380s f = dirac (y); 380s h = function_handle (f); 380s B = h (d); 380s assert (A, B, -eps) 380s 5 tests, 5 passed, 0 known failure, 0 skipped 380s [inst/@sym/disp.m] 380s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/disp.m 380s ***** test 380s syms x 380s s = disp(sin(x)); 380s assert(strcmp(s, sprintf(' sin(x)\n'))) 380s ***** test 380s syms x 380s s = disp(sin(x/2), 'flat'); 380s assert(strcmp(s, sprintf(' sin(x/2)\n'))) 380s ***** test 380s % Examples of 2x0 and 0x2 empty matrices: 380s a = sym([1 2; 3 4]); 380s b2x0 = a([true true], [false false]); 380s b0x2 = a([false false], [true true]); 380s assert (isequal (size (b2x0), [2 0])) 380s assert (isequal (size (b0x2), [0 2])) 380s s = disp(b2x0); 380s assert(strcmp(s, sprintf(' []\n'))) 380s s = disp(b0x2); 380s assert(strcmp(s, sprintf(' []\n'))) 380s 3 tests, 3 passed, 0 known failure, 0 skipped 380s [inst/@sym/display.m] 380s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/display.m 380s ***** test 380s assert(true) 380s 1 test, 1 passed, 0 known failure, 0 skipped 380s [inst/@sym/divergence.m] 380s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/divergence.m 380s ***** shared x,y,z 380s syms x y z 380s ***** test 380s % 1D 380s f = x^2; 380s assert (isequal (divergence(f), diff(f,x))) 380s assert (isequal (divergence(f,{x}), diff(f,x))) 380s assert (isequal (divergence(f,[x]), diff(f,x))) 380s assert (isequal (divergence(f,x), diff(f,x))) 380s ***** test 380s % const 380s f = [sym(1); 2; exp(sym(3))]; 380s assert (isequal (divergence(f,{x,y,z}), 0)) 380s f = [sym(1); 2; exp(sym('c'))]; 380s assert (isequal (divergence(f,{x,y,z}), 0)) 381s ***** test 381s % double const 381s f = [1 2]; 381s g = sym(0); 381s assert (isequal (divergence(f, [x y]), g)) 381s % should fail, calls @double: divergence(f, {x y}), g)) 381s ***** test 381s % 1D fcn in 2d/3d 381s f = [x y z]; 381s assert (isequal (divergence(f), 3)) 381s assert (isequal (divergence(f, {x,y,z}), 3)) 381s assert (isequal (divergence(f, [x,y,z]), 3)) 382s ***** test 382s % 2d fcn in 2d/3d 382s f = sin(exp(x)*y+sinh(z)); 382s g2 = [diff(f,x); diff(f,y)]; 382s l2 = diff(g2(1),x) + diff(g2(2),y); 382s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 382s l3 = diff(g3(1),x) + diff(g3(2),y) + diff(g3(3),z); 382s assert (isequal (divergence(g2, {x,y}), l2)) 382s assert (isequal (divergence(g3, {x,y,z}), l3)) 382s ***** error divergence ([1 2], [sym('x')]) 382s ***** error divergence ([1 2], sym('x'), 42) 382s 7 tests, 7 passed, 0 known failure, 0 skipped 382s [inst/@sym/divisors.m] 382s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/divisors.m 382s ***** test 382s assert( isequal( divisors(sym(150)), divisors(sym(-150)) )) 383s 1 test, 1 passed, 0 known failure, 0 skipped 383s [inst/@sym/dot.m] 383s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/dot.m 383s ***** error dot (sym(1), 2, 3) 383s ***** test 383s a = sym([1; 1; 0]); 383s b = sym([1; 2; 4]); 383s c = dot(a, b); 383s assert (isequal (c, sym(3))) 383s ***** test 383s syms x 383s a = sym([x; 0; 0]); 383s b = sym([0; 1; 0]); 383s c = dot(a, b); 383s assert (isequal (c, sym(0))) 383s ***** test 383s assert (isequal (dot (sym([1 i]), sym([i 2])), sym(-i))) 383s 4 tests, 4 passed, 0 known failure, 0 skipped 383s [inst/@sym/double.m] 383s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/double.m 383s ***** test 383s % numeric scalar 383s a = double(sym(10)); 383s assert (a == 10) 383s assert (isa (a, 'double')) 383s ***** test 383s % numeric vectors 383s a = double(sym([10 12])); 383s assert (isequal (a, [10 12])) 383s assert (isa (a, 'double')) 383s ***** test 383s % complex 383s a = 3 + 4i; 383s b = sym(a); 383s assert (isequal (double (b), a)) 383s ***** xtest 383s % unexpected, precisely same floating point 383s a = 3 + 4i; 383s b = sym(a); 383s assert (isequal (double (b/pi), a/pi)) 384s ***** test 384s % floating point 384s x = sqrt(sym(2)); 384s assert( abs(double(x) - sqrt(2)) < 2*eps) 384s x = sym(pi); 384s assert( abs(double(x) - pi) < 2*eps) 384s ***** test 384s oo = sym(inf); 384s assert( double(oo) == inf ) 384s assert( double(-oo) == -inf ) 384s assert( isnan(double(0*oo)) ) 384s ***** test 384s zoo = sym('zoo'); 384s assert (double(zoo) == complex(inf, inf)) 384s ***** test 384s zoo = sym('zoo'); 384s assert (double(-zoo) == double(zoo) ) 384s assert( isnan(double(0*zoo)) ) 384s ***** test 384s % nan 384s snan = sym(nan); 384s assert( isnan(double(snan))) 384s ***** test 384s % don't want NaN+NaNi 384s snan = sym(nan); 384s assert (isreal (double (snan))) 384s ***** test 384s % arrays 384s a = [1 2; 3 4]; 384s assert( isequal( double(sym(a)), a )) 384s assert( isequal( double(sym(a)), a )) 384s % should fail with error for non-double 384s ***** error syms x; double(x) 384s ***** error syms x; double([1 2 x]) 384s 13 tests, 13 passed, 0 known failure, 0 skipped 384s [inst/@sym/dsolve.m] 384s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/dsolve.m 384s ***** error dsolve (1, sym('x')) 384s ***** test 384s syms y(x) 384s de = diff(y, 2) - 4*y == 0; 384s f = dsolve(de); 384s syms C1 C2 384s g1 = C1*exp(-2*x) + C2*exp(2*x); 384s g2 = C2*exp(-2*x) + C1*exp(2*x); 384s assert (isequal (f, g1) || isequal (f, g2)) 385s ***** test 385s % Not enough initial conditions 385s syms y(x) C1 385s de = diff(y, 2) + 4*y == 0; 385s g = 3*cos(2*x) + C1*sin(2*x); 385s try 385s f = dsolve(de, y(0) == 3); 385s waserr = false; 385s catch 385s waserr = true; 385s expectederr = regexp (lasterr (), 'Perhaps.*under-specified'); 385s f = 42; 385s end 385s assert ((waserr && expectederr) || isequal (f, g)) 385s ***** test 385s % Solution in implicit form 385s syms y(x) C1 385s de = (2*x*y(x) - exp(-2*y(x)))*diff(y(x), x) + y(x) == 0; 385s sol = dsolve (de); 385s eqn = x*exp(2*y(x)) - log(y(x)) == C1; 385s % could differ by signs 385s sol = lhs (sol) - rhs (sol); 385s eqn = lhs (eqn) - rhs (eqn); 385s sol2 = subs (sol, C1, -C1); 385s assert (isequal (sol, eqn) || isequal (sol2, eqn)) 388s ***** test 388s % Compute solution and classification 388s syms y(x) C1 388s de = (2*x*y(x) - exp(-2*y(x)))*diff(y(x), x) + y(x) == 0; 388s [sol, classy] = dsolve (de); 388s assert (any (strcmp (classy, '1st_exact'))) 390s ***** test 390s % initial conditions (first order ode) 390s syms y(x) 390s de = diff(y, x) + 4*y == 0; 390s f = dsolve(de, y(0) == 3); 390s g = 3*exp(-4*x); 390s assert (isequal (f, g)) 390s ***** test 390s % initial conditions (second order ode) 390s syms y(x) 390s de = diff(y, 2) + 4*y == 0; 390s f = dsolve(de, y(0) == 3, subs(diff(y,x),x,0)==0); 390s g = 3*cos(2*x); 390s assert (isequal (f, g)) 391s ***** test 391s % Dirichlet boundary conditions (second order ode) 391s syms y(x) 391s de = diff(y, 2) + 4*y == 0; 391s f = dsolve(de, y(0) == 2, y(1) == 0); 391s g = -2*sin(2*x)/tan(sym('2'))+2*cos(2*x); 391s assert (isequal (simplify (f - g), 0)) 392s ***** test 392s % Neumann boundary conditions (second order ode) 392s syms y(x) 392s de = diff(y, 2) + 4*y == 0; 392s f = dsolve(de, subs(diff(y,x),x,0)==1, subs(diff(y,x),x,1)==0); 392s g = sin(2*x)/2+cos(2*x)/(2*tan(sym('2'))); 392s assert (isequal (simplify (f - g), 0)) 392s ***** test 392s % Dirichlet-Neumann boundary conditions (second order ode) 392s syms y(x) 392s de = diff(y, 2) + 4*y == 0; 392s f = dsolve(de, y(0) == 3, subs(diff(y,x),x,1)==0); 392s g = 3*sin(2*x)*tan(sym('2'))+3*cos(2*x); 392s assert (isequal (simplify (f - g), 0)) 393s ***** test 393s % System of ODEs gives struct, Issue #1003. 393s syms x(t) y(t) 393s ode1 = diff(x(t),t) == 2*y(t); 393s ode2 = diff(y(t),t) == 2*x(t); 393s soln = dsolve([ode1, ode2]); 393s assert (isstruct (soln)) 393s assert (numfields (soln) == 2) 393s assert (isequal (sort (fieldnames (soln)), {'x'; 'y'})) 393s ***** test 393s % System of ODEs 393s syms x(t) y(t) C1 C2 393s ode1 = diff(x(t),t) == 2*y(t); 393s ode2 = diff(y(t),t) == 2*x(t); 393s soln = dsolve([ode1, ode2]); 393s soln = [soln.x, soln.y]; 393s g1 = [C1*exp(-2*t) + C2*exp(2*t), -C1*exp(-2*t) + C2*exp(2*t)]; 393s g2 = [C1*exp(2*t) + C2*exp(-2*t), C1*exp(2*t) - C2*exp(-2*t)]; 393s g3 = [-C1*exp(-2*t) + C2*exp(2*t), C1*exp(-2*t) + C2*exp(2*t)]; 393s g4 = [C1*exp(2*t) - C2*exp(-2*t), C1*exp(2*t) + C2*exp(-2*t)]; 393s % old SymPy <= 1.5.1 had some extra twos 393s g5 = [2*C1*exp(-2*t) + 2*C2*exp(2*t), -2*C1*exp(-2*t) + 2*C2*exp(2*t)]; 393s g6 = [2*C1*exp(2*t) + 2*C2*exp(-2*t), 2*C1*exp(2*t) - 2*C2*exp(-2*t)]; 393s assert (isequal (soln, g1) || isequal (soln, g2) || ... 393s isequal (soln, g3) || isequal (soln, g4) || ... 393s isequal (soln, g5) || isequal (soln, g6)) 395s ***** test 395s % System of ODEs (initial-value problem) 395s syms x(t) y(t) 395s ode_1=diff(x(t),t) == 2*y(t); 395s ode_2=diff(y(t),t) == 2*x(t); 395s sol_ivp=dsolve([ode_1,ode_2],x(0)==1,y(0)==0); 395s g_ivp=[exp(-2*t)/2+exp(2*t)/2,-exp(-2*t)/2+exp(2*t)/2]; 395s assert (isequal ([sol_ivp.x, sol_ivp.y], g_ivp)) 396s ***** test 396s syms y(x) 396s de = diff(y, 2) + 4*y == 0; 396s f = dsolve(de, y(0) == 0, y(sym(pi)/4) == 1); 396s g = sin(2*x); 396s assert (isequal (f, g)) 396s ***** test 396s % Nonlinear example 396s syms y(x) C1 396s e = diff(y, x) == y^2; 396s g = -1 / (C1 + x); 396s soln = dsolve(e); 396s assert (isequal (soln, g)) 397s ***** test 397s % Nonlinear example with initial condition 397s syms y(x) 397s e = diff(y, x) == y^2; 397s g = -1 / (x - 1); 397s soln = dsolve(e, y(0) == 1); 397s assert (isequal (soln, g)) 397s ***** test 397s % forcing, Issue #183, broken in older sympy 397s if (pycall_sympy__ ('return Version(spver) >= Version("1.7.1")')) 397s syms x(t) y(t) 397s ode1 = diff(x) == x + sin(t) + 2; 397s ode2 = diff(y) == y - t - 3; 397s soln = dsolve([ode1 ode2], x(0) == 1, y(0) == 2); 397s X = soln.x; 397s Y = soln.y; 397s assert (isequal (diff(X) - (X + sin(t) + 2), 0)) 397s assert (isequal (diff(Y) - (Y - t - 3), 0)) 397s end 398s ***** test 398s syms f(x) a b 398s de = diff(f, x) == 4*f; 398s s = dsolve(de, f(a) == b); 398s assert (isequal (subs(s, x, a), b)) 398s ***** test 398s % array of ICs 398s syms x(t) y(t) 398s ode_1 = diff (x(t), t) == 2*y(t); 398s ode_2 = diff (y(t), t) == 2*x(t); 398s sol = dsolve([ode_1, ode_2], [x(0)==1 y(0)==0]); 398s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 398s assert (isequal ([sol.x, sol.y], g)) 399s ***** test 399s % cell-array of ICs or ODEs, but not both 399s % Note: to support both we'd need a wrapper outside of @sym 399s syms x(t) y(t) 399s ode_1 = diff (x(t), t) == 2*y(t); 399s ode_2 = diff (y(t), t) == 2*x(t); 399s sol = dsolve([ode_1, ode_2], {x(0)==1 y(0)==0}); 399s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 399s assert (isequal ([sol.x, sol.y], g)) 399s sol = dsolve({ode_1, ode_2}, [x(0)==1 y(0)==0]); 399s g = [exp(-2*t)/2+exp(2*t)/2, -exp(-2*t)/2+exp(2*t)/2]; 399s assert (isequal ([sol.x, sol.y], g)) 400s ***** test 400s % array of ICs, Issue #1040. 400s if (pycall_sympy__ ('return Version(spver) >= Version("1.7.1")')) 400s syms x(t) y(t) z(t) 400s syms x_0 y_0 z_0 400s diffEqns = [diff(x, t) == -x + 1, diff(y, t) == -y, diff(z, t) == -z]; 400s initCond = [x(0) == x_0, y(0) == y_0, z(0) == z_0]; 400s soln = dsolve (diffEqns, initCond); 400s soln = [soln.x, soln.y, soln.z]; 400s exact_soln = [(x_0 - 1)*exp(-t) + 1 y_0*exp(-t) z_0*exp(-t)]; 400s assert (isequal (soln, exact_soln)) 400s end 401s 21 tests, 21 passed, 0 known failure, 0 skipped 401s [inst/@sym/ei.m] 401s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ei.m 401s ***** test 401s syms x 401s f = ei(sym(0)); 401s assert (double(f) == -inf) 401s ***** test 401s D = [1.895117816355937 4.954234356001890]; 401s A = ei(sym([1 2])); 401s assert (all (abs(double(A) - D) < 1e-15)) 401s 2 tests, 2 passed, 0 known failure, 0 skipped 401s [inst/@sym/eig.m] 401s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/eig.m 401s ***** test 401s % basic 401s A = [1 2; 3 4]; 401s B = sym(A); 401s sd = eig(A); 401s s = eig(B); 401s s2 = double(s); 401s assert (norm(sort(s2) - sort(sd)) <= 10*eps) 402s ***** test 402s % scalars 402s syms x 402s a = sym(-10); 402s assert (isequal (eig(a), a)) 402s assert (isequal (eig(x), x)) 402s ***** test 402s % diag, multiplicity 402s A = diag([6 6 7]); 402s B = sym(A); 402s e = eig(B); 402s assert (isequal (size (e), [3 1])) 402s assert (sum(logical(e == 6)) == 2) 402s assert (sum(logical(e == 7)) == 1) 402s ***** test 402s % matrix with symbols 402s syms x y positive 402s A = [x+9 y; sym(0) 6]; 402s s = eig(A); 402s s = simplify(s); 402s assert (isequal (s, [x+9; 6]) || isequal (s, [6; x+9])) 402s ***** test 402s % eigenvects 402s e = sym([5 5 5 6 7]); 402s A = diag(e); 402s [V, D] = eig(A); 402s assert (isequal (diag(D), e.')) 402s assert (isequal (V, diag(sym([1 1 1 1 1])))) 402s ***** test 402s % alg/geom mult, eigenvects 402s e = sym([5 5 5 6]); 402s A = diag(e); 402s A(1,2) = 1; 402s [V, D] = eig(A); 402s assert (isequal (diag(D), e.')) 402s assert (sum(logical(V(1,:) ~= 0)) == 2) 402s assert (sum(logical(V(2,:) ~= 0)) == 0) 402s assert (sum(logical(V(3,:) ~= 0)) == 1) 402s assert (sum(logical(V(4,:) ~= 0)) == 1) 403s 6 tests, 6 passed, 0 known failure, 0 skipped 403s [inst/@sym/ellipke.m] 403s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipke.m 403s ***** error ellipke (sym(1), 2) 403s ***** test 403s for i = 2:10 403s [K E] = ellipke (sym (1)/i); 403s [k e] = ellipke (1/i); 403s assert (double ([K E]), [k e], 2*eps) 403s end 405s 2 tests, 2 passed, 0 known failure, 0 skipped 405s [inst/@sym/ellipticCE.m] 405s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticCE.m 405s ***** error ellipticCE (sym (1), 2) 405s ***** assert (isequal (ellipticCE (sym (0)), sym (1))) 405s ***** assert (isequal (ellipticCE (sym (1)), sym (pi)/2)) 405s ***** assert (double (ellipticCE (sym (pi)/4)), 1.482786927, 10e-10) 405s ***** assert (double (ellipticCE (sym (pi)/2)), 1.775344699, 10e-10) 405s 5 tests, 5 passed, 0 known failure, 0 skipped 405s [inst/@sym/ellipticCK.m] 405s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticCK.m 405s ***** error ellipticCK (sym (1), 2) 405s ***** assert (double (ellipticCK (sym (1)/2)), 1.8541, 10e-5) 405s ***** assert (double (ellipticCK (sym (101)/10)), 0.812691836806976, -3*eps) 405s ***** assert (isequal (ellipticCK (sym (1)), sym(pi)/2)) 405s 4 tests, 4 passed, 0 known failure, 0 skipped 405s [inst/@sym/ellipticCPi.m] 405s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticCPi.m 405s ***** error ellipticCPi (sym (1)) 406s ***** error ellipticCPi (sym (1), 2, 3) 406s ***** assert (double (ellipticCPi (0, sym (1)/2)), 1.854074677, 10e-10) 406s ***** assert (double (ellipticCPi (sym (6)/10, sym(71)/10)), 1.29469534336658, -20*eps) 406s 4 tests, 4 passed, 0 known failure, 0 skipped 406s [inst/@sym/ellipticE.m] 406s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticE.m 406s ***** error ellipticE (sym(1), 2, 3) 406s ***** assert (double (ellipticE (sym (-105)/10)), 3.70961391, 10e-9) 406s ***** assert (double (ellipticE (sym (-pi)/4)), 1.844349247, 10e-10) 406s ***** assert (double (ellipticE (sym (0))), 1.570796327, 10e-10) 407s ***** assert (double (ellipticE (sym (1))), 1, 10e-1) 407s ***** test 407s % compare to Maple 407s us = vpa (ellipticE (sym(7)/6, sym(13)/7), 40); 407s % > evalf(EllipticE(sin(7/6), sqrt(13/7)), 40); 407s maple = vpa ('0.6263078268598504591831743625971763209496', 40) + ... 407s vpa ('0.1775496232203171126975790989055865596501j', 40); 407s assert (abs (double (maple - us)), 0, 2e-39) 407s ***** test 407s % compare to Maple 407s us = vpa (ellipticE (sym(8)/7), 40); 407s % > evalf(EllipticE(sqrt(8/7)), 40); 407s maple = vpa ('0.8717182992576322508542205614105802333270', 40) + ... 407s vpa ('0.1066754320328976949531350910798010526685j', 40); 407s assert (abs (double (maple - us)), 0, 2e-39) 407s 7 tests, 7 passed, 0 known failure, 0 skipped 407s [inst/@sym/ellipticF.m] 407s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticF.m 407s ***** error ellipticF (sym(1)) 407s ***** error ellipticF (sym(1), 2, 3) 407s ***** assert (double (ellipticF (sym (pi)/3, sym (-105)/10)), 0.6184459461, 10e-11) 407s ***** assert (double (ellipticF (sym (pi)/4, sym (-pi))), 0.6485970495, 10e-11) 407s ***** assert (double (ellipticF (sym (1), sym (-1))), 0.8963937895, 10e-11) 407s ***** assert (double (ellipticF (sym (pi)/6, sym (0))), 0.5235987756, 10e-11) 408s ***** test 408s % compare to Maple 408s us = vpa (ellipticF (sym(11)/10, sym(9)/4), 40); 408s % > evalf(EllipticF(sin(11/10), sqrt(9/4)), 40); 408s maple = vpa ('1.206444996991058996424988192917728014427', 40) - ... 408s vpa ('0.8157358125823472313001683083685348517476j', 40); 408s assert (abs (double (maple - us)), 0, 1e-39) 408s 7 tests, 7 passed, 0 known failure, 0 skipped 408s [inst/@sym/ellipticK.m] 408s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticK.m 408s ***** error ellipticK (sym(1), 2) 408s ***** assert (isequal (ellipticK (sym (0)), sym (pi)/2)) 408s ***** assert (isequal (ellipticK (sym (-inf)), sym (0))) 408s ***** assert (double (ellipticK (sym (1)/2)), 1.854074677, 10e-10) 408s ***** assert (double (ellipticK (sym (pi)/4)), 2.225253684, 10e-10) 408s ***** assert (double (ellipticK (sym (-55)/10)), 0.9324665884, 10e-11) 408s ***** test 408s % compare to double ellipke 408s m = 1/5; 408s ms = sym(1)/5; 408s [K, E] = ellipke (m); 408s assert (double (ellipticK (ms)), K, -1e-15) 408s assert (double (ellipticE (ms)), E, -1e-15) 408s ***** test 408s % compare to double ellipke 408s if (exist ('OCTAVE_VERSION', 'builtin')) 408s m = -10.3; 408s ms = -sym(103)/10; 408s [K, E] = ellipke (m); 408s assert (double (ellipticK (ms)), K, -1e-15) 408s assert (double (ellipticE (ms)), E, -1e-15) 408s end 408s ***** test 408s % compare to Maple 408s us = vpa (ellipticK (sym (7)), 40); 408s % > evalf(EllipticK(sqrt(7)), 40); 408s maple = vpa ('0.6168027921799632674669917683443602673441', 40) - ... 408s vpa ('0.9114898734184488922164103102629560336918j', 40); 408s assert (abs (double (maple - us)), 0, 1e-39) 409s 9 tests, 9 passed, 0 known failure, 0 skipped 409s [inst/@sym/ellipticPi.m] 409s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ellipticPi.m 409s ***** error ellipticPi (sym (1)) 409s ***** error ellipticPi (sym (1), 2, 3, 4) 409s ***** assert (double (ellipticPi (sym (-23)/10, sym (pi)/4, 0)), 0.5876852228, 10e-11) 409s ***** assert (double (ellipticPi (sym (1)/3, sym (pi)/3, sym (1)/2)), 1.285032276, 10e-11) 409s ***** assert (double (ellipticPi (sym (2), sym (pi)/6, sym (2))), 0.7507322117, 10e-11) 409s ***** xtest 409s % FIXME: search/report upstream 409s assert (double (ellipticPi (sym (-1), 0, sym (1))), 0) 409s !!!!! known failure 409s ASSERT errors for: assert (double (ellipticPi (sym (-1), 0, sym (1))),0) 409s 409s Location | Observed | Expected | Reason 409s () NaN 0 'NaN' mismatch 409s ***** xtest 409s % FIXME: this is a regression somewhere: loss of precision: Issue #1064 409s % compare to Maple, complete 409s us = vpa (ellipticPi (sym(1)/6, sym(4)/3), 40); 409s % > evalf(EllipticPi(sin(1/6), sqrt(4/3)), 40); 409s maple = vpa ('2.019271696236161760696477679310987869058', 40) - ... 409s vpa ('1.708165765120289929280805062355360570830j', 40); 409s assert (abs (double (maple - us)), 0, 2e-39) 412s !!!!! known failure 412s ASSERT errors for: assert (abs (double (maple - us)),0,2e-39) 412s 412s Location | Observed | Expected | Reason 412s () 5.7666e-32 0 Abs err 5.7666e-32 exceeds tol 2e-39 by 6e-32 412s ***** test 412s % compare to Maple, complete 412s us = vpa (ellipticPi (sym(1)/6, sym(4)/3), 40); 412s % > evalf(EllipticPi(sin(1/6), sqrt(4/3)), 40); 412s maple = vpa ('2.019271696236161760696477679310987869058', 40) - ... 412s vpa ('1.708165765120289929280805062355360570830j', 40); 412s assert (abs (double (maple - us)), 0, 2e-30) 415s ***** test 415s % compare to Maple, incomplete 415s us = vpa (ellipticPi (sym(8)/7, sym(4)/3, sym(2)/7), 40); 415s % > evalf(EllipticPi(sin(4/3), 8/7, sqrt(2/7)), 40); 415s maple = vpa ('2.089415796799294830305265090302275542033', 40) - ... 415s vpa ('4.798862045930802761256228043192491271947j', 40); 415s assert (abs (double (maple - us)), 0, 6e-39) 416s 9 tests, 7 passed, 2 known failures, 0 skipped 416s [inst/@sym/end.m] 416s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/end.m 416s ***** test 416s % scalar 416s syms x 416s y = x(1:end); 416s assert (isequal (x, y)) 416s ***** test 416s % vector 416s syms x 416s A = [1 2 x 4]; 416s y = A(end-1:end); 416s assert (isequal (y, [x 4])) 416s ***** test 416s % subset of matrix 416s syms x 416s A = [1 2 x; x 3 9; 4 x*x 6]; 416s y = A(end,1:end-1); 416s assert (isequal (y, [4 x*x])) 416s ***** test 416s % linear index of matrix 416s syms x 416s A = [1 2 x; x 3 9]; 416s y = A(end); 416s assert (isequal (y, sym(9))) 416s 4 tests, 4 passed, 0 known failure, 0 skipped 416s [inst/@sym/eq.m] 416s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/eq.m 416s ***** test 416s % simple tests with scalar numbers 416s assert (logical (sym(1) == sym(1))) 416s assert (logical (sym(1) == 1)) 416s assert (~logical (sym(1) == 0)) 416s assert (isequal (sym(1) == sym(1), sym(true))) 416s assert (isequal (sym(1) == 1, sym(true))) 416s assert (isequal (sym(1) == 0, sym(false))) 416s ***** test 416s % Type of the output is sym or logical? 416s % FIXME: in current version, they are sym 416s e = sym(1) == sym(1); 416s %assert (islogical (e)) 416s assert (isa (e, 'sym')) 416s ***** test 416s % things involving a variable are usually not bool but sym. 416s % (SMT behaviour says always, FIXME: currently we differ.) 416s syms x 416s e = x == 0; 416s assert (~islogical (e)) 416s assert (isa (e, 'sym')) 416s ***** test 416s % ... except of course via cancelation 416s syms x 416s e = x - x == 0; 416s assert (logical (e)) 416s assert (isequal (e, sym(true))) 416s ***** test 416s % array == array 416s a = sym([1 2; 3 4]); 416s y = a == a; 416s assert (isequal( size(y), [2 2])) 416s assert (isequal (y, sym([true true; true true]))) 416s assert (all(all(y))) 416s y = a == 1; 416s assert (isequal( size(y), [2 2])) 416s assert (isequal (y, sym([true false; false false]))) 416s assert (any(any(y))) 416s y = a == 42; 416s assert (isequal( size(y), [2 2])) 416s assert (isequal (y, sym([false false; false false]))) 417s ***** test 417s % more array == array 417s D = [0 1; 2 3]; 417s A = [sym(0) 1; sym(2) 3]; 417s DZ = D - D; 417s assert (isequal (logical(A == A), [true true; true true])) 417s assert (isequal (logical(A == D), [true true; true true])) 417s assert (isequal (logical(A - D == DZ), [true true; true true])) 417s assert (all (all ( A == A ))) 417s assert (all (all ( A == D ))) 417s assert (all (all ( A - D == DZ ))) 417s ***** test 417s % logical output, right shape, etc 417s t = true; f = false; 417s a = sym([0 1 2; 3 4 5]); 417s b = sym([0 1 1; 3 5 5]); 417s e = a == b; 417s eexp = sym(logical([1 1 0; 1 0 1])); 417s assert (isequal (e, eexp)) 417s a = sym([0 1 2]); 417s b = sym([0 1 1]); 417s e = a == b; 417s eexp = sym(logical([1 1 0])); 417s assert (isequal (e, eexp)) 417s e = a' == b'; 417s eexp = eexp.'; % is/was bug here with ' 417s assert (isequal (e, eexp)) 418s ***** test 418s % empty matrices compare to correct empty size 418s a = zeros (sym(3), 0); 418s assert (size (a == a), [3, 0]) 418s a = zeros (sym(0), 2); 418s assert (size (a == a), [0, 2]) 418s 8 tests, 8 passed, 0 known failure, 0 skipped 418s [inst/@sym/equationsToMatrix.m] 418s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/equationsToMatrix.m 418s ***** test 418s syms x y z 418s [A, B] = equationsToMatrix ([x + y - z == 1, 3*x - 2*y + z == 3, 4*x - 2*y + z + 9 == 0], [x, y, z]); 418s a = sym ([1 1 -1; 3 -2 1; 4 -2 1]); 418s b = sym ([1; 3; -9]); 418s assert (isequal (A, a)) 418s assert (isequal (B, b)) 419s ***** test 419s syms x y z 419s 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]); 419s a = sym ([3 -3 -5; 4 -7 -3; 4 -9 -3]); 419s assert (isequal (A, a)) 419s ***** test 419s syms x y 419s [A, B] = equationsToMatrix ([3*x + 9*y - 5 == 0, -8*x - 3*y == -2]); 419s a = sym ([3 9; -8 -3]); 419s b = sym ([5; -2]); 419s assert (isequal (A, a)) 419s assert (isequal (B, b)) 419s ***** test 419s % override symvar order 419s syms x y 419s [A, B] = equationsToMatrix ([3*x + 9*y - 5 == 0, -8*x - 3*y == -2], [y x]); 419s a = sym ([9 3; -3 -8]); 419s b = sym ([5; -2]); 419s assert (isequal (A, a)) 419s assert (isequal (B, b)) 420s ***** test 420s syms x y z 420s [A, B] = equationsToMatrix ([x - 9*y + z == -5, -9*y*z == -5], [y, x]); 420s a = sym ([[-9 1]; -9*z 0]); 420s b = sym ([-5 - z; -5]); 420s assert (isequal (A, a)) 420s assert (isequal (B, b)) 420s ***** test 420s syms x y 420s [A, B] = equationsToMatrix (-6*x + 4*y == 5, 4*x - 4*y - 5, x, y); 420s a = sym ([-6 4; 4 -4]); 420s b = sym ([5; 5]); 420s assert (isequal (A, a)) 420s assert (isequal (B, b)) 421s ***** test 421s % vertical list of equations 421s syms x y 421s [A, B] = equationsToMatrix ([-6*x + 4*y == 5; 4*x - 4*y - 5], [x y]); 421s a = sym ([-6 4; 4 -4]); 421s b = sym ([5; 5]); 421s assert (isequal (A, a)) 421s assert (isequal (B, b)) 421s ***** test 421s syms x y 421s [A, B] = equationsToMatrix (5*x == 1, y, x - 6*y - 7, y); 421s a = sym ([0; 1; -6]); 421s b = sym ([1 - 5*x; 0; -x + 7]); 421s assert (isequal (A, a)) 421s assert (isequal (B, b)) 421s ***** error 421s syms x y 421s [A, B] = equationsToMatrix (x^2 + y^2 == 1, x - y + 1, x, y); 421s ***** test 421s % single equation 421s syms x 421s [A, B] = equationsToMatrix (3*x == 2, x); 421s a = sym (3); 421s b = sym (2); 421s assert (isequal (A, a)) 421s assert (isequal (B, b)) 422s ***** test 422s % single equation w/ symvar 422s syms x 422s [A, B] = equationsToMatrix (3*x == 2); 422s a = sym (3); 422s b = sym (2); 422s assert (isequal (A, a)) 422s assert (isequal (B, b)) 422s ***** error 422s syms x 422s equationsToMatrix (3*x == 2, [x x]) 422s 12 tests, 12 passed, 0 known failure, 0 skipped 422s [inst/@sym/erf.m] 422s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/erf.m 422s ***** error erf (sym(1), 2) 422s ***** assert (isequaln (erf (sym(nan)), sym(nan))) 422s ***** shared x, d 422s d = 1; 422s x = sym('1'); 422s ***** test 422s f1 = erf(x); 422s f2 = erf(d); 422s assert( abs(double(f1) - f2) < 1e-15 ) 422s ***** test 422s D = [d d; d d]; 422s A = [x x; x x]; 422s f1 = erf(A); 422s f2 = erf(D); 422s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 422s ***** test 422s % round trip 422s y = sym('y'); 422s A = erf (d); 422s f = erf (y); 422s h = function_handle (f); 422s B = h (d); 422s assert (A, B, -eps) 422s 5 tests, 5 passed, 0 known failure, 0 skipped 422s [inst/@sym/erfc.m] 422s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/erfc.m 422s ***** error erfc (sym(1), 2) 422s ***** assert (isequaln (erfc (sym(nan)), sym(nan))) 422s ***** shared x, d 422s d = 1; 422s x = sym('1'); 422s ***** test 422s f1 = erfc(x); 422s f2 = erfc(d); 422s assert( abs(double(f1) - f2) < 1e-15 ) 422s ***** test 422s D = [d d; d d]; 422s A = [x x; x x]; 422s f1 = erfc(A); 422s f2 = erfc(D); 422s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 422s ***** test 422s % round trip 422s y = sym('y'); 422s A = erfc (d); 422s f = erfc (y); 422s h = function_handle (f); 422s B = h (d); 422s assert (A, B, -eps) 422s 5 tests, 5 passed, 0 known failure, 0 skipped 422s [inst/@sym/erfcinv.m] 422s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/erfcinv.m 422s ***** error erfcinv (sym(1), 2) 422s ***** assert (isequaln (erfcinv (sym(nan)), sym(nan))) 422s ***** shared x, d 422s d = 1; 422s x = sym('1'); 422s ***** test 422s f1 = erfcinv(x); 422s f2 = erfcinv(d); 422s assert( abs(double(f1) - f2) < 1e-15 ) 422s ***** test 422s D = [d d; d d]; 422s A = [x x; x x]; 422s f1 = erfcinv(A); 422s f2 = erfcinv(D); 422s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 423s ***** test 423s % round trip 423s y = sym('y'); 423s A = erfcinv (d); 423s f = erfcinv (y); 423s h = function_handle (f); 423s B = h (d); 423s assert (A, B, -eps) 423s 5 tests, 5 passed, 0 known failure, 0 skipped 423s [inst/@sym/erfi.m] 423s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/erfi.m 423s ***** error erfi (sym(1), 2) 423s ***** assert (isequaln (erfi (sym(nan)), sym(nan))) 423s ***** shared x, d 423s d = 0; 423s x = sym('0'); 423s ***** test 423s f1 = erfi(x); 423s f2 = 0; 423s assert( abs(double(f1) - f2) < 1e-15 ) 423s ***** test 423s D = [d d; d d]; 423s A = [x x; x x]; 423s f1 = erfi(A); 423s f2 = 0; 423s f2 = [f2 f2; f2 f2]; 423s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 423s ***** test 423s % round trip 423s y = sym('y'); 423s A = erfi (d); 423s f = erfi (y); 423s h = function_handle (f); 423s B = h (d); 423s assert (A, B, -eps) 423s 5 tests, 5 passed, 0 known failure, 0 skipped 423s [inst/@sym/erfinv.m] 423s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/erfinv.m 423s ***** error erfinv (sym(1), 2) 423s ***** assert (isequaln (erfinv (sym(nan)), sym(nan))) 423s ***** shared x, d 423s d = 1/2; 423s x = sym('1/2'); 423s ***** test 423s f1 = erfinv(x); 423s f2 = erfinv(d); 423s assert( abs(double(f1) - f2) < 1e-15 ) 423s ***** test 423s D = [d d; d d]; 423s A = [x x; x x]; 423s f1 = erfinv(A); 423s f2 = erfinv(D); 423s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 423s ***** test 423s % round trip 423s y = sym('y'); 423s A = erfinv (d); 423s f = erfinv (y); 423s h = function_handle (f); 423s B = h (d); 423s assert (A, B, -eps) 423s 5 tests, 5 passed, 0 known failure, 0 skipped 423s [inst/@sym/euler.m] 423s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/euler.m 423s ***** error euler (sym(1), 2, 3) 424s ***** assert (isequal (euler (sym(0)), sym(1))) 424s ***** test 424s m = sym([0 1 2; 8 10 888889]); 424s A = euler (m); 424s B = sym([1 0 -1; 1385 -50521 0]); 424s assert (isequal (A, B)) 424s ***** test 424s syms x 424s assert (isequal (euler(6, x), x^6 - 3*x^5 + 5*x^3 - 3*x)) 424s ***** assert (isnan (euler (3, sym(nan)))) 424s ***** test 424s syms m x 424s em = euler (m, x); 424s A = subs(em, [m x], [2 sym(pi)]); 424s assert (isequal (A, sym(pi)^2 - sym(pi))) 424s ***** test 424s % vectorized 424s syms x y 424s A = euler([1; 2], [x; y]); 424s B = [x - sym(1)/2; y^2 - y]; 424s assert (isequal (A, B)) 424s ***** test 424s % round trip 424s syms m z 424s f = euler (m, z); 424s h = function_handle (f, 'vars', [m z]); 424s A = h (2, 2.2); 424s B = euler (2, 2.2); 424s assert (A, B) 424s ***** test 424s % compare vpa to maple: Digits:=34; evalf(euler(13, exp(1)+Pi*I/13)); 424s A = vpa('1623.14184180556920918624604530515') + ... 424s vpa('4270.98066989140286451493108809574')*1i; 424s z = vpa (exp(1), 32) + vpa(pi, 32)/13*1i; 424s B = euler (13, z); 424s relerr = abs(double(abs((B - A)/A))); 424s assert (relerr < 20*eps); 426s ***** xtest 426s % as above, high-prec result broken in 1.12: https://github.com/sympy/sympy/issues/24156 426s A = vpa('1623.14184180556920918624604530515') + ... 426s vpa('4270.98066989140286451493108809574')*1i; 426s z = vpa (exp(1), 32) + vpa(pi, 32)/13*1i; 426s B = euler (13, z); 426s relerr = abs(double(abs((B - A)/A))); 426s assert (relerr < 2e-31); 428s !!!!! known failure 428s assert (relerr < 2e-31) failed 428s 10 tests, 9 passed, 1 known failure, 0 skipped 428s [inst/@sym/eval.m] 428s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/eval.m 428s ***** error eval (sym(1), 2) 428s ***** assert (isnumeric (eval (sym(3)))) 428s ***** assert (isnumeric (eval (sin (sym(3))))) 428s ***** test 428s syms x y 428s f = 2*x*y; 428s x = 3; 428s y = 4; 428s g = eval (f); 428s assert (isequal (g, 24)) 428s ***** test 428s syms x y 428s f = 2*x*y; 428s clear y 428s x = 3; 428s g = eval (f); 428s assert (isequal (g, 6*sym('y'))) 429s ***** test 429s % do not convert inputs to sym, for SMT compat 429s nearpi = pi + 1e-14; % sym could make this pi 429s x = sym('x'); 429s f = 2*x; 429s x = nearpi; 429s d = eval (f); 429s assert (abs (d - 2*pi) > 1e-15) 429s 6 tests, 6 passed, 0 known failure, 0 skipped 429s [inst/@sym/exp.m] 429s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/exp.m 429s ***** error exp (sym(1), 2) 429s ***** assert (isequaln (exp (sym(nan)), sym(nan))) 429s ***** shared x, d 429s d = 1; 429s x = sym('1'); 429s ***** test 429s f1 = exp(x); 429s f2 = exp(d); 429s assert( abs(double(f1) - f2) < 1e-15 ) 429s ***** test 429s D = [d d; d d]; 429s A = [x x; x x]; 429s f1 = exp(A); 429s f2 = exp(D); 429s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 429s ***** test 429s % round trip 429s y = sym('y'); 429s A = exp (d); 429s f = exp (y); 429s h = function_handle (f); 429s B = h (d); 429s assert (A, B, -eps) 429s 5 tests, 5 passed, 0 known failure, 0 skipped 429s [inst/@sym/expand.m] 429s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/expand.m 429s ***** test 429s syms x 429s assert (logical (x^2 + 6*x + 5 == expand ((x+5)*(x+1)))) 429s assert (isequal (x^2 + 6*x + 5, expand ((x+5)*(x+1)))) 429s ***** test 429s % array 429s syms x 429s assert (isequal (expand ([x (x+1)*x]), [x x^2+x])) 429s 2 tests, 2 passed, 0 known failure, 0 skipped 429s [inst/@sym/expint.m] 429s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/expint.m 429s ***** error expint (sym(1), 2, 3) 429s ***** test 429s f1 = expint(sym(1)); 429s f2 = expint(1); 429s assert( abs(double(f1) - f2) < 1e-15 ) 430s ***** test 430s f1 = expint(sym(1i)); 430s f2 = expint(1i); 430s assert( abs(double(f1) - f2) < 1e-15 ) 430s ***** test 430s D = [1 2; 3 4]; 430s A = sym(D); 430s f1 = expint(A); 430s f2 = expint(D); 430s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 430s ***** test 430s syms x 430s A = expint(x); 430s B = expint(1, x); 430s assert (isequal (A, B)) 430s ***** test 430s syms x 430s A = exp(-x)/x; 430s B = expint(0, x); 430s assert (isequal (A, B)) 430s ***** test 430s % round trip 430s syms x 430s A = expint (3); 430s f = expint (x); 430s h = function_handle (f); 430s B = h (3); 430s assert (A, B, -eps) 430s ***** error 430s % round trip 430s syms n x 430s f = expint (n, x); 430s h = function_handle (f); 430s 8 tests, 8 passed, 0 known failure, 0 skipped 430s [inst/@sym/expm.m] 430s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/expm.m 430s ***** test 430s % scalar 430s syms x 430s assert (isequal (expm(x), exp(x))) 430s ***** test 430s % diagonal 430s A = [sym(1) 0; 0 sym(3)]; 430s B = [exp(sym(1)) 0; 0 exp(sym(3))]; 430s assert (isequal (expm(A), B)) 430s ***** test 430s % diagonal w/ x 430s syms x positive 430s A = [sym(1) 0; 0 x+2]; 430s B = [exp(sym(1)) 0; 0 exp(x+2)]; 430s assert (isequal (expm(A), B)) 431s ***** test 431s % non-diagonal 431s syms x positive 431s A = [sym(1) 2; 0 x+2]; 431s B = expm(A); 431s C = double(subs(B, x, 4)); 431s D = expm(double(subs(A, x, 4))); 431s assert (max (max (abs (C - D))) <= 1e-11) 431s 4 tests, 4 passed, 0 known failure, 0 skipped 431s [inst/@sym/eye.m] 431s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/eye.m 431s ***** test 431s y = eye(sym(2)); 431s x = [1 0; 0 1]; 431s assert( isequal( y, sym(x))) 431s ***** test 431s y = eye(sym(2), 1); 431s x = [1; 0]; 431s assert( isequal( y, sym(x))) 431s ***** test 431s y = eye(sym(1), 2); 431s x = [1 0]; 431s assert( isequal( y, sym(x))) 431s ***** test 431s y = eye (sym([2 3])); 431s x = sym (eye ([2 3])); 431s assert (isequal (y, x)) 431s ***** assert( isa( eye(sym(2), 'double'), 'double')) 431s ***** assert( isa( eye(3, sym(3), 'single') , 'single')) 431s ***** assert( isa( eye(3, sym(3)), 'sym')) 431s ***** assert( isa( eye(3, sym(3), 'sym'), 'sym')) 431s ***** xtest 431s % Issue #13 431s assert( isa( eye(3, 3, 'sym'), 'sym')) 431s !!!!! known failure 431s invalid data type specified 431s 9 tests, 8 passed, 1 known failure, 0 skipped 431s [inst/@sym/ezcontour.m] 431s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ezcontour.m 431s ***** error 431s syms x y z 431s ezcontour (x*y*z) 432s 1 test, 1 passed, 0 known failure, 0 skipped 432s [inst/@sym/ezmesh.m] 432s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ezmesh.m 432s ***** error 432s syms u v t 432s ezmesh(u*v, 2*u*v, 3*v*t) 432s ***** error 432s syms u v t 432s ezmesh(u*v, 2*u*v, u*v*t) 432s 2 tests, 2 passed, 0 known failure, 0 skipped 432s [inst/@sym/ezsurf.m] 432s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ezsurf.m 432s ***** error 432s syms u v t 432s ezsurf(u*v, 2*u*v, 3*v*t) 433s ***** error 433s syms u v t 433s ezsurf(u*v, 2*u*v, u*v*t) 433s 2 tests, 2 passed, 0 known failure, 0 skipped 433s [inst/@sym/factor.m] 433s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/factor.m 433s ***** test 433s % n = 152862; 433s % [p,m] = factor(n); % only works on Octave, no Matlab as of 2014a 433s n = 330; % so we use an output without repeated factors 433s p = factor(n); m = ones(size(p)); 433s [ps,ms] = factor(sym(n)); 433s assert (isequal (p, ps)) 433s assert (isequal (m, ms)) 433s ***** test 433s n = sym(2)^4*13; 433s [p,m] = factor(n); 433s assert (isequal (p, [2 13])) 433s assert (isequal (m, [4 1])) 433s ***** test syms x 433s assert( logical (factor(x^2 + 6*x + 5) == (x+5)*(x+1))) 433s ***** test 433s syms x 433s f = [ x^4/2 + 5*x^3/12 - x^2/3 x^2 - 1 10]; 433s g = [ x^2*(2*x - 1)*(3*x + 4)/12 (x+1)*(x-1) 10]; 433s assert (isequal (factor(f), g)) 434s ***** test 434s % "fragile form" works 434s A = factor(sym(124)); 434s B = strtrim(disp(A, 'flat')); 434s assert (strcmp (B, '2**2*31**1')) 434s ***** error [p, m] = factor(sym('x')); 434s ***** error [p, m] = factor(sym(42), sym('x')); 434s ***** test 434s % if polynomial happens to be a constant, don't attempt integer 434s % factorization if a variable is specified 434s f = sym(42); 434s q = factor(f, sym('x')); 434s assert (isequal (f, q)); 434s 8 tests, 8 passed, 0 known failure, 0 skipped 434s [inst/@sym/factorial.m] 434s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/factorial.m 434s ***** error factorial (sym(1), 2) 434s ***** xtest 434s assert (isequaln (factorial (sym(nan)), sym(nan))) 434s !!!!! known failure 434s assert (isequaln (factorial (sym (nan)), sym (nan))) failed 434s ***** shared x, d 434s d = 1; 434s x = sym('1'); 434s ***** test 434s f1 = factorial(x); 434s f2 = factorial(d); 434s assert( abs(double(f1) - f2) < 1e-15 ) 435s ***** test 435s D = [d d; d d]; 435s A = [x x; x x]; 435s f1 = factorial(A); 435s f2 = factorial(D); 435s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 435s ***** test 435s % round trip 435s y = sym('y'); 435s A = factorial (d); 435s f = factorial (y); 435s h = function_handle (f); 435s B = h (d); 435s assert (A, B, -eps) 435s 5 tests, 4 passed, 1 known failure, 0 skipped 435s [inst/@sym/find.m] 435s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/find.m 435s ***** error find (sym (1), 2, 3, 4) 435s ***** error [x, y, z, w] = find (sym (1)) 435s ***** test 435s syms x y positive 435s assert (isequal (find ([0 x 0 y]), [2 4])) 435s assert (isequal (find ([0 x 0 y], 1), 2)) 435s assert (isequal (find ([0 x 0 y], 1, 'first'), 2)) 435s assert (isequal (find ([0 x 0 y], 1, 'last'), 4)) 435s assert (isequal (find ([0 x 0 y], 2, 'last'), [2 4])) 435s ***** test 435s % its enough that it could be non-zero, does not have to be 435s syms x y 435s assert (isequal (find ([0 x+y]), 2)) 435s ***** test 435s % false should not be found 435s syms x y 435s assert (isequal (find ([x==x x==y]), 1)) 435s assert (isequal (find ([x==y]), [])) 435s ***** test 435s % and/or should be treated as boolean 435s syms x y 435s assert (isequal (find ([or(x==y, x==2*y) x==y x==x]), 3)) 435s ***** test 435s % None 435s none = pycall_sympy__ ('return None'); 435s assert (isequal (find ([sym(0) none sym(1)]), 3)) 435s syms x y 435s assert (isequal (find ([x==y none x==x]), 3)) 436s ***** test 436s % two output 436s syms x y 436s A = [x 0 0; x+y 5 0]; 436s [i, j] = find (A); 436s assert (isequal (i, [1; 2; 2])) 436s assert (isequal (j, [1; 1; 2])) 436s ***** test 436s % three output 436s syms x y 436s A = [x 0 0; x+y 5 0]; 436s [i, j, v] = find (A); 436s assert (isequal (i, [1; 2; 2])) 436s assert (isequal (j, [1; 1; 2])) 436s assert (isequal (v, [x; x+y; sym(5)])) 436s 9 tests, 9 passed, 0 known failure, 0 skipped 436s [inst/@sym/findsym.m] 436s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/findsym.m 436s ***** assert (strcmp (findsym (sym(2)), '')); 436s ***** shared x,y,f 436s x=sym('x'); y=sym('y'); f=x^2+3*x*y-y^2; 436s ***** assert (strcmp (findsym (f), 'x,y')); 436s ***** assert (strcmp (findsym (f,1), 'x')); 436s ***** test 436s % test order of returned vars 436s syms x y a b c xx 436s % https://www.mathworks.com/matlabcentral/newsreader/view_thread/237730 436s alpha = sym('alpha'); 436s assert (strcmp (findsym(b*xx*exp(alpha) + c*sin(a*y), 2), 'xx,y')) 436s 4 tests, 4 passed, 0 known failure, 0 skipped 436s [inst/@sym/fix.m] 436s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fix.m 436s ***** test 436s d = 3/2; 436s x = sym('3/2'); 436s f1 = fix(x); 436s f2 = fix(d); 436s assert (isequal (f1, f2)) 437s ***** test 437s D = [1.1 4.6; -3.4 -8.9]; 437s A = [sym(11)/10 sym(46)/10; sym(-34)/10 sym(-89)/10]; 437s f1 = fix(A); 437s f2 = fix(D); 437s assert( isequal (f1, f2)) 437s ***** test 437s d = sym(-11)/10; 437s c = -1; 437s assert (isequal (fix (d), c)) 437s ***** test 437s d = sym(-19)/10; 437s c = -1; 437s assert (isequal (fix (d), c)) 437s 4 tests, 4 passed, 0 known failure, 0 skipped 437s [inst/@sym/fliplr.m] 437s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fliplr.m 437s ***** test 437s % simple 437s syms x 437s A = [x 2; sym(pi) x]; 437s B = [2 x; x sym(pi)]; 437s assert (isequal (fliplr(A), B)) 437s ***** test 437s % simple, odd # cols 437s syms x 437s A = [x 2 sym(pi); x 1 2]; 437s B = [sym(pi) 2 x; 2 1 x]; 437s assert (isequal (fliplr(A), B)) 437s ***** test 437s % scalar 437s syms x 437s assert (isequal (fliplr(x), x)) 437s 3 tests, 3 passed, 0 known failure, 0 skipped 437s [inst/@sym/flipud.m] 437s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/flipud.m 437s ***** test 437s % simple 437s syms x 437s A = [x 2; sym(pi) x]; 437s B = [sym(pi) x; x 2]; 437s assert (isequal (flipud(A), B)) 437s ***** test 437s % simple, odd # rows 437s syms x 437s A = [x 2; sym(pi) x; [1 2]]; 437s B = [[1 2]; sym(pi) x; x 2]; 437s assert (isequal (flipud(A), B)) 438s ***** test 438s % scalar 438s syms x 438s assert (isequal (flipud(x), x)) 438s 3 tests, 3 passed, 0 known failure, 0 skipped 438s [inst/@sym/floor.m] 438s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/floor.m 438s ***** error floor (sym(1), 2) 438s ***** assert (isequaln (floor (sym(nan)), sym(nan))) 438s ***** shared x, d 438s d = 1; 438s x = sym('1'); 438s ***** test 438s f1 = floor(x); 438s f2 = floor(d); 438s assert( abs(double(f1) - f2) < 1e-15 ) 438s ***** test 438s D = [d d; d d]; 438s A = [x x; x x]; 438s f1 = floor(A); 438s f2 = floor(D); 438s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 438s ***** test 438s % round trip 438s y = sym('y'); 438s A = floor (d); 438s f = floor (y); 438s h = function_handle (f); 438s B = h (d); 438s assert (A, B, -eps) 438s 5 tests, 5 passed, 0 known failure, 0 skipped 438s [inst/@sym/formula.m] 438s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/formula.m 438s ***** test 438s syms x 438s assert (isequal (formula(x), x)) 438s assert (isequal (formula(2*x), 2*x)) 438s 1 test, 1 passed, 0 known failure, 0 skipped 438s [inst/@sym/fortran.m] 438s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fortran.m 438s ***** shared x,y,z 438s syms x y z 438s ***** test 438s % basic test 438s f = x*sin(y) + abs(z); 438s source = fortran(f); 438s expected = ' x*sin(y) + abs(z)'; 438s s1 = strrep (expected, 'abs', 'Abs'); 438s assert (strcmp (source, expected) || strcmp (source, s1)) 438s ***** test 438s % output test 438s f = x*sin(y) + abs(z); 438s [F,H] = fortran(f, 'file', '', 'show_header', false); 438s 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'); 438s 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'); 438s assert(strcmp(F.name, 'file.f90')) 438s assert(strcmp(H.name, 'file.h')) 438s %disp(expected_f_code); disp(F.code) 438s s1 = strrep (expected_f_code, 'abs', 'Abs'); 438s s2 = strrep (expected_f_code, sprintf ('\n'), sprintf ('\r\n')); 438s s3 = strrep (s2, 'abs', 'Abs'); 438s s4 = strrep (expected_h_code, sprintf ('\n'), sprintf ('\r\n')); 438s assert (strcmp (F.code, expected_f_code) || strcmp (F.code, s1) || strcmp (F.code, s2) || strcmp (F.code, s3)) 438s assert (strcmp (H.code, expected_h_code) || strcmp (H.code, s4)) 438s 2 tests, 2 passed, 0 known failure, 0 skipped 438s [inst/@sym/fourier.m] 438s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fourier.m 438s ***** test 438s % matlab SMT compatibiliy for arguments 438s syms r x u w v 438s Pi=sym('pi'); 438s assert(logical( fourier(exp(-x^2)) == sqrt(Pi)/exp(w^2/4) )) 438s assert(logical( fourier(exp(-w^2)) == sqrt(Pi)/exp(v^2/4) )) 438s assert(logical( fourier(exp(-r^2),u) == sqrt(Pi)/exp(u^2/4) )) 438s assert(logical( fourier(exp(-r^2),r,u) == sqrt(Pi)/exp(u^2/4) )) 440s ***** test 440s % basic tests 440s syms x w 440s assert(logical( fourier(exp(-abs(x))) == 2/(w^2 + 1) )) 440s assert(logical( fourier(x*exp(-abs(x))) == -(w*4*1i)/(w^4 + 2*w^2 + 1) )) 442s ***** test 442s % Dirac delta tests 442s syms x w 442s Pi=sym('pi'); 442s assert(logical( fourier(dirac(x-2)) == exp(-2*1i*w) )) 442s assert (logical( fourier(sym(2), x, w) == 4*Pi*dirac(w) )) 442s ***** test 442s % advanced test 442s syms x w c d 442s Pi=sym('pi'); 442s F=Pi*(dirac(w-c)+dirac(w+c))+2*Pi*1i*(dirac(w+3*d)-dirac(w-3*d))+2/(w^2+1); 442s assert(logical( fourier(cos(c*x)+2*sin(3*d*x)+exp(-abs(x))) == expand(F) )) 443s ***** xtest 443s % Differential operator to algebraic 443s % SymPy cannot evaluate? (Issue #170) 443s syms x w f(x) 443s assert(logical( fourier(diff(f(x),x),x,w) == -1i*w*fourier(f(x),x,w) )) 444s !!!!! known failure 444s assert (logical (fourier (diff (f (x), x), x, w) == -1i * w * fourier (f (x), x, w))) failed 444s 5 tests, 4 passed, 1 known failure, 0 skipped 444s [inst/@sym/frac.m] 444s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/frac.m 444s ***** test 444s f1 = frac(sym(11)/10); 444s f2 = sym(1)/10; 444s assert (isequal (f1, f2)) 444s ***** test 444s d = sym(-11)/10; 444s c = sym(9)/10; 444s assert (isequal (frac (d), c)) 444s ***** test 444s d = sym(-19)/10; 444s c = sym(1)/10; 444s assert (isequal (frac (d), c)) 444s 3 tests, 3 passed, 0 known failure, 0 skipped 444s [inst/@sym/fresnelc.m] 444s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fresnelc.m 444s ***** error fresnelc (sym(1), 2) 444s ***** test 444s a = fresnelc(sym(0)); 444s assert (isequal (a, sym(0))) 444s ***** test 444s b = fresnelc(sym('oo')); 444s assert (isequal (b, sym(1)/2)) 444s ***** test 444s % values in a matrix 444s syms x 444s a = fresnelc([sym(0) sym('oo') x 1]); 444s b = [sym(0) sym(1)/2 fresnelc(x) fresnelc(sym(1))]; 444s assert (isequal (a, b)) 445s ***** test 445s % round trip 445s syms x 445s f = fresnelc (x); 445s h = function_handle (f); 445s A = h (1.1); 445s B = fresnelc (1.1); 445s assert (A, B) 445s 5 tests, 5 passed, 0 known failure, 0 skipped 445s [inst/@sym/fresnels.m] 445s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/fresnels.m 445s ***** error fresnels (sym(1), 2) 445s ***** test 445s a = fresnels(sym(0)); 445s assert (isequal (a, sym(0))) 445s ***** test 445s b = fresnels(sym('oo')); 445s assert (isequal (b, sym(1)/2)) 445s ***** test 445s % values in a matrix 445s syms x 445s a = fresnels([sym(0) sym('oo') x 1]); 445s b = [sym(0) sym(1)/2 fresnels(x) fresnels(sym(1))]; 445s assert (isequal (a, b)) 445s ***** test 445s % round trip 445s syms x 445s f = fresnels (x); 445s h = function_handle (f); 445s A = h (1.1); 445s B = fresnels (1.1); 445s assert (A, B) 445s 5 tests, 5 passed, 0 known failure, 0 skipped 445s [inst/@sym/function_handle.m] 445s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/function_handle.m 445s ***** shared x,y,z 445s syms x y z 445s ***** test 445s % basic test 445s h = function_handle(2*x); 445s assert(isa(h, 'function_handle')) 445s assert(h(3)==6) 445s ***** test 445s % autodetect inputs 445s h = function_handle(2*x*y, x+y); 445s [t1, t2] = h(3,5); 445s assert(t1 == 30 && t2 == 8) 445s ***** test 445s % specified inputs 445s h = function_handle(2*x*y, 'vars', [x y]); 445s assert(h(3,5)==30) 445s h = function_handle(2*x*y, x+y, 'vars', [x y]); 445s [t1, t2] = h(3,5); 445s assert(t1 == 30 && t2 == 8) 445s ***** test 445s % cell arrays for vars list 445s h = function_handle(2*x*y, x+y, 'vars', {x y}); 445s [t1, t2] = h(3,5); 445s assert(t1 == 30 && t2 == 8) 445s h = function_handle(2*x*y, x+y, 'vars', {'x' 'y'}); 445s [t1, t2] = h(3,5); 445s assert(t1 == 30 && t2 == 8) 446s ***** test 446s % cell arrays specfies order, overriding symvar order 446s h = function_handle(x*y, 12/y, 'vars', {y x}); 446s [t1, t2] = h(3, 6); 446s assert(t1 == 18 && t2 == 4) 446s h = function_handle(x*y, 12/y, 'vars', [y x]); 446s [t1, t2] = h(3, 6); 446s assert(t1 == 18 && t2 == 4) 446s ***** test 446s % cell arrays specfies order, overriding symvar order 446s h = function_handle(x*y, 12/y, 'vars', {y x}); 446s [t1, t2] = h(3, 6); 446s assert(t1 == 18 && t2 == 4) 446s h = function_handle(x*y, 12/y, 'vars', [y x]); 446s [t1, t2] = h(3, 6); 446s assert(t1 == 18 && t2 == 4) 446s ***** test 446s % Functions with different names in Sympy. 446s f = abs(x); % becomes Abs(x) 446s h = function_handle(f); 446s assert(h(-10) == 10) 446s f = ceil(x); 446s h = function_handle(f); 446s assert(h(10.1) == 11) 446s ***** test 446s % 'file' with empty filename returns handle 446s h = function_handle(2*x*y, 'file', ''); 446s assert(isa(h, 'function_handle')) 446s assert(h(3,5)==30) 446s h = function_handle(2*x*y, 'vars', {x y}, 'file', ''); 446s assert(isa(h, 'function_handle')) 446s assert(h(3,5)==30) 446s ***** test 446s % output to disk 446s fprintf('\n') 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s temp_file = tempname('', 'oct_'); 446s else 446s temp_file = tempname(); 446s end 446s % allow loading function from temp_file 446s [temp_path, ans, ans] = fileparts(temp_file); 446s addpath(temp_path); 446s f = function_handle(2*x*y, 2^x, 'vars', {x y z}, 'file', temp_file); 446s assert( isa(f, 'function_handle')) 446s addpath(temp_path); % Matlab 2014a needs this? 446s [a,b] = f(10,20,30); 446s assert (isnumeric (a) && isnumeric (b)) 446s assert (a == 400) 446s assert (b == 1024) 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s assert (unlink([temp_file '.m']) == 0) 446s else 446s delete ([temp_file '.m']) 446s end 446s % remove temp_path from load path 446s rmpath(temp_path); 446s 446s Wrote file /tmp/oct_17Pl3g.m. 446s ***** test 446s % output to disk: also works with .m specified 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s temp_file = [tempname('', 'oct_') '.m']; 446s else 446s temp_file = [tempname() '.m']; 446s end 446s % allow loading function from temp_file 446s [temp_path, ans, ans] = fileparts(temp_file); 446s addpath(temp_path); 446s f = function_handle(2*x*y, 2^x, 'vars', {x y z}, 'file', temp_file); 446s assert( isa(f, 'function_handle')) 446s addpath(temp_path); % Matlab 2014a needs this? 446s [a,b] = f(10,20,30); 446s assert (isnumeric (a) && isnumeric (b)) 446s assert (a == 400) 446s assert (b == 1024) 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s assert (unlink(temp_file) == 0) 446s else 446s delete (temp_file) 446s end 446s % remove temp_path from load path 446s rmpath(temp_path); 446s Wrote file /tmp/oct_C3bZ4n.m. 446s ***** test 446s % non-scalar outputs 446s H = [x y z]; 446s M = [x y; z 16]; 446s V = [x;y;z]; 446s h = function_handle(H, M, V); 446s [t1,t2,t3] = h(1,2,3); 446s assert(isequal(t1, [1 2 3])) 446s assert(isequal(t2, [1 2; 3 16])) 446s assert(isequal(t3, [1;2;3])) 446s ***** test 446s % non-scalar outputs in .m files 446s H = [x y z]; 446s M = [x y; z 16]; 446s V = [x;y;z]; 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s temp_file = tempname('', 'oct_'); 446s else 446s temp_file = tempname(); 446s end 446s % allow loading function from temp_file 446s [temp_path, ans, ans] = fileparts(temp_file); 446s addpath(temp_path); 446s h = function_handle(H, M, V, 'vars', {x y z}, 'file', temp_file); 446s assert( isa(h, 'function_handle')) 446s addpath(temp_path); % Matlab 2014a needs this? 446s [t1,t2,t3] = h(1,2,3); 446s assert(isequal(t1, [1 2 3])) 446s assert(isequal(t2, [1 2; 3 16])) 446s assert(isequal(t3, [1;2;3])) 446s if (exist ('OCTAVE_VERSION', 'builtin')) 446s assert (unlink([temp_file '.m']) == 0) 446s else 446s delete ([temp_file '.m']) 446s end 446s % remove temp_path from load path 446s rmpath(temp_path); 447s Wrote file /tmp/oct_CVT3Ga.m. 447s ***** test 447s % order of outputs is lexiographic 447s syms a A x y 447s f = y + 10*a + 100*x + 1000*A; 447s h = function_handle(f); 447s assert (h(1, 2, 3, 4) == 1000 + 20 + 300 + 4) 447s ***** test 447s % https://github.com/cbm755/octsympy/issues/854 447s f = function_handle (x + 1i*sqrt (sym(3))); 447s assert (f (1), complex (1, sqrt (3)), -eps) 447s 14 tests, 14 passed, 0 known failure, 0 skipped 447s [inst/@sym/gamma.m] 447s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/gamma.m 447s ***** error gamma (sym(1), 2) 447s ***** assert (isequaln (gamma (sym(nan)), sym(nan))) 447s ***** shared x, d 447s d = 1; 447s x = sym('1'); 447s ***** test 447s f1 = gamma(x); 447s f2 = gamma(d); 447s assert( abs(double(f1) - f2) < 1e-15 ) 447s ***** test 447s D = [d d; d d]; 447s A = [x x; x x]; 447s f1 = gamma(A); 447s f2 = gamma(D); 447s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 447s ***** test 447s % round trip 447s y = sym('y'); 447s A = gamma (d); 447s f = gamma (y); 447s h = function_handle (f); 447s B = h (d); 447s assert (A, B, -eps) 447s 5 tests, 5 passed, 0 known failure, 0 skipped 447s [inst/@sym/gammainc.m] 447s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/gammainc.m 447s ***** assert (isequal (gammainc (sym(0), 1), sym(0))) 447s ***** assert (isequal (gammainc (sym(0), 2), sym(0))) 447s ***** assert (isequal (gammainc (sym('oo'), 1), sym(1))) 447s ***** assert (isequal (gammainc (sym(0), 1, 'upper'), sym(1))) 447s ***** assert (isequal (gammainc (sym(0), 2, 'upper'), sym(1))) 447s ***** assert (isequal (gammainc (sym('oo'), 1, 'upper'), sym(0))) 448s ***** test 448s % default is lower 448s syms x a 448s assert (isequal (gammainc (x, a), gammainc(x, a, 'lower'))) 448s ***** test 448s % compare to double 448s x = 5; a = 1; 448s A = gammainc (x, a); 448s B = double (gammainc (sym(x), a)); 448s assert(A, B, -eps) 448s ***** test 448s % compare to double where gamma(a) != 1 448s x = 5; a = 3; 448s A = gammainc (x, a); 448s B = double (gammainc (sym(x), a)); 448s assert(A, B, -eps) 448s ***** test 448s % compare to double 448s x = 100; a = 1; 448s A = gammainc (x, a); 448s B = double (gammainc (sym(x), a)); 448s assert(A, B, -eps) 448s ***** test 448s % compare to double 448s xs = sym(1)/1000; x = 1/1000; a = 1; 448s A = gammainc (x, a); 448s B = double (gammainc (xs, a)); 448s assert(A, B, -eps) 448s ***** test 448s % compare to double 448s x = 5; a = 1; 448s A = gammainc (x, a, 'upper'); 448s B = double (gammainc (sym(x), a, 'upper')); 448s assert(A, B, -10*eps) 448s ***** test 448s % compare to double 448s x = 10; a = 1; 448s A = gammainc (x, a, 'upper'); 448s B = double (gammainc (sym(x), a, 'upper')); 448s assert(A, B, -10*eps) 448s ***** test 448s % compare to double 448s x = 40; a = 1; 448s A = gammainc (x, a, 'upper'); 448s B = double (gammainc (sym(x), a, 'upper')); 448s assert(A, B, -10*eps) 448s ***** test 448s % compare to double 448s xs = sym(1)/1000; x = 1/1000; a = 1; 448s A = gammainc (x, a, 'upper'); 448s B = double (gammainc (xs, a, 'upper')); 448s assert(A, B, -eps) 448s ***** test 448s % vectorized 448s P = gammainc([sym(pi) 2], [1 3]); 448s expected = [gammainc(pi, sym(1)) gammainc(2, sym(3))]; 448s assert (isequal (P, expected)) 448s ***** test 448s % vectorized 448s P = gammainc(sym(pi), [1 3]); 448s expected = [gammainc(sym(pi), 1) gammainc(sym(pi), 3)]; 448s assert (isequal (P, expected)) 449s ***** test 449s % vectorized 449s P = gammainc([sym(pi) 2], 1); 449s expected = [gammainc(pi, sym(1)) gammainc(2, sym(1))]; 449s assert (isequal (P, expected)) 449s ***** test 449s % round trip 449s syms x a 449s f = gammainc (x, a, 'upper'); 449s h = function_handle (f, 'vars', [x a]); 449s A = h (1.1, 2); 449s B = gammainc (1.1, 2, 'upper'); 449s assert (A, B) 449s ***** test 449s % round trip 449s syms x a 449s f = gammainc (x, a, 'lower'); 449s h = function_handle (f, 'vars', [x a]); 449s A = h (1.1, 2); 449s B = gammainc (1.1, 2, 'lower'); 449s assert (A, B) 449s ***** test 449s % round trip 449s syms x a 449s f = gammainc (x, a, 'upper'); 449s h = function_handle (f, 'vars', [x a]); 449s A = h (1.1, 2.2); 449s B = gammainc (1.1, 2.2, 'upper'); 449s assert (A, B) 449s ***** test 449s % round trip 449s syms x a 449s f = gammainc (x, a, 'lower'); 449s h = function_handle (f, 'vars', [x a]); 449s A = h (1.1, 2.2); 449s B = gammainc (1.1, 2.2, 'lower'); 449s assert (A, B) 449s 22 tests, 22 passed, 0 known failure, 0 skipped 449s [inst/@sym/gammaln.m] 450s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/gammaln.m 450s ***** assert (isequal (gammaln (sym (3)), log (sym (2)))) 450s ***** assert (isequal (gammaln (sym (10)), log (gamma (sym (10))))) 450s ***** test 450s % compare to Maple: evalf(lnGAMMA(Pi)); 450s maple = vpa ('0.827694592323437101529578558452359951153502', 40); 450s us = vpa (gammaln (sym(pi)), 40); 450s assert (abs(double(maple-us)) < 1e-39) 450s ***** test 450s % compare to Maple: evalf(lnGAMMA(3+2*I)); 450s maple = vpa ('-0.0316390593739611898037677296008797172022603', 40) + ... 450s vpa ('2.02219319750132712401643376238334982100512j', 40); 450s us = vpa (gammaln (sym(3) + 2i), 40); 450s assert (abs(double(maple-us)) < 1e-39) 450s ***** test 450s % compare to Maple: evalf(lnGAMMA(-1.5)); 450s % notably, @double/gammaln has zero imag part 450s maple = vpa ('0.8600470153764810145109326816703567873271571', 40) - ... 450s vpa ('6.2831853071795864769252867665590057683943388j', 40); 450s us = vpa (gammaln (-sym(3)/2), 40); 450s assert (abs(double(maple-us)) < 1e-39) 450s ***** assert (gammaln (pi), double (gammaln (sym (pi))), -3*eps) 450s ***** assert (gammaln (100), double (gammaln (sym (100))), -3*eps) 450s ***** assert (gammaln (1e-3), double (gammaln (1/sym (1e3))), -100*eps) 450s ***** test 450s % round trip 450s syms x 450s f = gammaln (x); 450s h = function_handle (f); 450s A = h (1.1); 450s B = gammaln (1.1); 450s assert (A, B) 450s 9 tests, 9 passed, 0 known failure, 0 skipped 450s [inst/@sym/ge.m] 450s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ge.m 450s ***** test 450s % simple 450s x = sym(1); y = sym(1); e = x >= y; 450s assert (logical (e)) 450s x = sym(1); y = sym(2); e = x >= y; 450s assert (~logical(e)) 450s ***** test 450s % array -- array 450s syms x 450s a = sym([1 3 3 2*x]); 450s b = sym([2 x 3 10]); 450s e = a >= b; 450s assert (isa (e, 'sym')) 450s assert (~logical (e(1))) 450s assert (isa (e(2), 'sym')) 450s assert (isequal (e(2), 3 >= x)) 450s assert (logical (e(3))) 450s assert (isa (e(4), 'sym')) 450s assert (isequal (e(4), 2*x >= 10)) 451s 2 tests, 2 passed, 0 known failure, 0 skipped 451s [inst/@sym/gradient.m] 451s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/gradient.m 451s ***** shared x,y,z 451s syms x y z 451s ***** test 451s % 1D 451s f = x^2; 451s assert (isequal (gradient(f), diff(f,x))) 451s assert (isequal (gradient(f,{x}), diff(f,x))) 451s assert (isequal (gradient(f,[x]), diff(f,x))) 451s assert (isequal (gradient(f,x), diff(f,x))) 451s ***** test 451s % const 451s f = sym(1); 451s g = sym(0); 451s assert (isequal (gradient(f), g)) 451s assert (isequal (gradient(f,x), g)) 451s ***** test 451s % double const 451s f = 1; 451s g = sym(0); 451s assert (isequal (gradient(f,x), g)) 451s ***** test 451s % 1D fcn in 2d/3d 451s f = sin(y); 451s assert (isequal (gradient(f), diff(f,y))) 451s assert (isequal (gradient(f, {x,y}), [sym(0); diff(f,y)])) 451s assert (isequal (gradient(f, [x y]), [sym(0); diff(f,y)])) 451s assert (isequal (size (gradient(f, {x,y})), [2 1])) 451s assert (isequal (gradient(f, {x,y,z}), [0; diff(f,y); 0])) 451s assert (isequal (gradient(f, [x y z]), [0; diff(f,y); 0])) 451s assert (isequal (size (gradient(f, {x,y,z})), [3 1])) 451s ***** test 451s % grad is column vector 451s f = sin(y); 451s assert (isequal (size (gradient(f, {x,y})), [2 1])) 451s assert (isequal (size (gradient(f, {x,y,z})), [3 1])) 451s assert (isequal (size (gradient(f, [x y])), [2 1])) 451s assert (isequal (size (gradient(f, [x;y])), [2 1])) 452s ***** test 452s % 2d fcn in 2d/3d 452s f = sin(exp(x)*y); 452s g2 = [diff(f,x); diff(f,y)]; 452s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 452s assert (isequal (gradient(f), g2)) 452s assert (isequal (gradient(f, {x,y}), g2)) 452s assert (isequal (gradient(f, {x,y,z}), g3)) 452s ***** test 452s % 2d fcn in 2d/3d 452s f = sin(exp(x)*y+sinh(z)); 452s g2 = [diff(f,x); diff(f,y)]; 452s g3 = [diff(f,x); diff(f,y); diff(f,z)]; 452s assert (isequal (gradient(f), g3)) 452s assert (isequal (gradient(f, {x,y}), g2)) 452s assert (isequal (gradient(f, {x,y,z}), g3)) 452s ***** error gradient(sym('x'), 42, 42) 452s ***** error gradient([sym('x') sym('x')]) 452s 9 tests, 9 passed, 0 known failure, 0 skipped 452s [inst/@sym/gt.m] 452s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/gt.m 452s ***** test 452s % simple 452s x = sym(1); y = sym(1); e = x > y; 452s assert (~logical (e)) 452s x = sym(1); y = sym(2); e = x > y; 452s assert (~logical (e)) 452s ***** test 452s % array -- array 452s syms x 452s a = sym([1 3 3 2*x]); 452s b = sym([2 x 3 10]); 452s e = a > b; 452s assert (isa (e, 'sym')) 452s assert (~logical (e(1))) 452s assert (isa (e(2), 'sym')) 452s assert (isequal (e(2), 3 > x)) 452s assert (~logical (e(3))) 452s assert (isa (e(4), 'sym')) 452s assert (isequal (e(4), 2*x > 10)) 453s 2 tests, 2 passed, 0 known failure, 0 skipped 453s [inst/@sym/harmonic.m] 453s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/harmonic.m 453s ***** error harmonic (sym(1), 2) 453s ***** xtest 453s assert (isequaln (harmonic (sym(nan)), sym(nan))) 453s !!!!! known failure 453s assert (isequaln (harmonic (sym (nan)), sym (nan))) failed 453s ***** assert (isequal (harmonic (sym(0)), sym(0))) 453s ***** assert (isinf (harmonic (sym(inf)))) 453s ***** assert (isequal (harmonic (sym([9 10])), [sym(7129)/2520 sym(7381)/2520])) 453s ***** test 453s % round trip 453s y = sym('y'); 453s A = harmonic (7); 453s f = harmonic (y); 453s h = function_handle (f); 453s B = h (7); 453s assert (A, B, -eps) 453s 6 tests, 5 passed, 1 known failure, 0 skipped 453s [inst/@sym/has.m] 453s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/has.m 453s ***** shared A, x, y 453s syms x y 453s A = [sym(pi) 2*sym(pi); x*y x+y]; 453s ***** assert (isequal (has(A, x), [false false; true true])); 453s ***** assert (isequal (has(A, x+y), [false false; false true])); 453s ***** assert (isequal (has(A, 2), [false true; false false])); 453s ***** assert (isequal (has(A, sym(pi)), [true true; false false])); 453s 4 tests, 4 passed, 0 known failure, 0 skipped 453s [inst/@sym/heaviside.m] 453s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/heaviside.m 453s ***** error heaviside (sym(1), 2, 3) 453s ***** assert (isequal (heaviside (sym(1)), sym(1))) 453s ***** assert (isequal (heaviside (-sym(1)), sym(0))) 453s ***** assert (double (heaviside (1)), heaviside (1)) 453s ***** test 453s D = [1 -1; -10 20]; 453s A = sym(D); 453s assert (double (heaviside (A)), heaviside (D)) 454s ***** test 454s H0 = sym([1 -2 0; 3 0 pi]); 454s A = heaviside (sym(0), H0); 454s assert (isequal (A, H0)) 454s ***** test 454s A = heaviside ([-1 0 1], sym(1)/2); 454s assert (isequal (A, [0 sym(1)/2 1])) 454s ***** test 454s A = heaviside ([-1 0 1], sym(1)/2); 454s assert (isequal (A, [0 sym(1)/2 1])) 454s ***** assert (isequaln (heaviside (sym(nan)), sym(nan))) 454s ***** test 454s assert (isequaln (heaviside (sym(nan), sym(nan)), sym(nan))) 454s assert (isequaln (heaviside (0, sym(nan)), sym(nan))) 454s assert (isequaln (heaviside (2, sym(nan)), sym(1))) 454s assert (isequaln (heaviside (-2, sym(nan)), sym(0))) 454s ***** test 454s % round trip 454s syms x 454s A = heaviside (1); 454s f = heaviside (x); 454s h = function_handle (f); 454s B = h (1); 454s assert (A, B, -eps) 454s ***** test 454s % round trip 454s syms x h0 454s f = heaviside (x, h0); 454s h = function_handle (f, 'vars', {x h0}); 454s A = heaviside (1, 1/2); 454s B = h (1, 1/2); 454s assert (A, B, -eps) 454s A = heaviside (0, 1/2); 454s B = h (0, 1/2); 454s assert (A, B, -eps) 454s 12 tests, 12 passed, 0 known failure, 0 skipped 454s [inst/@sym/hessian.m] 454s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/hessian.m 454s ***** error hessian (sym(1), 2, 3) 454s ***** error hessian ([sym(1) sym(2)]) 454s ***** shared x,y,z 454s syms x y z 455s ***** test 455s % 1D 455s f = x^2; 455s assert (isequal (hessian(f), diff(f,x,x))) 455s assert (isequal (hessian(f,{x}), diff(f,x,x))) 455s assert (isequal (hessian(f,x), diff(f,x,x))) 455s ***** test 455s % const 455s f = sym(1); 455s g = sym(0); 455s assert (isequal (hessian(f), g)) 455s assert (isequal (hessian(f,x), g)) 455s ***** test 455s % double const 455s f = 1; 455s g = sym(0); 455s assert (isequal (hessian(f,x), g)) 455s ***** test 455s % linear 455s f = 42*x; 455s g = sym(0); 455s assert (isequal (hessian(f), g)) 455s assert (isequal (hessian(f,x), g)) 455s ***** test 455s % linear 455s f = 42*x - sym('a')*y; 455s g = [0 0; 0 0]; 455s assert (isequal (hessian(f, {x y}), g)) 455s ***** test 455s % 2d 455s f = x*cos(y); 455s g = [0 -sin(y); -sin(y) -f]; 455s assert (isequal (hessian(f), g)) 455s assert (isequal (hessian(f, {x y}), g)) 455s ***** test 455s % 3d 455s f = x*cos(z); 455s Hexp = [0 0 -sin(z); sym(0) 0 0; -sin(z) 0 -f]; 455s H = hessian(f, {x y z}); 455s assert (isequal (H, Hexp)) 456s 9 tests, 9 passed, 0 known failure, 0 skipped 456s [inst/@sym/hilb.m] 456s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/hilb.m 456s ***** test 456s A = hilb (sym(3)); 456s 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]; 456s assert (isequal (A, B)) 456s 1 test, 1 passed, 0 known failure, 0 skipped 456s [inst/@sym/horner.m] 456s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/horner.m 456s ***** error horner (sym(1), 2, 3) 456s ***** assert (isAlways (horner(sym(1)) == 1)) 456s ***** test 456s syms x 456s assert (isAlways (horner(x) == x)) 456s ***** test 456s syms x a 456s p = a^2 + a*x + 2*a + 2*x; 456s assert (isequal (horner (p, a), a*(a+x+2) + 2*x)) 456s q = a^2 + 2*a + x*(a + 2); 456s assert (isequal (horner (p, x), q)) 456s assert (isequal (horner (p), q)) 457s ***** test 457s syms x 457s p = poly2sym ([2 4 6 8], x); 457s q = horner (p); 457s assert (isAlways (p == q)) 457s assert (isAlways (horner(2*x^3 + 4*x^2 + 6*x + 8) == q)) 457s ***** test 457s % non-sym input 457s syms x 457s assert (isequal (horner(6, x), sym(6))) 457s 6 tests, 6 passed, 0 known failure, 0 skipped 457s [inst/@sym/horzcat.m] 457s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/horzcat.m 457s ***** test 457s % basic 457s syms x 457s A = [x x]; 457s B = horzcat(x, x); 457s C = horzcat(x, x, x); 457s assert (isa (A, 'sym')) 457s assert (isa (B, 'sym')) 457s assert (isa (C, 'sym')) 457s assert (isequal (size(A), [1 2])) 457s assert (isequal (size(B), [1 2])) 457s assert (isequal (size(C), [1 3])) 457s ***** test 457s % basic, part 2 457s syms x 457s A = [x 1]; 457s B = [1 x]; 457s C = [1 2 x]; 457s assert (isa (A, 'sym')) 457s assert (isa (B, 'sym')) 457s assert (isa (C, 'sym')) 457s assert (isequal (size(A), [1 2])) 457s assert (isequal (size(B), [1 2])) 457s assert (isequal (size(C), [1 3])) 457s ***** test 457s % row vectors 457s a = [sym(1) 2]; 457s b = [sym(3) 4]; 457s assert (isequal ( [a b] , [1 2 3 4] )) 457s assert (isequal ( [a 3 4] , [1 2 3 4] )) 457s assert (isequal ( [3 4 a] , [3 4 1 2] )) 457s assert (isequal ( [a [3 4]] , [1 2 3 4] )) 457s assert (isequal ( [a sym(3) 4] , [1 2 3 4] )) 457s assert (isequal ( [a [sym(3) 4]] , [1 2 3 4] )) 458s ***** test 458s % col vectors 458s a = [sym(1); 2]; 458s b = [sym(3); 4]; 458s assert (isequal ( [a b] , [1 3; 2 4] )) 458s assert (isequal ( [a b a] , [1 3 1; 2 4 2] )) 458s ***** test 458s % empty vectors 458s v = sym(1); 458s a = [v []]; 458s assert (isequal (a, v)) 458s a = [[] v []]; 458s assert (isequal (a, v)) 458s a = [v [] []]; 458s assert (isequal (a, v)) 458s ***** test 458s % more empty vectors 458s v = [sym(1) sym(2)]; 458s q = sym(ones(1, 0)); 458s assert (isequal ([v q], v)) 459s ***** error 459s v = [sym(1) sym(2)]; 459s q = sym(ones(3, 0)); 459s w = horzcat(v, q); 459s ***** test 459s % issue #700 459s A = sym ([1 2]); 459s B = simplify (A); 459s assert (isequal ([B A], [A B])) 459s 8 tests, 8 passed, 0 known failure, 0 skipped 459s [inst/@sym/hypergeom.m] 459s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/hypergeom.m 459s ***** assert (isequal (double (hypergeom ([1, 2], [2, 3], sym(0))), 1)) 459s ***** test 459s % matrix input 459s syms z 459s a = sym([1 2]); 459s b = sym([3 4]); 459s A = hypergeom (a, b, [0 sym(1); 2 z]); 459s B = [hypergeom(a,b,0) hypergeom(a,b,1); hypergeom(a,b,2) hypergeom(a,b,z)]; 459s assert (isequal (A, B)) 459s ***** test 459s % scalars for a and/or b 459s syms z 459s assert (isequal (hypergeom(1, 2, z), hypergeom({sym(1)}, {sym(2)}, z))) 459s assert (isequal (hypergeom([1 2], 3, z), hypergeom([1 2], {sym(3)}, z))) 459s assert (isequal (hypergeom(1, [2 3], z), hypergeom({sym(1)}, [2 3], z))) 460s 3 tests, 3 passed, 0 known failure, 0 skipped 460s [inst/@sym/hypot.m] 460s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/hypot.m 460s ***** assert (isequal (hypot (sym(3), 4), sym(5))) 460s ***** test 460s % compare to @double (note Matlab hypot only takes 2 inputs) 460s A = hypot (hypot ([1 2 3], [4 5 6]), [7 8 9]); 460s B = double (hypot (sym([1 2 3]), [4 5 6], [7 8 9])); 460s assert (A, B, -eps) 461s ***** test 461s % compare to @double, with complex 461s A = hypot ([1+2i 3+4i], [1 3+1i]); 461s B = double (hypot (sym([1+2i 3+4i]), [1 3+1i])); 461s assert (A, B, -eps) 461s ***** test 461s % matrices 461s x = sym([1 -2; 0 3]); 461s y = sym([0 0; 8 4]); 461s A = hypot (x, y); 461s B = sym([1 2; 8 5]); 461s assert (isequal (A, B)) 461s 4 tests, 4 passed, 0 known failure, 0 skipped 461s [inst/@sym/ifourier.m] 461s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ifourier.m 461s ***** error ifourier (sym(1), 2, 3, 4) 461s ***** test 461s % matlab SMT compat 461s syms t r u x w 461s Pi=sym('pi'); 461s assert(logical( ifourier(exp(-abs(w))) == 1/(Pi*(x^2 + 1)) )) 461s assert(logical( ifourier(exp(-abs(x))) == 1/(Pi*(t^2 + 1)) )) 461s assert(logical( ifourier(exp(-abs(r)),u) == 1/(Pi*(u^2 + 1)) )) 461s assert(logical( ifourier(exp(-abs(r)),r,u) == 1/(Pi*(u^2 + 1)) )) 463s ***** test 463s % basic 463s syms x w 463s Pi=sym('pi'); 463s assert(logical( ifourier(exp(-w^2/4)) == 1/(sqrt(Pi)*exp(x^2)) )) 463s assert(logical( ifourier(sqrt(Pi)/exp(w^2/4)) == exp(-x^2) )) 464s ***** test 464s % Dirac delta tests 464s syms x w 464s Pi=sym('pi'); 464s assert(logical( ifourier(dirac(w-2)) == exp(2*1i*x)/(2*Pi) )) 464s assert (logical( ifourier(sym(2), w, x) == 2*dirac(x) )) 465s ***** test 465s % advanced test 465s syms x w c d 465s Pi=sym('pi'); 465s 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); 465s assert(logical( simplify(ifourier(cos(c*w)+2*sin(3*d*w)+exp(-abs(w)))-f) == 0 )) 466s ***** xtest 466s % Inverse Fourier transform cannot recover non-smooth functions 466s % SymPy cannot evaluate correctly?? 466s syms x w 466s assert(logical( ifourier(2/(w^2 + 1)) == exp(-abs(x)) )) 466s assert(logical( ifourier(2/(w^2 + 1)) == heaviside(x)/exp(x) + heaviside(-x)*exp(x) )) 466s assert(logical( ifourier(-(w*4)/(w^4 + 2*w^2 + 1) )== -x*exp(-abs(x))*1i )) 466s assert(logical( ifourier(-(w*4)/(w^4 + 2*w^2 + 1) )== -x*(heaviside(x)/exp(x) + heaviside(-x)*exp(x))*1i )) 467s !!!!! known failure 467s assert (logical (ifourier (2 / (w ^ 2 + 1)) == exp (-abs (x)))) failed 467s ***** error ifourier (sym('k', 'positive')*sym('k')) 467s ***** test 467s % SMT compact, prefers k over symvar 467s syms k x y 467s assert (isequal (ifourier(y*exp(-k^2/4)), y/sqrt(sym(pi))*exp(-x^2))) 467s 8 tests, 7 passed, 1 known failure, 0 skipped 467s [inst/@sym/igamma.m] 467s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/igamma.m 467s ***** test 467s % mostly tested in @sym/gammainc 467s syms x 467s assert (isequal (igamma (2, x), gammainc(x, 2, 'upper'))) 467s ***** test 467s % unregularized 467s B = double (igamma (sym(3), 1)); 467s A = gammainc (1, 3, 'upper')*gamma (3); 467s assert (A, B, -2*eps) 467s ***** test 467s % something like a round trip: no igamma() 467s syms x a 467s f = igamma (a, x); 467s h = function_handle (f, 'vars', [a x]); 467s A = h (1.1, 2.2); 467s B = double (igamma (sym(11)/10, sym(22)/10)); 467s C = gammainc (2.2, 1.1, 'upper')*gamma(1.1); 467s assert (A, B, -10*eps) 467s assert (A, C, -10*eps) 468s 3 tests, 3 passed, 0 known failure, 0 skipped 468s [inst/@sym/ilaplace.m] 468s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ilaplace.m 468s ***** error ilaplace (sym(1), 2, 3, 4) 468s ***** test 468s % basic SMT compact: no heaviside 468s syms s 468s syms t positive 468s assert (isequal (ilaplace(1/s^2), t)) 468s assert (isequal (ilaplace(s/(s^2+9)), cos(3*t))) 468s assert (isequal (ilaplace(6/s^4), t^3)) 468s ***** test 468s % more SMT compact 468s syms r 468s syms u positive 468s assert (isequal (ilaplace(1/r^2, u), u)) 468s assert (isequal (ilaplace(1/r^2, r, u), u)) 469s ***** test 469s % if t specified and not positive, we expect heaviside 469s clear s t 469s syms s t 469s assert (isequal (ilaplace(1/s^2, s, t), t*heaviside(t))) 469s assert (isequal (ilaplace(s/(s^2+9), t), cos(3*t)*heaviside(t))) 469s assert (isequal (ilaplace(6/s^4, t), t^3*heaviside(t))) 469s ***** test 469s % Heaviside test 469s syms s 469s t=sym('t', 'positive'); 469s assert(logical( ilaplace(exp(-5*s)/s^2,t) == (t-5)*heaviside(t-5) )) 469s ***** test 469s % Delta dirac test 469s syms s 469s t = sym('t'); 469s assert (isequal (ilaplace (sym('2'), t), 2*dirac(t))) 469s ***** test 469s % Delta dirac test 2 469s syms s t 469s calc = ilaplace (5*exp (-3*s) - 2*exp (-2*s)/s, s, t); 469s want = 5*dirac (t-3) - 2*heaviside (t-2); 469s assert (isequal (calc, want)) 470s ***** test 470s % Delta dirac test 3, coefficient 470s syms s t 470s syms c positive 470s calc = ilaplace (2*exp (-c*s), s, t); 470s want = 2*dirac (t - c); 470s assert (isAlways (calc == want)) 470s ***** error ilaplace (sym('s', 'positive')*sym('s')) 470s ***** test 470s % SMT compact, prefers s over symvar 470s syms s x 470s syms t positive 470s assert (isequal (ilaplace(x/s^4), x*t^3/6)) 470s t = sym('t'); 470s assert (isequal (ilaplace(x/s^4, t), x*t^3/6*heaviside(t))) 471s ***** test 471s % pick s even it has assumptions 471s syms s real 471s syms x t 471s assert (isequal (ilaplace (x/s^2, t), x*t*heaviside(t))) 471s 11 tests, 11 passed, 0 known failure, 0 skipped 471s [inst/@sym/imag.m] 471s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/imag.m 471s ***** assert (isequal (imag (sym (4) + 3i),3)) 471s ***** test 471s syms x y real 471s z = x + 1i*y; 471s assert (isequal (imag (z),y)) 471s ***** test 471s syms x y real 471s Z = [4 x + 1i*y; 1i*y 4 + 3i]; 471s assert (isequal (imag (Z),[0 y; y 3])) 471s ***** test 471s syms x real 471s d = exp (x*i); 471s assert (isequal (imag (d), sin (x))) 471s ***** test 471s % round trip 471s syms x 471s d = 3 - 5i; 471s f = imag (x); 471s A = imag (d); 471s h = function_handle (f); 471s B = h (d); 471s assert (A, B) 471s 5 tests, 5 passed, 0 known failure, 0 skipped 471s [inst/@sym/int.m] 471s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/int.m 471s ***** shared x,y,a 471s syms x y a 471s ***** assert(logical(int(cos(x)) - sin(x) == 0)) 471s ***** assert(logical(int(cos(x),x) - sin(x) == 0)) 471s ***** assert(logical(int(cos(x),x,0,1) - sin(sym(1)) == 0)) 472s ***** test 472s %% limits might be syms 472s assert( isequal (int(cos(x),x,sym(0),sym(1)), sin(sym(1)))) 472s assert( isequal (int(cos(x),x,0,a), sin(a))) 472s ***** test 472s %% other variables present 472s assert( isequal (int(y*cos(x),x), y*sin(x))) 472s ***** test 472s %% limits as array 472s assert( isequal (int(cos(x),x,[0 1]), sin(sym(1)))) 472s assert( isequal (int(cos(x),x,sym([0 1])), sin(sym(1)))) 472s assert( isequal (int(cos(x),x,[0 a]), sin(a))) 472s ***** test 472s %% no x given 472s assert( isequal (int(cos(x),[0 1]), sin(sym(1)))) 472s assert( isequal (int(cos(x),sym([0 1])), sin(sym(1)))) 472s assert( isequal (int(cos(x),[0 a]), sin(a))) 472s assert( isequal (int(cos(x),0,a), sin(a))) 473s ***** test 473s %% integration of const 473s assert( isequal (int(sym(2),y), 2*y)) 473s assert( isequal (int(sym(2)), 2*x)) 473s assert( isequal (int(sym(2),[0 a]), 2*a)) 473s assert( isequal (int(sym(2),0,a), 2*a)) 473s ***** test 473s % componentwise int of array 473s A = [x x*x]; 473s assert (isequal (int(A, x), [x^2/2 x^3/3])) 473s ***** test 473s % NonElementaryIntegral bug 473s % https://savannah.gnu.org/bugs/index.php?46831 473s f = int(exp(exp(x))); 473s f = f + 2; 473s g = diff(f); 473s assert (isequal (g, exp(exp(x)))) 474s 10 tests, 10 passed, 0 known failure, 0 skipped 474s [inst/@sym/intersect.m] 474s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/intersect.m 474s ***** test 474s A = sym([1 2 3]); 474s B = sym([1 2 4]); 474s C = intersect(A, B); 474s D = sym([1 2]); 474s assert (isequal (C, D)) 474s ***** test 474s % one nonsym 474s A = sym([1 2 3]); 474s B = [1 2 4]; 474s C = intersect(A, B); 474s D = sym([1 2]); 474s assert (isequal (C, D)) 474s ***** test 474s % empty 474s A = sym([1 2 3]); 474s C = intersect(A, A); 474s assert (isequal (C, A)) 474s ***** test 474s % empty input 474s A = sym([1 2]); 474s C = intersect(A, []); 474s assert (isequal (C, sym([]))) 474s ***** test 474s % scalar 474s syms x 474s assert (isequal (intersect([x 1], x), x)) 474s assert (isequal (intersect(x, x), x)) 474s ***** test 474s A = interval(sym(1), 3); 474s B = interval(sym(2), 5); 474s C = intersect(A, B); 474s assert( isequal( C, interval(sym(2), 3))) 474s 6 tests, 6 passed, 0 known failure, 0 skipped 474s [inst/@sym/interval.m] 474s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/interval.m 474s ***** test 474s a = interval(sym(1), 2); 474s assert (isa (a, 'sym')) 474s ***** test 474s % some set subtraction 474s a = interval(sym(0), 4); 474s b = interval(sym(0), 1); 474s c = interval(sym(1), 4, true); 474s q = a - b; 474s assert (isequal( q, c)) 474s 2 tests, 2 passed, 0 known failure, 0 skipped 474s [inst/@sym/inv.m] 474s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/inv.m 474s ***** test 474s % scalar 474s syms x 474s assert (isequal (inv(x), 1/x)) 474s ***** test 474s % diagonal 474s syms x 474s A = [sym(1) 0; 0 x]; 474s B = [sym(1) 0; 0 1/x]; 474s assert (isequal (inv(A), B)) 475s ***** test 475s % 2x2 inverse 475s A = [1 2; 3 4]; 475s assert (max (max (abs (double (inv (sym (A))) - inv(A)))) <= 3*eps) 475s ***** error 475s syms a; 475s A = [a a; a a]; 475s inv(A) 475s ***** error 475s syms a; 475s A = [a a]; 475s inv(A) 475s 5 tests, 5 passed, 0 known failure, 0 skipped 475s [inst/@sym/invhilb.m] 475s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/invhilb.m 475s ***** test 475s A = invhilb(sym(3)); 475s B = sym([9 -36 30;-36 192 -180;30 -180 180]); 475s assert( isequal( A, B)) 475s 1 test, 1 passed, 0 known failure, 0 skipped 475s [inst/@sym/ipermute.m] 475s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ipermute.m 475s ***** error permute (sym(1)) 475s ***** error permute (sym(1), 2, 3) 475s ***** test 475s syms x 475s A = [1 x]; 475s perm = [2 1]; 475s B = permute(A, perm); 475s C = ipermute(B, perm); 475s assert (isequal(C, A)) 475s 3 tests, 3 passed, 0 known failure, 0 skipped 475s [inst/@sym/isAlways.m] 475s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isAlways.m 475s ***** test 475s % basics 475s assert(isAlways(true)) 475s assert(isAlways(1==1)) 475s assert(isAlways(sym(1)==sym(1))) 475s assert(isAlways(sym(1)==1)) 475s ***** test 475s % numbers to logic? 475s assert (isAlways(sym(1))) 475s assert (isAlways(sym(-1))) 475s assert (~isAlways(sym(0))) 476s ***** shared x 476s syms x 476s ***** test 476s % in this case it is boolean 476s expr = x - x == 0; 476s assert (logical(expr)) 476s assert (isAlways(expr)) 476s % and both are logical type 476s assert (islogical(logical(expr))) 476s assert (islogical(isAlways(expr))) 476s ***** test 476s % structurally same and mathematically true 476s % (here expr should be sym, non-boolean) 476s expr = x == x; 476s assert (logical(expr)) 476s assert (isAlways(expr)) 476s %assert (~islogical(expr)) % FIXME: Issue #56 476s %assert (isa(expr, 'sym)) 476s ***** test 476s % structurally same and mathematically true 476s % (here expr should be sym, non-boolean) 476s expr = 1 + x == x + 1; 476s assert (logical(expr)) 476s assert (isAlways(expr)) 476s ***** test 476s % non-zero numbers are true 476s assert (isAlways(sym(1))) 476s assert (isAlways(sym(-10))) 476s assert (~isAlways(sym(0))) 476s ***** shared x, y 476s syms x y 476s ***** test 476s % structurally same and mathematically true 476s % (here expr should be sym, non-boolean) 476s expr = x*(1+y) == x*(y+1); 476s assert (logical(expr)) 476s assert (isAlways(expr)) 476s assert (islogical(isAlways(expr))) 476s ***** test 476s % Now for some differences 476s % simplest example from SymPy FAQ 476s expr = x*(1+y) == x+x*y; 476s assert (~logical(expr)) 476s assert (isAlways(expr)) 476s ***** test 476s % more differences 1, these don't simplify in sympy (as of 2016-01) 476s expr = (x+1)^2 == x*x + 2*x + 1; 476s assert (~logical(expr)) 476s assert (isAlways(expr)) 476s ***** test 476s % more differences 2 476s expr = sin(2*x) == 2*sin(x)*cos(x); 476s assert (~logical(expr)) 476s assert (isAlways(expr)) 476s ***** test 476s % more differences 3, false 476s expr = x*(x+y) == x^2 + x*y + 1; 476s assert (~logical(expr)) 476s assert (~isAlways(expr)) 476s assert (~isAlways(expr, 'unknown', 'error')) 476s ***** test 476s % logically not equal, math equal 476s exprn = x*(x+y) ~= x^2 + x*y; 476s assert (logical(exprn)) 476s assert (~isAlways(exprn)) 477s ***** test 477s % logically not equal, math not equal 477s exprn = x*(x+y) ~= x^2 + x*y + 1; 477s assert (logical(exprn)) 477s assert (isAlways(exprn)) 477s ***** test 477s % equal and not equal 477s e1 = sin(x)^2 + cos(x)^2 == 1; 477s e2 = sin(x)^2 + cos(x)^2 == 2; 477s assert (~logical(e1)) 477s assert (isAlways(e1)) 477s assert (~logical(e2)) 477s assert (~isAlways(e2)) 477s assert (~isAlways(e2, 'unknown', 'error')) 477s ***** error isAlways(x, 'unknown', 'kevin') 477s ***** error isAlways(x, 'unknown') 477s ***** error isAlways(x, 'kevin', 'true') 477s ***** error 477s a = [x*(x+y)==x^2+x*y x==y]; 477s b = isAlways(a, 'unknown', 'error'); 477s ***** error 477s a = x==y; 477s b = isAlways(a, 'unknown', 'error'); 478s ***** test 478s % array, unknown keyword 478s a = [x==x x==x+1 x==y x*(x+y)==x^2+x*y cos(x)^2+sin(x)^2==2]; 478s b = isAlways(a, 'unknown', false); 478s c = isAlways(a, 'unknown', 'false'); 478s expect = [true false false true false]; 478s assert (islogical(b)) 478s assert (isequal (b, expect)) 478s assert (isequal (c, expect)) 478s b = isAlways(a, 'unknown', true); 478s c = isAlways(a, 'unknown', 'true'); 478s expect = [true false true true false]; 478s assert (islogical(b)) 478s assert (isequal (b, expect)) 478s assert (isequal (c, expect)) 478s ***** test 478s % ineq 478s e = x*(x+y) <= x^2 + x*y + 1; 478s assert (~logical(e)) 478s assert (isAlways(e)) 478s e = x*(x+y) <= x^2 + x*y; 478s assert (~logical(e)) 478s assert (isAlways(e)) 479s 21 tests, 21 passed, 0 known failure, 0 skipped 479s [inst/@sym/isNone.m] 479s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isNone.m 479s ***** test 479s None = pycall_sympy__ ('return None'); 479s ***** shared None 479s None = pycall_sympy__ ('return None'); 479s ***** assert (isNone(None)) 479s ***** assert (~isNone(sym('x'))) 479s ***** assert (islogical(isNone(None))) 479s ***** test 479s a = [1 None]; 479s a = [None None]; 479s a = [None; 1]; 479s a = [None; None]; 479s a = [None 2; 3 None]; 479s ***** test 479s a = sym([1 2]); 479s a(1,2) = None; 479s assert (isequal (a, [sym(1) None])); 479s ***** assert (isequal (None(1), None)); 479s ***** error None(None); 479s ***** error x=sym('x'); x(None); 479s ***** error x=1; x(None); 479s ***** error None(None); 479s ***** error 1 + None; 479s ***** error None - 1; 479s ***** error 6*None; 479s ***** error 2^None; 479s ***** error [1 2].*None; 479s ***** error isconstant(None); 479s ***** error nnz(None); 479s ***** error logical(None); 479s ***** error isAlways(None); 479s ***** error logical([sym(true) None]); 479s ***** error isAlways([sym(true) None]); 479s ***** assert (isequal (children(None), None)) 479s ***** assert (isequal (repmat(None, 1, 2), [None None])) 479s ***** assert (isequal (fliplr(None), None)) 479s ***** assert (isequal (flipud(None), None)) 479s 26 tests, 26 passed, 0 known failure, 0 skipped 479s [inst/@sym/isallconstant.m] 479s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isallconstant.m 479s ***** assert (isallconstant([sym(1) 2 3])) 479s ***** test 479s syms x 479s assert (~isallconstant([sym(1) x 3])) 479s ***** test 479s syms x 479s assert (~isallconstant([sym(1) x; sym(2) 3])) 479s 3 tests, 3 passed, 0 known failure, 0 skipped 479s [inst/@sym/iscolumn.m] 479s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/iscolumn.m 479s ***** assert (iscolumn (sym ([1]))) 479s ***** assert (iscolumn (sym ([1 2 3]'))) 480s ***** assert (~iscolumn (sym ([]))) 480s ***** assert (~iscolumn (sym ([1 2 3]))) 480s ***** assert (~iscolumn (sym ([1 2; 3 4]))) 480s 5 tests, 5 passed, 0 known failure, 0 skipped 480s [inst/@sym/isconstant.m] 480s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isconstant.m 480s ***** test 480s syms x 480s A = [x 2 3]; 480s B = [false true true]; 480s assert (isequal (isconstant (A), B)) 480s ***** test 480s syms x 480s A = [x 2; 3 x]; 480s B = [false true; true false]; 480s assert (isequal (isconstant (A), B)) 480s 2 tests, 2 passed, 0 known failure, 0 skipped 480s [inst/@sym/isempty.m] 480s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isempty.m 480s ***** shared se, a 480s se = sym ([]); 480s a = sym ([1 2]); 480s ***** assert (~isempty (sym (1))) 480s ***** assert (isempty (sym (se))) 480s ***** assert (isempty (se == [])) 480s ***** test 480s ***** test se(1) = 10; 480s ***** test assert ( isa (se, 'sym')) 480s ***** test assert ( isequal (se, 10)) 480s ***** shared 480s ***** test 480s % empty matrices 480s A = sym('A', [3 0]); 480s assert (isempty (A)) 480s A = sym(ones(3,0)); 480s assert (isempty (A)) 480s ***** test 480s % non-empty symbolic-size matrices 480s syms n integer 480s A = sym('A', [3 n]); 480s assert (~isempty (A)) 480s ***** xtest 480s % empty symbolic-size matrices 480s % FIXME: will fail until size stop lying by saying 1x1 480s syms n integer 480s A = sym('A', [0 n]); 480s assert (isempty (A)) 480s A = sym('A', [n 0]); 480s assert (isempty (A)) 480s !!!!! known failure 480s assert (isempty (A)) failed 480s 10 tests, 9 passed, 1 known failure, 0 skipped 480s [inst/@sym/isequal.m] 480s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isequal.m 480s ***** test 480s a = sym([1 2]); 480s b = a; 480s assert (isequal (a, b)) 480s b(1) = 42; 480s assert (~isequal (a, b)) 480s ***** test 480s a = sym([1 2; 3 4]); 480s b = a; 480s assert (isequal (a, b)) 480s b(1) = 42; 480s assert (~isequal (a, b)) 480s ***** test 480s a = sym([nan; 2]); 480s b = a; 480s assert (~isequal (a, b)) 480s ***** test 480s % proper nan treatment 480s a = sym([nan 2; 3 4]); 480s b = a; 480s assert (~isequal (a, b)) 480s ***** test 480s % more than two arrays 480s a = sym([1 2 3]); 480s b = a; 480s c = a; 480s assert (isequal (a, b, c)) 480s c(1) = 42; 480s assert (~isequal (a, b, c)) 480s 5 tests, 5 passed, 0 known failure, 0 skipped 480s [inst/@sym/isequaln.m] 480s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isequaln.m 480s ***** test 480s a = sym([1 2]); 480s b = a; 480s assert (isequaln (a, b)) 480s b(1) = 42; 480s assert (~isequaln (a, b)) 481s ***** test 481s a = sym([1 2; 3 4]); 481s b = a; 481s assert (isequaln (a, b)) 481s b(1) = 42; 481s assert (~isequaln (a, b)) 481s ***** test 481s a = sym([nan; 2]); 481s b = a; 481s assert (isequaln (a, b)) 481s ***** test 481s a = sym([nan 2; 3 4]); 481s b = a; 481s assert (isequaln (a, b)) 481s ***** test 481s % more than two arrays 481s a = sym([nan 2 3]); 481s b = a; 481s c = a; 481s assert (isequaln (a, b, c)) 481s c(1) = 42; 481s assert (~isequaln (a, b, c)) 481s 5 tests, 5 passed, 0 known failure, 0 skipped 481s [inst/@sym/isfinite.m] 481s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isfinite.m 481s ***** assert (isfinite(sym(1))) 481s ***** assert (isfinite(sym(-10))) 481s ***** assert (~isfinite(sym('oo'))) 481s ***** assert (~isfinite(sym('-oo'))) 481s ***** assert (~isfinite(sym(1)/0)) 481s ***** assert (~isfinite(sym(nan))) 481s ***** assert (isequal (isfinite (sym ([1 inf])), [true false])) 481s ***** test 481s % finite-by-assumption 481s syms x finite 481s assert (isfinite (x)) 481s 8 tests, 8 passed, 0 known failure, 0 skipped 481s [inst/@sym/isinf.m] 481s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isinf.m 481s ***** shared x,zoo,oo,snan 481s oo = sym(inf); 481s zoo = sym('zoo'); 481s x = sym('x'); 481s snan = sym(nan); 481s ***** test 481s % various ops that give inf and nan 481s assert (isinf(oo)) 481s assert (isinf(zoo)) 481s assert (isinf(oo+oo)) 481s assert (~isinf(oo+zoo)) 481s assert (~isinf(0*oo)) 481s assert (~isinf(0*zoo)) 481s assert (~isinf(snan)) 481s assert (~isinf(oo-oo)) 481s assert (~isinf(oo-zoo)) 481s ***** test 481s % arrays 481s assert (isequal( isinf([oo zoo]), [1 1] )) 481s assert (isequal( isinf([oo 1]), [1 0] )) 481s assert (isequal( isinf([10 zoo]), [0 1] )) 481s assert (isequal( isinf([x oo x]), [0 1 0] )) 481s ***** test 481s % Must not contain string 'symbol'; these all should make an 481s % actual infinity. Actually a ctor test, not isinf. 481s % IIRC, SMT in Matlab 2013b fails. 481s oo = sym(inf); 481s assert (isempty (strfind (sympy (oo), 'Symbol'))) 481s oo = sym(-inf); 481s assert (isempty (strfind (sympy (oo), 'Symbol'))) 481s oo = sym('inf'); 481s assert (isempty (strfind (sympy (oo), 'Symbol'))) 481s oo = sym('-inf'); 481s assert (isempty (strfind (sympy (oo), 'Symbol'))) 481s oo = sym('Inf'); 481s assert (isempty (strfind (sympy (oo), 'Symbol'))) 481s ***** test 481s % ops with infinity shouldn't collapse 481s syms x oo zoo 481s y = x + oo; 481s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 481s y = x - oo; 481s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 481s y = x - zoo; 481s assert (~isempty (strfind (lower (sympy (y)), 'add') )) 481s y = x*oo; 481s assert (~isempty (strfind (lower (sympy (y)), 'mul') )) 481s ***** test 481s % ops with infinity are not necessarily infinite 481s syms x oo zoo 481s y = x + oo; 481s assert(~isinf(y)) % SMT 2014a says "true", I disagree 481s y = x - zoo; 481s assert(~isinf(y)) 481s y = x*oo; 481s assert(~isinf(y)) 482s 5 tests, 5 passed, 0 known failure, 0 skipped 482s [inst/@sym/ismatrix.m] 482s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ismatrix.m 482s ***** assert(ismatrix(sym('x'))) 483s ***** assert(ismatrix(sym([1 2 3]))) 483s ***** assert(ismatrix(sym([1; 2]))) 483s ***** assert(ismatrix(sym([1 2; 3 4]))) 483s ***** assert(ismatrix(sym([]))) 483s ***** assert(ismatrix(sym(ones(1,0)))) 483s ***** assert(ismatrix(sym(ones(0,3)))) 483s 7 tests, 7 passed, 0 known failure, 0 skipped 483s [inst/@sym/ismember.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ismember.m 483s ***** assert (ismember (2, interval(sym(0),2))) 483s ***** assert (~ismember (3, interval(sym(0),2))) 483s ***** test 483s % something in a matrix 483s syms x 483s A = [1 x; sym(pi) 4]; 483s assert (ismember (sym(pi), A)) 483s assert (ismember (x, A)) 483s assert (~ismember (2, A)) 483s ***** test 483s % set 483s syms x 483s S = finiteset(2, sym(pi), x); 483s assert (ismember (x, S)) 483s ***** test 483s % set with positive symbol 483s syms p positive 483s S = finiteset(2, sym(pi), p); 483s assert (~ismember (-1, S)) 483s 5 tests, 5 passed, 0 known failure, 0 skipped 483s [inst/@sym/isna.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isna.m 483s ***** test 483s % no sym should be NA 483s syms x oo 483s assert (~isna(sym(1))) 483s assert (~isna(x)) 483s assert (~isna(oo)) 483s assert (~isna(sym(nan))) 483s assert (isequal (isna (sym ([1 nan])), [false false])) 483s 1 test, 1 passed, 0 known failure, 0 skipped 483s [inst/@sym/isnan.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isnan.m 483s ***** shared x,zoo,oo,snan 483s oo = sym(inf); 483s zoo = sym('zoo'); 483s x = sym('x'); 483s snan = sym(nan); 483s ***** test 483s % various ops that give nan 483s assert (isnan(0*oo)) 483s assert (isnan(0*zoo)) 483s assert (isnan(snan)) 483s assert (isnan(snan-snan)) 483s assert (isnan(oo+snan)) 483s assert (isnan(oo-oo)) 483s assert (isnan(oo-zoo)) 483s assert (isnan(oo+zoo)) 483s assert (~isnan(oo)) 483s assert (~isnan(zoo)) 483s assert (~isnan(oo+oo)) 483s ***** test 483s % more ops give nan 483s assert(isnan(x+snan)) 483s assert(isnan(x*snan)) 483s assert(isnan(0*snan)) 483s assert(isnan(x+nan)) 483s assert(isnan(x*nan)) 483s assert(isnan(sym(0)*nan)) 483s ***** test 483s % array 483s assert (isequal( isnan([oo zoo]), [0 0] )) 483s assert (isequal( isnan([10 snan]), [0 1] )) 483s assert (isequal( isnan([snan snan]), [1 1] )) 483s assert (isequal( isnan([snan x]), [1 0] )) 483s ***** test 483s % sub in to algebraic expression gives nan 483s y = x - oo; 483s y = subs(y, x, oo); 483s assert(isnan(y)) 483s ***** test 483s % Must not contain string 'symbol'; these all should make an 483s % actual nan. Actually a ctor test, not isnan. 483s y = sym(nan); 483s assert (isempty (strfind (sympy (y), 'Symbol'))) 483s y = sym('nan'); 483s assert (isempty (strfind (sympy (y), 'Symbol'))) 483s y = sym('NaN'); 483s assert (isempty( strfind (sympy (y), 'Symbol'))) 483s 5 tests, 5 passed, 0 known failure, 0 skipped 483s [inst/@sym/isprime.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isprime.m 483s ***** assert (isprime (sym(5))) 483s ***** assert (~isprime (sym(4))) 483s ***** assert (~isprime (sym(0))) 483s ***** assert (~isprime (sym(1))) 483s ***** test 483s a = [5 7 6; 1 2 337]; 483s assert (isequal (isprime (a), [true true false; false true true])) 483s ***** assert (~isprime(sym(-4))) 483s ***** assert (~isprime(sym(4i))) 483s ***** assert (~isprime(sym(3)/5)) 483s ***** error 483s isprime(sym('x')); 483s 9 tests, 9 passed, 0 known failure, 0 skipped 483s [inst/@sym/isrow.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isrow.m 483s ***** assert (isrow (sym ([1]))) 483s ***** assert (isrow (sym ([1 2 3]))) 483s ***** assert (~isrow (sym ([]))) 483s ***** assert (~isrow (sym ([1 2 3]'))) 483s ***** assert (~isrow (sym ([1 2; 3 4]))) 483s 5 tests, 5 passed, 0 known failure, 0 skipped 483s [inst/@sym/isscalar.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isscalar.m 483s ***** assert(isscalar(sym('x'))) 483s ***** test 483s a = sym([1 2 3]); 483s assert(~isscalar(a)) 483s ***** assert(~isscalar(sym([]))) 483s 3 tests, 3 passed, 0 known failure, 0 skipped 483s [inst/@sym/isvector.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/isvector.m 483s ***** assert(isvector(sym('x'))) 483s ***** assert(isvector(sym([1 2 3]))) 483s ***** assert(isvector(sym([1; 2]))) 483s ***** assert(~isvector(sym([1 2; 3 4]))) 483s ***** assert(~isvector(sym([]))) 483s ***** assert(isvector(sym(ones(1,0)))) 483s ***** assert(~isvector(sym(ones(0,3)))) 483s 7 tests, 7 passed, 0 known failure, 0 skipped 483s [inst/@sym/jacobian.m] 483s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/jacobian.m 483s ***** error jacobian (sym(1), 2, 3) 483s ***** error jacobian ([sym(1) 2; sym(3) 4]) 483s ***** shared x,y,z 483s syms x y z 483s ***** test 483s % 1D 483s f = x^2; 483s assert (isequal (jacobian(f), diff(f,x))) 483s assert (isequal (jacobian(f,{x}), diff(f,x))) 483s assert (isequal (jacobian(f,x), diff(f,x))) 484s ***** test 484s % const 484s f = sym(1); 484s g = sym(0); 484s assert (isequal (jacobian(f), g)) 484s assert (isequal (jacobian(f,x), g)) 484s ***** test 484s % double const 484s f = 1; 484s g = sym(0); 484s assert (isequal (jacobian(f,x), g)) 484s ***** test 484s % diag 484s f = [x y^2]; 484s g = [sym(1) 0; 0 2*y]; 484s assert (isequal (jacobian(f), g)) 484s assert (isequal (jacobian(f, [x y]), g)) 484s assert (isequal (jacobian(f, {x y}), g)) 484s ***** test 484s % anti-diag 484s f = [y^2 x]; 484s g = [0 2*y; sym(1) 0]; 484s assert (isequal (jacobian(f), g)) 484s assert (isequal (jacobian(f, {x y}), g)) 484s ***** test 484s % shape 484s f = [x y^2]; 484s assert (isequal (size(jacobian(f, {x y z})), [2 3])) 484s assert (isequal (size(jacobian(f, [x y z])), [2 3])) 484s assert (isequal (size(jacobian(f, [x; y; z])), [2 3])) 484s assert (isequal (size(jacobian(f.', {x y z})), [2 3])) 484s ***** test 484s % scalar f 484s f = x*y; 484s assert (isequal (size(jacobian(f, {x y})), [1 2])) 484s g = gradient(f, {x y}); 484s assert (isequal (jacobian(f, {x y}), g.')) 484s ***** test 484s % vect f wrt 1 var 484s f = [x x^2]; 484s assert (isequal (size(jacobian(f, x)), [2 1])) 484s f = f.'; % same shape output 484s assert (isequal (size(jacobian(f, x)), [2 1])) 485s 10 tests, 10 passed, 0 known failure, 0 skipped 485s [inst/@sym/jordan.m] 485s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/jordan.m 485s ***** test 485s % basic 485s A = sym ([2 1 0 0; 0 2 1 0; 0 0 3 0; 0 1 -1 3]); 485s [V, J] = jordan (A); 485s assert (isequal (inv (V) * A * V, J)); 485s assert (isequal (J, sym ([2 1 0 0; 0 2 0 0; 0 0 3 0; 0 0 0 3]))) 485s % the first 2 generalized eigenvectors form a cycle 485s assert (isequal ((A - J(1, 1) * eye (4)) * V(:, 1), zeros (4, 1))); 485s assert (isequal ((A - J(2, 2) * eye (4)) * V(:, 2), V(:, 1))); 485s % the last 2 generalized eigenvectors are eigenvectors 485s assert (isequal ((A - J(3, 3) * eye (4)) * V(:, 3), zeros (4, 1))); 485s assert (isequal ((A - J(4, 4) * eye (4)) * V(:, 4), zeros (4, 1))); 486s ***** test 486s % scalars 486s assert (isequal (jordan (sym (-10)), sym (-10))); 486s assert (isequal (jordan (sym ('x')), sym ('x'))); 486s ***** test 486s % diagonal matrices 486s A = diag (sym ([6 6 7])); 486s [V1, D] = eig (A); 486s [V2, J] = jordan (A); 486s assert (isequal (V1, V2)); 486s assert (isequal (D, J)); 486s ***** test 486s % matrices of unknown entries 486s A = [sym('a') sym('b'); sym('c') sym('d')]; 486s [V, D] = eig (A); 486s J = jordan (A); 486s assert (isequal (simplify (D), simplify (J))); 487s ***** test 487s % matrices of mixed entries 487s A = [sym('x')+9 sym('y'); sym(0) 6]; 487s [V, D] = eig (A); 487s J = jordan (A); 487s assert (isequal (simplify (D), simplify (J))); 487s 5 tests, 5 passed, 0 known failure, 0 skipped 487s [inst/@sym/kron.m] 487s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/kron.m 487s ***** error kron (sym (2)) 487s ***** test 487s syms x y 487s A = [sin(x), sin(y); x, y]; 487s B = ones(2); 487s 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]); 487s assert (isequal (kron(A, B), expected)) 488s ***** test 488s syms x y 488s A = [sin(x), sin(y); x, y]; 488s B = 2; 488s assert (isequal (kron(A, B), 2*A)) 488s ***** test 488s syms x y 488s A = [sin(x), sin(y)]; 488s B = 2; 488s assert (isequal( kron(B, A), 2*A)) 488s ***** test 488s syms x y; 488s X = [tan(x), tan(x)]; 488s Y = [cot(x); cot(x)]; 488s expected = sym(ones(2)); 488s assert (isequal (simplify(kron(X, Y)), expected)) 488s ***** test 488s syms x y z 488s X = [x, y, z]; 488s Y = [y, y; x, x]; 488s 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]; 488s assert (isequal (kron(X, Y), expected)) 488s ***** test 488s syms x y 488s X = [x, x^2; y, y^2]; 488s Y = [1, 0; 0, 1]; 488s expected = [x, x^2, 0, 0; y, y^2, 0, 0; 0, 0, x, x^2; 0, 0, y, y^2]; 488s assert (isequal (kron(Y, X), expected)) 489s ***** test 489s syms x y z 489s assert (isequal (kron (x, y, z), x*y*z)) 489s assert (isequal (kron (x, y, z, 4), 4*x*y*z)) 489s assert (isequal (kron ([2 3], y, z), [2 3]*y*z)) 489s assert (isequal (kron ([2 3], [4; 5], y), [8 12; 10 15]*y)) 489s ***** test 489s syms x y 489s A = kron ([x y], [1, -1; -1, 1], [2 3; 4 5]); 489s D = kron ([7 9], [1, -1; -1, 1], [2 3; 4 5]); 489s A = double (subs (A, [x y], [7 9])); 489s assert (isequal (A, D)) 491s 9 tests, 9 passed, 0 known failure, 0 skipped 491s [inst/@sym/kroneckerDelta.m] 491s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/kroneckerDelta.m 491s ***** error kroneckerDelta (sym(1), 2, 3) 491s ***** test 491s syms x 491s assert (isequal (kroneckerDelta (x, x), sym(1))) 491s ***** assert (isequal (kroneckerDelta ([sym(1) 2 3], [1 2 0]), sym([1 1 0]))) 491s ***** test 491s % round trip 491s syms x y 491s f = kroneckerDelta (x, y); 491s h = function_handle (f); 491s assert (h (1, 2), 0) 491s assert (h (2, 2), 1) 491s 4 tests, 4 passed, 0 known failure, 0 skipped 491s [inst/@sym/laguerreL.m] 491s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/laguerreL.m 491s ***** shared x 491s syms x 491s ***** assert (isequal (laguerreL(0, x), sym(1))) 491s ***** assert (isequal (laguerreL(1, x), 1-x)) 491s ***** assert (isequal (laguerreL(2, x), x^2/2 - 2*x + 1)) 491s ***** error laguerreL(x) 491s ***** error laguerreL(1, 2, x, 3) 491s ***** shared 491s ***** test 491s if (pycall_sympy__ ('return Version(spver) > Version("1.4")')) 491s syms x 491s assert (isequal (laguerreL (-3, x), exp(x)*(x^2/2 + 2*x + 1))) 491s end 491s ***** test 491s syms x n 491s L = laguerreL([2 n], x); 491s expected = [laguerreL(2, x) laguerreL(n, x)]; 491s assert (isequal (L, expected)) 492s ***** test 492s syms x y 492s L = laguerreL([1; 2], [x; y]); 492s expected = [laguerreL(1, x); laguerreL(2, y)]; 492s assert (isequal (L, expected)) 492s ***** test 492s syms x n 492s assert (isequal (laguerreL(n, 0, x), laguerreL(n, x))) 492s ***** shared x, y, n 492s syms x y n 492s ***** assert (isequal (laguerreL([1 n], 0, x), laguerreL([1 n], x))) 492s ***** test 492s L = laguerreL([1; n], [pi; 0], [x; y]); 492s expected = [laguerreL(1, pi, x); laguerreL(n, 0, y)]; 492s assert (isequal (L, expected)) 492s ***** test 492s L = laguerreL([1 n], [pi 0], x); 492s expected = [laguerreL(1, pi, x) laguerreL(n, 0, x)]; 492s assert (isequal (L, expected)) 492s ***** test 492s L = laguerreL([1 n], pi, [x y]); 492s expected = [laguerreL(1, pi, x) laguerreL(n, pi, y)]; 492s assert (isequal (L, expected)) 492s ***** test 492s L = laguerreL(1, [pi 0], [x y]); 492s expected = [laguerreL(1, pi, x) laguerreL(1, 0, y)]; 492s assert (isequal (L, expected)) 493s ***** test 493s L = laguerreL([1 n], pi, x); 493s expected = [laguerreL(1, pi, x) laguerreL(n, pi, x)]; 493s assert (isequal (L, expected)) 493s ***** test 493s L = laguerreL(1, [pi 0], x); 493s expected = [laguerreL(1, pi, x) laguerreL(1, 0, x)]; 493s assert (isequal (L, expected)) 493s ***** test 493s L = laguerreL(1, pi, [x y]); 493s expected = [laguerreL(1, pi, x) laguerreL(1, pi, y)]; 493s assert (isequal (L, expected)) 493s ***** test 493s % round trip 493s f = laguerreL (n, x); 493s h = function_handle (f); 493s A = h (1, 3.2); 493s B = laguerreL (1, 3.2); 493s assert (A, B) 493s A = h ([1 2], [3.3 4.4]); 493s B = laguerreL ([1 2], [3.3 4.4]); 493s assert (A, B) 493s ***** error 493s % round trip 493s f = laguerreL (n, y, x); 493s h = function_handle (f); 493s 19 tests, 19 passed, 0 known failure, 0 skipped 493s [inst/@sym/lambertw.m] 493s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/lambertw.m 493s ***** test 493s % W(x)*exp(W(x)) == x 493s syms x 493s T = lambertw(x)*exp(lambertw(x)); 493s T = double (subs (T, x, 10)); 493s assert (isequal (T, 10)); 493s ***** test 493s % k, x not x, k to match SMT 493s syms x 493s T = lambertw(2, x)*exp(lambertw(2, x)); 493s T = double (subs (T, x, 10)); 493s assert (abs(T - 10) < 1e-15) 493s ***** assert (isequal (lambertw(sym(0)), sym(0))) 493s ***** assert ( isequal (lambertw (-1/exp(sym(1))), -sym(1))) 493s ***** assert ( isequal (lambertw (0, -1/exp(sym(1))), -sym(1))) 494s ***** assert ( isequal (lambertw (-1, -1/exp(sym(1))), -sym(1))) 494s ***** xtest 494s % W(x)*exp(W(x)) == x; FIXME: a failure in SymPy? 494s syms x 494s T = simplify(lambertw(x)*exp(lambertw(x))); 494s assert (isequal (T, x)) 494s !!!!! known failure 494s assert (isequal (T, x)) failed 494s ***** assert (abs (lambertw(pi) - double(lambertw(sym(pi)))) < 5*eps) 494s ***** assert (abs (lambertw(-1, 5) - double(lambertw(-1, sym(5)))) < 5*eps) 494s ***** assert (abs (lambertw(2, 2) - double(lambertw(2, sym(2)))) < 5*eps) 494s ***** test 494s % round trip 494s syms x k 494s A = lambertw (5); 494s f = lambertw (x); 494s h = function_handle (f); 494s B = h (5); 494s assert (A, B) 494s 494s A = lambertw (3, 5); 494s f = lambertw (k, x); 494s h = function_handle (f); 494s B = h (3, 5); 494s assert (A, B) 494s 11 tests, 10 passed, 1 known failure, 0 skipped 494s [inst/@sym/laplace.m] 494s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/laplace.m 494s ***** test 494s % basic 494s syms t s u w 494s assert(logical( laplace(cos(3*t)) == s/(s^2+9) )) 494s assert(logical( laplace(t^3) == 6/s^4 )) 495s ***** test 495s % matlab SMT compat 495s syms t s u w z 495s assert(logical( laplace(exp(2*t)) == 1/(s-2) )) 495s assert(logical( laplace(exp(2*s)) == 1/(z-2) )) 495s assert(logical( laplace(exp(2*u),w) == 1/(w-2) )) 495s assert(logical( laplace(exp(2*u),u,w) == 1/(w-2) )) 495s ***** test 495s syms x s t z 495s % matlab SMT prefers t over x 495s assert (isequal (laplace (x*exp (t), z), x/(z - 1))) 495s % as usual, you can just specify: 495s assert (isequal (laplace(x*exp(t), t, z), x/(z - 1))) % SMT result 495s assert (isequal (laplace(x*exp(t), x, z), exp(t)/z^2)) 496s ***** test 496s syms x a s 496s % if no t, use symvar: take x before a 496s assert (isequal (laplace (a*exp (x)), a/(s - 1))) 496s ***** error laplace (sym('t')*sym('t', 'real')) 496s ***** test 496s % constant, issue #250 496s syms s 496s f = laplace(2, s); 496s assert (isequal (f, 2/s)) 496s ***** test 496s % Dirac delta and Heaviside tests 496s syms t s 496s assert (isequal (laplace(dirac(t-3)), exp(-3*s))) 496s assert (isequal (laplace((t-3)*heaviside(t-3)), exp(-3*s)/s^2)) 497s ***** xtest 497s % Differential operator to algebraic 497s % SymPy cannot evaluate? (Issue #170) 497s syms s f(t) 497s assert(logical( laplace(diff(f(t),t),t,s) == s*laplace(f(t),t,s)-f(0) )) 497s 8 tests, 8 passed, 0 known failure, 0 skipped 497s [inst/@sym/laplacian.m] 497s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/laplacian.m 497s ***** shared x,y,z 497s syms x y z 497s ***** test 497s % 1D 497s f = x^2; 497s g = diff(f,x,x); 497s assert (isequal (laplacian(f), g)) 497s assert (isequal (laplacian(f,{x}), g)) 497s assert (isequal (laplacian(f,[x]), g)) 497s assert (isequal (laplacian(f,x), g)) 497s ***** test 497s % const 497s f = sym(1); 497s g = sym(0); 497s assert (isequal (laplacian(f), g)) 497s assert (isequal (laplacian(f,x), g)) 497s f = sym('c'); 497s assert (isequal (laplacian(f,x), g)) 497s ***** test 497s % double const 497s f = 1; 497s g = sym(0); 497s assert (isequal (laplacian(f,x), g)) 497s ***** test 497s % 1D fcn in 2d/3d 497s f = sin(2*y); 497s g = -4*f; 497s assert (isequal (laplacian(f), g)) 497s assert (isequal (laplacian(f, {x,y}), g)) 497s assert (isequal (laplacian(f, {x,y,z}), g)) 498s ***** test 498s % 2d fcn in 2d/3d 498s f = sin(exp(x)*y); 498s g = diff(f,x,x) + diff(f,y,y); 498s assert (isequal (laplacian(f), g)) 498s assert (isequal (laplacian(f, {x,y}), g)) 498s ***** test 498s % 2d fcn in 2d/3d 498s f = sin(exp(x)*y+sinh(z)); 498s gr2 = gradient(f, {x,y}); 498s divgr2 = divergence(gr2, {x,y}); 498s l2 = laplacian(f,{x,y}); 498s gr3 = gradient(f, {x,y,z}); 498s divgr3 = divergence(gr3, {x,y,z}); 498s l3 = laplacian(f,{x,y,z}); 498s assert (isAlways (l2 == divgr2)) 498s assert (isAlways (l3 == divgr3)) 502s ***** error laplacian(sym('x'), sym('x'), 42) 502s ***** error laplacian([sym('x'), sym('x')]) 502s 8 tests, 8 passed, 0 known failure, 0 skipped 502s [inst/@sym/latex.m] 502s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/latex.m 502s ***** test 502s syms x 502s y = sin(x); 502s assert (strcmp (latex (y), '\sin{\left(x \right)}')) 502s ***** assert (strcmp (latex (exp (sym('x'))), 'e^{x}')) 502s 2 tests, 2 passed, 0 known failure, 0 skipped 502s [inst/@sym/ldivide.m] 502s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ldivide.m 502s ***** test 502s % scalar 502s syms x 502s assert (isa (x .\ 1, 'sym')) 502s assert (isa (x .\ x, 'sym')) 502s assert (isequal (x .\ 1, 1/x)) 502s assert (isequal (x .\ x, sym(1))) 503s ***** test 503s % matrix-scalar 503s D = [1 1; 2 3]; 503s A = sym(D); 503s assert (isequal ( A .\ 6 , D .\ 6 )) 503s assert (isequal ( A .\ sym(6) , D .\ 6 )) 503s assert (isequal ( D .\ sym(6) , D .\ 6 )) 503s ***** test 503s % matrix-matrix 503s D = [1 2; 3 4]; 503s A = sym(D); 503s assert (isequal ( A .\ A , D .\ D )) 503s assert (isequal ( A .\ D , D .\ D )) 503s assert (isequal ( D .\ A , D .\ D )) 503s ***** test 503s % matrix .\ matrix with symbols 503s syms x y 503s A = [x y; x^2 2*y]; 503s B = [y x; x y]; 503s assert (isequal ( A .\ A , sym(ones(2, 2)) )) 503s assert (isequal ( B .\ A , [x/y y/x; x 2] )) 504s ***** test 504s % scalar .\ matrix 504s D = 3*[1 2; 3 4]; 504s A = sym(D); 504s assert (isequal ( 3 .\ A , 3 .\ D )) 504s 5 tests, 5 passed, 0 known failure, 0 skipped 504s [inst/@sym/le.m] 504s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/le.m 504s ***** test 504s % simple 504s x = sym(1); y = sym(1); e = x <= y; 504s assert (logical (e)) 504s x = sym(1); y = sym(2); e = x <= y; 504s assert (logical (e)) 504s ***** test 504s % array -- array 504s syms x 504s a = sym([1 3 3 2*x]); 504s b = sym([2 x 3 10]); 504s e = a <= b; 504s assert (isa (e, 'sym')) 504s assert (logical (e(1))) 504s assert (isa (e(2), 'sym')) 504s assert (isequal (e(2), 3 <= x)) 504s assert (logical (e(3))) 504s assert (isa (e(4), 'sym')) 504s assert (isequal (e(4), 2*x <= 10)) 504s 2 tests, 2 passed, 0 known failure, 0 skipped 504s [inst/@sym/length.m] 504s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/length.m 504s ***** test 504s a = sym([1 2 3]); 504s assert(length(a) == 3); 504s ***** test 504s % 2D array 504s a = sym([1 2 3; 4 5 6]); 504s assert(length(a) == 3); 504s ***** test 504s % empty 504s a = sym([]); 504s assert(length(a) == 0); 504s 3 tests, 3 passed, 0 known failure, 0 skipped 504s [inst/@sym/lgamma.m] 505s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/lgamma.m 505s ***** test 505s % tested by gammaln 505s assert (isequal (lgamma (sym ('x')), gammaln (sym ('x')))) 505s 1 test, 1 passed, 0 known failure, 0 skipped 505s [inst/@sym/lhs.m] 505s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/lhs.m 505s ***** test 505s syms x y 505s f = x + 1 == 2*y; 505s assert (isequal (lhs(f), x + 1)) 505s assert (isequal (rhs(f), 2*y)) 505s ***** test 505s syms x y 505s f = x + 1 < 2*y; 505s assert (isequal (lhs(f), x + 1)) 505s assert (isequal (rhs(f), 2*y)) 505s ***** test 506s syms x y 506s f = x + 1 >= 2*y; 506s assert (isequal (lhs(f), x + 1)) 506s assert (isequal (rhs(f), 2*y)) 506s ***** test 506s syms x y 506s A = [x == y 2*x < 2*y; 3*x > 3*y 4*x <= 4*y; 5*x >= 5*y x < 0]; 506s L = [x 2*x; 3*x 4*x; 5*x x]; 506s R = [y 2*y; 3*y 4*y; 5*y 0]; 506s assert (isequal( lhs(A), L)) 506s assert (isequal( rhs(A), R)) 506s ***** error 506s syms x 506s lhs(x) 506s ***** error 506s lhs(sym(true)) 506s ***** error 506s syms x 506s A = [1 + x == 2*x sym(6)]; 506s lhs(A) 506s 7 tests, 7 passed, 0 known failure, 0 skipped 506s [inst/@sym/limit.m] 506s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/limit.m 506s ***** error limit (sym(1), 2, 3, 4, 5) 506s ***** shared x, oo 506s syms x 506s oo = sym(inf); 506s ***** assert (isa (limit(x, x, pi), 'sym')) 506s ***** assert (isequal (limit(x, x, pi), sym(pi))) 506s ***** assert (isequal (limit(sin(x)/x, x, 0), 1)) 506s ***** test 506s % left/right-hand limit 506s assert (isequal (limit(1/x, x, 0, 'right'), oo)) 506s assert (isequal (limit(1/x, x, 0), oo)) 506s assert (isequal (limit(1/x, x, 0, 'left'), -oo)) 506s assert (isequal (limit(1/x, x, oo), 0)) 506s assert (isequal (limit(sign(x), x, 0, 'left'), -1)) 506s assert (isequal (limit(sign(x), x, 0, 'right'), 1)) 506s assert (isequal (limit(sign(x), x, 0, '-'), -1)) 506s assert (isequal (limit(sign(x), x, 0, '+'), 1)) 507s ***** test 507s % matrix 507s syms y 507s A = [x 1/x x*y]; 507s B = sym([3 sym(1)/3 3*y]); 507s assert (isequal (limit(A, x, 3), B)) 507s ***** test 507s % omitting arguments 507s syms a 507s assert (isequal (limit(a), 0)) 507s assert (isequal (limit(a*x+a+2), a+2)) 507s assert (isequal (limit(a*x+a+2, 6), 7*a+2)) 507s ***** test 507s % constants 507s assert (isequal (limit(sym(6)), 6)) 507s assert (isequal (limit(sym(6), 7), 6)) 507s assert (isequal (limit([sym(6) sym(2)], 7), [6 2])) 507s ***** test 507s % double constant, with sym limit 507s a = limit (6, sym(0)); 507s assert (isa (a, 'sym')) 507s assert (isequal (a, sym(6))) 508s 9 tests, 9 passed, 0 known failure, 0 skipped 508s [inst/@sym/linspace.m] 508s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/linspace.m 508s ***** test 508s a = linspace(sym(3), 5, 5); 508s b = [sym(6) 7 8 9 10]/2; 508s assert (isequal (a, b)) 508s ***** test 508s % non-integers 508s A = linspace(0, sym(pi), 10); 508s assert (length (A) == 10); 508s assert (isequal (A(6), 5*sym(pi)/9)); 508s ***** test 508s % default argument for N 508s A = linspace(1, 100); 508s assert (length (A) == 100); 508s ***** test 508s % special case for just N = 1 508s A = linspace(sym(2), 3, 1); 508s assert (isequal (A, 3)) 508s A = linspace(sym(2), 3, 0); 508s assert (isequal (A, 3)) 508s A = linspace(sym(2), 3, sym(3)/2); 508s assert (isequal (A, 3)) 508s 4 tests, 4 passed, 0 known failure, 0 skipped 508s [inst/@sym/log.m] 508s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/log.m 508s ***** error log (sym(1), 2) 508s ***** assert (isequaln (log (sym(nan)), sym(nan))) 508s ***** shared x, d 508s d = 1; 508s x = sym('1'); 508s ***** test 508s f1 = log(x); 508s f2 = log(d); 508s assert( abs(double(f1) - f2) < 1e-15 ) 508s ***** test 508s D = [d d; d d]; 508s A = [x x; x x]; 508s f1 = log(A); 508s f2 = log(D); 508s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 508s ***** test 508s % round trip 508s y = sym('y'); 508s A = log (d); 508s f = log (y); 508s h = function_handle (f); 508s B = h (d); 508s assert (A, B, -eps) 509s 5 tests, 5 passed, 0 known failure, 0 skipped 509s [inst/@sym/log10.m] 509s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/log10.m 509s ***** assert (isequal (log10 (sym (1000)), sym (3))) 509s ***** assert (isequal (log10 (sym ([10 100])), sym ([1 2]))) 509s ***** test 509s % round-trip 509s syms x 509s f = log10 (x); 509s h = function_handle (f); 509s A = h (1.1); 509s B = log10 (1.1); 509s assert (A, B, -eps) 509s 3 tests, 3 passed, 0 known failure, 0 skipped 509s [inst/@sym/log2.m] 509s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/log2.m 509s ***** assert (isequal (log2 (sym (1024)), sym (10))) 509s ***** assert (isequal (log2 (sym ([2 16; 32 1])), sym ([1 4; 5 0]))) 509s ***** test 509s % round-trip 509s syms x 509s f = log2 (x); 509s h = function_handle (f); 509s A = h (1.1); 509s B = log2 (1.1); 509s assert (A, B, -5*eps) 509s 3 tests, 3 passed, 0 known failure, 0 skipped 509s [inst/@sym/logical.m] 509s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/logical.m 509s ***** test 509s % basics, many others in isAlways.m 509s assert (logical(true)) 509s assert (~(logical(false))) 509s ***** test 509s % numbers to logic? 509s assert (logical(sym(1))) 509s assert (logical(sym(-1))) 509s assert (~logical(sym(0))) 509s ***** test 509s % eqns, "structurally equivalent" 509s syms x 509s e = logical(x == x); 509s assert ( islogical (e)) 509s assert (e) 509s e = logical(x == 1); 509s assert ( islogical (e)) 509s assert (~e) 509s ***** test 509s % eqn could have solutions but are false in general 509s syms x 509s e = logical(x^2 == x); 509s assert ( islogical (e)) 509s assert (~e) 509s e = logical(2*x == x); 509s assert ( islogical (e)) 509s assert (~e) 509s ***** test 509s % FIXME: (not sure yet) T/F matrices should stay sym until logical() 509s a = sym(1); 509s e = a == a; 509s assert (isa (e, 'sym')) 509s assert (islogical (logical (e))) 509s e = [a == a a == 0 a == a]; 509s assert (isa (e, 'sym')) 509s assert (islogical (logical (e))) 509s ***** test 509s % sym vectors of T/F to logical 509s a = sym(1); 509s e = [a == a a == 0 a == a]; 509s w = logical(e); 509s assert (islogical (w)) 509s assert (isequal (w, [true false true])) 509s e = e'; 509s w = logical(e); 509s assert (islogical (w)) 509s assert (isequal (w, [true; false; true])) 509s ***** test 509s % sym matrix of T/F to logical 509s a = sym([1 2 3; 4 5 6]); 509s b = sym([1 2 0; 4 0 6]); 509s e = a == b; 509s w = logical(e); 509s assert (islogical (w)) 509s assert (isequal (w, [true true false; true false true])) 510s ***** error 510s syms x 510s logical(x); 510s ***** error 510s logical(sym(nan)) 510s ***** test 510s % but oo and zoo are non-zero so we call those true 510s % (SMT errors on these) FIXME 510s syms oo zoo 510s assert (logical (oo)) 510s % assert (logical (zoo)) 510s ***** test 510s % older Octave (< 4.2) didn't automatically do "if (logical(obj))" 510s e = sym(true); 510s if (e) 510s assert(true); 510s else 510s assert(false); 510s end 510s ***** test 510s % more of above 510s e2 = sym(1) == sym(1); 510s if (e2) 510s assert(true); 510s else 510s assert(false); 510s end 510s e3 = sym([1 2]) == sym([1 1]); 510s if (e3(1)) 510s assert(true); 510s else 510s assert(false); 510s end 510s 12 tests, 12 passed, 0 known failure, 0 skipped 510s [inst/@sym/logint.m] 510s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/logint.m 510s ***** error logint (sym(1), 2) 510s ***** xtest 510s assert (isequaln (logint (sym(nan)), sym(nan))) 510s !!!!! known failure 510s assert (isequaln (logint (sym (nan)), sym (nan))) failed 510s ***** shared x, d 510s d = 2; 510s x = sym('2'); 510s ***** test 510s f1 = logint(x); 510s f2 = 1.045163780117492784845; 510s assert( abs(double(f1) - f2) < 1e-15 ) 510s ***** test 510s D = [d d; d d]; 510s A = [x x; x x]; 510s f1 = logint(A); 510s f2 = 1.045163780117492784845; 510s f2 = [f2 f2; f2 f2]; 510s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 510s ***** test 510s % round trip 510s y = sym('y'); 510s A = logint (d); 510s f = logint (y); 510s h = function_handle (f); 510s B = h (d); 510s assert (A, B, -eps) 510s 5 tests, 4 passed, 1 known failure, 0 skipped 510s [inst/@sym/logspace.m] 510s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/logspace.m 510s ***** test 510s % default argument for N 510s A = logspace(0, 2); 510s assert (length (A) == 50); 510s ***** test 510s % special case: pi as end pt 510s A = logspace(-sym(3), sym(pi), 3); 510s assert (isequal (A(end), sym(pi))) 511s ***** test 511s A = logspace(-sym(4), 0, 3); 511s B = [sym(1)/10000 sym(1)/100 sym(1)]; 511s assert (isequal (A, B)) 511s ***** test 511s % vpa support, might need recent sympy for sympy issue #10063 511s n = 32; 511s A = logspace(-vpa(1,n), 0, 3); 511s B = [10^(-vpa(1,n)) 10^(-vpa(sym(1)/2,n)) vpa(1,n)]; 511s assert (isequal (A, B)) 511s assert (max(abs(double(A) - logspace(-1, 0, 3))) < 1e-15) 511s 4 tests, 4 passed, 0 known failure, 0 skipped 511s [inst/@sym/lt.m] 512s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/lt.m 512s ***** test 512s % simple 512s x = sym(1); y = sym(1); e = x < y; 512s assert (~logical (e)) 512s x = sym(1); y = sym(2); e = x < y; 512s assert (logical (e)) 512s ***** test 512s % mix sym and double 512s x = sym(1); y = 1; e = x < y; 512s assert (~logical (e)) 512s x = sym(1); y = 2; e = x < y; 512s assert (logical (e)) 512s x = 1; y = sym(1); e = x < y; 512s assert (~logical (e)) 512s x = 1; y = sym(2); e = x < y; 512s assert (logical (e)) 512s ***** test 512s % Type of the output is sym or logical? 512s % FIXME: in current version, they are sym 512s x = sym(1); y = sym(1); e1 = x < y; 512s x = sym(1); y = sym(2); e2 = x < y; 512s %assert (islogical (e1)) 512s %assert (islogical (e2)) 512s assert (isa (e1, 'sym')) 512s assert (isa (e2, 'sym')) 512s ***** test 512s % ineq w/ symbols 512s syms x y 512s e = x < y; 512s assert (~islogical (e)) 512s assert (isa (e, 'sym')) 512s ***** test 512s % array -- array 512s syms x 512s a = sym([1 3 3 2*x]); 512s b = sym([2 x 3 10]); 512s e = a < b; 512s assert (isa (e, 'sym')) 512s assert (logical (e(1))) 512s assert (isa (e(2), 'sym')) 512s assert (isequal (e(2), 3 < x)) 512s assert (~logical (e(3))) 512s assert (isa (e(4), 'sym')) 512s assert (isequal (e(4), 2*x < 10)) 512s ***** test 512s % array -- scalar 512s syms x oo 512s a = sym([1 x oo]); 512s b = sym(3); 512s e = a < b; 512s assert (isa (e, 'sym')) 512s assert (logical (e(1))) 512s assert (isa (e(2), 'sym')) 512s assert (isequal (e(2), x < 3)) 512s assert (~logical (e(3))) 512s ***** test 512s % scalar -- array 512s syms x oo 512s a = sym(1); 512s b = sym([2 x -oo]); 512s e = a < b; 512s assert (isa (e, 'sym')) 512s assert (logical (e(1))) 512s assert (isa (e(2), 'sym')) 512s assert (isequal (e(2), 1 < x)) 512s assert (~logical (e(3))) 513s ***** test 513s % ineq w/ nan 513s syms x 513s snan = sym(nan); 513s e = x < snan; 513s assert (~logical (e)) 513s e = snan < x; 513s assert (~logical (e)) 513s b = [sym(0) x]; 513s e = b < snan; 513s assert (isequal (e, [false false])) 513s ***** test 513s % oo 513s syms oo x 513s e = oo < x; 513s assert (isa (e, 'sym')) 513s assert (strcmp (strtrim (disp (e, 'flat')), 'oo < x')) 513s ***** test 513s % sympy true matrix 513s a = sym([1 3 3]); 513s b = sym([2 4 1]); 513s e = a < b; 513s %assert (~isa (e, 'sym')) 513s %assert (islogical (e)) 513s assert (isequal (e, [true true false])) 513s ***** test 513s % oo, finite real variables 513s syms oo 513s syms z real 513s assumeAlso(z, 'finite') 513s e = -oo < z; 513s assert (isequal (e, sym(true))) 513s e = z < oo; 513s assert (isequal (e, sym(true))) 513s ***** test 513s % -oo, positive var (known failure w/ sympy 0.7.6.x) 513s syms oo 513s syms z positive 513s e = -oo < z; 513s assert (logical (e)) 513s assert (isequal (e, sym(true))) 513s ***** test 513s % positive 513s syms z positive 513s e = -1 < z; 513s assert (isequal (e, sym(true))) 513s ***** test 513s syms oo 513s z = sym('z', 'negative'); 513s e = z < oo; 513s assert (isequal (e, sym(true))) 513s 14 tests, 14 passed, 0 known failure, 0 skipped 513s [inst/@sym/lu.m] 513s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/lu.m 513s ***** test 513s % scalar 513s [l, u, p] = lu(sym(6)); 513s assert (isequal (l, sym(1))) 513s assert (isequal (u, sym(6))) 513s assert (isequal (p, sym(1))) 513s syms x 513s [l, u, p] = lu(x); 513s assert (isequal (l*u, p*x)) 513s [l, u] = lu(x); 513s assert (isequal (l*u, x)) 514s ***** test 514s % perm 514s A = sym(fliplr(2*eye(3))); 514s [L, U, P] = lu(A); 514s assert (isequal (L*U, P*A)) 514s [L, U, P] = lu(A, 'matrix'); 514s assert (isequal (L*U, P*A)) 514s [L, U, p] = lu(A, 'vector'); 514s assert (isequal (L*U, A(p,:))) 514s [L, U] = lu(A); 514s assert (isequal (L*U, A)) 514s ***** test 514s % p is col vectpr 514s A = sym([0 2; 3 4]); 514s [L, U, p] = lu(A, 'vector'); 514s assert(iscolumn(p)) 514s ***** test 514s % simple matrix 514s A = [1 2; 3 4]; 514s B = sym(A); 514s [L, U, P] = lu(B); 514s assert (isequal (L*U, P*B)) 514s assert (isequal (U(2,1), sym(0))) 514s % needs pivot 514s A = [0 2; 3 4]; 514s B = sym(A); 514s [L, U, P] = lu(B); 514s [Ld, Ud, Pd] = lu(A); 514s assert (isequal (L*U, P*A)) 514s assert (isequal (U(2,1), sym(0))) 514s % matches regular LU 514s assert ( max(max(double(L)-Ld)) <= 10*eps) 514s assert ( max(max(double(U)-Ud)) <= 10*eps) 514s assert ( isequal (P, Pd)) 515s ***** test 515s % rectangular 515s A = sym([1 2; 3 4; 5 6]); 515s [L, U] = lu (A); 515s assert (isequal (L*U, A)) 515s ***** test 515s % rectangular 515s A = sym([1 2 3; 4 5 6]); 515s [L, U] = lu (A); 515s assert (isequal (L*U, A)) 515s ***** test 515s % rectangular, repeated row 515s A = sym([1 2 3; 2 4 6]); 515s [L, U] = lu (A); 515s assert (isequal (L*U, A)) 515s ***** test 515s % rectangular, needs permutation 515s A = sym([0 0 0; 1 2 3]); 515s [L, U] = lu (A); 515s assert (isequal (L*U, A)) 515s assert (~isequal (tril (L), L)) 515s [L, U, P] = lu (A); 515s assert (isequal (L*U, P*A)) 515s assert (isequal (tril (L), L)) 516s 8 tests, 8 passed, 0 known failure, 0 skipped 516s [inst/@sym/matlabFunction.m] 516s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/matlabFunction.m 516s ***** test 516s % autodetect inputs 516s syms x y 516s s = warning('off', 'OctSymPy:function_handle:nocodegen'); 516s h = matlabFunction(2*x*y, x+y); 516s warning(s) 516s [t1, t2] = h(3,5); 516s assert(t1 == 30 && t2 == 8) 516s 1 test, 1 passed, 0 known failure, 0 skipped 516s [inst/@sym/max.m] 516s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/max.m 516s ***** test 516s % simple 516s assert (isequal (max([sym(10) sym(11)]), sym(11))) 516s ***** test 516s syms x y 516s assert (isequal (children (max (x, y)), [x y])) 516s 2 tests, 2 passed, 0 known failure, 0 skipped 516s [inst/@sym/min.m] 516s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/min.m 516s ***** test 516s % scalars with dim 516s a = min(sym(pi), [], 1); 516s b = sym(pi); 516s assert (isequal (a, b)); 516s a = min(sym(pi), [], 2); 516s assert (isequal (a, b)); 516s a = max(sym(pi), [], 1); 516s assert (isequal (a, b)); 516s a = max(sym(pi), [], 2); 516s assert (isequal (a, b)); 516s ***** shared A, D 516s D = [0 1 2 3]; 516s A = sym(D); 516s ***** test 516s % row vectors 516s assert (isequal (min(A), sym(min(D)))) 516s assert (isequal (min(A), sym(0))) 516s assert (isequal (max(A), sym(max(D)))) 516s assert (isequal (max(A), sym(3))) 516s ***** test 516s % row vectors with dim 516s assert (isequal (min(A, [], 1), sym(min(D, [], 1)))) 516s assert (isequal (min(A, [], 2), sym(min(D, [], 2)))) 516s assert (isequal (max(A, [], 1), sym(max(D, [], 1)))) 516s assert (isequal (max(A, [], 2), sym(max(D, [], 2)))) 517s ***** test 517s % column vectors 517s A = A.'; 517s D = D.'; 517s assert (isequal (min(A), sym(min(D)))) 517s assert (isequal (min(A), sym(0))) 517s assert (isequal (max(A), sym(max(D)))) 517s assert (isequal (max(A), sym(3))) 517s ***** test 517s % row vectors with dim 517s assert (isequal (min(A, [], 1), sym(min(D, [], 1)))) 517s assert (isequal (min(A, [], 2), sym(min(D, [], 2)))) 517s assert (isequal (max(A, [], 1), sym(max(D, [], 1)))) 517s assert (isequal (max(A, [], 2), sym(max(D, [], 2)))) 517s ***** shared 517s ***** test 517s % empty 517s a = min(sym([])); 517s assert(isempty(a)) 517s a = max(sym([])); 517s assert(isempty(a)) 517s ***** test 517s % matrix 517s A = [1 4 6; 2 2 5]; 517s A = sym(A); 517s assert (isequal (min(A), sym([1 2 5]))) 517s assert (isequal (min(A, [], 1), sym([1 2 5]))) 517s assert (isequal (min(A, [], 2), sym([1; 2]))) 517s assert (isequal (max(A), sym([2 4 6]))) 517s assert (isequal (max(A, [], 1), sym([2 4 6]))) 517s assert (isequal (max(A, [], 2), sym([6; 5]))) 518s ***** test 518s % index output is double not sym 518s [m, I] = min(sym(2), [], 1); 518s assert (strcmp(class(I), 'double')) 518s [m, I] = max(sym(2), [], 1); 518s assert (strcmp(class(I), 'double')) 518s ***** test 518s % empty rows/columns, I is double 518s A = sym(zeros(0, 4)); 518s [m, I] = min(A, [], 1); 518s assert (strcmp(class(I), 'double')) 518s [m, I] = max(A, [], 1); 518s assert (strcmp(class(I), 'double')) 518s A = sym(zeros(3, 0)); 518s [m, I] = min(A, [], 2); 518s assert (strcmp(class(I), 'double')) 518s [m, I] = max(A, [], 2); 518s assert (strcmp(class(I), 'double')) 518s ***** test 518s % index output 518s A = [0 1 9; 10 7 4]; 518s B = sym(A); 518s [m1, I1] = min(A); 518s [m2, I2] = min(B); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 518s [m1, I1] = max(A); 518s [m2, I2] = max(B); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 518s ***** test 518s % index output, with dim 518s A = [0 1 9; 10 7 4]; 518s B = sym(A); 518s [m1, I1] = min(A, [], 1); 518s [m2, I2] = min(B, [], 1); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 518s [m1, I1] = min(A, [], 2); 518s [m2, I2] = min(B, [], 2); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 518s [m1, I1] = max(A, [], 1); 518s [m2, I2] = max(B, [], 1); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 518s [m1, I1] = max(A, [], 2); 518s [m2, I2] = max(B, [], 2); 518s assert (isequal (I1, I2)) 518s assert (isequal (m1, double(m2))) 519s ***** test 519s % empty columns 519s A = sym(zeros(0, 4)); 519s [m, I] = min(A, [], 1); 519s assert (isequal (size(m), [0 4])) 519s assert (isequal (size(I), [0 4])) 519s [m, I] = max(A, [], 1); 519s assert (isequal (size(m), [0 4])) 519s assert (isequal (size(I), [0 4])) 519s ***** test 519s % empty rows 519s A = sym(zeros(3, 0)); 519s [m, I] = min(A, [], 2); 519s assert (isequal (size(m), [3 0])) 519s assert (isequal (size(I), [3 0])) 519s [m, I] = max(A, [], 2); 519s assert (isequal (size(m), [3 0])) 519s assert (isequal (size(I), [3 0])) 519s ***** test 519s % another empty case 519s % we differ slightly from double which gives 1x0/0x1 519s A = sym(zeros(3, 0)); 519s [m, I] = min(A, [], 1); 519s assert (isempty (m)) 519s assert (isempty (I)) 519s A = sym(zeros(0, 3)); 519s [m, I] = min(A, [], 2); 519s assert (isempty (m)) 519s assert (isempty (I)) 519s ***** test 519s % empty without index output 519s A = sym(zeros(3, 0)); 519s assert (isempty (min (A, [], 1))) 519s assert (isempty (max (A, [], 1))) 519s assert (isempty (min (A, [], 2))) 519s assert (isempty (max (A, [], 2))) 519s A = sym(zeros(0, 3)); 519s assert (isempty (min (A, [], 1))) 519s assert (isempty (max (A, [], 1))) 519s assert (isempty (min (A, [], 2))) 519s assert (isempty (max (A, [], 2))) 519s ***** test 519s % binary op form, one a scalar 519s A = sym([3 1 9]); 519s m = min(A, sym(2)); 519s M = max(A, sym(2)); 519s assert (isequal (m, sym([2 1 2]))) 519s assert (isequal (M, sym([3 2 9]))) 519s m = min(sym(2), A); 519s M = max(sym(2), A); 519s assert (isequal (m, sym([2 1 2]))) 519s assert (isequal (M, sym([3 2 9]))) 520s ***** test 520s % binary op form, both scalar 520s m = min(sym(1), sym(2)); 520s M = max(sym(2), sym(2)); 520s assert (isequal (m, sym(1))) 520s assert (isequal (M, sym(2))) 520s ***** test 520s syms x y 520s assert (isequal (children (min (x, y)), [x y])) 520s ***** test 520s syms x y z 520s A = [x 1; y z]; 520s assert (isequal (min (A, [], 1), [min(x, y) min(1, z)])) 520s assert (isequal (max (A, [], 1), [max(x, y) max(1, z)])) 520s assert (isequal (min (A, [], 2), [min(x, 1); min(y, z)])) 520s assert (isequal (max (A, [], 2), [max(x, 1); max(y, z)])) 520s ***** test 520s syms x y positive 520s a = min([x 2 y -6]); 520s assert (isequal (a, -6)) 520s a = max([x y -6]); 520s assert (isequal (a, max(x, y))) 520s ***** test 520s syms x negative 520s a = min([x 6 10]); 520s assert (isequal (a, x)) 520s a = max([x -2 6]); 520s assert (isequal (a, 6)) 521s 21 tests, 21 passed, 0 known failure, 0 skipped 521s [inst/@sym/minus.m] 521s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/minus.m 521s ***** test 521s % scalar 521s syms x 521s assert (isa (x-1, 'sym')) 521s assert (isa (x-x, 'sym')) 521s assert (isequal (x-x, sym(0))) 521s ***** test 521s % matrices 521s D = [0 1; 2 3]; 521s A = sym(D); 521s DZ = D - D; 521s assert (isequal ( A - D , DZ )) 521s assert (isequal ( A - A , DZ )) 521s assert (isequal ( D - A , DZ )) 521s assert (isequal ( A - 2 , D - 2 )) 521s assert (isequal ( 4 - A , 4 - D )) 521s 2 tests, 2 passed, 0 known failure, 0 skipped 521s [inst/@sym/mldivide.m] 521s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/mldivide.m 521s ***** test 521s % scalar 521s syms x 521s assert (isa( x\x, 'sym')) 521s assert (isequal( x\x, sym(1))) 521s assert (isa( 2\x, 'sym')) 521s assert (isa( x\2, 'sym')) 521s ***** test 521s % scalar \ matrix: easy, no system 521s D = 2*[0 1; 2 3]; 521s A = sym(D); 521s assert (isequal ( 2 \ A , D/2 )) 521s assert (isequal ( sym(2) \ A , D/2 )) 522s ***** test 522s % singular matrix 522s A = sym([1 2; 2 4]); 522s b = sym([5; 10]); 522s x = A \ b; 522s syms c1 522s y = [-2*c1 + 5; c1]; 522s assert (isequal (x, y)) 522s ***** test 522s % singular matrix, mult RHS 522s A = sym([1 2; 2 4]); 522s B = sym([[5; 10] [0; 2] [0; 0]]); 522s x = A \ B; 522s syms c1 c5 522s y = [-2*c1 + 5 nan -2*c5; c1 nan c5]; 522s assert (isequaln (x, y)) 522s ***** warning 522s % vpa, nearly singular matrix 522s A = sym([1 2; 2 4]); 522s A(1,1) = vpa('1.001'); 522s b = sym([1; 2]); 522s x = A \ b; 522s y = [sym(0); vpa('0.5')]; 522s assert (isequal (x, y)) 522s ***** warning 522s % vpa, singular rhs 522s A = sym([1 2; 2 4]); 522s b = [vpa('1.01'); vpa('2')]; 522s x = A \ b; 522s assert (all(isnan(x))) 522s 6 tests, 6 passed, 0 known failure, 0 skipped 522s [inst/@sym/mod.m] 522s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/mod.m 522s ***** error mod (sym(1), 2, 3 ,4) 522s ***** assert (isequal (mod (sym(5), 4), sym(1))) 523s ***** assert (isequal (mod ([sym(5) 8], 4), [1 0] )) 523s ***** assert (isequal (mod (sym(5), [2 3]), [1 2] )) 523s ***** assert (isequal (mod ([sym(5) sym(6)], [2 3]), [1 0] )) 523s ***** test 523s syms x 523s assert (isequal ( mod (5*x, 3), 2*x )) 523s ***** test 523s syms x 523s a = [7*x^2 + 3*x + 3 3*x; 13*x^4 6*x]; 523s assert (isequal ( mod (a,3), [x^2 0; x^4 0] )) 524s ***** test 524s % vector of polys with mix of vars: symvar on each 524s syms x y 524s a = [6*x 7*y]; 524s b = mod(a, 4); 524s c = [2*x 3*y]; 524s assert (isequal (b, c)) 524s ***** test 524s % coeff has variable 524s syms x 524s n = sym('n', 'integer'); 524s p = (3*n + 2)*x; 524s q = mod(p, 3); 524s assert (isequal (q, 2*x)) 525s ***** test 525s % coeff has variable 525s syms x a 525s p = a*x; 525s q = mod(p, 3); 525s q = children(q); 525s q = q(2); % order might be fragile! 525s w = subs(q, a, 5); 525s assert (isequal (w, 2)) 525s ***** test 525s % different modulo 525s syms x y 525s q = mod([5*x + 10 5*y + 10], [2 3]); 525s assert (isequal (q, [x 2*y + 1])) 525s 11 tests, 11 passed, 0 known failure, 0 skipped 525s [inst/@sym/mpower.m] 526s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/mpower.m 526s ***** test 526s syms x 526s assert(isequal(x^(sym(4)/5), x.^(sym(4)/5))) 526s ***** test 526s % integer powers of scalars 526s syms x 526s assert (isequal (x^2, x*x)) 526s assert (isequal (x^sym(3), x*x*x)) 526s ***** test 526s % array ^ integer 526s syms x y 526s A = [x 2; y 4]; 526s assert (isequal (A^2, A*A)) 526s assert (isequal (simplify(A^3 - A*A*A), [0 0; 0 0])) 526s ***** test 526s % array ^ rational 526s Ad = [1 2; 0 3]; 526s A = sym(Ad); 526s B = A^(sym(1)/3); 526s Bd = Ad^(1/3); 526s assert (max(max(abs(double(B) - Bd))) < 1e-14) 526s ***** test 526s % non-integer power 526s A = sym([1 2; 0 3]); 526s B = A^pi; 526s C = [1 -1+3^sym(pi); 0 sym(3)^pi]; 526s assert (isequal (B, C)) 527s ***** test 527s % matpow 527s syms n 527s A = sym([1 2; 3 4]); 527s B = A^n; 527s C = 10 + B + B^2; 527s D = subs(C, n, 1); 527s E = 10 + A + A^2; 527s assert (isequal (simplify(D), simplify(E))) 529s ***** test 529s % matpow, sub in zero gives identity 529s A = sym([1 2; 0 3]); 529s syms n; 529s B = A^n; 529s C = subs(B, n, 1); 529s assert (isequal (C, A)) 529s C = subs(B, n, 0); 529s assert (isequal (C, sym(eye(2)))) 529s ***** xtest 529s % scalar^array (e.g., defined by matrix exponential) not implemented in SymPy? 529s % on 1.0 < SymPy <= 1.5.1, you can form the expression but still cannot eval 529s syms x 529s A = [1 2; 3 4]; 529s B = x^A; 529s assert (strcmp (regexprep (disp (B, 'flat'), '\s+', ''), 'x**Matrix([[1,2],[3,4]])')) 529s % sub in and compare to double 529s Bs = subs(B, x, sym(3)/2); 529s D1 = double(Bs); 529s D2 = (3/2)^[1 2; 3 4]; 529s assert (max(max(abs(D1 - D2))) < 1e-14) 529s !!!!! known failure 529s Python exception: TypeError: unsupported operand type(s) for ** or pow(): 'Symbol' and 'MutableDenseMatrix' 529s occurred at line 2 of the Python code block: 529s return x**y 529s ***** error 529s A = sym([1 2; 3 4]); 529s B = A^A; 529s 9 tests, 8 passed, 1 known failure, 0 skipped 529s [inst/@sym/mrdivide.m] 529s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/mrdivide.m 529s ***** test 529s % scalar 529s syms x 529s assert (isa( x/x, 'sym')) 529s assert (isequal( x/x, sym(1))) 529s assert (isa( 2/x, 'sym')) 529s assert (isa( x/2, 'sym')) 530s ***** test 530s % matrix / scalar 530s D = 2*[0 1; 2 3]; 530s A = sym(D); 530s assert (isequal ( A/2 , D/2 )) 530s assert (isequal ( A/sym(2) , D/2 )) 530s ***** test 530s % I/A: either invert A or leave unevaluated: not bothered which 530s A = sym([1 2; 3 4]); 530s B = sym(eye(2)) / A; 530s assert (isequal (B, inv(A)) || strncmpi (sympy (B), 'MatPow', 6)) 530s ***** xtest 530s % immutable test, upstream: TODO 530s A = sym([1 2; 3 4]); 530s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 530s assert (isequal (A/A, B/B)) 530s :18: SyntaxWarning: invalid escape sequence '\(' 530s ***** test 530s % A = C/B is C = A*B 530s A = sym([1 2; 3 4]); 530s B = sym([1 3; 4 8]); 530s C = A*B; 530s A2 = C / B; 530s assert (isequal (A, A2)) 531s ***** test 531s A = [1 2; 3 4]; 531s B = A / A; 531s % assert (isequal (B, sym(eye(2)) 531s assert (isequal (B(1,1), 1)) 531s assert (isequal (B(2,2), 1)) 531s assert (isequal (B(2,1), 0)) 531s assert (isequal (B(1,2), 0)) 531s ***** test 531s A = sym([5 6]); 531s B = sym([1 2; 3 4]); 531s C = A*B; 531s A2 = C / B; 531s assert (isequal (A, A2)) 531s 7 tests, 7 passed, 0 known failure, 0 skipped 531s [inst/@sym/mtimes.m] 531s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/mtimes.m 531s ***** test 531s % scalar 531s syms x 531s assert (isa (x*2, 'sym')) 531s assert (isequal (2*sym(3), sym(6))) 531s assert (isequal (sym(2)*3, sym(6))) 531s ***** test 531s % matrix-scalar 531s D = [0 1; 2 3]; 531s A = sym(D); 531s assert (isa (2*A, 'sym')) 531s assert (isequal ( 2*A , 2*D )) 531s assert (isequal ( A*2 , 2*D )) 531s ***** test 531s % matrix-matrix 531s D = [0 1; 2 3]; 531s A = sym(D); 531s assert (isa (A*A, 'sym')) 531s assert (isequal ( A*A , D*D )) 531s 3 tests, 3 passed, 0 known failure, 0 skipped 531s [inst/@sym/nchoosek.m] 531s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/nchoosek.m 531s ***** assert (isequal (nchoosek(sym(5), sym(2)), sym(10))) 531s ***** assert (isequal (nchoosek(sym(5), 2), sym(10))) 531s ***** assert (isequal (nchoosek(5, sym(2)), sym(10))) 531s ***** assert (isequal (nchoosek(sym(10), 0), 1)) 532s ***** assert (isequal (nchoosek(sym(10), -1), 0)) 532s ***** test 532s n = sym('n', 'nonnegative', 'integer'); 532s assert (isequal (nchoosek (n, n), sym(1))) 532s ***** test 532s n = sym('n', 'integer'); 532s q = nchoosek(n, 2); 532s w = subs(q, n, 5); 532s assert (isequal (w, 10)) 532s ***** test 532s n = sym('n', 'integer'); 532s k = sym('k', 'integer'); 532s q = nchoosek(n, k); 532s w = subs(q, {n k}, {5 2}); 532s assert (isequal (w, 10)) 532s ***** test 532s % negative input 532s assert (isequal (nchoosek (sym(-2), sym(5)), sym(-6))) 532s ***** test 532s % complex input 532s n = sym(1 + 3i); 532s k = sym(5); 532s A = nchoosek (n, k); 532s B = gamma (n + 1) / (gamma (k + 1) * gamma (n - k + 1)); 532s assert (double (A), double (B), -2*eps) 532s ***** test 532s % complex input 532s n = sym(-2 + 3i); 532s k = sym(1 + i); 532s A = nchoosek (n, k); 532s B = gamma (n + 1) / (gamma (k + 1) * gamma (n - k + 1)); 532s assert (double (A), double (B), -2*eps) 533s 11 tests, 11 passed, 0 known failure, 0 skipped 533s [inst/@sym/ne.m] 533s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ne.m 533s ***** test 533s % simple 533s x = sym(1); y = sym(1); e = x ~= y; 533s assert (~logical (e)) 533s x = sym(1); y = sym(2); e = x ~= y; 533s assert (logical(e)) 533s ***** test 533s % array -- array 533s syms x 533s a = sym([1 3 3 2*x]); 533s b = sym([2 x 3 10]); 533s e = a ~= b; 533s assert (isa (e, 'sym')) 533s assert (logical (e(1))) 533s assert (isa (e(2), 'sym')) 533s assert (isequal (e(2), 3 ~= x)) 533s assert (~logical (e(3))) 533s assert (isa (e(4), 'sym')) 533s assert (isequal (e(4), 2*x ~= 10)) 533s ***** test 533s % oo 533s syms oo x 533s e = oo ~= x; 533s assert (isa (e, 'sym')) 533s s = strtrim (disp (e, 'flat')); 533s % SymPy <= 0.7.6.x will be '!=', newer gives 'Ne', test both 533s assert (strcmp (s, 'oo != x') || strcmp (s, 'Ne(oo, x)')) 533s ***** test 533s % nan 533s syms oo x 533s snan = sym(nan); 533s e = snan ~= sym(0); 533s assert (logical (e)) 533s e = snan ~= snan; 533s assert (logical (e)) 533s 4 tests, 4 passed, 0 known failure, 0 skipped 533s [inst/@sym/nextprime.m] 533s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/nextprime.m 533s ***** assert (isequal (nextprime(sym(2)), 3)); 533s ***** assert (isequal (nextprime(sym(18)), 19)); 533s ***** assert (isequal (nextprime(sym([1 2 3])), [2 3 5])); 533s ***** assert (isequal (nextprime(sym([-1 0])), [2 2])); 533s ***** test 533s % result is a sym 533s p = nextprime(sym(2)); 533s assert (isa (p, 'sym')) 534s 5 tests, 5 passed, 0 known failure, 0 skipped 534s [inst/@sym/nnz.m] 534s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/nnz.m 534s ***** assert (nnz (sym ([1])) == 1) 534s ***** assert (nnz (sym ([0])) == 0) 534s ***** assert (nnz (sym ([])) == 0) 534s ***** assert (nnz (sym ([1 0; 0 3])) == 2) 534s ***** test 534s syms x 534s assert (nnz ([x 0]) == 1) 534s ***** assert (nnz (sym (true)) == 1) 534s ***** assert (nnz (sym (false)) == 0) 534s ***** assert (nnz (sym (inf)) == 1) 534s ***** assert (nnz (sym (nan)) == 1) 534s 9 tests, 9 passed, 0 known failure, 0 skipped 534s [inst/@sym/norm.m] 534s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/norm.m 534s ***** assert (isequal (norm(sym(-6)), 6)) 534s ***** test 534s % 2-norm default 534s A = [1 2; 3 4]; 534s n1 = norm (sym (A)); 534s assert (isequal (n1, sqrt (sqrt (sym(221)) + 15))) 534s assert (norm (A), double (n1), -eps) 534s ***** test 534s syms x y real 534s assert (isequal (norm([x 1; 3 y], 'fro'), sqrt(x^2 + y^2 + 10))) 535s ***** test 535s syms x real 535s assert (isequal (norm([x 1], 2), sqrt(x^2 + 1))) 535s ***** test 535s % test sym vs double ord 535s syms x 535s assert (isequal (norm([x 2 1], 1), abs(x) + 3)) 535s assert (isequal (norm([x 2 1], sym(1)), abs(x) + 3)) 535s assert (isequal (norm([sym(-3) 2 1], inf), sym(3))) 535s assert (isequal (norm([sym(-3) 2 1], sym(inf)), sym(3))) 535s 5 tests, 5 passed, 0 known failure, 0 skipped 535s [inst/@sym/not.m] 535s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/not.m 535s ***** shared t, f 535s t = sym(true); 535s f = sym(false); 535s ***** test 535s % simple 535s assert (isequal( ~t, f)) 535s assert (isequal( ~t, f)) 535s ***** test 535s % array 535s w = [t t f t]; 535s z = [f f t f]; 535s assert (isequal( ~w, z)) 535s ***** test 535s % number 535s assert (isequal( ~sym(5), f)) 535s assert (isequal( ~sym(0), t)) 535s ***** test 535s % output is sym 535s syms x 535s e = ~(x == 4); 535s assert (isa (e, 'sym')) 535s assert (strncmp (sympy(e), 'Unequality', 10)) 535s ***** test 535s % output is sym even for scalar t/f (should match other bool fcns) 535s assert (isa (~t, 'sym')) 535s ***** test 535s % symbol ineq 535s syms x 535s a = [t f x == 1 x ~= 2 x < 3 x <= 4 x > 5 x >= 6]; 535s b = [f t x ~= 1 x == 2 x >= 3 x > 4 x <= 5 x < 6]; 535s assert (isequal( ~a, b)) 536s ***** test 536s syms x 536s y = ~x; 536s s = disp(y, 'flat'); 536s assert (strcmp (strtrim (s), '~x') || strcmpi (strtrim (s), 'Not(x)')) 536s ***** error not (sym(1), 2) 536s 8 tests, 8 passed, 0 known failure, 0 skipped 536s [inst/@sym/null.m] 536s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/null.m 536s ***** test 536s A = sym([1 2; 3 4]); 536s assert (isempty (null (A))) 536s ***** assert (isempty (null (sym(4)))) 536s ***** test 536s A = sym([1 2 3; 3 4 5]); 536s assert (isequal (null(A), sym([1;-2;1]))) 536s 3 tests, 3 passed, 0 known failure, 0 skipped 536s [inst/@sym/numden.m] 536s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/numden.m 536s ***** error numden (sym(1), 2) 536s ***** test 536s syms x 536s [n, d] = numden (1/x); 536s assert (isequal (n, sym(1)) && isequal (d, x)) 536s ***** test 536s syms x y 536s n1 = [sym(1); x]; 536s d1 = [x; y]; 536s [n, d] = numden (n1 ./ d1); 536s assert (isequal (n, n1) && isequal (d, d1)) 536s ***** test 536s [n, d] = numden (sym(2)); 536s assert (isequal (n, 2)); 536s assert (isequal (d, 1)); 536s ***** test 536s syms x y 536s [n, d] = numden ((x + pi)/(y + 6)); 536s assert (isequal (n, x + pi)); 536s assert (isequal (d, y + 6)); 536s ***** test 536s syms x y 536s [n, d] = numden ((x^2 + y^2)/(x*y)); 536s assert (isequal (n, x^2 + y^2)); 536s assert (isequal (d, x*y)); 537s 6 tests, 6 passed, 0 known failure, 0 skipped 537s [inst/@sym/numel.m] 537s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/numel.m 537s ***** test 537s a = sym([1 2 3]); 537s assert(numel(a) == 3); 537s ***** test 537s % 2D array 537s a = sym([1 2 3; 4 5 6]); 537s assert(numel(a) == 6); 537s ***** test 537s % empty 537s a = sym([]); 537s assert(numel(a) == 0); 537s 3 tests, 3 passed, 0 known failure, 0 skipped 537s [inst/@sym/ones.m] 537s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ones.m 537s ***** test 537s y = ones(sym(2)); 537s x = [1 1; 1 1]; 537s assert( isequal( y, sym(x))) 537s ***** test 537s y = ones(sym(2), 1); 537s x = [1; 1]; 537s assert( isequal( y, sym(x))) 537s ***** test 537s y = ones(sym(1), 2); 537s x = [1 1]; 537s assert( isequal( y, sym(x))) 537s ***** test 537s y = ones (sym([2 3])); 537s x = sym (ones ([2 3])); 537s assert (isequal (y, x)) 537s ***** assert( isa( ones(sym(2), 'double'), 'double')) 537s ***** assert( isa( ones(3, sym(3), 'single') , 'single')) 537s ***** assert( isa( ones(3, sym(3)), 'sym')) 537s ***** assert( isa( ones(3, sym(3), 'sym'), 'sym')) 537s ***** xtest 537s % Issue #13 537s assert( isa( ones(3, 3, 'sym'), 'sym')) 537s !!!!! known failure 537s invalid data type specified 537s 9 tests, 8 passed, 1 known failure, 0 skipped 537s [inst/@sym/or.m] 537s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/or.m 537s ***** shared t, f 537s t = sym(true); 537s f = sym(false); 537s ***** test 537s % simple 537s assert (isequal (t | f, t)) 537s assert (isequal (t | t, t)) 537s assert (isequal (f | f, f)) 537s ***** test 537s % array 537s w = [t t f f]; 537s z = [t f t f]; 537s assert (isequal (w | z, [t t t f])) 538s ***** test 538s % output is sym even for scalar t/f 538s assert (isa (t | f, 'sym')) 538s ***** test 538s % eqns 538s syms x 538s e = or(x == 4, x == 5); 538s assert (isequal (subs(e, x, [3 4 5 6]), [f t t f])) 538s ***** error or (sym(1), 2, 3) 538s 5 tests, 5 passed, 0 known failure, 0 skipped 538s [inst/@sym/orth.m] 538s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/orth.m 538s ***** test 538s A = [1 2; 3 6]; 538s K = orth(A); 538s L = orth(sym(A)); 538s assert (isequal (size(L), [2 1])) 538s dif1 = abs (double(L) - K); 538s dif2 = abs (double(L) + K); 538s assert (all (dif1 < 1e-15) || all (dif2 < 1e-15)) 538s ***** test 538s A = [1; 3]; 538s K = orth(A); 538s L = orth(sym(A)); 538s assert (isequal (size(L), [2 1])) 538s dif1 = abs (double(L) - K); 538s dif2 = abs (double(L) + K); 538s assert (all (dif1 < 1e-16) || all (dif2 < 1e-16)) 538s ***** test 538s A = sym([1 2; 3 4]); 538s L = orth(sym(A)); 538s assert (isequal (size(L), [2 2])) 538s v = L(:, 1); 538s w = L(:, 2); 538s assert (isAlways (v' * v == 1)) 538s assert (isAlways (w' * w == 1)) 538s assert (isAlways (v' * w == 0)) 538s ***** test 538s A = sym([1 1; 1 0; 1 0]); 538s L = orth(sym(A)); 538s assert (isequal (size(L), [3 2])) 538s v = L(:, 1); 538s w = L(:, 2); 538s assert (isAlways (v' * v == 1)) 538s assert (isAlways (w' * w == 1)) 538s assert (isAlways (v' * w == 0)) 538s % y and z components must be equal 538s assert (isAlways (v(2) == v(3))) 538s assert (isAlways (w(2) == w(3))) 539s 4 tests, 4 passed, 0 known failure, 0 skipped 539s [inst/@sym/partfrac.m] 539s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/partfrac.m 539s ***** test 539s % basic 539s syms x y z 539s assert(logical( partfrac(y/(x + 2)/(x + 1),x) == -y/(x + 2) + y/(x + 1) )) 539s assert(logical( factor(partfrac(x^2/(x^2 - y^2),y)) == factor(x/(2*(x + y)) + x/(2*(x - y)) ))) 539s assert(logical( factor(partfrac(x^2/(x^2 - y^2),x)) == factor(-y/(2*(x + y)) + y/(2*(x - y)) + 1 ))) 540s 1 test, 1 passed, 0 known failure, 0 skipped 540s [inst/@sym/permute.m] 540s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/permute.m 540s ***** error permute (sym(1)) 540s ***** error permute (sym(1), 2, 3) 540s ***** test 540s D = round(10*rand(5,3)); 540s A = sym(D); 540s B = permute(A, [1 2]); 540s assert (isequal(B, A)) 540s B = permute(A, [2 1]); 540s assert (isequal(B, A.')) 541s ***** test 541s syms x 541s A = [1 x]; 541s B = permute(A, [2 1]); 541s assert (isequal(B, [1; x])) 541s 4 tests, 4 passed, 0 known failure, 0 skipped 541s [inst/@sym/piecewise.m] 541s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/piecewise.m 541s ***** test 541s % basic 541s syms x real 541s f = piecewise (abs (x) < 1, 1); 541s assert (isnan (subs (f, -1))); 541s assert (isequal (subs (f, 0), 1)); 541s assert (isnan (subs (f, 1))); 541s ***** test 541s % heaviside 541s syms x real 541s f = rewrite (heaviside (x, 1 / sym (2)), 'Piecewise'); 541s g = piecewise (x < 0, 0, x == 0, 1 / sym (2), x > 0, 1); 541s assert (logical (simplify (f == g))); 541s 2 tests, 2 passed, 0 known failure, 0 skipped 541s [inst/@sym/pinv.m] 541s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/pinv.m 541s ***** test 541s % scalar 541s syms x 541s assert (isequal (pinv(x), 1/x)) 541s ***** test 541s % 2x3 541s A = [1 2 3; 4 5 6]; 541s assert (max (max (abs (double (pinv (sym (A))) - pinv(A)))) <= 10*eps) 542s 2 tests, 2 passed, 0 known failure, 0 skipped 542s [inst/@sym/plus.m] 542s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/plus.m 542s ***** test 542s % basic addition 542s syms x 542s assert (isa (x+5, 'sym')) 542s assert (isa (5+x, 'sym')) 542s assert (isa (5+sym(4), 'sym')) 542s assert (isequal (5+sym(4), sym(9))) 542s ***** test 542s % array addition 542s syms x 542s D = [0 1; 2 3]; 542s A = [sym(0) 1; sym(2) 3]; 542s DZ = D - D; 542s assert( isequal ( A + D , 2*D )) 542s assert( isequal ( D + A , 2*D )) 542s assert( isequal ( A + A , 2*D )) 542s assert( isequal ( A + 2 , D + 2 )) 542s assert( isequal ( 4 + A , 4 + D )) 542s ***** test 542s % ensure MatrixExpr can be manipulated somewhat 542s syms n m integer 542s A = sym('A', [n m]); 542s B = subs(A, [n m], [5 6]); 542s B = B + 1; 542s assert (isa (B, 'sym')) 542s C = B(1, 1); % currently makes a MatrixElement 542s C = C + 1; 542s assert (isa (C, 'sym')) 543s 3 tests, 3 passed, 0 known failure, 0 skipped 543s [inst/@sym/pochhammer.m] 543s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/pochhammer.m 543s ***** error pochhammer (sym(1)) 543s ***** error pochhammer (sym(1), 2, 3) 543s ***** assert (isequal (pochhammer (sym(3), 4), sym(360))) 543s ***** assert (isequal (pochhammer (sym([2 3]), 3), sym([24 60]))) 543s ***** test 543s % round trip 543s syms n z 543s f = pochhammer (z, n); 543s h = function_handle (f, 'vars', [z n]); 543s A = h (1.1, 2.2); 543s B = pochhammer (1.1, 2.2); 543s assert (A, B) 543s 5 tests, 5 passed, 0 known failure, 0 skipped 543s [inst/@sym/polylog.m] 543s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/polylog.m 543s ***** assert (isequal (polylog (sym('s'), 0), sym(0))) 543s ***** assert (isequal (double (polylog (1, sym(-1))), -log(2))) 543s ***** assert (isequal (double (polylog (0, sym(2))), -2)) 543s ***** assert (isequal (double (polylog (-1, sym(2))), 2)) 543s ***** assert (isequal (double (polylog (-2, sym(3))), -1.5)) 543s ***** assert (isequal (double (polylog (-3, sym(2))), 26)) 543s ***** assert (isequal (double (polylog (-4, sym(3))), -15)) 543s ***** assert (isequal (double (polylog (1, sym(1)/2)), log(2))) 543s ***** test 543s % round trip 543s syms s z 543s f = polylog (s, z); 543s h = function_handle (f, 'vars', [s z]); 543s A = h (1.1, 2.2); 543s B = polylog (1.1, 2.2); 543s assert (A, B) 544s 9 tests, 9 passed, 0 known failure, 0 skipped 544s [inst/@sym/potential.m] 544s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/potential.m 544s ***** error potential (sym(1), 2, 3, 4) 544s ***** shared x,y,z 544s syms x y z 544s ***** test 544s % 1D 544s f = 3*x^2; 544s F = x^3; 544s assert (isequal (potential(f), F)) 544s assert (isequal (potential(f, x), F)) 544s assert (isequal (potential(f, x, 0), F)) 544s assert (isequal (potential(f, x, 2), F - 8)) 544s ***** test 544s F = x*exp(y) + (z-1)^2; 544s f = gradient(F); 544s G = potential(f, [x;y;z], [0;1;1]); 544s assert (isAlways (G == F)) 545s ***** test 545s F = x*exp(y); 545s f = gradient(F); 545s G = potential(f); 545s assert (isAlways (G == F)) 545s ***** test 545s % no potential exists 545s syms x y 545s a = [x; x*y^2]; 545s assert (isnan (potential (a))) 545s ***** shared 545s ***** xtest 545s % fails b/c of sympy #8458 (piecewise expr that should simplify) 545s syms x 545s f = cos(x); 545s assert (isequal (potential(f, x), sin(x))) 545s !!!!! known failure 545s assert (isequal (potential (f, x), sin (x))) failed 545s 6 tests, 5 passed, 1 known failure, 0 skipped 545s [inst/@sym/power.m] 545s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/power.m 545s ***** test 545s % scalar .^ scalar 545s syms x 545s assert (isa (x.^2, 'sym')) 545s assert (isa (2.^x, 'sym')) 545s assert (isa (x.^x, 'sym')) 545s assert (isequal (x.^2, x^2)) 545s assert (isequal (2.^x, 2^x)) 545s assert (isequal (x.^x, x^x)) 545s ***** test 545s % scalar .^ matrix 545s D = [0 1; 2 3]; 545s A = sym(D); 545s assert (isequal ( sym(2).^D , 2.^D )) 545s assert (isequal ( sym(2).^A , 2.^A )) 545s assert (isequal ( 2.^D , 2.^A )) 545s assert (isequal ( 2.^A , 2.^A )) 546s ***** test 546s % matrix .^ matrix 546s syms x 546s A = [x 2*x; 3*x 4*x]; 546s D = [0 1; 2 3]; 546s B = sym(D); 546s assert (isequal ( A.^D, [1 2*x; 9*x^2 64*x^3] )) 546s assert (isequal ( A.^B, [1 2*x; 9*x^2 64*x^3] )) 546s ***** test 546s % matrix .^ scalar 546s syms x 546s A = [x 2*x]; 546s assert (isequal ( A.^2, [x^2 4*x^2] )) 546s assert (isequal ( A.^sym(2), [x^2 4*x^2] )) 547s ***** test 547s % 1^oo 547s % (sympy >= 0.7.5 gives NaN, SMT R2013b: gives 1) 547s oo = sym(inf); 547s assert (isnan (1^oo)) 547s ***** test 547s % 1^zoo 547s % (1 on sympy 0.7.4--0.7.6, but nan in git (2014-12-12, a210908d4)) 547s zoo = sym('zoo'); 547s assert (isnan (1^zoo)) 547s ***** test 547s % immutable test 547s A = sym([1 2]); 547s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)]])'); 547s assert (isequal (A.^A, B.^B)) 547s :18: SyntaxWarning: invalid escape sequence '\(' 547s 7 tests, 7 passed, 0 known failure, 0 skipped 547s [inst/@sym/pretty.m] 547s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/pretty.m 547s ***** test 547s % simple 547s syms x 547s s1 = pretty(sin(x)); 547s s2 = sprintf(' sin(x)\n'); 547s assert (strcmp (s1, s2)) 547s ***** test 547s % force ascii 547s syms x 547s s1 = pretty(sin(x/2), 'ascii'); 547s s2 = sprintf(' /x\\\n sin|-|\n \\2/\n'); 547s swin = strrep(s1, sprintf('\r\n'), sprintf('\n')); 547s assert (strcmp (s1, s2) || strcmp (swin, s2)) 547s ***** test 547s % force unicode 547s syms x 547s s1 = pretty(sin(x/2), 'unicode'); 547s s2 = sprintf(' ⎛x⎞\n sin⎜─⎟\n ⎝2⎠\n'); 547s swin = strrep(s1, sprintf('\r\n'), sprintf('\n')); 547s assert (strcmp (s1, s2) || strcmp (swin, s2)) 547s 3 tests, 3 passed, 0 known failure, 0 skipped 547s [inst/@sym/prevprime.m] 547s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/prevprime.m 547s ***** assert (isequal (prevprime(sym(3)), 2)); 547s ***** assert (isequal (prevprime(sym(20)), 19)); 547s ***** assert (isequal (prevprime(sym([3 5 10])), [2 3 7])); 547s ***** error prevprime(sym(2)) 547s ***** error prevprime(sym(-2)) 547s ***** test 547s % result is a sym 547s p = prevprime(sym(3)); 547s assert (isa (p, 'sym')) 547s 6 tests, 6 passed, 0 known failure, 0 skipped 547s [inst/@sym/private_disp_name.m] 547s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/private_disp_name.m 547s ***** test 547s syms x 547s s = private_disp_name(x, 'x'); 547s assert (strcmp (s, 'x')) 547s 1 test, 1 passed, 0 known failure, 0 skipped 547s [inst/@sym/prod.m] 547s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/prod.m 547s ***** error prod (sym(1), 2, 3) 547s ***** error prod (sym(1), 42) 548s ***** shared x,y,z 548s syms x y z 548s ***** assert (isequal (prod (x), x)) 548s ***** assert (isequal (prod ([x y z]), x*y*z)) 548s ***** assert (isequal (prod ([x; y; z]), x*y*z)) 548s ***** assert (isequal (prod ([x y z], 1), [x y z])) 548s ***** assert (isequal (prod ([x y z], 2), x*y*z)) 548s ***** shared a,b 548s b = [1 2; 3 4]; a = sym(b); 548s ***** assert (isequal (prod(a), prod(b))) 548s ***** assert (isequal (prod(a,1), prod(b,1))) 548s ***** assert (isequal (prod(a,2), prod(b,2))) 548s ***** test 548s % weird inputs 548s a = prod('xx', sym(1)); 548s assert (isequal (a, sym('xx'))) 548s 11 tests, 11 passed, 0 known failure, 0 skipped 548s [inst/@sym/psi.m] 548s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/psi.m 548s ***** assert (isequal (psi (sym (1)), -eulergamma)) 549s ***** assert (isequal (psi (1, sym (1)), sym (pi)^2/6)) 549s ***** assert (isinf (psi (sym ('inf')))) 549s ***** test 549s % compare to Maple: evalf(Psi(-101/100)); 549s maple = vpa ('100.3963127058453949545769053445198842332424', 40); 549s us = vpa (psi (sym (-101)/100), 40); 549s assert (abs(double(maple-us)) < 1e-39) 549s ***** test 549s % compare to Maple: evalf(Psi(1, 3*I-2)); 549s maple = vpa ('-0.1651414829219882371561038184133243839778799', 40) - ... 549s vpa ('0.1960040752985823275302034466611711263617296j', 40); 549s us = vpa (psi (1, sym (-2) + sym(3i)), 40); 549s assert (abs(double(maple-us)) < 1e-39) 549s ***** test 549s % should match @double/psi 549s if (exist ('psi','builtin')) 549s assert (psi (pi), double (psi (sym (pi))), -3*eps) 549s assert (psi (100), double (psi (sym (100))), -3*eps) 549s assert (psi (1e-3), double (psi (1/sym (1e3))), -3*eps) 549s if (exist ('OCTAVE_VERSION', 'builtin')) 549s % 2014a doesn't support negative or complex arguments 549s assert (psi (-1.5), double (psi (sym (-3)/2)), -3*eps) 549s assert (psi (-8.3), double (psi (sym (-83)/10)),-4*eps) 549s assert (psi (2i), double (psi (sym (2i))), -3*eps) 549s assert (psi (10i+3), double (psi (sym (10i)+3)), -3*eps) 549s end 549s end 550s ***** test 550s % @double/psi loses accuracy near the poles: note higher rel tol 550s if (exist ('psi','builtin')) 550s if (exist ('OCTAVE_VERSION', 'builtin')) 550s assert (psi (-1.1), double (psi (sym (-11)/10)), -6*eps) 550s assert (psi (-1.01), double (psi (sym (-101)/100)), -50*eps) 550s end 550s end 550s ***** test 550s if (exist ('psi','builtin')) 550s assert (psi (1, pi), double (psi (1, sym (pi))), -3*eps) 550s assert (psi (1, 100), double (psi (1, sym (100))), -3*eps) 550s assert (psi (1, 1e-4), double (psi (1, 1/sym (1e4))), -3*eps) 550s end 550s ***** test 550s if (exist ('psi','builtin')) 550s assert (psi (2, pi), double (psi (2, sym (pi))), -3*eps) 550s assert (psi (2, 1000), double (psi (2, sym (1000))), -3*eps) 550s assert (psi (2, 1e-4), double (psi (2, 1/sym (1e4))), -3*eps) 550s end 550s ***** test 550s % round trip 550s if (exist ('psi','builtin')) 550s syms x 550s f = psi (x); 550s h = function_handle (f); 550s A = h (1.1); 550s B = psi (1.1); 550s assert (A, B) 550s end 550s 10 tests, 10 passed, 0 known failure, 0 skipped 550s [inst/@sym/qr.m] 550s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/qr.m 550s ***** error qr (sym(1), 2, 3) 551s ***** error [Q, R, P] = qr (sym(1)) 551s ***** error qr (sym(1), 1) 551s ***** test 551s % scalar 551s [q, r] = qr(sym(6)); 551s assert (isequal (q, sym(1))) 551s assert (isequal (r, sym(6))) 551s ***** test 551s syms x positive 551s [q, r] = qr(x); 551s assert (isequal (q*r, x)) 551s assert (isequal (q, sym(1))) 551s assert (isequal (r, x)) 551s ***** test 551s % trickier if x could be zero, fails on 1.8 <= SymPy <= 1.10.1 551s syms x 551s [q, r] = qr(x); 551s if (pycall_sympy__ ('return Version(spver) > Version("1.10.1")')) 551s assert (isequal (q*r, x)) 551s end 551s ***** test 551s A = [1 2; 3 4]; 551s B = sym(A); 551s [Q, R] = qr(B); 551s assert (isequal (Q*R, B)) 551s assert (isequal (R(2,1), sym(0))) 551s assert (isequal (Q(:,1)'*Q(:,2), sym(0))) 551s %[QA, RA] = qr(A) 551s %assert ( max(max(double(Q)-QA)) <= 10*eps) 551s %assert ( max(max(double(Q)-QA)) <= 10*eps) 551s ***** test 551s % non square: tall skinny 551s A = sym([1 2; 3 4; 5 6]); 551s [Q, R] = qr (A, 0); 551s assert (size (Q), [3 2]) 551s assert (size (R), [2 2]) 551s assert (isequal (Q*R, A)) 551s ***** test 551s % non square: short fat 551s A = sym([1 2 3; 4 5 6]); 551s [Q, R] = qr (A); 551s assert (isequal (Q*R, A)) 551s ***** test 551s % non square: short fat, rank deficient 551s A = sym([1 2 3; 2 4 6]); 551s [Q, R] = qr (A); 551s assert (isequal (Q*R, A)) 551s A = sym([1 2 3; 2 4 6; 0 0 0]); 551s [Q, R] = qr (A); 551s assert (isequal (Q*R, A)) 552s ***** test 552s % rank deficient 552s A = sym([1 2 3; 2 4 6; 0 0 0]); 552s [Q, R] = qr (A); 552s assert (isequal (Q*R, A)) 552s A = sym([1 2 3; 2 5 6; 0 0 0]); 552s [Q, R] = qr (A); 552s assert (isequal (Q*R, A)) 552s ***** test 552s % single return value R not Q 552s assert (isequal (qr (sym(4)), sym(4))) 552s 12 tests, 12 passed, 0 known failure, 0 skipped 552s [inst/@sym/rank.m] 552s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rank.m 552s ***** test 552s A = sym([1 2; 3 4]); 552s assert (rank(A) == 2); 552s ***** test 552s A = sym([1 2 3; 3 4 5]); 552s assert (rank(A) == 2); 552s ***** test 552s A = sym([1 2; 1 2]); 552s assert (rank(A) == 1); 552s ***** test 552s A = sym([1 2; 3 4]); 552s assert (rank(A) == 2); 552s ***** assert (rank(sym(1)) == 1); 552s ***** assert (rank(sym(0)) == 0); 552s ***** assert (rank(sym('x', 'positive')) == 1); 552s 7 tests, 7 passed, 0 known failure, 0 skipped 552s [inst/@sym/rdivide.m] 552s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rdivide.m 552s ***** test 552s % scalar 552s syms x 552s assert (isa (x ./ 1, 'sym')) 552s assert (isa (x ./ x, 'sym')) 552s assert (isequal (x ./ 1, x)) 552s assert (isequal (x ./ x, sym(1))) 552s ***** test 552s % matrix-scalar 552s D = 2*[0 1; 2 3]; 552s A = sym(D); 552s assert (isequal ( A./2 , D/2 )) 552s assert (isequal ( A./sym(2) , D/2 )) 552s assert (isequal ( D./sym(2) , D/2 )) 553s ***** test 553s % matrix ./ matrix 553s D = [1 2; 3 4]; 553s A = sym(D); 553s assert (isequal ( A./A , D./D )) 553s assert (isequal ( A./D , D./D )) 553s assert (isequal ( D./A , D./D )) 553s ***** test 553s % matrix ./ matrix with symbols 553s syms x y 553s A = [x y; x^2 2*y]; 553s B = [y x; x y]; 553s assert (isequal ( A./A , sym(ones(2,2)) )) 553s assert (isequal ( A./B , [x/y y/x; x 2] )) 554s ***** test 554s % scalar ./ matrix 554s D = [1 2; 3 4]; 554s A = sym(D); 554s assert (isequal ( 12./A , 12./D )) 554s 5 tests, 5 passed, 0 known failure, 0 skipped 554s [inst/@sym/real.m] 554s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/real.m 554s ***** assert (isequal (real (sym (4) + 3i),4)) 554s ***** test 554s syms x y real 554s z = x + 1i*y; 554s assert (isequal (real (z),x)) 554s ***** test 554s syms x y real 554s Z = [4 x + 1i*y; x 4 + 3i]; 554s assert (isequal (real (Z),[4 x; x 4])) 554s ***** test 554s syms x real 554s d = exp (x*i); 554s assert (isequal (real (d), cos (x))) 554s ***** test 554s % round trip 554s syms x 554s d = 3 - 5i; 554s f = real (x); 554s A = real (d); 554s h = function_handle (f); 554s B = h (d); 554s assert (A, B) 554s 5 tests, 5 passed, 0 known failure, 0 skipped 554s [inst/@sym/repmat.m] 554s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/repmat.m 554s ***** test 554s % simple 554s syms x 554s A = [x x x; x x x]; 554s assert (isequal (repmat(x, 2, 3), A)) 555s ***** test 555s % block cf double 555s A = [1 2 3; 4 5 6]; 555s B = sym(A); 555s C = repmat(A, 2, 3); 555s D = repmat(B, 2, 3); 555s assert (isequal (C, D)) 555s ***** test 555s % empty 555s A = repmat(sym([]), 2, 3); 555s assert (isempty(A)); 555s assert (isequal (size(A), [0 0])) 555s ***** test 555s % more empties 555s A = repmat(sym(pi), [0 0]); 555s assert (isequal (size(A), [0 0])) 555s A = repmat(sym(pi), [0 3]); 555s assert (isequal (size(A), [0 3])) 555s A = repmat(sym(pi), [2 0]); 555s assert (isequal (size(A), [2 0])) 555s 4 tests, 4 passed, 0 known failure, 0 skipped 555s [inst/@sym/reshape.m] 555s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/reshape.m 555s ***** test 555s d = [2 4 6; 8 10 12]; 555s a = sym(d); 555s assert (isequal (reshape(a, [1 6]), reshape(d, [1 6]))) 555s assert (isequal (reshape(a, 1, 6), reshape(d, 1, 6))) 555s assert (isequal (reshape(a, 2, 3), reshape(d, 2, 3))) 555s assert (isequal (reshape(a, 3, 2), reshape(d, 3, 2))) 555s assert (isequal (reshape(a, 6, 1), reshape(d, 6, 1))) 556s ***** shared x, a, d 556s syms x 556s a = [1 x^2 x^4; x x^3 x^5]; 556s d = [0 2 4; 1 3 5]; 556s 556s ***** test 556s b = reshape(a, [1 6]); 556s assert (isequal (size(b), [1 6])) 556s assert (isequal (b, x.^reshape(d,1,6))) 556s 556s ***** test 556s b = reshape(a, [6 1]); 556s assert (isequal (size(b), [6 1])) 556s assert (isequal (b, x.^reshape(d,6,1))) 556s b = reshape(b, size(a)); 556s assert (isequal (size(b), [2 3])) 556s assert (isequal (b, a)) 556s 557s ***** test 557s b = a(:); 557s assert( isequal (size(b), [6 1])) 557s assert( isequal (b, x.^(d(:)))) 557s 557s ***** test 557s % reshape scalar 557s assert (logical( reshape(x, 1, 1) == x )) 557s assert (logical( reshape(x, [1 1]) == x )) 557s ***** shared a 557s syms a 557s ***** error reshape(a, 2, 1) 557s ***** error reshape(a, 1, 2) 557s ***** error reshape(a, 1, 1, 1) 557s ***** error reshape(a, [1, 1, 1]) 557s 9 tests, 9 passed, 0 known failure, 0 skipped 557s [inst/@sym/resize.m] 557s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/resize.m 557s ***** test 557s B = sym([1 0 0; 0 0 0]); 557s assert (isequal (resize (sym(1), 2, 3), B)) 557s assert (isequal (resize (sym(1), [2 3]), B)) 557s ***** test 557s B = sym([1 0; 0 0]); 557s assert (isequal (resize (sym(1), 2), B)) 557s ***** test 557s A = sym([pi 2; 3 4]); 557s assert (isequal (resize (A, 1), sym(pi))) 557s ***** assert (isequal (size (resize (sym(1), 0, 0)), [0 0])) 557s ***** assert (isequal (size (resize (sym(1), 6, 0)), [6 0])) 557s ***** assert (isequal (size (resize (sym(1), 0, 3)), [0 3])) 557s ***** error resize (sym(1)) 558s ***** error resize (sym(1), 2, 3, 4) 558s ***** error resize (sym(1), [2 3 4]) 558s 9 tests, 9 passed, 0 known failure, 0 skipped 558s [inst/@sym/rewrite.m] 558s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rewrite.m 558s ***** test 558s syms x 558s assert (isequal (rewrite(x, 'exp'), x)) 558s ***** test 558s % empty 558s e = sym([]); 558s assert (isequal (rewrite(e, 'sin'), e)) 558s ***** test 558s syms x 558s A = [exp(x) exp(2*x)]; 558s B = [sinh(x) + cosh(x) sinh(2*x) + cosh(2*x)]; 558s assert (isequal (rewrite(A, 'sin'), B)) 558s 3 tests, 3 passed, 0 known failure, 0 skipped 558s [inst/@sym/rhs.m] 558s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rhs.m 558s ***** test 558s syms x 558s f = x + 1 == 2*x; 558s assert (isequal (rhs(f), 2*x)) 558s ***** error 558s syms x 558s rhs(x) 558s 2 tests, 2 passed, 0 known failure, 0 skipped 558s [inst/@sym/round.m] 558s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/round.m 558s ***** test 558s d = 3/2; 558s x = sym('3/2'); 558s f1 = round(x); 558s f2 = round(d); 558s assert (isequal (f1, f2)) 558s ***** xtest 558s % ideally rounding direction would match Octave 558s d = 5/2; 558s x = sym('5/2'); 558s f1 = round(x); 558s f2 = round(d); 558s assert (isequal (f1, f2)) 559s !!!!! known failure 559s assert (isequal (f1, f2)) failed 559s ***** test 559s D = [1.1 4.6; -3.4 -8.9]; 559s A = [sym(11)/10 sym(46)/10; sym(-34)/10 sym(-89)/10]; 559s f1 = round(A); 559s f2 = round(D); 559s assert( isequal (f1, f2)) 559s ***** test 559s d = sym(-11)/10; 559s c = -1; 559s assert (isequal (round (d), c)) 559s ***** test 559s d = sym(-19)/10; 559s c = -2; 559s assert (isequal (round (d), c)) 559s ***** test 559s d = 7j/2; 559s x = sym(7j)/2; 559s f1 = round (x); 559s f2 = round (d); 559s assert (isequal (f1, f2)) 559s ***** test 559s d = 5/3 - 4j/7; 559s x = sym(5)/3 - sym(4j)/7; 559s f1 = round (x); 559s f2 = round (d); 559s assert (isequal (f1, f2)) 559s 7 tests, 6 passed, 1 known failure, 0 skipped 559s [inst/@sym/rows.m] 559s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rows.m 559s ***** test 559s a = sym([1 2 3]); 559s assert (rows(a) == 1) 560s ***** test 560s a = sym([1 2 3; 4 5 6]); 560s assert (rows(a) == 2) 560s 2 tests, 2 passed, 0 known failure, 0 skipped 560s [inst/@sym/rref.m] 560s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/rref.m 560s ***** test 560s A = sym([1 2; 3 4]); 560s [r, k] = rref(A); 560s assert (isequal (r, eye(2))) 560s assert (isequal (k, [1 2])) 560s ***** assert (isequal (rref(sym([2 1])), [1 sym(1)/2])) 560s ***** assert (isequal (rref(sym([1 2; 2 4])), [1 2; 0 0])) 560s ***** assert (isequal (rref(sym([0 0; 2 4])), [1 2; 0 0])) 560s ***** test 560s A = sym([1 2 3; 2 3 4]); 560s [r, k] = rref(A); 560s assert (isequal (r, [1 0 -1; 0 1 2])) 560s assert (isequal (k, [1 2])); 561s 5 tests, 5 passed, 0 known failure, 0 skipped 561s [inst/@sym/sec.m] 561s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sec.m 561s ***** error sec (sym(1), 2) 561s ***** assert (isequaln (sec (sym(nan)), sym(nan))) 561s ***** shared x, d 561s d = 1; 561s x = sym('1'); 561s ***** test 561s f1 = sec(x); 561s f2 = sec(d); 561s assert( abs(double(f1) - f2) < 1e-15 ) 561s ***** test 561s D = [d d; d d]; 561s A = [x x; x x]; 561s f1 = sec(A); 561s f2 = sec(D); 561s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 561s ***** test 561s % round trip 561s y = sym('y'); 561s A = sec (d); 561s f = sec (y); 561s h = function_handle (f); 561s B = h (d); 561s assert (A, B, -eps) 561s 5 tests, 5 passed, 0 known failure, 0 skipped 561s [inst/@sym/sech.m] 561s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sech.m 561s ***** error sech (sym(1), 2) 561s ***** assert (isequaln (sech (sym(nan)), sym(nan))) 561s ***** shared x, d 561s d = 1; 561s x = sym('1'); 561s ***** test 561s f1 = sech(x); 561s f2 = sech(d); 561s assert( abs(double(f1) - f2) < 1e-15 ) 561s ***** test 561s D = [d d; d d]; 561s A = [x x; x x]; 561s f1 = sech(A); 561s f2 = sech(D); 561s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 561s ***** test 561s % round trip 561s y = sym('y'); 561s A = sech (d); 561s f = sech (y); 561s h = function_handle (f); 561s B = h (d); 561s assert (A, B, -eps) 561s 5 tests, 5 passed, 0 known failure, 0 skipped 561s [inst/@sym/setdiff.m] 561s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/setdiff.m 561s ***** test 561s A = sym([1 2 3]); 561s B = sym([1 2 4]); 561s C = setdiff(A, B); 561s D = sym([3]); 561s assert (isequal (C, D)) 561s ***** test 561s % one nonsym 561s A = sym([1 2 3]); 561s B = [1 2 4]; 561s C = setdiff(A, B); 561s D = sym([3]); 561s assert (isequal (C, D)) 561s ***** test 561s % empty 561s A = sym([1 2 3]); 561s C = setdiff(A, A); 561s assert (isempty (C)) 562s ***** test 562s % empty input 562s A = sym([1 2]); 562s C = setdiff(A, []); 562s assert (isequal (C, A) || isequal (C, sym([2 1]))) 562s ***** test 562s % scalar 562s syms x 562s assert (isequal (setdiff([x 1], x), sym(1))) 562s assert (isempty (setdiff(x, x))) 562s ***** test 562s A = interval(sym(1), 3); 562s B = interval(sym(2), 5); 562s C = setdiff(A, B); 562s assert( isequal( C, interval(sym(1), 2, false, true))) 562s 6 tests, 6 passed, 0 known failure, 0 skipped 562s [inst/@sym/setxor.m] 562s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/setxor.m 562s ***** test 562s A = sym([1 2 3]); 562s B = sym([1 2 4]); 562s C = setxor(A, B); 562s D1 = sym([3 4]); 562s D2 = sym([4 3]); 562s assert (isequal (C, D1) || isequal (C, D2)) 562s ***** test 562s % one nonsym 562s A = sym([1 2 3]); 562s B = [1 2 4]; 562s C = setxor(A, B); 562s D1 = sym([3 4]); 562s D2 = sym([4 3]); 562s assert (isequal (C, D1) || isequal (C, D2)) 562s ***** test 562s % empty 562s A = sym([1 2 3]); 562s C = setxor(A, A); 562s assert (isempty (C)) 562s ***** test 562s % empty input 562s A = sym([1 2]); 562s C = setxor(A, []); 562s assert (isequal (C, A) || isequal (C, sym([2 1]))) 562s ***** test 562s % scalar 562s syms x 562s assert (isequal (setxor([x 1], x), sym(1))) 562s assert (isempty (setxor(x, x))) 562s ***** test 562s A = interval(sym(1), 3); 562s B = interval(sym(2), 5); 562s C = setxor(A, B); 562s D = union (interval (sym(1), 2, false, true), interval (sym(3), 5, true, false)); 562s assert( isequal( C, D)) 563s 6 tests, 6 passed, 0 known failure, 0 skipped 563s [inst/@sym/sign.m] 563s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sign.m 563s ***** error sign (sym(1), 2) 563s ***** assert (isequaln (sign (sym(nan)), sym(nan))) 563s ***** shared x, d 563s d = 1; 563s x = sym('1'); 563s ***** test 563s f1 = sign(x); 563s f2 = sign(d); 563s assert( abs(double(f1) - f2) < 1e-15 ) 563s ***** test 563s D = [d d; d d]; 563s A = [x x; x x]; 563s f1 = sign(A); 563s f2 = sign(D); 563s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 563s ***** test 563s % round trip 563s y = sym('y'); 563s A = sign (d); 563s f = sign (y); 563s h = function_handle (f); 563s B = h (d); 563s assert (A, B, -eps) 563s 5 tests, 5 passed, 0 known failure, 0 skipped 563s [inst/@sym/signIm.m] 563s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/signIm.m 563s ***** assert (isequal (signIm (sym(1)), sym(0))) 563s ***** assert (isequal (signIm (sym(1) + 2i), sym(1))) 563s ***** assert (isequal (signIm (sym(1) - 2i), sym(-1))) 563s ***** test 563s % intermediate A looks bit weird, but it works 563s syms z 563s A = signIm (z); 563s assert (isequal (subs(A, z, 3+sym(4i)), sym(1))) 563s assert (isequal (subs(A, z, 3-sym(4i)), sym(-1))) 563s ***** test 563s % really a @sym/sign test, but that one is autogen 563s z = 3 + sym(4i); 563s A = sign (z); 563s B = z / abs(z); 563s assert (double (A), double (B), eps) 564s 5 tests, 5 passed, 0 known failure, 0 skipped 564s [inst/@sym/simplify.m] 564s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/simplify.m 564s ***** shared x,p,q 564s syms x 564s p = x^2 + x + 1; 564s q = horner (p); 564s ***** assert(~isequal( p - q, 0)) 564s ***** assert(isequal( simplify(p - q), 0)) 564s 2 tests, 2 passed, 0 known failure, 0 skipped 564s [inst/@sym/sin.m] 564s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sin.m 564s ***** error sin (sym(1), 2) 564s ***** assert (isequaln (sin (sym(nan)), sym(nan))) 564s ***** shared x, d 564s d = 1; 564s x = sym('1'); 564s ***** test 564s f1 = sin(x); 564s f2 = sin(d); 564s assert( abs(double(f1) - f2) < 1e-15 ) 564s ***** test 564s D = [d d; d d]; 564s A = [x x; x x]; 564s f1 = sin(A); 564s f2 = sin(D); 564s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 564s ***** test 564s % round trip 564s y = sym('y'); 564s A = sin (d); 564s f = sin (y); 564s h = function_handle (f); 564s B = h (d); 564s assert (A, B, -eps) 564s 5 tests, 5 passed, 0 known failure, 0 skipped 564s [inst/@sym/sinc.m] 564s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sinc.m 564s ***** error sinc (sym(1), 2) 564s ***** assert (isequaln (sinc (sym(nan)), sym(nan))) 564s ***** assert (isequal (sinc (sym(0)), sym(1))) 564s ***** assert (isequal (sinc (sym(1)), sym(0))) 564s ***** assert (isequal (sinc (-sym(1)), sym(0))) 564s ***** assert (double (sinc (sym(pi))), sinc (pi), -10*eps) 564s ***** test 564s A = [-sym(1)/2 sym(1)/2 pi; -sym(7)/2 sym(71)/2 sym(101)/3]; 564s D = double (A); 564s assert (sinc (D), double (sinc (A)), -200*eps) 565s ***** test 565s A = [sym(51)/2 sym(1001)/3 sym(10001)/3 sym(100001)/3]; 565s D = double (A); 565s assert (sinc (D), double (sinc (A)), 1e-10) 566s ***** test 566s % round trip 566s syms x 566s A = sinc (1); 566s f = sinc (x); 566s h = function_handle (f); 566s B = h (1); 566s assert (A, B, -eps) 566s ***** test 566s % round trip 566s syms x 566s f = sinc (x); 566s h = function_handle (f); 566s A = sinc (1.5); 566s B = h (1.5); 566s assert (A, B, -eps) 566s ***** test 566s syms x 566s h = function_handle (sinc (x)); 566s A = double (sinc (sym (12)/10)); 566s B = h (1.2); 566s C = sinc (1.2); 566s assert (A, B, -eps) 566s assert (A, C, -eps) 566s 11 tests, 11 passed, 0 known failure, 0 skipped 566s [inst/@sym/sind.m] 566s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sind.m 566s ***** error sind (sym(1), 2) 566s ***** assert (isequaln (sind (sym(nan)), sym(nan))) 566s ***** test 566s f1 = sind (sym(1)); 566s f2 = sind (1); 566s assert (double (f1), f2, -eps) 566s ***** test 566s D = [10 30; 110 -45]; 566s A = sym(D); 566s f1 = sind (A); 566s f2 = sind (D); 566s assert (double (f1), f2, -eps) 566s 4 tests, 4 passed, 0 known failure, 0 skipped 566s [inst/@sym/sinh.m] 566s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sinh.m 566s ***** error sinh (sym(1), 2) 566s ***** assert (isequaln (sinh (sym(nan)), sym(nan))) 566s ***** shared x, d 566s d = 1; 566s x = sym('1'); 566s ***** test 566s f1 = sinh(x); 566s f2 = sinh(d); 566s assert( abs(double(f1) - f2) < 1e-15 ) 566s ***** test 566s D = [d d; d d]; 566s A = [x x; x x]; 566s f1 = sinh(A); 566s f2 = sinh(D); 566s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 567s ***** test 567s % round trip 567s y = sym('y'); 567s A = sinh (d); 567s f = sinh (y); 567s h = function_handle (f); 567s B = h (d); 567s assert (A, B, -eps) 567s 5 tests, 5 passed, 0 known failure, 0 skipped 567s [inst/@sym/sinhint.m] 567s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sinhint.m 567s ***** error sinhint (sym(1), 2) 567s ***** xtest 567s assert (isequaln (sinhint (sym(nan)), sym(nan))) 567s !!!!! known failure 567s assert (isequaln (sinhint (sym (nan)), sym (nan))) failed 567s ***** shared x, d 567s d = 1; 567s x = sym('1'); 567s ***** test 567s f1 = sinhint(x); 567s f2 = 1.057250875375728514572; 567s assert( abs(double(f1) - f2) < 1e-15 ) 567s ***** test 567s D = [d d; d d]; 567s A = [x x; x x]; 567s f1 = sinhint(A); 567s f2 = 1.057250875375728514572; 567s f2 = [f2 f2; f2 f2]; 567s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 567s ***** test 567s % round trip 567s y = sym('y'); 567s A = sinhint (d); 567s f = sinhint (y); 567s h = function_handle (f); 567s B = h (d); 567s assert (A, B, -eps) 567s 5 tests, 4 passed, 1 known failure, 0 skipped 567s [inst/@sym/sinint.m] 567s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sinint.m 567s ***** error sinint (sym(1), 2) 567s ***** xtest 567s assert (isequaln (sinint (sym(nan)), sym(nan))) 567s !!!!! known failure 567s assert (isequaln (sinint (sym (nan)), sym (nan))) failed 567s ***** shared x, d 567s d = 1; 567s x = sym('1'); 567s ***** test 567s f1 = sinint(x); 567s f2 = 0.9460830703671830149414; 567s assert( abs(double(f1) - f2) < 1e-15 ) 567s ***** test 567s D = [d d; d d]; 567s A = [x x; x x]; 567s f1 = sinint(A); 567s f2 = 0.9460830703671830149414; 567s f2 = [f2 f2; f2 f2]; 567s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 567s ***** test 567s % round trip 567s y = sym('y'); 567s A = sinint (d); 567s f = sinint (y); 567s h = function_handle (f); 567s B = h (d); 567s assert (A, B, -eps) 567s 5 tests, 4 passed, 1 known failure, 0 skipped 567s [inst/@sym/size.m] 567s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/size.m 567s ***** test 567s a = sym([1 2 3]); 567s [n,m] = size(a); 567s assert (n == 1 && m == 3) 567s ***** test 567s a = sym([1 2 3]); 567s n = size(a); 567s assert (isequal (n, [1 3])) 567s ***** test 567s %% size, numel, length 567s a = sym([1 2 3; 4 5 6]); 567s assert (isa (size(a), 'double')) 567s assert (isa (numel(a), 'double')) 567s assert (isa (length(a), 'double')) 567s assert (isequal (size(a), [2 3])) 567s assert (length(a) == 3) 567s assert (numel(a) == 6) 567s a = sym([1; 2; 3]); 567s assert (isequal (size(a), [3 1])) 567s assert (length(a) == 3) 567s assert (numel(a) == 3) 567s ***** test 567s %% size by dim 567s a = sym([1 2 3; 4 5 6]); 567s n = size(a, 1); 567s assert (n == 2) 567s m = size(a, 2); 567s assert (m == 3) 567s a = sym([1 2 3]'); 567s n = size(a, 1); 567s assert (n == 3) 567s m = size(a, 2); 567s assert (m == 1) 568s ***** xtest 568s % symbolic-size matrices 568s syms n m integer 568s A = sym('A', [n m]); 568s d = size(A); 568s assert (~isa(d, 'sym')) 568s assert (isnumeric(d)) 568s assert (isequaln (d, [NaN NaN])) 568s !!!!! known failure 568s assert (isequaln (d, [NaN, NaN])) failed 568s ***** xtest 568s % half-symbolic-size matrices 568s % FIXME: will fail until size stop lying by saying 1x1 568s syms n integer 568s A = sym('A', [n 3]); 568s assert (isequaln (size(A), [NaN 3])) 568s A = sym('A', [4 n]); 568s assert (isequaln (size(A), [4 NaN])) 568s !!!!! known failure 568s assert (isequaln (size (A), [NaN, 3])) failed 568s ***** xtest 568s % half-symbolic-size empty matrices 568s % FIXME: will fail until size stop lying by saying 1x1 568s syms n integer 568s A = sym('A', [n 0]); 568s assert (isequaln (size(A), [NaN 0])) 568s !!!!! known failure 568s assert (isequaln (size (A), [NaN, 0])) failed 568s 7 tests, 4 passed, 3 known failures, 0 skipped 568s [inst/@sym/solve.m] 568s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/solve.m 568s ***** test 568s % Simple, single variable, single solution 568s syms x 568s d = solve(10*x == 50); 568s assert (isequal (d, 5)) 568s ***** test 568s % Single variable, multiple solutions 568s syms x 568s d = solve(x^2 == 4); 568s assert (length(d) == 2); 568s assert (isequal (d, [2; -2]) || isequal (d, [-2; 2])) 568s ***** shared x,y,eq 568s syms x y 568s eq = 10*x == 20*y; 568s ***** test 568s d = solve(eq, x); 568s assert (isequal (d, 2*y)) 568s ***** test 568s d = solve(eq, y); 568s assert (isequal (d, x/2)) 568s ***** test 568s d = solve(eq); 568s assert (isequal (d, 2*y)) 568s ***** shared x,y 568s syms x y 568s ***** test 568s d = solve(2*x - 3*y == 0, x + y == 1); 568s assert (isequal (d.x, sym(3)/5) && isequal(d.y, sym(2)/5)) 569s ***** test 569s d = solve(2*x - 3*y == 0, x + y == 1, x, y); 569s assert (isequal (d.x, sym(3)/5) && isequal(d.y, sym(2)/5)) 569s ***** test 569s % Multiple solutions, multiple variables 569s d = solve(x^2 == 4, x + y == 1); 569s assert (length(d) == 2); 569s % FIXME: SMT has d.x gives vector and d.y giving vector, what is 569s % more intuitive? 569s for i = 1:2 569s assert (isequal (d{i}.x + d{i}.y, 1)) 569s assert (isequal ((d{i}.x)^2, 4)) 569s end 569s ***** test 569s % No solutions 569s syms x y z 569s d = solve(x == y, z); 569s assert (isempty (d)); 569s ***** test 569s % Multiple outputs with single solution 569s [X, Y] = solve(2*x + y == 5, x + y == 3); 569s assert (isequal (X, 2)) 569s assert (isequal (Y, 1)) 569s ***** test 569s % system: vector of equations, vector of vars 569s [X, Y] = solve([2*x + y == 5, x + y == 3], [x y]); 569s assert (isequal (X, 2)) 569s assert (isequal (Y, 1)) 570s ***** test 570s % system: vector of equations, individual vars 570s [X, Y] = solve([2*x + y == 5, x + y == 3], x, y); 570s assert (isequal (X, 2)) 570s assert (isequal (Y, 1)) 570s ***** test 570s % system: individual equations, vector of vars 570s [X, Y] = solve(2*x + y == 5, x + y == 3, [x y]); 570s assert (isequal (X, 2)) 570s assert (isequal (Y, 1)) 570s ***** test 570s % Multiple outputs with multiple solns 570s [X, Y] = solve(x*x == 4, x == 2*y); 570s assert ((isequal (X, [2; -2]) && isequal (Y, [1; -1])) || ... 570s (isequal (X, [-2; 2]) && isequal (Y, [-1; 1]))) 570s ***** test 570s % Multiple outputs with multiple solns, specify vars 570s [X, Y] = solve(x*x == 4, x == 2*y, x, y); 570s assert ((isequal (X, [2; -2]) && isequal (Y, [1; -1])) || ... 570s (isequal (X, [-2; 2]) && isequal (Y, [-1; 1]))) 570s ***** error 570s % mult outputs not allowed for scalar equation, even with mult soln (?) 570s [s1, s2] = solve(x^2 == 4, x); 570s ***** test 570s % overdetermined 570s X = solve(2*x - 10 == 0, 3*x - 15 == 0, x); 570s assert (isequal (X, sym(5))) 571s ***** test 571s a = solve(2*x >= 10, 10*x <= 50); 571s assert (isequal( a, x==sym(5))) 571s ***** test 571s A = solve([2*x == 4*y, 2 == 3], x); 571s assert (isempty (A)) 571s ***** test 571s % Issue #850 571s A = solve (sym(pi)^2*x + y == 0); 571s assert (isequal (A, -y/sym(pi)^2)) 571s ***** test 571s % https://github.com/sympy/sympy/issues/14632 571s A = solve([2*x == 4*y, sym(2) == 2], x); 571s assert (isequal (A, 2*y)) 571s ***** test 571s % https://github.com/sympy/sympy/issues/14632 571s A = solve([2*x^2 == 32*y^2, sym(2) == 2], x); 571s B = solve([2*x^2 == 32*y^2], x); 571s assert (isequal (A, B) || isequal (A, flip (B))) 571s ***** test 571s A = solve ([x+1 0], x); 571s assert (isequal (A, sym (-1))) 571s ***** test 571s A = solve (x + 1, x); 571s assert (isequal (A, sym (-1))) 571s A = solve (x, x); 571s assert (isequal (A, sym (0))) 572s 24 tests, 24 passed, 0 known failure, 0 skipped 572s [inst/@sym/sort.m] 572s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sort.m 572s ***** error sort (sym(1), 2) 572s ***** test 572s f = [sym(1), sym(0)]; 572s expected = sym([0, 1]); 572s assert (isequal (sort(f), expected)) 572s ***** test 572s f = [sym(1)]; 572s expected = sym(1); 572s assert (isequal (sort(f), expected)) 572s ***** test 572s f = [sym(3), sym(2), sym(6)]; 572s s = sort(f); 572s expected_s = sym([2, 3, 6]); 572s assert (isequal (s, expected_s)) 572s ***** test 572s f = [sym(pi), sin(sym(2)), sqrt(sym(6))]; 572s s = sort(f); 572s expected_s = sym([sin(sym(2)), sqrt(sym(6)), sym(pi)]); 572s assert (isequal (s, expected_s)) 572s ***** test 572s f = [sym(1), sym(2); sym(2), sym(pi); sym(pi), sym(1)]; 572s s = sort(f); 572s expected_s = ([sym(1), sym(1); sym(2), sym(2); sym(pi), sym(pi)]); 572s assert (isequal (s, expected_s)) 572s ***** assert (isequal (sort(sym([])), sym([]))) 572s ***** error sort([sym('x') 1]) 572s ***** test 572s % but with assumptions, symbols can be sorted 572s p = sym('p', 'positive'); 572s n = sym('n', 'negative'); 572s expected_s = [n p]; 572s s = sort ([p n]); 572s assert (isequal (s, expected_s)) 572s 9 tests, 9 passed, 0 known failure, 0 skipped 572s [inst/@sym/sqrt.m] 572s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sqrt.m 572s ***** error sqrt (sym(1), 2) 572s ***** assert (isequaln (sqrt (sym(nan)), sym(nan))) 573s ***** shared x, d 573s d = 1; 573s x = sym('1'); 573s ***** test 573s f1 = sqrt(x); 573s f2 = sqrt(d); 573s assert( abs(double(f1) - f2) < 1e-15 ) 573s ***** test 573s D = [d d; d d]; 573s A = [x x; x x]; 573s f1 = sqrt(A); 573s f2 = sqrt(D); 573s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 573s ***** test 573s % round trip 573s y = sym('y'); 573s A = sqrt (d); 573s f = sqrt (y); 573s h = function_handle (f); 573s B = h (d); 573s assert (A, B, -eps) 573s 5 tests, 5 passed, 0 known failure, 0 skipped 573s [inst/@sym/ssinint.m] 573s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ssinint.m 573s ***** assert (isequal (ssinint(sym(0)), -sym(pi)/2)) 573s ***** test 573s A = ssinint (sym ([0 1])); 573s B = [-pi/2 -0.62471325642771360426]; 573s assert( all(all( abs(double(A)-B) < 1e-15 ))) 573s 2 tests, 2 passed, 0 known failure, 0 skipped 573s [inst/@sym/subs.m] 573s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/subs.m 573s ***** error subs (sym(1), 2, 3, 4) 573s ***** shared x,y,t,f 573s syms x y t 573s f = x*y; 573s ***** test 573s assert( isequal( subs(f, x, y), y^2 )) 573s assert( isequal( subs(f, y, sin(x)), x*sin(x) )) 573s assert( isequal( subs(f, x, 16), 16*y )) 573s ***** test 573s % multiple subs w/ cells 573s assert( isequal( subs(f, {x}, {t}), y*t )) 573s assert( isequal( subs(f, {x y}, {t t}), t*t )) 573s assert( isequal( subs(f, {x y}, {t 16}), 16*t )) 573s assert( isequal( subs(f, {x y}, {16 t}), 16*t )) 573s assert( isequal( subs(f, {x y}, {2 16}), 32 )) 574s ***** test 574s % multiple subs w/ vectors 574s assert( isequal( subs(f, [x y], [t t]), t*t )) 574s assert( isequal( subs(f, [x y], [t 16]), 16*t )) 574s assert( isequal( subs(f, [x y], [2 16]), 32 )) 574s ***** test 574s % anything you can think of 574s assert( isequal( subs(f, [x y], {t t}), t*t )) 574s assert( isequal( subs(f, {x y}, [t t]), t*t )) 574s assert( isequal( subs(f, {x; y}, [t; t]), t*t )) 574s ***** test 574s % sub in doubles gives sym (matches SMT 2013b) 574s % FIXME: but see 574s % http://www.mathworks.co.uk/help/symbolic/gradient.html 574s assert( isequal( subs(f, {x y}, {2 pi}), 2*sym(pi) )) 574s assert( ~isa(subs(f, {x y}, {2 pi}), 'double')) 574s assert( isa(subs(f, {x y}, {2 pi}), 'sym')) 574s assert( isa(subs(f, {x y}, {2 sym(pi)}), 'sym')) 574s assert( isa(subs(f, {x y}, {sym(2) sym(pi)}), 'sym')) 574s ***** shared x,y,t,f,F 574s syms x y t 574s f = sin(x)*y; 574s F = [f; 2*f]; 574s ***** test 574s % need the simultaneous=True flag in SymPy (matches SMT 2013b) 574s assert( isequal( subs(f, [x t], [t 6]), y*sin(t) )) 574s assert( isequal( subs(F, [x t], [t 6]), [y*sin(t); 2*y*sin(t)] )) 575s ***** test 575s % swap x and y (also needs simultaneous=True 575s assert( isequal( subs(f, [x y], [y x]), x*sin(y) )) 575s ***** test 575s % but of course both x and y to t still works 575s assert( isequal( subs(f, [x y], [t t]), t*sin(t) )) 575s ***** shared 575s ***** test 575s % Issue #10, subbing matrices in for scalars 575s syms y 575s a = sym([1 2; 3 4]); 575s f = sin(y); 575s g = subs(f, y, a); 575s assert (isequal (g, sin(a))) 575s ***** test 575s % Issue #10, subbing matrices in for scalars 575s syms y 575s a = sym([1 2]); 575s g = subs(sin(y), {y}, {a}); 575s assert (isequal (g, sin(a))) 575s ***** test 575s % Issue #10, subbing matrices in for scalars 575s syms y 575s a = sym([1; 2]); 575s g = subs(sin(y), {y}, a); 575s assert (isequal (g, sin(a))) 575s ***** test 575s % Issue #10, subbing matrices in for scalars 575s syms y 575s a = [10 20 30]; 575s f = 2*y; 575s g = subs(f, y, a); 575s assert (isequal (g, 2*a)) 575s assert (isa (g, 'sym')) 575s ***** test 575s % Issue #10, sub matrices in for two scalars 575s syms x y 575s a = [10 20 30]; 575s f = x^2*y; 575s g = subs(f, {x y}, {a a+1}); 575s h = a.^2.*(a+1); 575s assert (isequal (g, h)) 575s ***** test 575s % Issue #10, sub matrices in for two scalars 575s syms x y z 575s a = [10 20 30]; 575s f = x^2*y; 575s g = subs(f, {x y}, {a z}); 575s h = a.^2*z; 575s assert (isequal (g, h)) 575s g = subs(f, {x y}, {a 6}); 575s h = a.^2*6; 575s assert (isequal (g, h)) 576s ***** error 576s syms x y 576s a = [10 20 30]; 576s f = x^2*y; 576s g = subs(f, {x y}, {[10 20 30] [10 20]}); 576s ***** test 576s % two inputs 576s syms x y 576s assert (isequal (subs (2*x, 6), sym(12))) 576s assert (isequal (subs (2*x*y^2, 6), 12*y^2)) 576s assert (isequal (subs (2*y, 6), sym(12))) 576s assert (isequal (subs (sym(2), 6), sym(2))) 576s ***** test 576s % only two inputs, vector 576s syms x 576s assert (isequal (subs (2*x, [3 5]), sym([6 10]))) 576s ***** test 576s % SMT compat, subbing in vec/mat for nonexist x 576s syms x y z 576s % you might think this would be y: 576s assert (~ isequal (subs (y, x, [1 2]), y)) 576s % but it gives two y's: 576s assert (isequal (subs (y, x, [1 2]), [y y])) 576s assert (isequal (subs (sym(42), [3 5]), sym([42 42]))) 576s assert (isequal (subs (sym(42), x, []), sym([]))) 576s assert (isequal (subs (y, {x y}, {[1 2; 3 4], 6}), sym([6 6; 6 6]))) 576s assert (isequal (subs (y, {x z}, {[1 2; 3 4], 6}), [y y; y y])) 577s ***** test 577s syms x y 577s assert (isequal (subs (sym(42), x, y), sym(42))) 577s assert (isequal (subs (sym(42), y), sym(42))) 577s assert (isequal (subs (sym(42)), sym(42))) 577s ***** test 577s % empty lists 577s assert (isequal (subs (sym(42), {}, {}), sym(42))) 577s assert (isequal (subs (42, sym([]), sym([])), sym(42))) 577s ***** test 577s syms x y 577s f = x*y; 577s x = 6; y = 7; 577s g = subs (f); 577s assert (isequal (g, sym (42))) 577s assert (isa (g, 'sym')) 578s ***** test 578s syms x y 578s f = x*y; 578s x = 6; 578s g = subs (f); 578s assert (isequal (g, 6*y)) 578s ***** test 578s syms x y 578s f = x*y; 578s xsave = x; 578s x = 6; 578s g = subs (f); 578s assert (isequal (g, 6*y)) 578s assert (isequal (f, xsave*y)) 578s ***** test 578s syms a x y 578s f = a*x*y; 578s a = 6; 578s clear x 578s g = subs (f); 578s syms x 578s assert (isequal (g, 6*x*y)) 578s 25 tests, 25 passed, 0 known failure, 0 skipped 578s [inst/@sym/subsasgn.m] 578s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/subsasgn.m 578s ***** shared a,b 578s b = [1:4]; 578s a = sym(b); 578s ***** test a(1) = 10; b(1) = 10; 578s assert(isequal( a, b )) 578s ***** test I = logical([1 0 1 0]); 578s a(I) = 2; b(I) = 2; 578s assert(isequal( a, b )) 578s ***** test I = logical([1 0 1 0]); 578s a(I) = [2 4]; b(I) = [2 4]; 578s assert(isequal( a, b )) 578s ***** test I = logical([1 0 1 0]); 578s a(I) = [2; 4]; b(I) = [2; 4]; 578s assert(isequal( a, b )) 579s ***** shared 579s ***** test 579s b = 1:4; b = [b; 2*b; 3*b]; 579s a = sym(b); 579s rhs = [10 11; 12 13]; 579s a([1:2],[1:2]) = rhs; 579s b([1:2],[1:2]) = rhs; 579s assert(isequal( a, b )) 579s a(1:2,1:2) = rhs; 579s assert(isequal( a, b )) 579s ***** test 579s % slice : 579s b = 1:4; b = [b; 2*b]; 579s a = sym(b); 579s rhs = [10 11; 12 13]; 579s a(:,2:3) = rhs; 579s b(:,2:3) = rhs; 579s assert(isequal( a, b )) 579s ***** test 579s % grow 2D 579s b = 1:4; b = [b; 2*b]; 579s a = sym(b); 579s rhs = [10 11; 12 13]; 579s a([1 end+1],end:end+1) = rhs; 579s b([1 end+1],end:end+1) = rhs; 579s assert(isequal( a, b )) 580s ***** test 580s % grow from nothing 580s clear a 580s a(3) = sym (1); 580s b = sym ([0 0 1]); 580s assert (isequal (a, b)) 580s ***** test 580s % grow from nothing, 2D 580s clear a 580s a(2, 3) = sym (1); 580s b = sym ([0 0 0; 0 0 1;]); 580s assert (isequal (a, b)) 580s ***** test 580s % linear indices of 2D 580s b = 1:4; b = [b; 2*b; 3*b]; 580s a = sym(b); 580s b(1:4) = [10 11 12 13]; 580s a(1:4) = [10 11 12 13]; 580s assert(isequal( a, b )) 580s b(1:4) = [10 11; 12 13]; 580s a(1:4) = [10 11; 12 13]; 580s assert(isequal( a, b )) 581s ***** error 581s % Wrong shape matrix RHS: Matlab/Octave don't allow this on doubles. 581s % Matlab SMT 2013b gets it wrong. We throw an error. 581s rhs = [10 11; 12 13]; 581s a = sym (magic (3)); 581s a(1:2,1:2) = rhs(:); 581s ***** test 581s % Issue #963: vector RHS with diff orientation from 2D indexing 581s b = 1:4; b = [b; 2*b; 3*b]; 581s a = sym(b); 581s b(1:2:3, 1) = 11:2:13; 581s a(1:2:3, 1) = sym(11:2:13); 581s assert (isequal (a, b)) 581s b(1:2:3, 1) = 1:2:3; 581s a(1:2:3, 1) = 1:2:3; 581s assert (isequal (a, b)) 581s ***** test 581s % Issue #963: vector RHS with diff orientation from 2D indexing 581s a = sym (magic (3)); 581s b = a; 581s a(1:2:3, 2) = [14 15]; 581s b(1:2:3, 2) = [14; 15]; 581s assert (isequal (a, b)) 581s a(2, 1:2:3) = [24 25]; 581s b(2, 1:2:3) = [24; 25]; 581s assert (isequal (a, b)) 582s ***** test 582s % 1D growth and 'end' 582s g = sym([1 2 3]); 582s g(3:4) = [67 68]; 582s g(end:end+1) = [12 14]; 582s assert(isequal( g, [1 2 67 12 14] )) 582s ***** test 582s % expanding empty and scalar 582s syms x 582s c = sym([]); 582s c(1) = x; 582s assert(isequal( c, x )) 582s c(2) = 2*x; 582s assert(isequal( c, [x 2*x] )) 582s ***** shared a,b,I,J 582s b = 1:4; b = [b; 3*b; 5*b]; a = sym(b); 582s I = logical([1 0 1]); 582s J = logical([1 0 1 0]); 582s ***** assert(isequal( a(I,J), b(I,J) )) 582s ***** test 582s rhs = [90 91; 92 93]; 582s b(I, J) = rhs; 582s a(I, J) = rhs; 582s assert(isequal( a, b )) 583s ***** test 583s b(I, J) = 100; 583s a(I, J) = 100; 583s assert(isequal( a, b )) 583s ***** shared 583s ***** test 583s % logical with all false 583s syms x 583s y = x; 583s y(false) = 6; 583s assert(isequal( y, x )); 583s a = [x x]; 583s a([false false]) = [6 6]; 583s assert(isequal( a, [x x] )); 583s ***** test 583s % issue #18, scalar access 583s syms x 583s x(1) = sym(6); 583s assert(isequal( x, sym(6) )); 583s x(1) = 6; 583s assert(isequal( x, sym(6) )); 583s x(true) = 88; 583s assert(isequal( x, sym(88) )); 583s ***** test 583s % bug: assignment to column vector used to fail 583s A = sym(zeros(3,1)); 583s A(1) = 5; 583s ***** test 583s % symfun creation (generic function) 583s syms x 583s g(x) = x*x; 583s assert(isa(g,'symfun')) 583s ***** test 583s % symfun creation (generic function) 583s syms x g(x) 583s assert(isa(g,'symfun')) 583s ***** test 583s % symfun creation when g already exists and is a sym/symfun 583s syms x 583s g = x; 583s syms g(x) 583s assert(isa(g,'symfun')) 583s clear g 583s g(x) = x; 583s g(x) = x*x; 583s assert(isa(g,'symfun')) 583s ***** test 583s % Issue #443: assignment with sym indices 583s A = sym([10 11]); 583s A(sym(1)) = 12; 583s assert (isequal (A, sym([12 11]))) 583s ***** test 583s % Issue #443: assignment with sym indices 583s A = sym([10 11]); 583s A(sym(1), 1) = 12; 583s assert (isequal (A, sym([12 11]))) 583s A(sym(1), sym(1)) = 13; 583s assert (isequal (A, sym([13 11]))) 584s ***** test 584s % Issue #443: assignment with sym indices, increase size 584s A = sym([10 11]); 584s A(sym(2), 1) = 12; 584s assert (isequal (A, sym([10 11; 12 0]))) 584s ***** error 584s % Issue #443 584s A = sym([10 11]); 584s A(2, sym('x')) = sym(12); 584s ***** error 584s % Issue #443 584s A = sym([10 11]); 584s A(sym(2), sym('x')) = sym(12); 584s ***** error 584s % issue #445 584s A = sym([10 11]); 584s A(1.1) = 13 584s ***** error 584s % issue #445 584s A = sym([10 11]); 584s A(sym(pi)) = 13 584s ***** error 584s % issue #445 584s A = sym([1 2; 3 4]); 584s A(1.3, 1.2) = 13 584s ***** test 584s % older expansion tests 584s syms x 584s f = [2*x 3*x]; 584s f(2) = 4*x; 584s assert (isequal (f, [2*x 4*x])) 584s f(2) = 2; 584s assert (isequal(f, [2*x 2])) 584s g = f; 584s g(1,3) = x*x; 584s assert (isequal(g, [2*x 2 x^2])) 584s g = f; 584s g(3) = x*x; 584s assert (isequal(g, [2*x 2 x^2])) 584s g = f; 584s g(3) = 4; 584s assert (isequal(g, [2*x 2 4])) 585s ***** test 585s % older slicing tests 585s syms x 585s f = [1 x^2 x^4]; 585s f(1:2) = [x x]; 585s assert (isequal( f, [x x x^4] )) 585s f(1:2) = [1 2]; 585s assert (isequal( f, [1 2 x^4] )) 585s f(end-1:end) = [3 4]; 585s assert (isequal( f, [1 3 4] )) 585s f(3:4) = [10 11]; 585s assert (isequal( f, [1 3 10 11] )) 585s f(end:end+1) = [12 14]; 585s assert (isequal( f, [1 3 10 12 14] )) 585s ***** test 585s % struct.str = sym, sometimes calls subsasgn 585s d = struct(); 585s syms x 585s d.a = x; 585s assert (isa (d, 'struct')) 585s assert (isequal (d.a, x)) 585s d.('a') = x; 585s assert (isa (d, 'struct')) 585s assert (isequal (d.a, x)) 585s d = setfield(d, 'a', x); 585s assert (isa (d, 'struct')) 585s assert (isequal (d.a, x)) 585s % at least on Oct 3.8, this calls sym's subsasgn 585s d = struct(); 585s d = setfield(d, 'a', x); 585s assert (isa (d, 'struct')) 585s assert (isequal (d.a, x)) 586s ***** test 586s % bool scalar assignments of true/false into sym 586s syms x 586s a = sym([1 2 x 3]); 586s b = [1 2 10 4]; 586s e = a == b; 586s assert (logical (e(2))) 586s e(2) = false; 586s assert (~logical (e(2))) 586s ***** test 586s % bool vector assignments of true/false into sym 586s syms x 586s a = sym([1 2 x 3]); 586s b = [1 2 10 4]; 586s e = a == b; 586s e(1:2) = [true true]; 586s assert (isequal (e, [sym(1)==1 sym(2)==2 x==10 sym(3)==4])) 586s ***** test 586s % bool scalar promoted to vector assignments into sym 586s syms x 586s a = sym([1 2 x 3]); 586s b = [1 2 10 4]; 586s e = a == b; 586s e(1:2) = true; 586s assert (isequal (e, [sym(1)==1 sym(2)==2 x==10 sym(3)==4])) 586s ***** test 586s % grow scalar equality expression into a matrix of equalities 586s syms a b c d 586s e = a == b; 586s e(2) = c == d; 586s assert (isequal (e, [a==b c==d])) 587s ***** shared a, b, I 587s b = [1:4]; b = [b; 3*b; 5*b]; 587s a = sym(b); 587s I = mod (b, 5) > 1; 587s ***** test 587s A = a; A(I) = 2*b(I); 587s B = b; B(I) = 2*b(I); 587s assert (isequal (A, B)) 587s ***** test 587s % scalar RHS 587s A = a; A(I) = 17; 587s B = b; B(I) = 17; 587s assert (isequal (A, B)) 587s ***** test 587s % nonetheless, above strange case should give right answer 587s I = logical([1 0 1 0; 0 1 0 1; 1 0 1 0]); 587s rhs = 2*b(I); 587s rhs2 = reshape(rhs, 2, 3); 587s A0 = a; A1 = a; 587s A0(I) = rhs; 587s A1(I) = rhs2; 587s assert (isequal (A0, A1)) 587s ***** shared AA, BB 587s BB = [1 2 3; 4 5 6]; 587s AA = sym(BB); 587s ***** test 587s A = AA; B = BB; 587s B([1 6]) = [8 9]; 587s A([1 6]) = [8 9]; 587s assert (isequal (A, B)) 588s ***** test 588s % rhs scalar 588s A = AA; B = BB; 588s B([1 6]) = 88; 588s A([1 6]) = 88; 588s assert (isequal (A, B)) 588s ***** test 588s % If rhs is not a vector, make sure col-based access works 588s rhs = [18 20; 19 21]; 588s A = AA; B = BB; 588s B([1 6]) = 88; 588s A([1 6]) = 88; 588s B([1 2 3 4]) = rhs; 588s A([1 2 3 4]) = rhs; 588s assert (isequal (A, B)) 588s ***** test 588s % Growth 588s A = AA; B = BB; 588s A(1,5) = 10; 588s B(1,5) = 10; 588s assert (isequal (A, B)) 588s ***** shared 588s ***** test 588s % Check row deletion 1D 588s a = sym([1; 3; 5]); 588s b = sym([3; 5]); 588s a(1) = []; 588s assert( isequal( a, b)) 588s ***** test 588s % Check column deletion 1D 588s a = sym([1, 4, 8]); 588s b = sym([4, 8]); 588s a(1) = []; 588s assert( isequal( a, b)) 588s ***** test 588s % Check row deletion 2D 588s a = sym([1, 2; 3, 4]); 588s b = sym([3, 4]); 588s a(1, :) = []; 588s assert( isequal( a, b)) 588s ***** test 588s % Check column deletion 2D 588s a = sym([1, 2; 3, 4]); 588s b = sym([2; 4]); 588s a(:, 1) = []; 588s assert( isequal( a, b)) 589s ***** test 589s % General assign 589s a = sym([1, 2; 3, 4]); 589s b = sym([5, 5; 5, 5]); 589s a(:) = 5; 589s assert( isequal( a, b)) 589s ***** test 589s % Empty matrix 589s a = sym([1, 2; 3, 4]); 589s a(:) = []; 589s assert( isequal( a, sym([]))) 589s ***** test 589s % Disassemble matrix 589s a = sym([1 2; 3 4; 5 6]); 589s b = sym([3 5 2 4 6]); 589s a(1) = []; 589s assert (isequal (a, b)); 589s ***** error 589s a = sym([1, 2; 3, 4]); 589s a(1, 2) = []; 589s ***** test 589s % Issue #964 589s a = sym(10); 589s a(1) = []; 589s assert (isempty (a)) 589s assert (isequal (a, zeros(1, 0))) 589s ***** test 589s % Issue #963: scalar asgn to empty part of matrix 589s A = sym (magic (3)); 589s B = A; 589s A(1, []) = 42; 589s assert (isequal (A, B)) 589s A([], 2) = 42; 589s assert (isequal (A, B)) 589s A([]) = 42; 589s assert (isequal (A, B)) 589s A([], []) = 42; 589s assert (isequal (A, B)) 589s A(2:3, []) = 42; 589s assert (isequal (A, B)) 589s A([], 2:3) = 42; 589s assert (isequal (A, B)) 589s A(:, []) = 42; 589s assert (isequal (A, B)) 589s A([], :) = 42; 589s assert (isequal (A, B)) 590s ***** test 590s % Issue #1026 590s a = sym(1:5); 590s a(1:3) = []; 590s assert (isequal (a, sym([4 5]))) 590s ***** test 590s % Issue #1026 590s B = eye(4); 590s A = sym(B); 590s A(1:2, :) = []; 590s B(1:2, :) = []; 590s assert (isequal (A, B)) 590s ***** error 590s % TODO: do we care what error? 590s A = sym (magic (3)); 590s A(2:3, []) = [66; 66]; 590s ***** error 590s A = sym (magic (3)); 590s A([]) = [66; 66]; 591s ***** error 591s A = sym (magic (3)); 591s A([], 1) = [66; 66]; 591s ***** test 591s % Issue #966: empty indexing, empty RHS, A unchanged 591s B = magic(3); 591s A = sym(B); 591s A(1, []) = []; 591s assert (isequal (A, B)) 591s A([], 2) = []; 591s assert (isequal (A, B)) 591s A([], []) = []; 591s assert (isequal (A, B)) 591s A(2:3, []) = []; 591s assert (isequal (A, B)) 591s A([], 2:3) = []; 591s assert (isequal (A, B)) 591s A(:, []) = []; 591s assert (isequal (A, B)) 591s A([], :) = []; 591s assert (isequal (A, B)) 592s ***** test 592s % Issue 967 592s B = [1 2; 3 4]; 592s A = sym(B); 592s A([]) = []; 592s assert (isequal (A, B)) 592s ***** test 592s % Issue #965 592s a = sym(7); 592s a([]) = []; 592s assert (isequal (a, sym(7))) 592s ***** test 592s % Issue #965 592s a = sym(7); 592s a([]) = 42; 592s assert (isequal (a, sym(7))) 592s ***** error 592s % Issue #965 592s a = sym(7); 592s a([]) = [42 42] 592s ***** test 592s b = eye (3); 592s a = sym (b); 592s I = [2 3; 4 5]; 592s a(I) = -2*I; 592s b(I) = -2*I; 592s assert (isequal (a, sym (b))); 592s assert (size (a), [3 3]); 592s ***** error 592s syms x 592s A = [1 x; x 2]; 592s A(5) = x; 592s ***** test 592s % 2D indexing with length in one dimension more than 2 592s a = sym ([1 2; 3 4; 5 6]); 592s indices = [1 4; 2 5; 3 6]; 592s b = [10 11; 12 13; 14 15]; 592s a(indices) = b; 592s assert (isequal (a, sym (b))); 593s ***** test 593s A = sym ([0 0 0]); 593s indices = [false true false]; 593s A(indices) = 1; 593s assert (isequal (A, sym ([0 1 0]))); 593s A(indices) = []; 593s assert (isequal (A, sym ([0 0]))); 593s indices = [false false]; 593s A(indices) = []; 593s assert (isequal (A, sym ([0 0]))); 593s ***** shared a, b 593s a = [1 2 3 5; 4 5 6 9; 7 5 3 2]; 593s b = sym (a); 593s ***** test 593s A = a; B = b; 593s A(true) = 0; 593s B(true) = 0; 593s assert (isequal (A, B)) 593s ***** test 593s A = a; B = b; 593s A(false) = 0; 593s B(false) = 0; 593s assert (isequal (A, B)) 593s ***** test 593s c = [false true]; 593s A = a; B = b; 593s A(c) = 0; B(c) = 0; 593s assert (isequal (A, B)) 593s d = c | true; 593s A(d) = 1; B(d) = 1; 593s assert (isequal (A, B)) 593s d = c & false; 593s A(d) = 2; B(d) = 2; 593s assert (isequal (A, B)) 594s ***** test 594s c = [false true false true; true false true false; false true false true]; 594s A = a; B = b; 594s A(c) = 0; B(c) = 0; 594s assert (isequal (A, B)) 594s d = c | true; 594s A(d) = 1; B(d) = 1; 594s assert (isequal (A, B)) 594s d = c & false; 594s A(d) = 2; B(d) = 2; 594s assert (isequal (A, B)) 594s ***** test 594s c = [false true false true false]; 594s A = a; B = b; 594s A(c) = 0; B(c) = 0; 594s assert (isequal (A, B)) 594s d = c | true; 594s A(d) = 1; B(d) = 1; 594s assert (isequal (A, B)) 594s d = c & false; 594s A(d) = 2; B(d) = 2; 594s assert (isequal (A, B)) 595s ***** test 595s c = [false; true; false; true; false]; 595s A = a; B = b; 595s A(c) = 0; B(c) = 0; 595s assert (isequal (A, B)) 595s d = c | true; 595s A(d) = 1; B(d) = 1; 595s assert (isequal (A, B)) 595s d = c & false; 595s A(d) = 2; B(d) = 2; 595s assert (isequal (A, B)) 595s ***** test 595s c = [false true; false true; true false]; 595s A = a; B = b; 595s A(c) = 0; B(c) = 0; 595s assert (isequal (A, B)) 595s d = c | true; 595s A(d) = 1; B(d) = 1; 595s assert (isequal (A, B)) 595s d = c & false; 595s A(d) = 2; B(d) = 2; 595s assert (isequal (A, B)) 596s 77 tests, 77 passed, 0 known failure, 0 skipped 596s [inst/@sym/subsindex.m] 596s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/subsindex.m 596s ***** test 596s i = sym(1); 596s a = 7; 596s assert(a(i)==a); 596s i = sym(2); 596s a = 2:2:10; 596s assert(a(i)==4); 596s ***** test 596s i = sym([1 3 5]); 596s a = 1:10; 596s assert( isequal (a(i), [1 3 5])) 596s ***** test 596s i = sym([1 3 5]); 596s a = sym(1:10); 596s assert( isequal (a(i), sym([1 3 5]))); 597s ***** test 597s % should be an error if it doesn't convert to double 597s syms x 597s a = 1:10; 597s try 597s a(x) 597s waserr = false; 597s catch 597s waserr = true; 597s end 597s assert(waserr) 597s ***** test 597s syms x 597s assert (isequal (x(sym (true)), x)) 597s assert (isequal (x(sym (false)), sym ([]))) 597s ***** test 597s x = 6; 597s assert (isequal (x(sym (true)), 6)) 597s assert (isequal (x(sym (false)), [])) 597s ***** test 597s a = sym([10 12 14]); 597s assert (isequal (a(sym ([true false true])), a([1 3]))) 597s assert (isequal (a(sym ([false false false])), sym (ones(1,0)))) 597s ***** test 597s a = [10 11; 12 13]; 597s p = [true false; true true]; 597s assert (isequal (a(sym (p)), a(p))) 597s p = [false false false]; 597s assert (isequal (a(sym (p)), a(p))) 597s ***** error 597s a = [10 12]; 597s I = [sym(true) 2]; 597s b = a(I); 597s 9 tests, 9 passed, 0 known failure, 0 skipped 597s [inst/@sym/subsref.m] 597s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/subsref.m 597s ***** shared a,b 597s b = [1:4]; 597s a = sym(b); 597s ***** assert(isequal( a(1), b(1) )) 597s ***** assert(isequal( a(2), b(2) )) 597s ***** assert(isequal( a(4), b(4) )) 597s ***** assert(isempty( a([]) )) 597s ***** shared a,b 597s b = [1:4]; b = [b; 3*b; 5*b]; 597s a = sym(b); 597s ***** assert(isequal( a(1), b(1) )) 598s ***** assert(isequal( a(2), b(2) )) 598s ***** assert(isequal( a(4), b(4) )) 598s ***** assert(isequal( a(:,:), a )) 598s ***** assert(isequal( a(1:2,1:3), a(1:2,1:3) )) 598s ***** assert(isequal( a(1:2:3,[1 2 4]), b(1:2:3,[1 2 4]) )) 598s ***** assert(isequal( a(1:2:3,[4 2 3 1]), b(1:2:3,[4 2 3 1]) )) 598s ***** assert(isequal( a(1:2:3,[4 1 1 1]), b(1:2:3,[4 1 1 1]) )) 598s ***** assert(isequal( a([],:), b([],:) )) 598s ***** assert(isequal( size(a([],:)), [0 4] )) 598s ***** assert(isequal( a(1:2,[]), b(1:2,[]) )) 598s ***** assert(isequal( size(a(1:2,[])), [2 0] )) 598s ***** assert(isempty( a(1:2,[]) )) 598s ***** assert(isempty( a([],[]) )) 598s ***** assert(isequal( a([],[]), sym([]) )) 598s ***** assert(~isequal( a(1:2,[]), sym([]) )) 598s ***** shared e 598s e = sym([1 3 5; 2 4 6]); 598s ***** assert(isequal( e(:), sym((1:6)') )) 598s ***** assert(isequal( e([1 2 3]), sym([1 2 3]) )) 599s ***** assert(isequal( e([1; 3; 4]), sym([1; 3; 4]) )) 599s ***** assert(isempty( e([]) )) 599s ***** assert(isempty( e('') )) 599s ***** assert(isequal( e([]), sym([]) )) 599s ***** shared a,b 599s b = 1:5; a = sym(b); 599s ***** assert(isequal( a([1 2 5]), b([1 2 5]) )) 599s ***** assert(isequal( a([1; 2; 5]), b([1; 2; 5]) )) 599s ***** shared x 599s syms x 599s ***** test 599s % logical with empty result 599s assert(isempty( x(false) )) 599s a = [x x]; 599s assert(isempty( a([false false]) )) 599s ***** test 599s % issue 18, scalar access 599s assert(isequal( x(1), x )) 599s assert(isequal( x(true), x )) 599s ***** shared 599s ***** test 599s % older access tests 599s syms x 599s f = [x 2; 3 4*x]; 599s % element access 599s assert (logical( f(1,1) == x )) 599s assert (logical( f(1,2) == 2 )) 599s % linear access of 2d array 599s assert (logical( f(1) == x )) 599s assert (logical( f(2) == 3 )) % column based 599s assert (logical( f(3) == 2 )) 599s ***** shared a,b 599s % effectively a random matrix 599s a = reshape( round(50*(sin(1:20)+1)), 5,4); 599s b = sym(a); 600s ***** test 600s % older array refs test 600s assert (logical(b(1,1) == a(1,1))) 600s assert (logical(b(3,1) == a(3,1))) 600s assert (logical(b(1,3) == a(1,3))) 600s assert (logical(b(4,4) == a(4,4))) 600s ***** test 600s % older array refs test: linear indices 600s assert (logical(b(1) == a(1))) 600s assert (logical(b(3) == a(3))) 600s assert (logical(b(13) == a(13))) 600s ***** test 600s % older array refs test: end 600s assert (all(all(logical( b(end,1) == a(end,1) )))) 600s assert (all(all(logical( b(2,end) == a(2,end) )))) 600s assert (all(all(logical( b(end,end) == a(end,end) )))) 600s assert (all(all(logical( b(end-1,1) == a(end-1,1) )))) 600s assert (all(all(logical( b(2,end-1) == a(2,end-1) )))) 600s assert (all(all(logical( b(end-1,end-1) == a(end-1,end-1) )))) 600s ***** shared 600s ***** test 600s % older slicing tests 600s syms x 600s a = [1 2 3 4 5 6]; a = [a; 3*a; 5*a; 2*a; 4*a]; 600s b = sym(a); 600s assert (isequal( b(:,1), a(:,1) )) 600s assert (isequal( b(:,2), a(:,2) )) 600s assert (isequal( b(1,:), a(1,:) )) 600s assert (isequal( b(2,:), a(2,:) )) 600s assert (isequal( b(:,:), a(:,:) )) 600s assert (isequal( b(1:3,2), a(1:3,2) )) 600s assert (isequal( b(1:4,:), a(1:4,:) )) 600s assert (isequal( b(1:2:5,:), a(1:2:5,:) )) 600s assert (isequal( b(1:2:4,:), a(1:2:4,:) )) 600s assert (isequal( b(2:2:4,3), a(2:2:4,3) )) 600s assert (isequal( b(2:2:4,3), a(2:2:4,3) )) 602s ***** test 602s % 2D arrays 602s b = [1:4]; b = [b; 3*b; 5*b]; 602s a = sym(b); 602s I = rand(size(b)) > 0.5; 602s assert (isequal (a(I), b(I))) 602s I = I(:); 602s assert (isequal (a(I), b(I))) 602s I = I'; 602s assert (isequal (a(I), b(I))) 602s I = logical(zeros(size(b))); 602s assert (isequal (a(I), b(I))) 603s ***** test 603s % 1D arrays, does right with despite warning 603s r = [1:6]; 603s ar = sym(r); 603s c = r'; 603s ac = sym(c); 603s Ir = rand(size(r)) > 0.5; 603s Ic = rand(size(c)) > 0.5; 603s assert (isequal (ar(Ir), r(Ir))) 603s assert (isequal (ac(Ic), c(Ic))) 603s assert (isequal (ar(Ic), r(Ic))) 603s assert (isequal (ac(Ir), c(Ir))) 603s ***** test 603s % rccross tests 603s B = [1 2 3 4; 5 6 7 9; 10 11 12 13]; 603s A = sym(B); 603s assert (isequal (A([1 3],[2 3]), B([1 3], [2 3]) )) 603s assert (isequal (A(1,[2 3]), B(1,[2 3]) )) 603s assert (isequal (A([1 2],4), B([1 2],4) )) 603s assert (isequal (A([2 1],[4 2]), B([2 1],[4 2]) )) 603s assert (isequal (A([],[]), B([],[]) )) 604s ***** error 604s % issue #445 604s A = sym([10 11]); 604s A(1.1) 604s ***** error 604s % issue #445 604s A = sym([10 11]); 604s A(sym(4)/3) 604s ***** error 604s % issue #445 604s A = sym([1 2; 3 4]); 604s A(1.1, 1) 604s ***** error 604s % issue #445 604s A = sym([1 2; 3 4]); 604s A(1, sym(4)/3) 604s ***** error 604s A = sym([1 2; 3 4]); 604s A(5) 604s ***** shared a, b 604s a = [1 2 3 5; 4 5 6 9; 7 5 3 2]; 604s b = sym (a); 604s ***** test 604s c = true; 604s assert (isequal (a(c), b(c))) 604s c = false; 604s assert (isequal (a(c), b(c))) 604s ***** test 604s c = [false true]; 604s assert (isequal (a(c), b(c))) 604s d = c | true; 604s assert (isequal (a(d), b(d))) 604s d = c & false; 604s assert (isequal (a(d), b(d))) 604s ***** test 604s c = [false true false true; true false true false; false true false true]; 604s assert (isequal (a(c), b(c))) 604s d = c | true; 604s assert (isequal (a(d), b(d))) 604s d = c & false; 604s assert (isequal (a(d), b(d))) 605s ***** test 605s c = [false true false true false]; 605s assert (isequal (a(c), b(c))) 605s d = c | true; 605s assert (isequal (a(d), b(d))) 605s d = c & false; 605s assert (isequal (a(d), b(d))) 605s ***** test 605s c = [false; true; false; true; false]; 605s assert (isequal (a(c), b(c))) 605s d = c | true; 605s assert (isequal (a(d), b(d))) 605s d = c & false; 605s assert (isequal (a(d), b(d))) 605s ***** test 605s c = [false true; false true; true false]; 605s assert (isequal (a(c), b(c))) 605s d = c | true; 605s assert (isequal (a(d), b(d))) 605s d = c & false; 605s assert (isequal (a(d), b(d))) 605s ***** shared 605s ***** test 605s % Orientation of empty results of logical indexing on row or column vectors 605s r = [1:6]; 605s c = r'; 605s ar = sym(r); 605s ac = sym(c); 605s assert (isequal (ar(false), r(false))) 605s assert (isequal (ac(false), c(false))) 605s assert (isequal (ar(false (1, 6)), r(false (1, 6)))) 605s assert (isequal (ac(false (1, 6)), c(false (1, 6)))) 605s assert (isequal (ar(false (6, 1)), r(false (6, 1)))) 605s assert (isequal (ac(false (6, 1)), c(false (6, 1)))) 606s 50 tests, 50 passed, 0 known failure, 0 skipped 606s [inst/@sym/sum.m] 606s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sum.m 606s ***** error sum (sym(1), 2, 3) 606s ***** error sum (sym(1), 42) 606s ***** shared x,y,z 606s syms x y z 606s ***** assert (isequal (sum (x), x)) 606s ***** assert (isequal (sum ([x y z]), x+y+z)) 606s ***** assert (isequal (sum ([x; y; z]), x+y+z)) 606s ***** assert (isequal (sum ([x y z], 1), [x y z])) 607s ***** assert (isequal (sum ([x y z], 2), x+y+z)) 607s ***** shared a,b 607s b = [1 2; 3 4]; a = sym(b); 607s ***** assert (isequal (sum(a), sum(b))) 607s ***** assert (isequal (sum(a,1), sum(b,1))) 607s ***** assert (isequal (sum(a,2), sum(b,2))) 607s ***** test 607s % weird inputs 607s a = sum('xx', sym(1)); 607s assert (isequal (a, sym('xx'))) 607s 11 tests, 11 passed, 0 known failure, 0 skipped 607s [inst/@sym/svd.m] 607s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/svd.m 607s ***** test 607s % basic 607s A = [1 2; 3 4]; 607s B = sym(A); 607s sd = svd(A); 607s s = svd(B); 607s s2 = double(s); 607s assert (norm(s2 - sd) <= 10*eps) 607s ***** test 607s % scalars 607s syms x 607s syms y positive 607s a = sym(-10); 607s assert (isequal (svd(a), sym(10))) 607s assert (isequal (svd(x), sqrt(x*conj(x)))) 607s assert (isequal (svd(y), y)) 607s ***** test 607s % matrix with symbols 607s syms x positive 607s A = [x+1 0; sym(0) 2*x+1]; 607s s = svd(A); 607s s2 = subs(s, x, 2); 607s assert (isequal (s2, [sym(5); 3])) 607s ***** test 607s % matrix with symbols 607s syms x positive 607s A = [x+1 0; sym(0) 2*x+1]; 607s s = svd(A); 607s s2 = subs(s, x, 2); 607s assert (isequal (s2, [sym(5); 3])) 608s ***** test 608s % matrix with symbols, nonneg sing values 608s syms x real 608s A = [x 0; 0 sym(-5)]; 608s s = svd(A); 608s assert (isequal (s, [abs(x); 5])) 608s 5 tests, 5 passed, 0 known failure, 0 skipped 608s [inst/@sym/sym.m] 608s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sym.m 608s ***** test 608s % integers 608s x = sym ('2'); 608s y = sym (2); 608s assert (isa (x, 'sym')) 608s assert (isa (y, 'sym')) 608s assert (isequal (x, y)) 608s ***** test 608s % infinity 608s for x = {'inf', '-inf', inf, -inf, 'Inf'} 608s y = sym (x{1}); 608s assert (isa (y, 'sym')) 608s assert (isinf (double (y))) 608s assert (isinf (y)) 608s end 608s ***** test 608s % pi 608s x = sym ('pi'); 608s assert (isa (x, 'sym')) 608s assert (isequal (sin (x), sym (0))) 608s assert (abs (double (x) - pi) < 2*eps ) 608s x = sym (pi); 608s assert (isa (x, 'sym')) 608s assert (isequal (sin (x), sym (0))) 608s assert (abs (double (x) - pi) < 2*eps ) 608s ***** test 608s % rationals 608s x = sym(1) / 3; 608s assert (isa (x, 'sym')) 608s assert (isequal (3*x - 1, sym (0))) 608s x = 1 / sym (3); 608s assert (isa (x, 'sym')) 608s assert (isequal (3*x - 1, sym (0))) 608s x = sym ('1/3'); 608s assert (isa (x, 'sym')) 608s assert (isequal (3*x - 1, sym (0))) 608s ***** test 608s % passing small rationals 608s x = sym ('1/2'); 608s assert (double (x) == 1/2 ) 608s assert (isequal (2*x, sym (1))) 609s ***** warning x = sym (1/2); 609s ***** test 609s % passing small rationals w/o quotes: despite the warning, 609s % it should work 609s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 609s x = sym (1/2); 609s warning (s) 609s assert (double (x) == 1/2 ) 609s assert (isequal (2*x, sym (1))) 609s ***** test 609s assert (isa (sym (pi), 'sym')) 609s assert (isa (sym ('beta'), 'sym')) 609s ***** test 609s % sym from array 609s D = [0 1; 2 3]; 609s A = [sym(0) 1; sym(2) 3]; 609s assert (isa (sym (D), 'sym')) 609s assert (isequal (size (sym (D)), size (D))) 609s assert (isequal (sym (D), A)) 609s ***** test 609s % more sym from array 609s syms x 609s A = [x x]; 609s assert (isequal (sym (A), A)) 609s A = [1 x]; 609s assert (isequal (sym (A), A)) 609s ***** test 609s %% assumptions and clearing them 609s clear variables % for matlab test script 609s x = sym('x', 'real'); 609s f = {x {2*x}}; 609s asm = assumptions(); 609s assert ( ~isempty(asm)) 609s s = warning ('off', 'OctSymPy:deprecated'); 609s x = sym('x', 'clear'); 609s warning (s) 609s asm = assumptions(); 609s assert ( isempty(asm)) 609s ***** test 609s %% matlab compat, syms x clear should add x to workspace 609s x = sym('x', 'real'); 609s f = 2*x; 609s clear x 609s assert (~logical(exist('x', 'var'))) 609s s = warning ('off', 'OctSymPy:deprecated'); 609s x = sym('x', 'clear'); 609s warning (s) 609s assert (logical(exist('x', 'var'))) 609s ***** test 609s %% assumptions should work if x is already a sym 609s x = sym('x'); 609s x = sym(x, 'real'); 609s assert (~isempty(assumptions(x))) 609s ***** test 609s %% likewise for clear 609s x = sym('x', 'real'); 609s f = 2*x; 609s s = warning ('off', 'OctSymPy:deprecated'); 609s x = sym(x, 'clear'); 609s warning (s) 609s assert (isempty(assumptions(x))) 609s assert (isempty(assumptions(f))) 609s ***** test 609s % bool 609s t = sym (false); 609s t = sym (true); 609s assert (logical (t)) 609s ***** test 609s % bool vec/mat 609s a = sym (1); 609s t = sym ([true false]); 609s assert (isequal (t, [a == 1 a == 0])) 609s t = sym ([true false; false true]); 609s assert (isequal (t, [a == 1 a == 0; a == 0 a == 1])) 610s ***** test 610s % symbolic matrix 610s A = sym ('A', [2 3]); 610s assert (isa (A, 'sym')) 610s assert (isequal (size (A), [2 3])) 610s A(1, 1) = 7; 610s assert (isa (A, 'sym')) 610s A = A + 1; 610s assert (isa (A, 'sym')) 610s ***** test 610s % symbolic matrix, symbolic but Integer size 610s A = sym ('A', sym([2 3])); 610s assert (isa (A, 'sym')) 610s assert (isequal (size (A), [2 3])) 610s ***** test 610s % symbolic matrix, subs in for size 610s syms n m integer 610s A = sym ('A', [n m]); 610s B = subs (A, [n m], [5 6]); 610s assert (isa (B, 'sym')) 610s assert (isequal (size (B), [5 6])) 610s ***** error sym('2*a', [2 3]) 610s ***** error sym(2*sym('a'), [2 3]) 610s ***** error sym('1', [2 3]) 610s ***** error sym(1, [2 3]) 610s ***** error 610s % TODO: symbolic tensor, maybe supported someday 610s sym('a', [2 3 4]) 610s ***** test 610s % 50 shapes of empty 610s a = sym (ones (0, 3)); 610s assert (isa (a, 'sym')) 610s assert (isequal (size (a), [0 3])) 610s a = sym (ones (2, 0)); 610s assert (isequal (size (a), [2 0])) 610s a = sym ([]); 610s assert (isequal (size (a), [0 0])) 610s ***** test 610s % moar empty 610s a = sym ('a', [0 3]); 610s assert (isa (a, 'sym')) 610s assert (isequal (size (a), [0 3])) 610s a = sym ('a', [2 0]); 610s assert (isa (a, 'sym')) 610s assert (isequal (size (a), [2 0])) 610s ***** test 610s % embedded sympy commands, various quotes, issue #143 610s a = sym ('a'); 610s a1 = sym ('Symbol("a")'); 610s a2 = sym ('Symbol(''a'')'); 610s assert (isequal (a, a1)) 610s assert (isequal (a, a2)) 610s % Octave only, and eval to hide from Matlab parser 610s if exist ('OCTAVE_VERSION', 'builtin') 610s eval( 'a3 = sym("Symbol(''a'')");' ); 610s eval( 'a4 = sym("Symbol(\"a\")");' ); 610s assert (isequal (a, a3)) 610s assert (isequal (a, a4)) 610s end 610s :18: SyntaxWarning: invalid escape sequence '\(' 610s :18: SyntaxWarning: invalid escape sequence '\(' 610s :18: SyntaxWarning: invalid escape sequence '\(' 610s :18: SyntaxWarning: invalid escape sequence '\(' 610s ***** test 610s % complex 610s x = sym(1 + 2i); 610s assert (isequal (x, sym(1)+sym(2)*1i)) 610s ***** test 610s % doubles bigger than int32 INTMAX should not fail 610s d = 4294967295; 610s a = sym (d); 610s assert (isequal (double (a), d)) 610s d = d + 123456; 610s a = sym (d); 610s assert (isequal (double (a), d)) 610s ***** test 610s % int32 integer types 610s a = sym (100); 610s b = sym (int32 (100)); 610s assert (isequal (a, b)) 610s ***** test 610s % int32 MAXINT integers 610s a = sym ('2147483647'); 610s b = sym (int32 (2147483647)); 610s assert (isequal (a, b)) 610s a = sym ('-2147483647'); 610s b = sym (int32 (-2147483647)); 610s assert (isequal (a, b)) 610s a = sym ('4294967295'); 610s b = sym (uint32 (4294967295)); 610s assert (isequal (a, b)) 610s ***** test 610s % int64 integer types 610s a = sym ('123456789012345'); 610s b = sym (int64(123456789012345)); 610s c = sym (uint64(123456789012345)); 610s assert (isequal (a, b)) 610s assert (isequal (a, c)) 611s ***** test 611s % integer arrays 611s a = int64 ([1 2 100]); 611s s = sym (a); 611s assert (isequal (double (a), [1 2 100])) 611s ***** test 611s % bigger int64 integer types 611s q = int64 (123456789012345); 611s w = 10000*q + 123; 611s a = sym ('1234567890123450123'); 611s b = sym (w); 611s assert (isequal (a, b)) 611s ***** test 611s % sym(double) heuristic 611s s = warning ('off', 'OctSymPy:sym:rationalapprox'); 611s x = sym(2*pi/3); 611s assert (isequal (x/sym(pi), sym(2)/3)) 611s x = sym(22*pi); 611s assert (isequal (x/sym(pi), sym(22))) 611s x = sym(pi/123); 611s assert (isequal (x/sym(pi), sym(1)/123)) 611s warning (s) 611s ***** test 611s % sym(double) with 'r': no warning 611s a = 0.1; 611s x = sym(a, 'r'); 611s assert (isequal (x, sym(1)/10)) 611s ***** test 611s % sym(double, 'f') 611s a = 0.1; 611s x = sym(a, 'f'); 611s assert (~isequal (x, sym(1)/10)) 611s assert (isequal (x, sym('3602879701896397')/sym('36028797018963968'))) 611s ***** test 611s x = sym(pi, 'f'); 611s assert (~isequal (x, sym('pi'))) 611s assert (isequal (x, sym('884279719003555')/sym('281474976710656'))) 611s ***** test 611s q = sym('3602879701896397')/sym('36028797018963968'); 611s x = sym(1 + 0.1i, 'f'); 611s assert (isequal (x, 1 + 1i*q)) 611s x = sym(0.1 + 0.1i, 'f'); 611s assert (isequal (x, q + 1i*q)) 612s ***** test 612s assert (isequal (sym(inf, 'f'), sym(inf))) 612s assert (isequal (sym(-inf, 'f'), sym(-inf))) 612s assert (isequaln (sym(nan, 'f'), sym(nan))) 612s assert (isequal (sym(complex(inf, -inf), 'f'), sym(complex(inf, -inf)))) 612s assert (isequaln (sym(complex(nan, inf), 'f'), sym(complex(nan, inf)))) 612s assert (isequaln (sym(complex(-inf, nan), 'f'), sym(complex(-inf, nan)))) 612s ***** test 612s assert (isequal (sym (sqrt(2), 'r'), sqrt (sym (2)))) 612s assert (isequal (sym (sqrt(12345), 'r'), sqrt (sym (12345)))) 612s ***** test 612s % symbols with special sympy names 612s syms Ei Eq 612s assert (~isempty (regexp (sympy (Eq), '^Symbol'))) 612s assert (~isempty (regexp (sympy (Ei), '^Symbol'))) 612s ***** test 612s % more symbols with special sympy names 612s x = sym('FF'); 612s assert (~isempty (regexp (x.pickle, '^Symbol'))) 612s x = sym('ff'); 612s assert (~isempty (regexp (x.pickle, '^Symbol'))) 612s ***** test 612s % E can be a sym not just exp(sym(1)) 612s syms E 612s assert (~logical (E == exp(sym(1)))) 612s ***** test 612s % e can be a symbol, not exp(sym(1)) 612s syms e 612s assert (~ logical (e == exp(sym(1)))) 612s ***** test 612s % double e 612s x = sym (exp (1)); 612s y = exp (sym (1)); 612s assert (isequal (x, y)) 612s if (exist ('OCTAVE_VERSION', 'builtin')) 612s x = sym (e); 612s assert (isequal (x, y)) 612s end 612s ***** test 612s x = sym (-exp (1)); 612s y = -exp (sym (1)); 612s assert (isequal (x, y)) 612s ***** assert (~ isequal (sym (exp(1)), sym (exp(1), 'f'))) 612s ***** warning sym (1e16); 612s ***** warning sym (-1e16); 612s ***** warning sym (10.33); 612s ***** warning sym (-5.23); 612s ***** warning sym (sqrt (1.4142135623731)); 612s ***** error 612s x = sym ('x', 'positive2'); 612s ***** error 612s x = sym ('x', 'integer', 'positive2'); 612s ***** error 612s x = sym ('x', 'integer2', 'positive'); 612s ***** error 612s x = sym ('-pi', 'positive') 612s ***** error 612s x = sym ('pi', 'integer') 612s ***** test 612s % multiple assumptions 612s n = sym ('n', 'negative', 'even'); 612s a = assumptions (n); 612s assert (strcmp (a, 'n: negative, even') || strcmp (a, 'n: even, negative')) 612s ***** error 612s % multiple assumptions as a list 612s % TODO: should this be allowed? 612s n = sym ('n', {'negative', 'even'}); 612s a = assumptions (n); 612s assert (strcmp (a, 'n: negative, even') || strcmp (a, 'n: even, negative')) 612s ***** error 612s n = sym ('n', {{'negative', 'even'}}); 613s ***** test 613s % save/load sym objects 613s syms x 613s y = 2*x; 613s a = 42; 613s myfile = tempname (); 613s save (myfile, 'x', 'y', 'a') 613s clear x y a 613s load (myfile) 613s assert (isequal (y, 2*x)) 613s assert (a == 42) 613s if (exist ('OCTAVE_VERSION', 'builtin')) 613s assert (unlink (myfile) == 0) 613s else 613s delete ([myfile '.mat']) 613s end 613s ***** test 613s a = sym ('2.1'); 613s b = sym (21) / 10; 613s %% https://github.com/sympy/sympy/issues/11703 613s assert (pycall_sympy__ ('return _ins[0] == _ins[1] and hash(_ins[0]) == hash(_ins[1])', a, b)) 613s ***** test 613s % issue #706 613s a = sym('Float("1.23")'); 613s assert (~ isempty (strfind (char (a), '.'))) 613s :18: SyntaxWarning: invalid escape sequence '\(' 613s ***** assert (isequal (sym({1 2 'a'}), [sym(1) sym(2) sym('a')])); 613s ***** error sym({1 2 'a'}, 'positive'); 613s ***** error sym({'a' 'b'}, 'positive'); 613s ***** test 613s a = sym ('--1'); 613s b = sym ('---1'); 613s assert (isequal (a, sym (1))) 613s assert (isequal (b, sym (-1))) 613s ***** test 613s % num2cell works on sym arrays 613s syms x 613s C1 = num2cell ([x 2 3; 4 5 6*x]); 613s assert (iscell (C1)) 613s assert (isequal (size (C1), [2 3])) 613s assert (isequal (C1{1,1}, x)) 613s assert (isequal (C1{2,3}, 6*x)) 613s assert (isequal (C1{1,3}, sym(3))) 613s assert (isa (C1{1,3}, 'sym')) 613s ***** test 613s % function_handle 613s f = @(x, y) y*sin(x); 613s syms x y 613s assert (isequal (sym (f), y*sin(x))); 613s f = @(x) 42; 613s assert (isequal (sym (f), sym (42))); 613s f = @() 42; 613s assert (isequal (sym (f), sym (42))); 613s :18: SyntaxWarning: invalid escape sequence '\(' 613s :18: SyntaxWarning: invalid escape sequence '\(' 613s :18: SyntaxWarning: invalid escape sequence '\(' 613s ***** error 613s % function_handle 613s f = @(x) A*sin(x); 613s sym (f) 613s :18: SyntaxWarning: invalid escape sequence '\(' 613s ***** test 613s % Issue #885 613s clear f x % if test not isolated (e.g., on matlab) 613s syms x 613s f(x) = sym('S(x)'); 613s f(x) = sym('I(x)'); 613s f(x) = sym('O(x)'); 613s :18: SyntaxWarning: invalid escape sequence '\(' 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % sym(sympy(x) == x identity, Issue #890 614s syms x 614s f = exp (1i*x); 614s s = sympy (f); 614s g = sym (s); 614s assert (isequal (f, g)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % sym(sympy(x) == x identity 614s % Don't mistake "pi" (which is "srepr(S.Pi)") for a symfun variable 614s f = sym ('ff(pi, pi)'); 614s s1 = sympy (f); 614s s2 = 'FallingFactorial(pi, pi)'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % sym(sympy(x) == x identity 614s % Don't mistake "I" (which is "srepr(S.ImaginaryUnit)") for a symfun variable 614s f = sym ('sin(I)'); 614s g = 1i*sinh (sym (1)); 614s assert (isequal (f, g)) 614s s = sympy (f); 614s assert (isempty (strfind (s, 'Function'))) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** error 614s % sym(sympy(x) == x identity 614s % Don't mistake "true/false" (which is "srepr(S.true)") for a symfun variable 614s % (Used to print as `S.true` but just `true` in sympy 1.2) 614s sym ('E(true,false)') 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % some variable names that are special to sympy but should not be for us 614s f = sym ('f(S, Q, C, O, N)'); 614s s1 = sympy (f); 614s s2 = 'Function(''f'')(Symbol(''S''), Symbol(''Q''), Symbol(''C''), Symbol(''O''), Symbol(''N''))'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % For SMT 2014 compatibilty, I and E would become ImaginaryUnit and Exp(1) 614s % but I'm not sure this is by design. This test would need to change if 614s % we want stricter SMT compatibilty. 614s f = sym ('f(x, I, E)'); 614s s1 = sympy (f); 614s s2 = 'Function(''f'')(Symbol(''x''), Symbol(''I''), Symbol(''E''))'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % not the identity, force symfun 614s f = sym ('FF(w)'); 614s s1 = sympy (f); 614s s2 = 'Function(''FF'')(Symbol(''w''))'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % not the identity, force symfun 614s f = sym ('FF(w, pi)'); 614s s1 = sympy (f); 614s s2 = 'Function(''FF'')(Symbol(''w''), pi)'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % not the identity, force symfun 614s f = sym ('ff(x, y)'); 614s s1 = sympy (f); 614s s2 = 'Function(''ff'')(Symbol(''x''), Symbol(''y''))'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s ***** test 614s % But this one should satisfy "sym(sympy(x) == x" identity 614s % (OOTB, SymPy has ff -> FallingFactorial) 614s f = sym ('FallingFactorial(x, y)'); 614s s1 = sympy (f); 614s s2 = 'FallingFactorial(Symbol(''x''), Symbol(''y''))'; 614s assert (strcmp (s1, s2)) 614s :18: SyntaxWarning: invalid escape sequence '\(' 614s 82 tests, 82 passed, 0 known failure, 0 skipped 614s [inst/@sym/sym2poly.m] 614s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sym2poly.m 614s ***** shared x,y,a,b,c 614s syms x y a b c 614s ***** assert (isequal (sym2poly (x^2 + 3*x - 4), [1 3 -4])) 614s ***** assert (isequal (sym2poly (x^6 - x^3), [1 0 0 -1 0 0 0])) 615s ***** assert (isequal (sym2poly (x^2 + 3*x - 4, x), [1 3 -4])) 615s ***** assert (norm (sym2poly (pi*x^2 + exp(sym(1))) - [pi 0 exp(1)]) < 10*eps) 615s ***** assert (isa (sym2poly (x^2 + 3*x - 4), 'double')) 615s ***** assert (isa (sym2poly (x^2 + 3*x - 4, x), 'sym')) 615s ***** assert (isequal (sym2poly (x^2+y*x, x), [sym(1) y sym(0)])) 616s ***** assert (isequal (sym2poly (x^2+y*x, y), [x x^2])) 616s ***** assert (isequal (sym2poly (poly2sym ([a b c], x), x), [a b c])) 616s ***** assert (isequal (poly2sym (sym2poly(a*x^2 + c, x), x), a*x^2 + c)) 616s ***** assert (isequal (sym2poly (poly2sym ([1 2 3])), [1 2 3])) 617s ***** error 617s % too many symbols for single-input 617s p = a*x^2 + 2; 617s c = sym2poly (p); 617s ***** assert (isequal (sym2poly (sym(5)), sym(5))) 617s 13 tests, 13 passed, 0 known failure, 0 skipped 617s [inst/@sym/symprod.m] 617s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/symprod.m 617s ***** error symprod (sym(1), 2, 3, 4, 5) 617s ***** test 617s % simple 617s syms n 617s assert (isequal (symprod(n, n, 1, 10), factorial(sym(10)))) 617s assert (isequal (symprod(n, n, sym(1), sym(10)), factorial(10))) 617s ***** test 617s % one input 617s syms n 617s f = symprod (n); 617s g = factorial (n); 617s assert (isequal (f, g)) 617s f = symprod (2*n); 617s g = 2^n * factorial (n); 617s assert (isequal (f, g)) 617s ***** test 617s % constant input 617s f = symprod (sym(2)); 617s syms x 617s g = 2^x; 617s assert (isequal (f, g)) 617s ***** test 617s % two inputs 617s syms n 617s f = symprod (2*n, n); 617s g = 2^n * factorial (n); 617s assert (isequal (f, g)) 617s ***** test 617s % two inputs, second is range 617s syms n 617s f = symprod (n, [1 6]); 617s g = 720; 617s assert (isequal (f, g)) 617s f = symprod (n, [sym(1) 6]); 617s g = 720; 617s assert (isequal (f, g)) 617s f = symprod (2*n, [1 6]); 617s g = sym(2)^6*720; 617s assert (isequal (f, g)) 618s ***** test 618s % three inputs, last is range 618s syms n 618s f = symprod (2*n, n, [1 4]); 618s g = sym(384); 618s assert (isequal (f, g)) 618s f = symprod (2*n, n, [sym(1) 4]); 618s g = sym(384); 618s assert (isequal (f, g)) 618s f = symprod (2, n, [sym(1) 4]); 618s g = sym(16); 618s assert (isequal (f, g)) 618s ***** test 618s % three inputs, no range 618s syms n 618s f = symprod (2*n, 1, 4); 618s g = sym(384); 618s assert (isequal (f, g)) 618s f = symprod (5, sym(1), 3); 618s g = sym(125); 618s assert (isequal (f, g)) 618s ***** test 618s % infinite product 618s syms a n oo 618s zoo = sym('zoo'); 618s assert (isequal (symprod(a, n, 1, oo), a^oo)) 618s assert (isequal (symprod(a, n, 1, inf), a^oo)) 619s 9 tests, 9 passed, 0 known failure, 0 skipped 619s [inst/@sym/sympy.m] 619s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/sympy.m 619s ***** assert (strcmp (sympy (sym(pi)), 'pi')) 619s ***** assert (strcmp (sympy (sym(1)), 'Integer(1)')) 619s ***** assert (strcmp (sympy (sym(2)/3), 'Rational(2, 3)')) 619s ***** assert (strcmp (sympy (sym('x')), 'Symbol(''x'')')) 619s ***** test 619s x = sym('x'); 619s assert (isequal (sym(sympy(x)), x)) 619s :18: SyntaxWarning: invalid escape sequence '\(' 619s 5 tests, 5 passed, 0 known failure, 0 skipped 619s [inst/@sym/symreplace.m] 619s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/symreplace.m 619s ***** test 619s % start with assumptions on x then remove them 619s syms x positive 619s f = x*10; 619s symreplace(x, sym('x')) 619s assert(isempty(assumptions(x))) 619s ***** test 619s % replace x with y 619s syms x 619s f = x*10; 619s symreplace(x, sym('y')) 619s assert( isequal (f, 10*sym('y'))) 619s ***** test 619s % gets inside cells 619s syms x 619s f = {x 1 2 {3 4*x}}; 619s symreplace(x, sym('y')) 619s syms y 619s assert( isequal (f{1}, y)) 619s assert( isequal (f{4}{2}, 4*y)) 619s ***** test 619s % gets inside structs/cells 619s syms x 619s my.foo = {x 1 2 {3 4*x}}; 619s my.bar = x; 619s g = {'ride' my 'motor' 'sicle'}; 619s symreplace(x, sym('y')) 619s syms y 619s f = g{2}; 619s assert( isequal (f.foo{1}, y)) 619s assert( isequal (f.foo{4}{2}, 4*y)) 619s assert( isequal (f.bar, y)) 619s 4 tests, 4 passed, 0 known failure, 0 skipped 619s [inst/@sym/symsum.m] 619s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/symsum.m 619s ***** error symsum (sym(1), 2, 3, 4, 5) 619s ***** test 619s % finite sums 619s syms n 619s assert (isequal (symsum(n,n,1,10), 55)) 619s assert(isa(symsum(n,n,1,10), 'sym')) 619s assert (isequal (symsum(n,n,sym(1),sym(10)), 55)) 619s assert (isequal (symsum(n,n,sym(1),sym(10)), 55)) 619s assert (isequal (symsum(1/n,n,1,10), sym(7381)/2520)) 620s ***** test 620s % negative limits 620s syms n 620s assert (isequal (symsum(n,n,-3,3), sym(0))) 620s assert (isequal (symsum(n,n,-3,0), sym(-6))) 620s assert (isequal (symsum(n,n,-3,-1), sym(-6))) 620s ***** test 620s % one input 620s syms n 620s f = symsum (n); 620s g = n^2/2 - n/2; 620s assert (isequal (f, g)) 620s f = symsum (2*n); 620s g = n^2 - n; 620s assert (isequal (f, g)) 620s ***** test 620s % constant input 620s f = symsum (sym(2)); 620s syms x 620s g = 2*x; 620s assert (isequal (f, g)) 620s ***** test 620s % two inputs 620s syms n 620s f = symsum (2*n, n); 620s g = n^2 - n; 620s assert (isequal (f, g)) 621s ***** test 621s % two inputs, second is range 621s syms n 621s f = symsum (n, [1 6]); 621s g = 21; 621s assert (isequal (f, g)) 621s f = symsum (n, [sym(1) 6]); 621s g = 21; 621s assert (isequal (f, g)) 621s f = symsum (2*n, [1 6]); 621s g = 2*21; 621s assert (isequal (f, g)) 621s ***** test 621s % three inputs, last is range 621s syms n 621s f = symsum (2*n, n, [1 4]); 621s g = sym(20); 621s assert (isequal (f, g)) 621s f = symsum (2*n, n, [sym(1) 4]); 621s g = sym(20); 621s assert (isequal (f, g)) 621s f = symsum (2, n, [sym(1) 4]); 621s g = sym(8); 621s assert (isequal (f, g)) 621s ***** test 621s % three inputs, no range 621s syms n 621s f = symsum (2*n, 1, 4); 621s g = sym(20); 621s assert (isequal (f, g)) 621s f = symsum (5, sym(1), 3); 621s g = sym(15); 621s assert (isequal (f, g)) 621s ***** test 621s % ok to use double's for arguments in infinite series 621s syms n oo 621s assert(isequal(symsum(1/n^2,n,1,oo), sym(pi)^2/6)) 621s assert(isequal(symsum(1/n^2,n,1,inf), sym(pi)^2/6)) 622s ***** test 622s % should be oo because 1 is real but seems to be 622s % zoo/oo depending on sympy version 622s syms n oo 622s zoo = sym('zoo'); 622s assert (isequal (symsum(1/n,n,1,oo), oo) || ... 622s isequal (symsum(1/n,n,1,oo), zoo)) 622s 11 tests, 11 passed, 0 known failure, 0 skipped 622s [inst/@sym/symvar.m] 622s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/symvar.m 622s ***** error symvar (sym(1), 2, 3) 622s ***** test 622s %% some empty cases 622s assert (isempty (symvar (sym(1)))); 622s assert (isempty (symvar (sym(1),1))); 622s assert (isempty (symvar (sym(1),0))); 622s assert (isempty (symvar (sym('x'),0))); 622s ***** shared x,y,f 622s x=sym('x'); y=sym('y'); f=x^2+3*x*y-y^2; 622s ***** assert (isequal (symvar (f), [x y])); 622s ***** assert (isequal (symvar (f, 1), x)); 622s ***** test 622s %% closest to x 622s syms x y a b c xx 622s alpha = sym('alpha'); 622s % https://www.mathworks.com/matlabcentral/newsreader/view_thread/237730 622s assert( isequal (symvar (b*xx*exp(alpha) + c*sin(a*y), 2), [xx y])) 622s %% tests to match Matlab R2013b 623s ***** shared x,y,z,a,b,c,X,Y,Z 623s syms x y z a b c X Y Z 623s ***** test 623s %% X,Y,Z first if no 2nd argument 623s s = prod([x y z a b c X Y Z]); 623s assert (isequal( symvar (s), [X Y Z a b c x y z] )) 623s ***** test 623s %% uppercase have *low* priority with argument? 623s s = prod([x y z a b c X Y Z]); 623s assert (isequal (symvar (s,4), [x, y, z, c] )) 623s ***** test 623s %% closest to x 623s s = prod([y z a b c Y Z]); 623s assert (isequal( symvar (s,6), [ y, z, c, b, a, Y] )) 623s s = prod([a b c Y Z]); 623s assert (isequal( symvar (s,4), [ c, b, a, Y] )) 623s ***** test 623s %% upper case letters in correct order 623s s = X*Y*Z; 623s assert (isequal( symvar (s,3), [X Y Z] )) 624s ***** test 624s % diff. assumptions make diff. symbols 624s x1 = sym('x'); 624s x2 = sym('x', 'positive'); 624s f = x1*x2; 624s assert (length (symvar (f)) == 2) 624s z = symvar (f, 1); 624s assert (xor (isequal (z, x1), isequal (z, x2))) 624s 10 tests, 10 passed, 0 known failure, 0 skipped 624s [inst/@sym/tan.m] 624s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/tan.m 624s ***** error tan (sym(1), 2) 624s ***** assert (isequaln (tan (sym(nan)), sym(nan))) 624s ***** shared x, d 624s d = 1; 624s x = sym('1'); 624s ***** test 624s f1 = tan(x); 624s f2 = tan(d); 624s assert( abs(double(f1) - f2) < 1e-15 ) 624s ***** test 624s D = [d d; d d]; 624s A = [x x; x x]; 624s f1 = tan(A); 624s f2 = tan(D); 624s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 624s ***** test 624s % round trip 624s y = sym('y'); 624s A = tan (d); 624s f = tan (y); 624s h = function_handle (f); 624s B = h (d); 624s assert (A, B, -eps) 624s 5 tests, 5 passed, 0 known failure, 0 skipped 624s [inst/@sym/tand.m] 624s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/tand.m 624s ***** error tand (sym(1), 2) 624s ***** assert (isequaln (tand (sym(nan)), sym(nan))) 624s ***** test 624s f1 = tand (sym(1)); 624s f2 = tand (1); 624s assert (double (f1), f2, -eps) 624s ***** test 624s D = [10 30; 110 -45]; 624s A = sym(D); 624s f1 = tand (A); 624s f2 = tand (D); 624s assert (double (f1), f2, -eps) 624s 4 tests, 4 passed, 0 known failure, 0 skipped 624s [inst/@sym/tanh.m] 624s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/tanh.m 624s ***** error tanh (sym(1), 2) 624s ***** assert (isequaln (tanh (sym(nan)), sym(nan))) 624s ***** shared x, d 624s d = 1; 624s x = sym('1'); 624s ***** test 624s f1 = tanh(x); 624s f2 = tanh(d); 624s assert( abs(double(f1) - f2) < 1e-15 ) 624s ***** test 624s D = [d d; d d]; 624s A = [x x; x x]; 624s f1 = tanh(A); 624s f2 = tanh(D); 624s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 625s ***** test 625s % round trip 625s y = sym('y'); 625s A = tanh (d); 625s f = tanh (y); 625s h = function_handle (f); 625s B = h (d); 625s assert (A, B, -eps) 625s 5 tests, 5 passed, 0 known failure, 0 skipped 625s [inst/@sym/taylor.m] 625s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/taylor.m 625s ***** test 625s syms x 625s f = exp(x); 625s expected = 1 + x + x^2/2 + x^3/6 + x^4/24 + x^5/120; 625s assert (isequal (taylor(f), expected)) 625s assert (isequal (taylor(f,x), expected)) 625s assert (isequal (taylor(f,x,0), expected)) 625s ***** test 625s syms x 625s f = exp(x); 625s expected = 1 + x + x^2/2 + x^3/6 + x^4/24; 625s assert (isequal (taylor(f,'order',5), expected)) 625s assert (isequal (taylor(f,x,'order',5), expected)) 625s assert (isequal (taylor(f,x,0,'order',5), expected)) 626s ***** test 626s % key/value ordering doesn't matter 626s syms x 626s f = exp(x); 626s g1 = taylor(f, 'expansionPoint', 1, 'order', 3); 626s g2 = taylor(f, 'order', 3, 'expansionPoint', 1); 626s assert (isequal (g1, g2)) 626s ***** test 626s syms x 626s f = x^2; 626s assert (isequal (taylor(f,x,0,'order',0), 0)) 626s assert (isequal (taylor(f,x,0,'order',1), 0)) 626s assert (isequal (taylor(f,x,0,'order',2), 0)) 626s assert (isequal (taylor(f,x,0,'order',3), x^2)) 626s assert (isequal (taylor(f,x,0,'order',4), x^2)) 626s ***** test 626s syms x y 626s f = exp(x)+exp(y); 626s expected = 2 + x + x^2/2 + x^3/6 + x^4/24 + y + y^2/2 + y^3/6 + y^4/24; 626s assert (isAlways(taylor(f,[x,y],'order',5)== expected)) 626s assert (isAlways(taylor(f,[x,y],[0,0],'order',5) == expected)) 627s ***** test 627s % key/value ordering doesn't matter 627s syms x 627s f = exp(x); 627s g1 = taylor(f, 'expansionPoint', 1, 'order', 3); 627s g2 = taylor(f, 'order', 3, 'expansionPoint', 1); 627s assert (isequal (g1, g2)) 627s ***** test 627s syms x 627s f = x^2; 627s assert (isequal (taylor(f,x,0,'order',0), 0)) 627s assert (isequal (taylor(f,x,0,'order',1), 0)) 627s assert (isequal (taylor(f,x,0,'order',2), 0)) 627s assert (isequal (taylor(f,x,0,'order',3), x^2)) 627s assert (isequal (taylor(f,x,0,'order',4), x^2)) 628s ***** test 628s % syms for a and order 628s syms x 628s f = x^2; 628s assert (isequal (taylor(f,x,sym(0),'order',sym(2)), 0)) 628s assert (isequal (taylor(f,x,sym(0),'order',sym(4)), x^2)) 628s ***** test 628s syms x y 628s f = exp (x^2 + y^2); 628s expected = 1+ x^2 +y^2 + x^4/2 + x^2*y^2 + y^4/2; 628s assert (isAlways(taylor(f,[x,y],'order',5)== expected)) 628s assert (isAlways(taylor(f,[x,y],'expansionPoint', [0,0],'order',5) == expected)) 629s ***** test 629s syms x y 629s f = sqrt(1+x^2+y^2); 629s expected = 1+ x^2/2 +y^2/2 - x^4/8 - x^2*y^2/4 - y^4/8; 629s assert (isAlways(taylor(f,[x,y],'order',6)== expected)) 629s assert (isAlways(taylor(f,[x,y],'expansionPoint', [0,0],'order',5) == expected)) 630s ***** test 630s syms x y 630s f = sin (x^2 + y^2); 630s 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; 630s assert (isAlways(taylor(f,[x,y],'expansionPoint', [1,0],'order',3) == expected)) 630s ***** test 630s % key/value ordering doesn't matter 630s syms x y 630s f = exp(x+y); 630s g1 = taylor(f, 'expansionPoint',1, 'order', 3); 630s g2 = taylor(f, 'order', 3, 'expansionPoint',1); 630s assert (isAlways(g1== g2)) 631s ***** test 631s syms x y 631s f = x^2 + y^2; 631s assert (isAlways(taylor(f,[x,y],[0,0],'order',0)== sym(0) )) 631s assert (isAlways(taylor(f,[x,y],[0,0],'order',1)== sym(0) )) 631s assert (isAlways(taylor(f,[x,y],[0,0],'order',2)== sym(0) )) 631s assert (isAlways(taylor(f,[x,y],[0,0],'order',3)== sym(x^2 + y^2))) 631s assert (isAlways(taylor(f,[x,y],[0,0],'order',4)== sym(x^2 + y^2))) 631s ***** test 631s % expansion point 631s syms x a 631s f = x^2; 631s g = taylor(f,x,2); 631s assert (isequal (simplify(g), f)) 631s assert (isequal (g, 4*x+(x-2)^2-4)) 631s g = taylor(f,x,a); 631s assert (isequal (simplify(g), f)) 631s ***** test 631s % wrong order-1 series with nonzero expansion pt: 631s % upstream bug https://github.com/sympy/sympy/issues/9351 631s syms x 631s g = x^2 + 2*x + 3; 631s h = taylor (g, x, 4, 'order', 1); 631s assert (isequal (h, 27)) 632s ***** test 632s syms x y z 632s g = x^2 + 2*y + 3*z; 632s h = taylor (g, [x,y,z], 'order', 4); 632s assert (isAlways(h == g)) ; 632s ***** test 632s syms x y z 632s g = sin(x*y*z); 632s h = taylor (g, [x,y,z], 'order', 4); 632s assert (isAlways(h == x*y*z)) ; 632s ***** error 632s syms x y 632s taylor(0, [x, y], [1, 2, 3]); 632s 18 tests, 18 passed, 0 known failure, 0 skipped 632s [inst/@sym/times.m] 632s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/times.m 632s ***** test 632s % scalar 632s syms x 632s assert (isa (x.*2, 'sym')) 632s assert (isequal (x.*2, x*2)) 632s assert (isequal (2.*sym(3), sym(6))) 632s assert (isequal (sym(2).*3, sym(6))) 632s ***** test 632s % matrix-matrix and matrix-scalar 632s D = [0 1; 2 3]; 632s A = sym(D); 632s assert (isequal ( 2.*A , 2*D )) 632s assert (isequal ( A.*2 , 2*D )) 632s assert (isequal ( A.*A , D.*D )) 632s assert (isequal ( A.*D , D.*D )) 632s assert (isequal ( D.*A , D.*D )) 633s ***** test 633s syms x 633s A = [1 x]; 633s B = [2 3]; 633s assert (isequal (A.*B, [2 3*x])) 633s ***** test 633s % immutable test 633s A = sym([1 2]); 633s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)]])'); 633s assert (isequal (A.*A, B.*B)) 633s :18: SyntaxWarning: invalid escape sequence '\(' 633s ***** test 633s % MatrixSymbol test 633s A = sym([1 2; 3 4]); 633s B = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 633s C = sym('MatrixSymbol("C", 2, 2)'); 633s assert (~ isempty (strfind (sympy (C.*C), 'Hadamard'))) 633s assert (~ isempty (strfind (sympy (A.*C), 'Hadamard'))) 633s assert (~ isempty (strfind (sympy (C.*A), 'Hadamard'))) 633s assert (~ isempty (strfind (sympy (B.*C), 'Hadamard'))) 633s assert (~ isempty (strfind (sympy (C.*B), 'Hadamard'))) 633s :18: SyntaxWarning: invalid escape sequence '\(' 633s :18: SyntaxWarning: invalid escape sequence '\(' 633s 5 tests, 5 passed, 0 known failure, 0 skipped 633s [inst/@sym/toeplitz.m] 633s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/toeplitz.m 633s ***** test 633s % rect 633s R = [10 20 40]; C = [10 30]; 633s A = sym(toeplitz(R,C)); 633s B = toeplitz(sym(R),sym(C)); 633s assert (isequal (A, B)) 633s R = [10 20]; C = [10 30 50]; 633s A = sym(toeplitz(R,C)); 633s B = toeplitz(sym(R),sym(C)); 633s assert (isequal (A, B)) 634s ***** test 634s % symbols 634s syms x y 634s R = [10 20 40]; C = [10 30]; 634s Rs = [10 x 40]; Cs = [10 y]; 634s A = toeplitz(R,C); 634s B = toeplitz(Rs,Cs); 634s assert (isequal (A, subs(B,[x,y],[20 30]))) 634s ***** test 634s % hermitian 634s syms a b c 634s A = [a b c; conj(b) a b; conj(c) conj(b) a]; 634s B = toeplitz([a,b,c]); 634s assert (isequal( A, B)) 634s ***** warning 634s % mismatch 634s syms x 634s B = toeplitz([10 x], [1 3 x]); 635s ***** warning 635s % scalar 635s B = toeplitz(sym(2), 3); 635s assert (isequal (B, sym(2))) 635s ***** test 635s % mismatch 635s syms x y 635s fprintf('\n one warning expected\n') % how to quiet this one? 635s A = toeplitz([10 2], [1 3 5]); 635s s = warning ('off', 'OctSymPy:toeplitz:diagconflict'); 635s B = toeplitz([10 x], [1 3 y]); 635s warning(s) 635s assert (isequal (A, subs(B, [x,y], [2 5]))) 635s 635s one warning expected 635s warning: toeplitz: column wins diagonal conflict 635s warning: called from 635s toeplitz at line 84 column 7 635s __test__ at line 6 column 4 635s test at line 682 column 11 635s /tmp/tmp.SrN4j7ZoKD at line 2342 column 31 635s 635s 6 tests, 6 passed, 0 known failure, 0 skipped 635s [inst/@sym/trace.m] 635s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/trace.m 635s ***** test 635s % scalar 635s syms x 635s assert (isequal (trace(x), x)) 635s ***** test 635s syms x 635s A = [x 3; 2*x 5]; 635s assert (isequal (trace(A), x + 5)) 635s 2 tests, 2 passed, 0 known failure, 0 skipped 635s [inst/@sym/transpose.m] 635s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/transpose.m 635s ***** test 635s x = sym(1); 635s assert (isequal (x.', x)) 635s ***** assert (isempty (sym([]).')) 635s ***** test 635s syms x; 635s assert (isequal (x.', x)) 635s ***** test 635s A = [1 2; 3 4]; 635s assert(isequal( sym(A).' , sym(A.') )) 635s ***** test 635s A = [1 2] + 1i; 635s assert(isequal( sym(A).' , sym(A.') )) 636s 5 tests, 5 passed, 0 known failure, 0 skipped 636s [inst/@sym/tril.m] 636s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/tril.m 636s ***** test 636s syms x 636s assert (isequal (tril(x), x)) 636s ***** test 636s % with symbols 636s syms x 636s A = [x 2*x; 3*x 4*x]; 636s assert (isequal (tril(A), [x 0; 3*x 4*x])) 636s ***** test 636s % diagonal shifts 636s B = round(10*rand(3,4)); 636s A = sym(B); 636s assert (isequal (tril(A), tril(B))) 636s assert (isequal (tril(A,0), tril(B,0))) 636s assert (isequal (tril(A,1), tril(B,1))) 636s assert (isequal (tril(A,-1), tril(B,-1))) 637s ***** test 637s % double array pass through 637s B = round(10*rand(3,4)); 637s assert (isequal (tril(B,sym(1)), tril(B,1))) 637s assert (isa (tril(B,sym(1)), 'double')) 637s 4 tests, 4 passed, 0 known failure, 0 skipped 637s [inst/@sym/triu.m] 637s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/triu.m 637s ***** test 637s % scalar 637s syms x 637s assert (isequal (triu(x), x)) 637s assert (isequal (triu(x,0), x)) 637s assert (isequal (triu(x,1), 0)) 637s assert (isequal (triu(x,-1), 0)) 637s ***** test 637s % with symbols 637s syms x 637s A = [x 2*x; 3*x 4*x]; 637s assert (isequal (triu(A), [x 2*x; 0 4*x])) 637s ***** test 637s % diagonal shifts 637s B = round(10*rand(3,4)); 637s A = sym(B); 637s assert (isequal (triu(A), triu(B))) 637s assert (isequal (triu(A,0), triu(B,0))) 637s assert (isequal (triu(A,1), triu(B,1))) 637s assert (isequal (triu(A,-1), triu(B,-1))) 638s ***** test 638s % double array pass through 638s B = round(10*rand(3,4)); 638s assert (isequal (triu(B,sym(1)), triu(B,1))) 638s assert (isa (triu(B,sym(1)), 'double')) 638s ***** test 638s % immutable test 638s A = sym('ImmutableDenseMatrix([[Integer(1), Integer(2)], [Integer(3), Integer(4)]])'); 638s assert (isequal (triu (A), sym ([1 2; 0 4]))) 638s assert (isequal (tril (A), sym ([1 0; 3 4]))) 638s :18: SyntaxWarning: invalid escape sequence '\(' 639s 5 tests, 5 passed, 0 known failure, 0 skipped 639s [inst/@sym/uminus.m] 639s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/uminus.m 639s ***** test 639s % scalar 639s syms x 639s assert (isa (-x, 'sym')) 639s assert (isequal (-(-x), x)) 639s ***** test 639s % matrix 639s D = [0 1; 2 3]; 639s A = sym(D); 639s assert( isequal( -A, -D )) 639s 2 tests, 2 passed, 0 known failure, 0 skipped 639s [inst/@sym/union.m] 639s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/union.m 639s ***** test 639s A = sym([1 2 3]); 639s B = sym([1 2 4]); 639s C = union(A, B); 639s D = sym([1 2 3 4]); 639s assert (isequal (C, D)) 639s ***** test 639s % one nonsym 639s A = sym([1 2 3]); 639s B = [1 2 4]; 639s C = union(A, B); 639s D = sym([1 2 3 4]); 639s assert (isequal (C, D)) 639s ***** test 639s % empty 639s A = sym([1 2 3]); 639s C = union(A, A); 639s assert (isequal(C, A)) 639s ***** test 639s % empty input 639s A = sym([1 2]); 639s C = union(A, []); 639s assert (isequal (C, sym([1 2]))) 639s ***** test 639s % scalar 639s syms x 639s assert (isequal (union([x 1], x), [1 x])) 639s assert (isequal (union(x, x), x)) 639s ***** test 639s A = interval(sym(1), 3); 639s B = interval(sym(2), 5); 639s C = union(A, B); 639s assert( isequal( C, interval(sym(1), 5))) 639s 6 tests, 6 passed, 0 known failure, 0 skipped 639s [inst/@sym/unique.m] 639s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/unique.m 639s ***** test 639s A = sym([1 2 3 3 5 3 2 6 5]); 639s B = sym([1 2 3 5 6]); 639s assert (isequal (unique(A), B)) 640s ***** test 640s syms x y 640s A = [1 2 3 3 4 5 5 6 7 7 x x y y]; 640s B = [1 2 3 4 5 6 7 x y]; 640s assert (isequal (unique(A), B)) 640s ***** test 640s syms x 640s assert (isequal (unique(x), x)) 640s 3 tests, 3 passed, 0 known failure, 0 skipped 640s [inst/@sym/uplus.m] 640s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/uplus.m 640s ***** test 640s syms x 640s assert (isa (+x, 'sym')) 640s assert (isequal (+x, x)) 640s ***** test 640s A = sym([0 -1 inf]); 640s assert( isequal ( +A, A)) 640s 2 tests, 2 passed, 0 known failure, 0 skipped 640s [inst/@sym/vertcat.m] 640s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/vertcat.m 640s ***** test 640s % basic 640s syms x 640s A = [x; x]; 640s B = vertcat(x, x); 640s C = vertcat(x, x, x); 640s assert (isa (A, 'sym')) 640s assert (isa (B, 'sym')) 640s assert (isa (C, 'sym')) 640s assert (isequal (size(A), [2 1])) 640s assert (isequal (size(B), [2 1])) 640s assert (isequal (size(C), [3 1])) 640s ***** test 640s % basic, part 2 640s syms x 640s A = [x; 1]; 640s B = [1; x]; 640s C = [1; 2; x]; 640s assert (isa (A, 'sym')) 640s assert (isa (B, 'sym')) 640s assert (isa (C, 'sym')) 640s assert (isequal (size(A), [2 1])) 640s assert (isequal (size(B), [2 1])) 640s assert (isequal (size(C), [3 1])) 640s ***** test 640s % column vectors 640s a = [sym(1); 2]; 640s b = [sym(3); 4]; 640s assert (isequal ( [a;b] , [1; 2; 3; 4] )) 640s assert (isequal ( [a;b;a] , [1; 2; 3; 4; 1; 2] )) 640s ***** test 640s % row vectors 640s a = [sym(1) 2]; 640s b = [sym(3) 4]; 640s assert (isequal ( [a;b] , [1 2; 3 4] )) 640s assert (isequal ( [a;b;a] , [1 2; 3 4; 1 2] )) 641s ***** test 641s % row vector, other row 641s a = [sym(1) 2]; 641s assert (isequal ( [a; [sym(3) 4]] , [1 2; 3 4] )) 641s ***** test 641s % empty vectors 641s v = [sym(1) sym(2)]; 641s a = [v; []]; 641s assert (isequal (a, v)) 641s a = [[]; v; []]; 641s assert (isequal (a, v)) 641s a = [v; []; []]; 641s assert (isequal (a, v)) 641s ***** xtest 641s % FIXME: is this Octave bug? worth worrying about 641s syms x 641s a = [x; [] []]; 641s assert (isequal (a, x)) 641s !!!!! known failure 641s octave_base_value::map_value(): wrong type argument 'null_matrix' 641s ***** test 641s % more empty vectors 641s v = [sym(1) sym(2)]; 641s q = sym(ones(0, 2)); 641s assert (isequal ([v; q], v)) 641s ***** error 641s v = [sym(1) sym(2)]; 641s q = sym(ones(0, 3)); 641s w = vertcat(v, q); 641s ***** test 641s % Octave 3.6 bug: should pass on 3.8.1 and matlab 641s a = [sym(1) 2]; 641s assert (isequal ( [a; [3 4]] , [1 2; 3 4] )) 641s assert (isequal ( [a; sym(3) 4] , [1 2; 3 4] )) 641s % more examples 641s syms x 641s [x [x x]; x x x]; 641s [[x x] x; x x x]; 641s [[x x] x; [x x] x]; 641s [x x x; [x x] x]; 642s ***** test 642s % issue #700 642s A = sym ([1 2]); 642s B = simplify (A); 642s assert (isequal ([B; A], [A; B])) 642s 11 tests, 10 passed, 1 known failure, 0 skipped 642s [inst/@sym/xor.m] 642s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/xor.m 642s ***** shared t, f 642s t = sym(true); 642s f = sym(false); 642s ***** test 642s % simple 642s assert (isequal (xor(t, f), t)) 642s assert (isequal (xor(t, t), f)) 642s ***** test 642s % array 642s w = [t t f f]; 642s z = [t f t f]; 642s assert (isequal (xor(w, z), [f t t f])) 642s ***** xtest 642s % output is sym even for scalar t/f 642s % ₣IXME: should match other bool fcns 642s assert (isa (xor(t, f), 'sym')) 642s ***** test 642s % eqns 642s syms x 642s e = xor(x == 4, x == 5); 642s assert (isequal (subs(e, x, [3 4 5 6]), [f t t f])) 642s ***** test 642s % eqns, exclusive 642s syms x 642s e = xor(x == 3, x^2 == 9); 642s assert (isequal (subs(e, x, [-3 0 3]), [t f f])) 642s ***** error xor (sym('x'), 1, 2) 642s 6 tests, 6 passed, 0 known failure, 0 skipped 642s [inst/@sym/zeros.m] 642s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/zeros.m 642s ***** test 642s y = zeros(sym(2)); 642s x = [0 0; 0 0]; 642s assert( isequal( y, sym(x))) 642s ***** test 642s y = zeros(sym(2), 1); 642s x = [0; 0]; 642s assert( isequal( y, sym(x))) 642s ***** test 642s y = zeros(sym(1), 2); 642s x = [0 0]; 642s assert( isequal( y, sym(x))) 642s ***** test 642s y = zeros (sym([2 3])); 642s x = sym (zeros ([2 3])); 642s assert (isequal (y, x)) 643s ***** assert( isa( zeros(sym(2), 'double'), 'double')) 643s ***** assert( isa( zeros(3, sym(3), 'single') , 'single')) 643s ***** assert( isa( zeros(3, sym(3)), 'sym')) 643s ***** assert( isa( zeros(3, sym(3), 'sym'), 'sym')) 643s ***** xtest 643s % Issue #13 643s assert( isa( zeros(3, 3, 'sym'), 'sym')) 643s !!!!! known failure 643s invalid data type specified 643s 9 tests, 8 passed, 1 known failure, 0 skipped 643s [inst/@sym/zeta.m] 643s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/zeta.m 643s ***** error zeta (sym(1), 2, 3) 643s ***** assert (isequaln (zeta (sym(nan)), sym(nan))) 643s ***** test 643s f1 = zeta (sym(2)); 643s f2 = pi^2/6; 643s assert (double (f1), f2, -1e-15) 643s ***** test 643s A = sym([0 2; 4 6]); 643s f1 = zeta (A); 643s f2 = [-1/2 pi^2/6; pi^4/90 pi^6/945]; 643s assert( all(all( abs(double(f1) - f2) < 1e-15 ))) 643s ***** test 643s % round trip 643s y = sym('y'); 643s f = zeta (y); 643s h = function_handle (f); 643s A = zeta (2); 643s B = h (2); 643s assert (A, B, -eps) 643s ***** test 643s syms x 643s assert (isequal (zeta (0, x), zeta(x))) 643s ***** test 643s % ensure its the nth deriv wrt x, not the n deriv 643s syms x n 643s F = zeta (n, x); 643s F = subs(F, n, 3); 643s assert (isequal (F, diff (zeta (x), x, x, x))) 643s 7 tests, 7 passed, 0 known failure, 0 skipped 643s [inst/@sym/ztrans.m] 643s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@sym/ztrans.m 643s ***** test 643s % basic Z-transform table checks 643s % X1, ..., X4 must have inner radius of convergence 1 643s syms n z 643s % trick to extract the closed form formula using the fact that inner roc = 1 643s closed_form = @(X) subs (X, abs (1 / z), 1 / sym (2)); 643s % check if ztrans(f) == X 643s check_ztrans = @(f, X) logical (simplify (closed_form (ztrans (f)) == X)); 643s f1 = sym (1); 643s X1 = 1 / (1 - 1 / z); 643s assert (check_ztrans (f1, X1)); 643s f2 = n; 643s X2 = (1 / z) / (1 - 1 / z)^2; 643s assert (check_ztrans (f2, X2)); 643s f3 = n^2; 643s X3 = (1 / z) * (1 + 1 / z) / (1 - 1 / z)^3; 643s assert (check_ztrans (f3, X3)); 643s f4 = n^3; 643s X4 = (1 / z) * (1 + 4 / z + 1 / z^2) / (1 - 1 / z)^4; 643s assert (check_ztrans (f4, X4)); 643s % basic matrix checks 643s A1 = ztrans ([f1 f2; f3 f4]); 643s B1 = [ztrans(f1) ztrans(f2); ztrans(f3) ztrans(f4)]; 643s assert (isequal (A1, B1)); 643s A2 = ztrans ([f1 f2; f3 f4], z); 643s B2 = [ztrans(f1, z) ztrans(f2, z); ztrans(f3, z) ztrans(f4, z)]; 643s assert (isequal (A2, B2)); 643s A3 = ztrans ([f1 f2; f3 f4], n, z); 643s B3 = [ztrans(f1, n, z) ztrans(f2, n, z); ztrans(f3, n, z) ztrans(f4, n, z)]; 643s assert (isequal (A3, B3)); 653s ***** test 653s % additional Z-transform table checks 653s % X1, ..., X4 must have inner radius of convergence a 653s syms n nonnegative integer 653s syms m positive integer 653s syms a 653s syms z 653s % trick to extract the closed form formula using the fact that inner roc = a 653s closed_form = @(X) subs (X, abs (a / z), 1 / sym (2)); 653s % check if ztrans(f) == X 653s check_ztrans = @(f, X) logical (simplify (closed_form (ztrans (f)) == X)); 653s f1 = a^n; 653s X1 = 1 / (1 - a / z); 653s assert (check_ztrans (f1, X1)); 653s f2 = n * a^n; 653s X2 = (a / z) / (1 - a / z)^2; 653s assert (check_ztrans (f2, X2)); 653s f3 = n^2 * a^n; 653s X3 = (a / z) * (1 + a / z) / (1 - a / z)^3; 653s assert (check_ztrans (f3, X3)); 653s f4 = nchoosek(n + m - 1, m - 1) * a^n; 653s X4 = 1 / (1 - a / z)^m; 653s assert (check_ztrans (f4, X4)); 653s % additional matrix checks 653s A1 = ztrans (f1, [n m; m n], [z a; a z]); 653s B1 = [ztrans(f1, n, z) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, n, z)]; 653s assert (isequal (A1, B1)); 653s A2 = ztrans (f1, m, [z a; a z]); 653s B2 = [ztrans(f1, m, z) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, m, z)]; 653s assert (isequal (A2, B2)); 653s A3 = ztrans (f1, [n m; m n], a); 653s B3 = [ztrans(f1, n, a) ztrans(f1, m, a); ztrans(f1, m, a) ztrans(f1, n, a)]; 653s assert (isequal (A3, B3)); 660s ***** test 660s % Kronecker delta checks 660s syms n n0 nonnegative integer 660s syms z 660s assert (isequal (ztrans (kroneckerDelta (n)), 1)); 660s assert (isequal (ztrans (kroneckerDelta (n - n0)), 1 / z^n0)); 661s ***** test 661s % basic var selection checks 661s syms n m z w 661s assert (isequal (ztrans (1 / factorial (n)), exp (1 / z))); 661s assert (isequal (ztrans (1 / factorial (z)), exp (1 / w))); 661s assert (isequal (ztrans (1 / factorial (m), w), exp (1 / w))); 661s assert (isequal (ztrans (1 / factorial (m), m, w), exp (1 / w))); 662s ***** test 662s % additional var selection checks 662s syms n m z 662s f = kroneckerDelta(m) / factorial (n); 662s assert (isequal (ztrans (f, z), exp (1 / z) * kroneckerDelta (m))); 662s assert (isequal (ztrans (f, n, z), exp (1 / z) * kroneckerDelta (m))); 662s assert (isequal (ztrans (f, m, z), 1 / factorial (n))); 662s ***** test 662s % if no t, use symvar: take x before a 662s syms a x z 662s assert (isequal (ztrans (a / factorial (x)), a * exp (1 / z))); 663s ***** error ztrans (sym ('n')^sym ('n', 'nonnegative', 'integer')) 663s 7 tests, 7 passed, 0 known failure, 0 skipped 663s [inst/@symfun/argnames.m] 663s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/argnames.m 663s ***** test 663s % basic test 663s syms f(x) 663s assert (isequal (argnames (f), x)) 663s ***** test 663s % Multiple variables, abstract symfun 663s syms f(t, x, y) 663s assert (isequal (argnames (f), [t x y])) 663s ***** test 663s % Concrete symfun 663s syms x y z t 663s f(t, x, y) = x + y + z; 663s assert (isequal (argnames (f), [t x y])) 663s 3 tests, 3 passed, 0 known failure, 0 skipped 663s [inst/@symfun/diff.m] 663s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/diff.m 663s ***** test 663s % concrete fcn 663s syms x 663s f(x) = x*x; 663s g(x) = 2*x; 663s assert (logical (diff(f) == g)) 663s assert (isa (diff(f), 'symfun')) 663s ***** test 663s % abstract fcn 663s syms y(x) 663s assert (logical (diff(y) == diff(y(x)))) 663s assert (isa (diff(y), 'symfun')) 664s 2 tests, 2 passed, 0 known failure, 0 skipped 664s [inst/@symfun/formula.m] 664s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/formula.m 664s ***** test 664s % simple 664s syms x 664s f(x) = sin(x); 664s g = formula(f); 664s assert (isequal (g, sin(x))); 664s ***** test 664s % concrete: return is a sym, not a symfun 664s syms x 664s f(x) = sin(x); 664s g = formula(f); 664s assert (~isa(g, 'symfun')); 664s ***** test 664s % abstract: return is a sym, not a symfun 664s syms f(x) 664s g = formula(f); 664s assert (~isa(g, 'symfun')); 664s 3 tests, 3 passed, 0 known failure, 0 skipped 664s [inst/@symfun/int.m] 664s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/int.m 664s ***** test 664s % indefinite integral of symfun gives symfun 664s syms x 664s f(x) = x^2; 664s g = int(f); 664s assert (isa(g, 'symfun')) 664s g = int(f, x); 664s assert (isa(g, 'symfun')) 664s ***** test 664s % indefinite integral of abstract symfun gives symfun 664s syms f(x) 664s g = int(f); 664s assert (isa(g, 'symfun')) 664s g = int(f, x); 664s assert (isa(g, 'symfun')) 664s ***** test 664s % definite integral does not give symfun 664s syms x 664s f(x) = x^2; 664s g = int(f, x, 0, 2); 664s assert (isa(g, 'sym')) 664s assert (~isa(g, 'symfun')) 664s ***** test 664s % ... even if it has a variable in it 664s syms x t 664s f(x) = x; 664s g = int(f, x, 0, t); 664s assert (isa(g, 'sym')) 664s assert (~isa(g, 'symfun')) 664s ***** test 664s % ... even if the input is abstract funcion 664s syms f(x) 664s g = int(f, x, 0, 2); 664s assert (isa(g, 'sym')) 664s assert (~isa(g, 'symfun')) 664s ***** test 664s % symfun in x, integrated in y gives symfun still in x 664s % (SMT does this too). 664s syms f(x) y 664s g = int(f, y); 664s assert (isa (g, 'symfun')) 664s assert (isequal (argnames (g), x)) 664s ***** test 664s % same as above, but concrete symfun 664s syms x y 664s f(x) = x^2; 664s g = int(f, y); 664s assert (isa (g, 'symfun')) 664s assert (isequal (argnames (g), x)) 664s assert (isequal (formula(g), x^2*y)) 664s 7 tests, 7 passed, 0 known failure, 0 skipped 665s [inst/@symfun/isequal.m] 665s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/isequal.m 665s ***** error isequal (symfun('x + 1', x)) 665s ***** test 665s syms x y 665s f(x) = 2*x; 665s g(x) = 2*x; 665s assert (isequal (f, g)) 665s ***** test 665s syms x 665s f(x) = 2*x + 1; 665s g(x) = 2*x + 1; 665s h(x) = 2*x + 1; 665s assert (isequal (f, g, h)) 665s ***** test 665s syms x 665s f(x) = 2*x + 1; 665s g(x) = 2*x + 1; 665s h(x) = 2*x; 665s assert (~ isequal (f, g, h)) 665s ***** test 665s syms x y 665s f(x) = 2*x; 665s g(x, y) = 2*x; 665s assert (~ isequal (f, g)) 665s ***** test 665s syms x y 665s f(x) = symfun(nan, x); 665s g(x) = symfun(nan, x); 665s assert (~ isequal (f, g)) 665s 6 tests, 6 passed, 0 known failure, 0 skipped 665s [inst/@symfun/isequaln.m] 665s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/isequaln.m 665s ***** error isequaln (symfun('x + 1', x)) 665s ***** test 665s syms x y 665s f(x) = 2*x; 665s g(x) = 2*x; 665s assert (isequaln (f, g)) 665s ***** test 665s syms x 665s f(x) = 2*x + 1; 665s g(x) = 2*x + 1; 665s h(x) = 2*x + 1; 665s assert (isequaln (f, g, h)) 666s ***** test 666s syms x 666s f(x) = 2*x + 1; 666s g(x) = 2*x + 1; 666s h(x) = 2*x; 666s assert (~ isequaln (f, g, h)) 666s ***** test 666s syms x y 666s f(x) = 2*x; 666s g(x, y) = 2*x; 666s assert (~ isequaln (f, g)) 666s ***** test 666s syms x y 666s f(x) = symfun(nan, x); 666s g(x) = symfun(nan, x); 666s assert (isequaln (f, g)) 666s ***** test 666s syms x y 666s f(x) = symfun(nan, x); 666s g(x, y) = symfun(nan, x); 666s assert (~ isequaln (f, g)) 666s 7 tests, 7 passed, 0 known failure, 0 skipped 666s [inst/@symfun/ldivide.m] 666s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/ldivide.m 666s ***** test 666s syms x 666s f(x) = x^2; 666s assert( isa(f .\ f, 'symfun')) 666s assert( isa(f .\ x, 'symfun')) 666s 1 test, 1 passed, 0 known failure, 0 skipped 666s [inst/@symfun/minus.m] 666s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/minus.m 666s ***** test 666s syms x 666s f(x) = x^2; 666s assert( isa(f - f, 'symfun')) 666s assert( isa(f - x, 'symfun')) 667s ***** test 667s % Octave bug #42735 fixed in 4.4.2 667s syms x 667s f(x) = x^2; 667s g = x^2; 667s h = x - f; assert (isa (h, 'symfun') && isequal (formula (h), x - g)) 667s h = x + f; assert (isa (h, 'symfun') && isequal (formula (h), x + g)) 667s h = x * f; assert (isa (h, 'symfun') && isequal (formula (h), x * g)) 667s h = x / f; assert (isa (h, 'symfun') && isequal (formula (h), x / g)) 667s h = x ^ f; assert (isa (h, 'symfun') && isequal (formula (h), x ^ g)) 667s h = x .* f; assert (isa (h, 'symfun') && isequal (formula (h), x .* g)) 667s h = x ./ f; assert (isa (h, 'symfun') && isequal (formula (h), x ./ g)) 667s h = x .^ f; assert (isa (h, 'symfun') && isequal (formula (h), x .^ g)) 667s ***** test 667s % different variables 667s syms x y 667s f(x) = 2*x; 667s g(y) = sin(y); 667s h = f - g(x); 667s assert( isa(h, 'symfun')) 667s assert( isequal (argnames (h), argnames (f))) 667s assert (isequal (formula (h), 2*x - sin(x))) 667s % and even if rh-sym has a dummy variable: 667s h = f - g(y); 667s assert( isa(h, 'symfun')) 667s assert( isequal (argnames (h), argnames(f))) 667s assert (isequal (formula (h), 2*x - sin(y))) 667s ***** test 667s % different variables, f has more 667s syms x y 667s f(x,y) = 2*x*y; 667s g(y) = sin(y); 667s h = f - g(y) + g(x); 667s assert( isa(h, 'symfun')) 667s assert( isequal (argnames (h), argnames (f))) 667s assert (isequal (formula (h), 2*x*y - sin(y) + sin(x))) 668s 4 tests, 4 passed, 0 known failure, 0 skipped 668s [inst/@symfun/mldivide.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/mldivide.m 668s ***** test 668s syms x 668s f(x) = x^2; 668s assert( isa(f\f, 'symfun')) 668s assert( isa(f\x, 'symfun')) 668s 1 test, 1 passed, 0 known failure, 0 skipped 668s [inst/@symfun/mpower.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/mpower.m 668s ***** test 668s syms x 668s f(x) = 2*x; 668s h = f^f; 668s assert( isa(h, 'symfun')) 668s assert (isequal (formula (h), (2*x)^(2*x))) 668s h = f^sym(2); 668s assert( isa(h, 'symfun')) 668s assert (isequal (formula (h), 4*x^2)) 668s 1 test, 1 passed, 0 known failure, 0 skipped 668s [inst/@symfun/mrdivide.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/mrdivide.m 668s ***** test 668s syms x 668s f(x) = x^2; 668s assert( isa(f/f, 'symfun')) 668s assert( isa(f/x, 'symfun')) 668s 1 test, 1 passed, 0 known failure, 0 skipped 668s [inst/@symfun/mtimes.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/mtimes.m 668s ***** test 668s syms x 668s f(x) = x^2; 668s assert( isa(f * f, 'symfun')) 668s assert( isa(f * x, 'symfun')) 668s 1 test, 1 passed, 0 known failure, 0 skipped 668s [inst/@symfun/numel.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/numel.m 668s ***** test 668s syms x 668s f(x) = x^2; 668s assert(numel(f)==1) 668s ***** test 668s syms x 668s f(x) = [1 x]; 668s assert(numel(f)==1) 668s 2 tests, 2 passed, 0 known failure, 0 skipped 668s [inst/@symfun/plus.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/plus.m 668s ***** test 668s syms x 668s f(x) = x^2; 668s assert( isa(f + f, 'symfun')) 668s assert( isa(f + x, 'symfun')) 668s 1 test, 1 passed, 0 known failure, 0 skipped 668s [inst/@symfun/power.m] 668s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/power.m 668s ***** test 668s syms x 668s f(x) = 2*x; 668s h = f.^f; 668s assert( isa(h, 'symfun')) 668s assert (isequal (formula (h), (2*x)^(2*x))) 669s ***** test 669s syms x 669s f(x) = [x 2*x]; 669s h = f.^[x 3]; 669s assert( isa(h, 'symfun')) 669s assert (isequal (formula (h), [x^x 8*x^3])) 669s 2 tests, 2 passed, 0 known failure, 0 skipped 669s [inst/@symfun/private_disp_name.m] 669s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/private_disp_name.m 669s ***** test 669s syms f(x) 669s s = private_disp_name(f, 'f'); 669s assert (strcmp (s, 'f(x)')) 669s ***** test 669s syms x y 669s g(y, x) = x + y; 669s s = private_disp_name(g, 'g'); 669s assert (strcmp (s, 'g(y, x)')) 669s ***** test 669s syms f(x) 669s assert (isempty (private_disp_name(f, ''))) 669s 3 tests, 3 passed, 0 known failure, 0 skipped 669s [inst/@symfun/rdivide.m] 669s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/rdivide.m 669s ***** test 669s syms x 669s f(x) = x^2; 669s assert( isa(f./f, 'symfun')) 669s assert( isa(f./[x x^2], 'symfun')) 669s ***** test 669s syms x 669s f(x) = [x 2*x]; 669s h = f./[x 2]; 669s assert( isa(h, 'symfun')) 669s assert (isequal (formula (h), [1 x])) 669s 2 tests, 2 passed, 0 known failure, 0 skipped 669s [inst/@symfun/size.m] 669s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/size.m 669s ***** test 669s syms x 669s f(x) = x; 669s d = size(f); 669s assert (isequal (d, [1 1])) 669s [n, m] = size(f); 669s assert (isequal ([n m], [1 1])) 669s assert (size(f, 1) == 1) 669s assert (size(f, 2) == 1) 669s ***** test 669s syms x 669s f(x) = [1 x]; 669s d = size(f); 669s assert (isequal (d, [1 1])) 669s [n, m] = size(f); 669s assert (isequal ([n m], [1 1])) 669s assert (size(f, 1) == 1) 669s assert (size(f, 2) == 1) 669s 2 tests, 2 passed, 0 known failure, 0 skipped 669s [inst/@symfun/subsref.m] 669s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/subsref.m 669s ***** test 669s syms x 669s f(x) = x^2; 669s v = f.vars; 669s assert(iscell(v)) 669s assert(length(v)==1) 669s assert(isequal(v{1},x)) 669s ***** test 669s %% pass through to sym properties 669s syms x 669s f(x) = x^2; 669s y = x^2; % not a symfun 669s assert(strcmp(f.flat, y.flat)) 669s 2 tests, 2 passed, 0 known failure, 0 skipped 669s [inst/@symfun/symfun.m] 669s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/symfun.m 669s ***** error symfun (1, sym('x'), 3) 669s ***** error symfun ('f', sym('x')) 669s ***** test 669s syms x y 669s syms f(x) 669s assert(isa(f,'symfun')) 669s clear f 669s f(x,y) = sym('f(x,y)'); 669s assert(isa(f,'symfun')) 669s :18: SyntaxWarning: invalid escape sequence '\(' 669s ***** test 669s % symfuns are syms as well 669s syms x 669s f(x) = 2*x; 669s assert (isa (f, 'symfun')) 669s assert (isa (f, 'sym')) 669s assert (isequal (f(3), 6)) 669s assert (isequal (f(sin(x)), 2*sin(x))) 670s ***** test 670s syms x y 670s f = symfun(sym('f(x)'), {x}); 670s assert(isa(f, 'symfun')) 670s f = symfun(sym('f(x,y)'), [x y]); 670s assert(isa(f, 'symfun')) 670s f = symfun(sym('f(x,y)'), {x y}); 670s assert(isa(f, 'symfun')) 670s :18: SyntaxWarning: invalid escape sequence '\(' 670s :18: SyntaxWarning: invalid escape sequence '\(' 670s :18: SyntaxWarning: invalid escape sequence '\(' 670s ***** test 670s % rhs is not sym 670s syms x 670s f = symfun(8, x); 670s assert (isa (f,'symfun')) 670s assert (isequal (f(10), sym(8))) 670s ***** test 670s % vector symfun 670s syms x y 670s F(x,y) = [1; 2*x; y; y*sin(x)]; 670s assert (isa (F, 'symfun')) 670s assert (isa (F, 'sym')) 670s assert (isequal (F(sym(pi)/2,4) , [sym(1); sym(pi); 4; 4] )) 670s ***** test 670s x = sym('x'); 670s y = sym('y'); 670s f(x) = sym('f(x)'); 670s g(x,y) = sym('g(x,y)'); 670s % make sure these don't fail 670s f(1); 670s g(1,2); 670s g(x,y); 670s diff(g, x); 670s diff(g, y); 670s :18: SyntaxWarning: invalid escape sequence '\(' 670s :18: SyntaxWarning: invalid escape sequence '\(' 670s ***** test 670s % defining 1D symfun in terms of a 2D symfun 670s syms x y t 670s syms 'g(x,y)' 670s f(t) = g(t,t); 670s f(5); 670s assert (length (argnames (f)) == 1) 670s assert (isequal (argnames (f), t)) 670s assert (isequal( formula(diff(f,x)), sym(0))) 671s ***** test 671s % replace g with shorter and specific fcn 671s syms x g(x) 671s g; 671s g(x) = 2*x; 671s assert( isequal (g(5), 10)) 671s ***** test 671s % octave <= 3.8 needs quotes on 2D symfuns, so make sure it works 671s syms x y 671s syms 'f(x)' 671s syms 'g(x,y)' 671s assert (isa (f, 'symfun')) 671s assert (isa (g, 'symfun')) 671s ***** test 671s % Bug #41: Octave <= 3.8 parser fails without quotes around 2D fcn 671s syms x y 671s eval('syms g(x,y)') 671s assert (isa (g, 'symfun')) 671s ***** test 671s % and these days it works without eval trick 671s syms g(x,y) 671s assert (isa (g, 'symfun')) 671s ***** test 671s % syms f(x) without defining x 671s clear x 671s syms f(x) 671s assert(isa(f, 'symfun')) 671s assert(isa(x, 'sym')) 671s ***** test 671s % SMT compat: symfun indep var overwrites existing var 671s t = 6; 671s syms f(t) 671s assert (logical (t ~= 6)) 671s ***** test 671s % SMT compat: symfun indep var overwrites existing var, even if sym 671s syms x 671s t = x; 671s syms f(t) 671s assert (~ logical (t == x)) 671s ***** test 671s syms x y 671s f(x) = x^2; 671s g(x,y) = sym('g(x,y)'); 671s f2 = 2*f; 671s assert( isequal (f2(4), 32)) 671s assert( isa(f2, 'symfun')) 671s assert( isa(2*g, 'symfun')) 671s assert( isa(0*g, 'symfun')) % in SMT, this is the zero symfun 671s :18: SyntaxWarning: invalid escape sequence '\(' 671s ***** test 671s % syms has its own parsing code, check it works 671s syms f(x,y) 671s g = f; 671s syms f(x, y) 671s assert (isequal (f, g)) 671s syms 'f( x, y )' 671s assert (isequal (f, g)) 671s ***** test 671s % syms own parsing code should not reorder the vars 671s syms f(y, x) 671s v = argnames (f); 671s assert (isequal (v(1), y) && isequal (v(2), x)) 672s ***** test 672s % assignment of symfun to symfun, issue #189 672s syms t 672s x(t) = 2*t; 672s y(t) = x; 672s assert (isa (y, 'symfun')) 672s y = symfun(x, t); 672s assert (isa (y, 'symfun')) 672s % others 672s y = x; 672s assert (isa (y, 'symfun')) 672s y(t) = x(t); 672s assert (isa (y, 'symfun')) 672s ***** test 672s % assignment of generic symfun to symfun 672s syms t x(t) 672s y(t) = x; 672s assert (isa (y, 'symfun')) 672s y = symfun(x, t); 672s assert (isa (y, 'symfun')) 672s ***** error 672s % Issue #444: invalid args 672s syms x 672s f(x, x) = 2*x; 672s ***** error 672s % Issue #444: invalid args 672s syms x y 672s f(x, y, x) = x + y; 672s ***** error 672s % Issue #444: invalid args 672s syms x y 672s f(x, y, x) = x + y; 672s ***** error 672s % Issue #444: expression as arg 672s syms x 672s f(2*x) = 4*x; 672s 25 tests, 25 passed, 0 known failure, 0 skipped 672s [inst/@symfun/symvar.m] 672s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/symvar.m 672s ***** test 672s % basic 672s syms f(t, s) 672s assert (isempty (symvar (f, 0))) 672s assert (isequal (symvar (f, 1), t)) 672s assert (isequal (symvar (f, 2), [t s])) 672s assert (isequal (symvar (f, 3), [t s])) 673s ***** test 673s % note preference for vars of symfun, if n requested 673s syms x f(y) 673s assert (isequal (symvar(f*x, 1), y)) 673s assert (isequal (symvar(f(y)*x, 1), x)) 673s ***** test 673s % symfun, checked smt 673s syms x f(y) 673s a = f*x; 673s b = f(y)*x; 673s assert (isequal (symvar(a), [x y])) 673s assert (isequal (symvar(b), [x y])) 673s ***** test 673s % preference for the explicit variables 673s syms a x f(t, s) 673s h = f*a + x; 673s assert (isequal (symvar (h, 1), t)) 673s assert (isequal (symvar (h, 2), [t s])) 673s assert (isequal (symvar (h, 3), [t s x])) 673s assert (isequal (symvar (h, 4), [t s x a])) 673s assert (isequal (symvar (h, 5), [t s x a])) 673s assert (isequal (symvar (h), [a s t x])) 675s ***** test 675s % symfun dep on some vars only, matches smt w/ n 675s syms x s t 675s f(s) = x; 675s g(s, t) = x*s; 675s assert (isequal (symvar(f, 1), s)) 675s assert (isequal (symvar(f, 2), [s x])) 675s assert (isequal (symvar(g, 1), s)) 675s assert (isequal (symvar(g, 2), [s t])) 675s assert (isequal (symvar(g, 3), [s t x])) 676s ***** test 676s % A documented difference from SMT on symvar(symfun) w/o n 676s syms x s t 676s f(s) = x; 676s g(s, t) = x*s; 676s % SMT would have 676s %assert (isequal (symvar(f), x)) % no s 676s %assert (isequal (symvar(g), [s x])) % no t 676s assert (isequal (symvar(f), [s x])) 676s assert (isequal (symvar(g), [s t x])) 676s 6 tests, 6 passed, 0 known failure, 0 skipped 676s [inst/@symfun/times.m] 676s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/times.m 676s ***** test 676s syms x 676s f(x) = x^2; 676s assert( isa(f .* f, 'symfun')) 676s assert( isa(f .* x, 'symfun')) 676s ***** test 676s syms x 676s f(x) = [x 2*x]; 676s h = f.*[x 3]; 676s assert( isa(h, 'symfun')) 676s assert (isequal (formula (h), [x^2 6*x])) 676s 2 tests, 2 passed, 0 known failure, 0 skipped 676s [inst/@symfun/uminus.m] 676s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/@symfun/uminus.m 676s ***** test 676s % Issue #447 676s syms x 676s f(x) = x^2; 676s assert (isa (-f, 'symfun')) 676s ***** test 676s syms f(x) 676s h = -f; 676s assert (isa (h, 'symfun')) 676s 2 tests, 2 passed, 0 known failure, 0 skipped 676s [inst/assume.m] 676s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/assume.m 676s ***** error 676s a = assume('a', 'real') 676s ***** error 676s assume positive integer 676s ***** error 676s assume x y 676s ***** error 676s assume x clear real 676s ***** error 676s assume a>0 676s ***** error 676s assume 'x/pi' integer 676s ***** test 676s syms x 676s assume x positive 676s a = assumptions(x); 676s assert(strcmp(a, 'x: positive')) 676s assume x even 676s a = assumptions(x); 676s assert(strcmp(a, 'x: even')) 677s ***** test 677s % multiple assumptions 677s syms x 677s assume x positive integer 677s [tilde, a] = assumptions(x, 'dict'); 677s assert(a{1}.integer) 677s assert(a{1}.positive) 677s ***** test 677s % does workspace 677s syms x positive 677s x2 = x; 677s f = sin(x); 677s assume x negative 677s a = assumptions(x); 677s assert(strcmp(a, 'x: negative')) 677s a = assumptions(x2); 677s assert(strcmp(a, 'x: negative')) 677s a = assumptions(f); 677s assert(strcmp(a, 'x: negative')) 677s ***** error 677s % does not create new variable x 677s clear x 677s assume x real 677s ***** error 677s % no explicit variable named x 677s clear x 677s f = 2*sym('x'); 677s assume x real 677s ***** test 677s % clear does workspace 677s syms x positive 677s f = 2*x; 677s assume x clear 677s assert (isempty (assumptions (f))); 677s assert (isempty (assumptions ())); 677s ***** test 677s syms x y 677s f = sin (2*x); 677s assume x y real 677s assert (strcmp (assumptions (x), 'x: real')) 677s assert (strcmp (assumptions (y), 'y: real')) 677s assert (strcmp (assumptions (f), 'x: real')) 677s ***** test 677s syms x y 677s f = sin (2*x); 677s assume x y positive even 677s assert (strcmp (assumptions (x), 'x: positive, even') || strcmp (assumptions (x), 'x: even, positive')) 677s assert (strcmp (assumptions (y), 'y: positive, even') || strcmp (assumptions (y), 'y: even, positive')) 677s assert (strcmp (assumptions (f), 'x: positive, even') || strcmp (assumptions (f), 'x: even, positive')) 678s ***** test 678s % works from variable names not symbols 678s syms x y 678s a = [x y]; 678s assume a real 678s assert (strcmp (assumptions (x), 'x: real')) 678s assert (strcmp (assumptions (y), 'y: real')) 678s ***** test 678s % works from variable names not symbols 678s y = sym('x'); 678s f = 2*y; 678s assume y real 678s assert (strcmp (assumptions (f), 'x: real')) 678s ***** test 678s % matrix of symbols 678s syms a b c d 678s A = [a b; c d]; 678s assume A real 678s assert (strcmp (assumptions (a), 'a: real')) 678s assert (strcmp (assumptions (b), 'b: real')) 678s assert (strcmp (assumptions (c), 'c: real')) 678s assert (strcmp (assumptions (d), 'd: real')) 679s ***** test 679s % assume after symfun 679s clear x 679s syms f(x) 679s assume x real 679s assert (~ isempty (assumptions (formula (f)))) 679s assert (~ isempty (assumptions (argnames (f)))) 679s 18 tests, 18 passed, 0 known failure, 0 skipped 679s [inst/assumptions.m] 679s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/assumptions.m 679s ***** test 679s syms x 679s assert(isempty(assumptions(x))) 679s ***** test 679s x = sym('x', 'positive'); 679s a = assumptions(x); 679s assert(~isempty(strfind(a{1}, 'positive'))) 679s ***** test 679s syms x 679s assert(isempty(assumptions(x))) 679s ***** test 679s clear variables % for matlab test script 679s syms x positive 679s assert(~isempty(assumptions())) 679s clear x 679s assert(isempty(assumptions())) 679s ***** test 679s % make sure we have at least these possible assumptions 679s A = {'real' 'positive' 'negative' 'integer' 'even' 'odd' 'rational'}; 679s B = assumptions('possible'); 679s assert (isempty (setdiff(A, B))) 679s ***** test 679s A = assumptions('possible'); 679s for i = 1:length(A) 679s x = sym('x', A{i}); 679s a = assumptions(x); 679s assert(strcmp(a{1}, ['x: ' A{i}] )) 679s s1 = sympy (x); 679s s2 = ['Symbol(''x'', ' A{i} '=True)']; 679s assert (strcmp (s1, s2)) 679s end 680s ***** test 680s syms x positive 680s syms y real 680s syms z 680s f = x*y*z; 680s a = assumptions(f); 680s assert(length(a) == 2) 680s assert(~isempty(strfind(a{1}, 'positive'))) 680s assert(~isempty(strfind(a{2}, 'real'))) 680s ***** test 680s % dict output 680s syms x positive 680s syms y real 680s syms z 680s f = x*y*z; 680s [v, d] = assumptions(f, 'dict'); 680s assert(length(v) == 2) 680s assert(iscell(v)) 680s assert(isa(v{1}, 'sym')) 680s assert(isa(v{2}, 'sym')) 680s assert(length(d) == 2) 680s assert(iscell(d)) 680s assert(isstruct(d{1})) 680s assert(isstruct(d{2})) 680s ***** test 680s %% assumptions on just the vars in an expression 680s clear variables % for matlab test script 680s syms x y positive 680s f = 2*x; 680s assert(length(assumptions(f))==1) 680s assert(length(assumptions())==2) 680s ***** test 680s %% assumptions in cell/struct 680s clear variables % for matlab test script 680s syms x y z w positive 680s f = {2*x [1 2 y] {1, {z}}}; 680s assert(length(assumptions())==4) 680s assert(length(assumptions(f))==3) 680s clear x y z w 680s assert(length(assumptions())==3) 680s assert(length(assumptions(f))==3) 681s ***** test 681s % multiple assumptions 681s n = sym('n', 'negative', 'even'); 681s assert (logical (n < 0)) 681s assert (~(logical (n > 0))) 681s assert (~(logical (n == -1))) 681s ***** test 681s % multiple assumptions: eqn neither true nor false 681s n = sym('n', 'negative', 'even'); 681s assert (~isequal (n, sym(true)) && ~isequal (n, sym(false))) 681s ***** test 681s %% TODO: rewrite later with https://github.com/cbm755/octsympy/issues/622 681s a = pycall_sympy__ ('return Symbol("a", real=False)'); 681s assert (strcmp (assumptions (a), {'a: ~real'})) 681s 13 tests, 13 passed, 0 known failure, 0 skipped 681s [inst/catalan.m] 681s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/catalan.m 681s ***** error catalan (sym(1)) 681s ***** assert (double (catalan ()) > 0.915965594177) 681s ***** assert (double (catalan ()) < 0.915965594178) 681s 3 tests, 3 passed, 0 known failure, 0 skipped 681s [inst/cell2sym.m] 681s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/cell2sym.m 681s ***** test 681s A = {1 2 3; 4 5 6}; 681s B = [1 2 3; 4 5 6]; 681s assert (isequal (cell2sym(A), sym(B))) 681s ***** test 681s A = {'a' 'b'; 'c' 10}; 681s B = [sym('a') sym('b'); sym('c') sym(10)]; 681s assert (isequal (cell2sym(A), B)) 681s 2 tests, 2 passed, 0 known failure, 0 skipped 681s [inst/digits.m] 681s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/digits.m 681s ***** test 681s orig = digits(32); % to reset later 681s m = digits(64); 681s p = vpa(sym(pi)); 681s assert (abs (double (sin(p))) < 1e-64) 681s n = digits(m); 681s assert (n == 64) 681s p = vpa(sym(pi)); 681s assert (abs (double (sin(p))) < 1e-32) 681s assert (abs (double (sin(p))) > 1e-40) 681s digits(orig) 682s 1 test, 1 passed, 0 known failure, 0 skipped 682s [inst/dirac.m] 682s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/dirac.m 682s ***** assert (isinf (dirac (0))) 682s ***** assert (dirac (1) == 0) 682s ***** assert (isnan (dirac (nan))) 682s ***** assert (isequaln (dirac ([-1 1 0 eps inf -inf nan]), [0 0 inf 0 0 0 nan])) 682s ***** error dirac (1i) 682s ***** assert (isa (dirac (single (0)), 'single')) 682s 6 tests, 6 passed, 0 known failure, 0 skipped 682s [inst/eulergamma.m] 682s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/eulergamma.m 682s ***** error catalan (sym(1)) 682s ***** assert (double (eulergamma ()) > 0.577215664901) 682s ***** assert (double (eulergamma ()) < 0.577215664902) 682s 3 tests, 3 passed, 0 known failure, 0 skipped 682s [inst/fibonacci.m] 682s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/fibonacci.m 682s ***** assert (isequal ( fibonacci (sym(0)), 0)) 682s ***** assert (isequal ( fibonacci (sym(14)), sym(377))) 682s ***** assert (isequal ( fibonacci (14), 377)) 682s ***** test syms x 682s assert (isequal (fibonacci (5,x), x^4 + 3*x^2 + 1)) 682s 4 tests, 4 passed, 0 known failure, 0 skipped 682s [inst/findsymbols.m] 682s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/findsymbols.m 682s ***** test 682s syms x b y n a arlo 682s z = a*x + b*pi*sin (n) + exp (y) + exp (sym (1)) + arlo; 682s s = findsymbols (z); 682s assert (isequal ([s{:}], [a,arlo,b,n,x,y])) 682s ***** test 682s syms x 682s s = findsymbols (x); 682s assert (isequal (s{1}, x)) 682s ***** test 682s syms z x y a 682s s = findsymbols ([x y; 1 a]); 682s assert (isequal ([s{:}], [a x y])) 682s ***** assert (isempty (findsymbols (sym (1)))) 682s ***** assert (isempty (findsymbols (sym ([1 2])))) 682s ***** assert (isempty (findsymbols (sym (nan)))) 682s ***** assert (isempty (findsymbols (sym (inf)))) 682s ***** assert (isempty (findsymbols (exp (sym (2))))) 682s ***** test 682s % empty sym for findsymbols, findsym, and symvar 682s assert (isempty (findsymbols (sym([])))) 682s assert (isempty (findsym (sym([])))) 682s assert (isempty (symvar (sym([])))) 683s ***** test 683s % diff. assumptions make diff. symbols 683s x1 = sym('x'); 683s x2 = sym('x', 'positive'); 683s f = x1*x2; 683s assert (length (findsymbols (f)) == 2) 683s ***** test 683s % symfun or sym 683s syms x f(y) 683s a = f*x; 683s b = f(y)*x; 683s assert (isequal (findsymbols(a), {x y})) 683s assert (isequal (findsymbols(b), {x y})) 683s ***** test 683s % findsymbols on symfun does not find the argnames (unless they 683s % are on the RHS of course, this matches SMT 2014a). 683s syms a x y 683s f(x, y) = a; % const symfun 683s assert (isequal (findsymbols(f), {a})) 683s syms a x y 683s f(x, y) = a*y; 683s assert (isequal (findsymbols(f), {a y})) 683s ***** test 683s % sorts lexigraphically, same as symvar *with single input* 683s % (note symvar does something different with 2 inputs). 683s syms A B a b x y X Y 683s f = A*a*B*b*y*X*Y*x; 683s assert (isequal (findsymbols(f), {A B X Y a b x y})) 683s assert (isequal (symvar(f), [A B X Y a b x y])) 683s ***** test 683s % symbols in matpow 683s syms x y 683s syms n 683s A = [sin(x) 2; y 1]; 683s B = A^n; 683s L = findsymbols(B); 683s assert (isequal (L, {n x y})) 685s ***** test 685s % array of eq 685s syms x y 685s assert (isequal (findsymbols (2 == [2 x y]), {x y})) 685s ***** test 685s % array of ineq 685s syms x y 685s A = [x < 1 2*x < y x >= 2 3 <= x x != y]; 685s assert (isequal (findsymbols (A), {x y})) 685s 16 tests, 16 passed, 0 known failure, 0 skipped 685s [inst/finiteset.m] 685s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/finiteset.m 685s ***** test 685s s1 = finiteset(sym(1), 2, 2); 685s s2 = finiteset(sym(1), 2, 2, 2); 685s assert (isequal (s1, s2)) 685s ***** test 685s s1 = finiteset(sym(0), 1); 685s s2 = finiteset(sym(0), 2, 3); 685s s = finiteset(sym(0), 1, 2, 3); 685s assert (isequal (s1 + s2, s)) 685s ***** test 685s e = finiteset(); 685s s = finiteset(sym(1)); 685s s2 = e + s; 685s assert (isequal (s, s2)) 685s 3 tests, 3 passed, 0 known failure, 0 skipped 685s [inst/heaviside.m] 685s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/heaviside.m 685s ***** assert (heaviside (0) == 0.5) 685s ***** assert (isnan (heaviside (nan))) 685s ***** assert (isequal (heaviside ([-inf -eps 0 eps inf]), [0 0 0.5 1 1])) 685s ***** assert (isequaln (heaviside ([-1 1 nan]), [0 1 nan])) 685s ***** assert (heaviside (0, 1) == 1) 685s ***** error heaviside (1i) 685s ***** assert (isa (heaviside (single (0)), 'single')) 686s 7 tests, 7 passed, 0 known failure, 0 skipped 686s [inst/laguerreL.m] 686s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/laguerreL.m 686s ***** error laguerreL (1) 686s ***** error laguerreL (1, 2, 3) 686s ***** assert (isequal (laguerreL (0, rand), 1)) 686s ***** test 686s x = rand; 686s assert (isequal (laguerreL (1, x), 1 - x)) 686s ***** test 686s x=rand; 686s y1=laguerreL(2, x); 686s p2=[.5 -2 1]; 686s y2=polyval(p2,x); 686s assert(y1 - y2, 0, 10*eps); 686s ***** test 686s x=rand; 686s y1=laguerreL(3, x); 686s p3=[-1/6 9/6 -18/6 1]; 686s y2=polyval(p3,x); 686s assert(y1 - y2, 0, 20*eps); 686s ***** test 686s x=rand; 686s y1=laguerreL(4, x); 686s p4=[1/24 -16/24 72/24 -96/24 1]; 686s y2=polyval(p4,x); 686s assert(y1 - y2, 0, 30*eps) 686s ***** error laguerreL(1.5, 10) 686s ***** error laguerreL([0 1], [1 2 3]) 686s ***** error laguerreL([0 1], [1; 2]) 686s ***** test 686s % numerically stable implementation (in n) 686s L = laguerreL (10, 10); 686s Lex = 1763/63; 686s assert (L, Lex, -eps) 686s L = laguerreL (20, 10); 686s Lex = -177616901779/14849255421; % e.g., laguerreL(sym(20),10) 686s assert (L, Lex, -eps) 686s ***** test 686s % vectorized x 686s L = laguerreL (2, [5 6 7]); 686s Lex = [3.5 7 11.5]; 686s assert (L, Lex, eps) 686s ***** test 686s L = laguerreL (0, [4 5]); 686s assert (L, [1 1], eps) 686s ***** test 686s % vector n 686s L = laguerreL ([0 1 2 3], [4 5 6 9]); 686s assert (L, [1 -4 7 -26], eps) 686s ***** test 686s % vector n, scalar x 686s L = laguerreL ([0 1 2 3], 6); 686s assert (L, [1 -5 7 1], eps) 686s ***** assert (isa (laguerreL (0, single (1)), 'single')) 686s ***** assert (isa (laguerreL (1, single ([1 2])), 'single')) 686s ***** assert (isa (laguerreL ([1 2], single ([1 2])), 'single')) 686s 18 tests, 18 passed, 0 known failure, 0 skipped 686s [inst/lambertw.m] 686s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/lambertw.m 686s ***** assert (isequal (lambertw (0), 0)) 686s ***** assert (isequal (lambertw (0, 0), 0)) 686s ***** assert (lambertw (-1/exp(1)), -1, 2*eps) 686s ***** assert (lambertw (0, -1/exp(1)), -1, 2*eps) 686s ***** assert (lambertw (-1, -1/exp(1)), -1, 2*eps) 686s ***** test 686s x = [1 2 3 pi 10 100 1000 12345]; 686s W = lambertw (x); 686s assert (W.*exp (W), x, -3*eps) 686s ***** test 686s x = [1 2 3 pi 10 100 1000 12345]; 686s k = [-3 -2 -1 0 1 2 3 4]; 686s W = lambertw (k, x); 686s assert (W.*exp (W), x, -10*eps) 686s ***** test 686s % input shape preserved 686s x = [0 1; 2 3]; 686s b = x; 686s W = lambertw (b, x); 686s assert (W.*exp (W), x, -10*eps) 686s ***** test 686s % input shape preserved 686s x = [0 1; 2 3]; 686s b = 0; 686s W = lambertw (b, x); 686s assert (W.*exp (W), x, -10*eps) 686s ***** test 686s % input shape preserved 686s x = 10; 686s b = [0 1; 2 3]; 686s W = lambertw (b, x); 686s assert (W.*exp (W), x*ones (size (b)), -10*eps) 686s ***** assert (isnan (lambertw (nan))) 686s ***** test 686s % limiting behaviour as z large 686s k = 3; 686s A = lambertw (k, 1e100); 686s assert (abs (imag (A) - 2*pi*k) < 0.1) 686s ***** test 686s % limiting behaviour as z large, up imag axis 686s k = 1; 686s A = lambertw (k, 1e100*1i); 686s assert (abs (imag (A) - (2*k+0.5)*pi) < 0.1) 686s ***** test 686s % limiting behaviour as z large, down imag axis 686s k = -2; 686s A = lambertw (k, -1e100*1i); 686s assert (abs (imag (A) - (2*k-0.5)*pi) < 0.1) 686s ***** test 686s % limiting behaviour as z large, near branch 686s k = 3; 686s A = lambertw (k, -1e100); 686s B = lambertw (k, -1e100 + 1i); 686s C = lambertw (k, -1e100 - 1i); 686s assert (abs (imag (A) - (2*k+1)*pi) < 0.1) 686s assert (abs (imag (B) - (2*k+1)*pi) < 0.1) 686s assert (abs (imag (C) - (2*k-1)*pi) < 0.1) 686s ***** test 686s % infinities and nan 686s A = lambertw ([inf exp(1) -inf nan]); 686s B = [inf 1 inf + pi*1i nan]; 686s assert (isequaln (A, B)) 686s ***** test 686s % infinities and nan 686s A = lambertw (3, [inf 1 -inf nan]); 686s B = [inf + 2*3*pi*1i lambertw(3,1) inf + (2*3+1)*pi*1i nan]; 686s assert (isequaln (A, B)) 686s ***** test 686s % infinities and nan 686s A = lambertw ([0 1 2 0], [inf -inf nan exp(1)]); 686s B = [inf inf+3*pi*1i nan 1]; 686s assert (isequaln (A, B)) 686s ***** test 686s % scalar infinity z, vector b 686s A = lambertw ([1 2 -3], inf); 686s B = [lambertw(1, inf) lambertw(2, inf) lambertw(-3, inf)]; 686s assert (isequal (A, B)) 686s ***** test 686s % scalar -infinity z, vector b 686s A = lambertw ([1 2 -3], -inf); 686s B = [lambertw(1, -inf) lambertw(2, -inf) lambertw(-3, -inf)]; 686s assert (isequal (A, B)) 686s ***** test 686s % scalar z nan, vector b 686s A = lambertw ([1 2 -3], nan); 686s B = [nan nan nan]; 686s assert (isequaln (A, B)) 686s 21 tests, 21 passed, 0 known failure, 0 skipped 686s [inst/octsympy_tests.m] 686s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/octsympy_tests.m 686s ***** assert(true) 686s 1 test, 1 passed, 0 known failure, 0 skipped 686s [inst/poly2sym.m] 686s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/poly2sym.m 686s ***** shared x,y,a,b,c,p 686s syms x y a b c 686s p = x^3 + 2*x^2 + 3*x + 4; 686s ***** assert(isAlways( poly2sym([1 2 3 4]) == p )) 686s ***** assert(isAlways( poly2sym([1 2 3 4],x) == p )) 687s ***** assert(isAlways( poly2sym([1 2 3 4],y) == subs(p,x,y) )) 687s ***** assert(isAlways( poly2sym([1 2 3 4],5) == subs(p,x,5) )) 687s ***** assert(isequal( poly2sym ([1]), 1 )) 687s ***** assert(isequal( poly2sym ([]), 0 )) 687s ***** assert(isAlways( poly2sym(sym([1 2 3 4]),x) == p )) 688s ***** assert(isAlways( poly2sym([a b c],x) == a*x^2 + b*x + c )) 688s ***** assert(isAlways( poly2sym([a b c]) == a*x^2 + b*x + c )) 688s ***** assert(isequal( poly2sym(sym([])), 0 )) 688s ***** assert(isAlways( poly2sym({sym(1) sym(2)}, x) == x + 2 )) 688s ***** assert(isequal( poly2sym ({1}), 1 )) 689s ***** assert(isequal( poly2sym ({}), 0 )) 689s ***** assert(isequal( poly2sym ({1}, x), 1 )) 689s ***** assert(isequal( poly2sym ({}, x), 0 )) 689s ***** assert(isAlways( poly2sym([x x], x) == x^2 + x )) 689s ***** test 689s % mixed cell array with doubles and syms 689s assert (isequal (poly2sym ({2.0 sym(3) int64(4)}), 2*x^2 + 3*x + 4)) 689s ***** test 689s % string for x 689s p = poly2sym ([1 2], 's'); 689s syms s 689s assert (isequal (p, s + 2)) 689s 18 tests, 18 passed, 0 known failure, 0 skipped 689s [inst/pycall_sympy__.m] 689s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/pycall_sympy__.m 689s ***** test 689s % general test 689s x = 10; y = 6; 689s cmd = '(x,y) = _ins; return (x+y,x-y)'; 689s [a,b] = pycall_sympy__ (cmd, x, y); 689s assert (a == x + y && b == x - y) 689s ***** test 689s % bool 689s assert (pycall_sympy__ ('return True,')) 689s assert (~pycall_sympy__ ('return False,')) 689s ***** test 689s % float 689s assert (abs(pycall_sympy__ ('return 1.0/3,') - 1/3) < 1e-15) 689s ***** test 689s % int 689s r = pycall_sympy__ ('return 123456'); 689s assert (r == 123456) 689s assert (isinteger (r)) 689s ***** test 689s % string 689s x = 'octave'; 689s cmd = 's = _ins[0]; return s.capitalize(),'; 689s y = pycall_sympy__ (cmd, x); 689s assert (strcmp(y, 'Octave')) 689s ***** test 689s % string with escaped newlines, comes back as escaped newlines 689s x = 'a string\nbroke off\nmy guitar\n'; 689s y = pycall_sympy__ ('return _ins', x); 689s assert (strcmp(y, x)) 689s ***** test 689s % string with actual newlines, comes back as actual newlines 689s x = sprintf('a string\nbroke off\nmy guitar\n'); 689s y = pycall_sympy__ ('return _ins', x); 689s y2 = strrep(y, sprintf('\n'), sprintf('\r\n')); % windows 689s assert (strcmp(x, y) || strcmp(x, y2)) 689s ***** test 689s % cmd string with newlines, works with cell 689s y = pycall_sympy__ ('return "string\nbroke",'); 689s y2 = sprintf('string\nbroke'); 689s y3 = strrep(y2, sprintf('\n'), sprintf('\r\n')); % windows 689s assert (strcmp(y, y2) || strcmp(y, y3)) 689s ***** test 689s % string with XML escapes 689s x = '<> >< <<>>'; 689s y = pycall_sympy__ ('return _ins', x); 689s assert (strcmp(y, x)) 689s x = '&'; 689s y = pycall_sympy__ ('return _ins', x); 689s assert (strcmp(y, x)) 690s ***** test 690s % strings with double quotes 690s x = 'a\"b\"c'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s x = '\"'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % cmd has double quotes, these must be escaped by user 690s % (of course: she is writing python code) 690s expy = 'a"b"c'; 690s y = pycall_sympy__ ('return "a\"b\"c",'); 690s assert (strcmp(y, expy)) 690s ***** test 690s % strings with quotes 690s x = 'a''b'; % this is a single quote 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % strings with quotes 690s x = '\"a''b\"c''\"d'; 690s y = pycall_sympy__ ('return _ins[0]', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % strings with quotes 690s expy = '"a''b"c''"d'; 690s y = pycall_sympy__ ('s = "\"a''b\"c''\"d"; return s'); 690s assert (strcmp(y, expy)) 690s ***** test 690s % strings with printf escapes 690s x = '% %% %%% %%%% %s %g %%s'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % cmd with printf escapes 690s x = '% %% %%% %%%% %s %g %%s'; 690s y = pycall_sympy__ (['return "' x '",']); 690s assert (strcmp(y, x)) 690s ***** test 690s % cmd w/ backslash and \n must be escaped by user 690s expy = 'a\b\\c\nd\'; 690s y = pycall_sympy__ ('return "a\\b\\\\c\\nd\\",'); 690s assert (strcmp(y, expy)) 690s ***** test 690s % slashes 690s x = '/\\ // \\\\ \\/\\/\\'; 690s z = '/\ // \\ \/\/\'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % slashes 690s z = '/\ // \\ \/\/\'; 690s y = pycall_sympy__ ('return "/\\ // \\\\ \\/\\/\\"'); 690s assert (strcmp(y, z)) 690s ***** test 690s % strings with special chars 690s x = '!@#$^&* you!'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s x = '~-_=+[{]}|;:,.?'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** xtest 690s % string with backtick trouble for system -c (sysoneline) 690s x = '`'; 690s y = pycall_sympy__ ('return _ins', x); 690s assert (strcmp(y, x)) 690s ***** test 690s % unicode 690s s1 = '我爱你'; 690s cmd = 'return u"\u6211\u7231\u4f60",'; 690s s2 = pycall_sympy__ (cmd); 690s assert (strcmp (s1, s2)) 690s ***** test 690s % unicode with \x 690s s1 = '我'; 690s cmd = 'return b"\xe6\x88\x91".decode("utf-8")'; 690s s2 = pycall_sympy__ (cmd); 690s assert (strcmp (s1, s2)) 690s ***** test 690s % unicode with \x and some escaped backslashes 690s s1 = '\我\'; 690s cmd = 'return b"\\\xe6\x88\x91\\".decode("utf-8")'; 690s s2 = pycall_sympy__ (cmd); 690s assert (strcmp (s1, s2)) 690s ***** xtest 690s % unicode passthru 690s s = '我爱你'; 690s s2 = pycall_sympy__ ('return _ins', s); 690s assert (strcmp (s, s2)) 690s s = '我爱你<>\&//\#%% %\我'; 690s s2 = pycall_sympy__ ('return _ins', s); 690s assert (strcmp (s, s2)) 690s ***** xtest 690s % unicode w/ slashes, escapes 690s s = '我<>\&//\#%% %\我'; 690s s2 = pycall_sympy__ ('return "我<>\\&//\\#%% %\\我"'); 690s assert (strcmp (s, s2)) 690s ***** test 690s % list, tuple 690s assert (isequal (pycall_sympy__ ('return [1,2,3],'), {1, 2, 3})) 690s assert (isequal (pycall_sympy__ ('return (4,5),'), {4, 5})) 690s assert (isequal (pycall_sympy__ ('return (6,),'), {6,})) 690s assert (isequal (pycall_sympy__ ('return [],'), {})) 690s ***** test 690s % dict 690s cmd = 'd = dict(); d["a"] = 6; d["b"] = 10; return d,'; 690s d = pycall_sympy__ (cmd); 690s assert (d.a == 6 && d.b == 10) 690s ***** test 690s r = pycall_sympy__ ('return 6'); 690s assert (isequal (r, 6)) 690s ***** test 690s r = pycall_sympy__ ('return "Hi"'); 690s assert (strcmp (r, 'Hi')) 690s ***** test 690s % blank lines, lines with spaces 690s a = pycall_sympy__ ({ '', '', ' ', 'return 6', ' ', ''}); 690s assert (isequal (a, 6)) 690s ***** test 690s % blank lines, strange comment lines 690s cmd = {'a = 1', '', '#', '', '# ', ' #', 'a = a + 2', ' #', 'return a'}; 690s a = pycall_sympy__ (cmd); 690s assert (isequal (a, 3)) 690s ***** test 690s % return empty string (was https://bugs.python.org/issue25270) 690s assert (isempty (pycall_sympy__ ('return ""'))) 690s ***** test 690s % return nothing (via an empty list) 690s % note distinct from 'return [],' 690s pycall_sympy__ ('return []') 690s ***** test 690s % return nothing (because no return command) 690s pycall_sympy__ ('dummy = 1') 690s ***** test 690s % return nothing (because no command) 690s pycall_sympy__ ('') 690s ***** test 690s % return nothing (because no command) 690s pycall_sympy__ ({}) 690s ***** error 690s % python exception while passing variables to python 690s % This tests the "INTERNAL_PYTHON_ERROR" path. 690s % FIXME: this is a very specialized test, relies on internal octsympy 690s % implementation details, and may need to be adjusted for changes. 690s disp('') 690s disp('**********************************************************************') 690s disp('') 690s disp(' Some deliberate AttributeError and ValueError may appear next') 690s disp('') 690s 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') 690s b = sym([], 'S.This_is_supposed_to_make_an_exception', [1 1], 'Test', 'Test', 'Test'); 690s c = b + 1; 690s 690s ********************************************************************** 690s 690s Some deliberate AttributeError and ValueError may appear next 690s 690s v v v v v v v v v v v v v v v v v v v v v v v v 690s Traceback (most recent call last): 690s File "", line 4, in 690s File "/usr/lib/python3/dist-packages/sympy/core/singleton.py", line 118, in __getattr__ 690s raise AttributeError( 690s AttributeError: Attribute 'This_is_supposed_to_make_an_exception' was not installed on SymPy registry S 690s ***** test 690s % ...and after the above test, the pipe should still work 690s a = pycall_sympy__ ('return _ins[0]*2', 3); 690s assert (isequal (a, 6)) 690s ***** test 690s % This command does not fail with native interface and '@pyobject' 690s s = warning ('off', 'OctSymPy:pythonic_no_convert'); 690s try 690s q = pycall_sympy__ ({'return type(int)'}); 690s catch 690s msg = lasterror.message; 690s assert (~ isempty (regexp (msg, '.*does not know how to.*'))) 690s end 690s warning (s) 690s disp('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^') 690s disp(' End of deliberate errors!') 690s disp(' You should see "46/46" or "Passes 46 out of 46 tests" below') 690s disp('**********************************************************************') 690s % ...and after the above test, the pipe should still work 690s a = pycall_sympy__ ('return _ins[0]*2', 3); 690s assert (isequal (a, 6)) 690s Traceback (most recent call last): 690s File "", line 2, in 690s File "", line 12, in octoutput_drv 690s File "", line 96, in octoutput 690s ValueError: octoutput does not know how to export type 690s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 690s End of deliberate errors! 690s You should see "46/46" or "Passes 46 out of 46 tests" below 690s ********************************************************************** 690s ***** test 690s % complex input 690s [A, B] = pycall_sympy__ ('z = 2*_ins[0]; return (z.real,z.imag)', 3+4i); 690s assert (A, 6) 690s assert (B, 8) 690s ***** test 690s % complex output 690s z = pycall_sympy__ ('return 3+2j'); 690s assert (z, 3+2i) 690s ***** error 690s s = char ('abc', 'defgh', '12345'); 690s r = pycall_sympy__ ('return _ins[0]', s); 690s ***** test 690s r = pycall_sympy__ ('return len(_ins[0])', ''); 690s assert (r == 0) 690s ***** test 690s % ensure the 0x0 matrix in octave gets mapped to the empty list in python 690s % @sym/subsasgn currently replies on this behaviour 690s assert (pycall_sympy__ ('return _ins[0] == []', [])); 690s ***** test 690s % ensure the empty string gets mapped to the empty string in python 690s assert (pycall_sympy__ ('return _ins[0] == ""', '')); 690s 46 tests, 46 passed, 0 known failure, 0 skipped 690s [inst/syms.m] 690s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/syms.m 690s ***** test 690s %% assumptions 690s syms x real 690s x2 = sym('x', 'real'); 690s assert (isequal (x, x2)) 690s ***** test 690s % assumptions and clearing them on a symbol 690s syms x real 690s assert (~isempty (assumptions (x))) 690s syms x 690s assert (isempty (assumptions (x))) 690s ***** test 690s % Note SMT would clear syms in existing expressions 690s syms x real 690s f = {x {2*x} cos(x/2)}; 690s assert (~isempty (assumptions (f))) 690s syms x 690s % but we do not: this would have to toggle for pure SMT compat 690s assert (~isempty (assumptions (f))) 690s % assert (isempty (assumptions (f))) 691s ***** error 691s syms x clear 691s ***** error 691s syms x positive y 691s ***** error 691s % this sometimes catches typos or errors in assumption names 691s % (if you need careful checking, use sym not syms) 691s syms x positive evne 691s ***** error 691s syms positive integer 691s ***** test 691s % does not create a variable called positive 691s syms x positive integer 691s assert (logical(exist('x', 'var'))) 691s assert (~logical(exist('positive', 'var'))) 691s ***** test 691s % Issue #885 691s syms S(x) I(x) O(x) 691s ***** test 691s % Issue #290 691s syms FF(x) 691s syms ff(x) 691s syms Eq(x) 691s ***** test 691s % Issue #290 691s syms beta(x) 691s ***** test 691s syms x real 691s syms f(x) 691s assert (~ isempty (assumptions (x))) 691s ***** test 691s syms x real 691s f(x) = symfun(sym('f(x)'), x); 691s assert (~ isempty (assumptions (x))) 691s assert (~ isempty (assumptions (argnames (f)))) 691s :18: SyntaxWarning: invalid escape sequence '\(' 691s 13 tests, 13 passed, 0 known failure, 0 skipped 691s [inst/vpa.m] 691s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/vpa.m 691s ***** test 691s a = vpa(0, 4); 691s b = double(a); 691s assert(b == 0) 691s ***** test 691s a = vpa(pi, 4); 691s b = sin(a); 691s assert(abs(double(b)) < 1e-4) 691s ***** test 691s % vpa from double is ok, doesn't warn (c.f., sym(2.3)) 691s a = vpa(2.3); 691s assert(true) 691s ***** test 691s % vpa from double not more than 16 digits 691s a = vpa(sqrt(pi), 32); 691s b = sin(a^2); 691s assert(abs(double(b)) > 1e-20) 691s assert(abs(double(b)) < 1e-15) 691s ***** test 691s a = vpa(sym(pi), 32); 691s b = sin(a); 691s assert(abs(double(b)) < 1e-30) 691s ***** test 691s a = vpa(sym(pi), 256); 691s b = sin(a); 691s assert(abs(double(b)) < 1e-256) 691s ***** test 691s % pi str 691s a = vpa('pi', 32); 691s b = sin(a); 691s assert(abs(double(b)) < 1e-32) 691s ***** test 691s % pi str 691s a = vpa('pi', 32); 691s b = vpa(sym('pi'), 32); 691s assert (double (a - b) == 0) 691s ***** test 691s spi = sym(pi); 691s a = vpa(spi, 10); 691s b = double(a); 691s assert(~isAlways(spi == a)) 691s ***** test 691s % matrix of sym 691s a = [sym(pi) 0; sym(1)/2 1]; 691s b = [pi 0; 0.5 1]; 691s c = vpa(a, 6); 691s assert(max(max(abs(double(c)-b))) < 1e-6) 692s ***** test 692s % matrix of double 692s b = [pi 0; 0.5 1]; 692s c = vpa(b, 6); 692s assert(max(max(abs(double(c)-b))) < 1e-6) 692s ***** test 692s % integer type 692s a = vpa(int32(6), 64); 692s b = vpa(6, 64); 692s assert (isequal (a, b)) 692s ***** test 692s % matrix of int 692s b = int32([pi 0; 6.25 1]); 692s c = vpa(b, 6); 692s assert (isequal (double(c), [3 0; 6 1])) 692s ***** test 692s % can pass pi directly to vpa 692s a = vpa(sym(pi), 128); 692s b = vpa(pi, 128); 692s assert (isequal (a, b)) 692s ***** test 692s % if sym does sth special for e so should vpa 692s a = vpa(sym(exp(1)), 64); 692s b = vpa(exp(1), 64); 692s assert (isequal (a, b)) 692s ***** test 692s % can pass pi directly to vpa, even in array 692s a = vpa(sym([2 pi]), 128); 692s b = vpa([2 pi], 128); 692s assert (isequal (a, b)) 692s ***** test 692s % can pass i directly to vpa 692s a = vpa(sym(i)); 692s b = vpa(i); 692s ***** test 692s % 'i' and 'I' just make vars 692s a = vpa(sym(1i)); 692s b = vpa('i'); 692s c = vpa('I'); 692s assert (~isequal (a, b)) 692s assert (~isequal (a, c)) 693s ***** test 693s % '1i' and '1j' strings 693s a = vpa(sym(1i)); 693s b = vpa('1i'); 693s c = vpa('1j'); 693s assert (isequal (a, b)) 693s assert (isequal (a, c)) 693s ***** test 693s % Issue #868, precision loss on '0.33j' 693s a = vpa('0.33j', 40); 693s b = vpa('0.33i', 40); 693s assert (double (abs (imag (a)*100/33) - 1) < 1e-39) 693s assert (isequal (a, b)) 693s ***** test 693s % inf/-inf do not become symbol('inf') 693s S = {'oo', '-oo', 'inf', 'Inf', '-inf', '+inf'}; 693s for j = 1:length(S) 693s a = vpa(S{j}); 693s b = vpa(sym(S{j})); 693s assert (isequal (a, b)) 693s end 693s ***** test 693s a = vpa('2.3', 20); 693s s = strtrim(disp(a, 'flat')); 693s assert (strcmp (s, '2.3000000000000000000')) 693s ***** test 693s % these should *not* be the same 693s a = vpa(2.3, 40); 693s b = vpa('2.3', 40); 693s sa = sympy (a); 693s sb = sympy (b); 693s assert (~isequal (a, b)) 693s assert (abs(double(a - b)) > 1e-20) 693s assert (abs(double(a - b)) < 1e-15) 693s assert (~strcmp(sa, sb)) 693s ***** test 693s % these should *not* be the same 693s x = vpa('1/3', 32); 693s y = vpa(sym(1)/3, 32); 693s z = vpa(1/3, 32); 693s assert (isequal (x, y)) 693s assert (~isequal (x, z)) 693s ***** test 693s % big integers 693s a = int64(12345678); 693s a = a*a; 693s b = vpa(a); 693s c = vpa('152415765279684'); 693s assert (isequal (b, c)) 693s ***** test 693s % big integers (workaround poor num2str, works in 4.0?) 693s a = int64(1234567891); a = a*a; 693s b = vpa(a); 693s c = vpa('1524157877488187881'); 693s assert (isequal (b, c)) 693s ***** warning vpa ('sqrt(2.0)'); 693s ***** warning 693s if (pycall_sympy__ ('return Version(spver) > Version("1.4")')) 693s a = vpa('2**0.5'); 693s b = vpa(sqrt(sym(2))); 693s assert (isequal (a, b)) 693s else 693s warning('dangerous') % fake it until we drop 1.4 693s end 693s ***** test 693s a = vpa('2.3e1'); 693s b = vpa(' 2.3e+1 '); 693s assert (isequal (a, b)) 693s a = vpa('21e-1'); 693s b = vpa('2.1'); 693s assert (isequal (a, b)) 694s ***** test 694s % Issue #859, operations on immutable matrices 694s x = vpa (sym ([1 2])); 694s % If vpa no longer makes an ImmutableDenseMatrix, 694s % may need to adjust or remove this test. 694s assert (~ isempty (strfind (sympy (x), 'Immutable'))) 694s y = sin(x); 694s y2 = [sin(vpa(sym(1))) sin(vpa(sym(2)))]; 694s assert (isequal (y, y2)) 694s 30 tests, 30 passed, 0 known failure, 0 skipped 694s [inst/vpasolve.m] 694s >>>>> /tmp/autopkgtest.RVRrDz/build.eTA/src/inst/vpasolve.m 694s ***** test 694s syms x 694s vpi = vpa(sym(pi), 64); 694s e = tan(x/4) == 1; 694s q = vpasolve(e, x, 3.0); 694s w = q - vpi ; 694s assert (double(w) < 1e-30) 694s ***** test 694s syms x 694s vpi = vpa(sym(pi), 64); 694s e = tan(x/4) == 1; 694s q = vpasolve(e, x); 694s w = q - vpi; 694s assert (double(w) < 1e-30) 694s q = vpasolve(e); 694s w = q - vpi; 694s assert (double(w) < 1e-30) 694s ***** test 694s % very accurate pi 694s syms x 694s e = tan(x/4) == 1; 694s m = digits(256); 694s q = vpasolve(e, x, 3); 694s assert (double(abs(sin(q))) < 1e-256) 694s digits(m); 694s ***** test 694s % very accurate sqrt 2 694s syms x 694s e = x*x == 2; 694s m = digits(256); 694s q = vpasolve(e, x, 1.5); 694s assert (double(abs(q*q - 2)) < 1e-256) 694s digits(m); 694s ***** test 694s % very accurate sqrt pi 694s % (used to fail https://github.com/sympy/sympy/issues/8564) 694s syms x 694s e = x*x == sym(pi); 694s m = digits(256); 694s q = vpasolve(e, x, 3); 694s assert (double(abs(sin(q*q))) < 1e-256) 694s digits(m); 694s ***** test 694s syms x 694s r = vpasolve(x^2 + 2 == 0, x, 1i); 694s assert (double (imag(r)^2 - 2), 0, 1e-32) 694s assert (double (real(r)^2), 0, 1e-32) 694s r = vpasolve(x^2 + 2 == 0, x, -3i + 5); 694s assert (double (imag(r)^2 - 2), 0, 1e-32) 694s assert (double (real(r)^2), 0, 1e-32) 695s ***** test 695s % system 695s syms x y 695s f = 3*x^2 - 2*y^2 - 1; 695s g = x^2 - 2*x + y^2 + 2*y - 8; 695s r = vpasolve([f; g], [x; y], sym([-1; 1])); 695s assert (isa (r, 'sym')) 695s assert (numel (r) == 2) 695s ***** test 695s % system, double guess 695s syms x y 695s f = 3*x^2 - 2*y^2 - 1; 695s g = x^2 - 2*x + y^2 + 2*y - 8; 695s r = vpasolve([f; g], [x; y], [-1.1 1.2]); 696s ***** test 696s % system, double guess 696s syms x y 696s f = 3*x^2 - 2*y^2 - 1; 696s g = x^2 - 2*x + y^2 + 2*y - 8; 696s r1 = vpasolve([f; g], [x; y], [-1.1]); 696s r2 = vpasolve([f; g], [x; y], [-1.1 -1.1]); 696s assert (isequal (r1, r2)) 696s ***** test 696s % system, more eqns than unknowns 696s syms x y 696s eqns = [x^3 - x - y == 0; y*exp(x) == 16; log(y) + x == 4*log(sym(2))]; 696s r = vpasolve (eqns, [x; y], [1; 1]); 696s A = subs (lhs (eqns), [x; y], r); 696s err = A - [0; 16; 4*log(sym(2))]; 696s assert (double (err), zeros (size (err)), 1e-31) 697s 10 tests, 10 passed, 0 known failure, 0 skipped 697s Checking C++ files ... 697s 698s Done running the unit tests. 698s Summary: 2401 tests, 2370 passed, 30 known failures, 0 skipped 698s Some tests failed. Giving up... 699s autopkgtest [10:33:15]: test command1: -----------------------] 704s autopkgtest [10:33:20]: test command1: - - - - - - - - - - results - - - - - - - - - - 704s command1 FAIL non-zero exit status 1 708s autopkgtest [10:33:24]: @@@@@@@@@@@@@@@@@@@@ summary 708s command1 FAIL non-zero exit status 1