by Pavel Holoborodko on July 23, 2019

Recent papers citing the toolbox (*updating*):

- M. Berljafa, S. Elsworth, S. Güttel,
*Rational Krylov Toolbox for MATLAB 2.8*, February 25, 2019, Manchester University. - J. Wang, I. Tyuryukanov, A. Monti,
*Design of a novel robust current controller for grid-connected inverter against grid impedance variations*, International Journal of Electrical Power & Energy Systems, Volume 110, September 2019, Pages 454-466. - T. Luga, T. Aboiyar, S. Adee,
*Radial basis function methods for approximating the two-dimensional heat equation*, International Journal of Engineering Applied Sciences and Technology, 2019, Vol. 4, Issue 2, ISSN No. 2455-2143, Pages 7-15. - M. Fasi, B. Iannazzo,
*Substitution algorithms for rational matrix equations*, MIMS Preprint, May 12, 2019. - P. Maxwell, S. Ellingsen,
*Path-following methods for calculating linear surface wave dispersion relations on vertical shear flows*, arXiv:1905.03187, May 5, 2019. - Xi, Q., Fu, ZJ. & Rabczuk,
*An efficient boundary collocation scheme for transient thermal analysis in large-size-ratio functionally graded materials under heat source load*, Computational Mechanics, Springer Berlin, April 2019. - J. Cave,
*Modelling Novel Photovoltaic Devices*, PhD thesis, September 2018.

Previous issues: digest v.13, digest v.12, digest v.11, digest v.10, digest v.9, digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on February 27, 2019

Recent papers citing the toolbox (*updating*):

- J. Lehtonen, G. A. Parker,
*Evolution of the Two Sexes under Internal Fertilization and Alternative Evolutionary Pathways*, The American Naturalist, March 18, 2019. - T. Ogita, K. Aishima,
*Iterative refinement for symmetric eigenvalue decomposition II: clustered eigenvalues*, Japan Journal of Industrial and Applied Mathematics, February 22, 2019. - S. Elsworth, S. Güttel,
*The block rational Arnoldi method*,MIMS Preprint, February 17, 2019. - F. Mumtaz, H. Saidaoui, F.H. Alharbi,
*Efficient high order method for differential equations in unbounded domains using generalized coordinate transformation*, Journal of Computational Physics, Volume 381, 15 March 2019, Pages 275-289. - M.F. Rios, J. Calder, G. Lerman,
*Algorithms for -based semi-supervised learning on graphs*, arXiv:1901.05031, January 15, 2019. - Z.J. Fu, L.W. Yang, H.Q. Zhu, W.Z Xu,
*A semi-analytical collocation Trefftz scheme for solving multi-term time fractional diffusion-wave equations*, Engineering Analysis with Boundary Elements, Volume 98, January 2019, Pages 137-146. - M. Fasi, B. Iannazzo,
*Computing primary solutions of equations involving primary matrix functions*, Linear Algebra and its Applications, Volume 560, January 1, 2019, Pages 17-42.

Previous issues: digest v.12, digest v.11, digest v.10, digest v.9, digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on September 24, 2018

Recent papers citing the toolbox:

- N. Higham, S. Pranesh, M. Zounon,
*Squeezing a Matrix into Half Precision, with an Application to Solving Linear Systems*, November 26, 2018. - N. Higham, M. Fasi,
*An Arbitrary Precision Scaling and Squaring Algorithm for the Matrix Exponential*, November 24, 2018. - A. Bacigalupo, M.L. De Bellis, G. Gnecco,
*Complex frequency band structure of periodic thermo-diffusive materials by Floquet-Bloch theory*, arXiv:1811.09389, November 23, 2018. - P.G. Casanova, L. Breton, C. Montoya,
*RBFs methods for null control problems of the Stokes system with Dirichlet and Navier slip boundary conditions*, arXiv:1811.00459, November 1, 2018. - J. Idígoras, L. Contreras‐Bernal, James M. Cave, Nicola E. Courtier, Á. B. Ana Borras, Juan R. Sánchez‐Valencia, Juan A. Anta, Alison B. Walker,
*The Role of Surface Recombination on the Performance of Perovskite Solar Cells: Effect of Morphology and Crystalline Phase of TiO2 Contact*, October 8, 2018. - T. Fukaya, R. Kannan, Y. Nakatsukasa, Y. Yamamoto, Y. Yanagisawa,
*Shifted CholeskyQR for computing the QR factorization of ill-conditioned matrices*, arXiv:1809.11085, September 28, 2018. - I. Evdokimova, J. Verdú, P. de Paco,
*Bandpass Phase Correction Methodology for Ladder-Type Acoustic Filters*, 48th European Microwave Conference (EuMC), September 23-27, 2018. - B. Fornberg, J.A. Reeger,
*An improved Gregory-like method for 1-D quadrature*, Numerische Mathematik, August 16, 2018. - J.M.Linares, G.Goch, A.Forbes, J.M.Sprauel, A.Clément, F.Haertige, W.Gao,
*Modelling and traceability for computationally-intensive precision engineering and metrology*, CIRP Annals, Volume 67, Issue 2, 2018, Pages 815-838. - M. Kalfa, Ö. Ergül, V.B. Ertürk,
*Error Control of Multiple-Precision MLFMA*, IEEE Transactions on Antennas and Propagation, July 9, 2018. - W. Tian, G. Rui, D. Dong, J. Kang,
*Efficient blind adaptive Karhunen–Loéve transform via parallel search*, International Journal of Distributed Sensor Networks, Volume 14, Issue 6, June 1, 2018. - D. Lu, D. Kressner, B. Vandereycken,
*Subspace acceleration for the Crawford number computation*. - S. Fodor, Z. Németh,
*Numerical analysis of parallel implementation of the reorthogonalized ABS methods*, Central European Journal of Operations Research, 2018. - Z.J. Fu, Q. Xi, W. Chen, A.H.D. Cheng,
*A boundary-type meshless solver for transient heat conduction analysis of slender functionally graded materials with exponential variations*, Computers & Mathematics with Applications, Volume 76, Issue 4, 15 August 2018, Pages 760-773. - M. E. Hochstenbach, C. Mehl, B. Plestenjak,
*Solving singular generalized eigenvalue problems by a rank-completing perturbation*, arXiv:1805.07657, May 19, 2018. - S. Bertoluzza, D. Prada,
*A Polygonal Discontinuous Galerkin Method with Minus One Stabilization*, arXiv:1805.04196, May 10, 2018.

Previous issues: digest v.11, digest v.10, digest v.9, digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on April 12, 2018

Recent papers citing the toolbox:

- T. Ogita, K. Aishima,
*Iterative refinement for symmetric eigenvalue decomposition*, Japan Journal of Industrial and Applied Mathematics, May 11, 2018. - N. Higham, M. Theo,
*A New Preconditioner that Exploits Low-Rank Approximations to Factorization Error*, April 23, 2018. - M.J.Y. Ou, H.J. Woerdeman,
*On the augmented Biot-JKD equations with Pole-Residue representation of the dynamic tortuosity*, arXiv:1805.00335, April 28, 2018. - X. Shui, S. Wang,
*Closed-form numerical formulae for solutions of strongly nonlinear oscillators*, International Journal of Non-Linear Mechanics, Volume 103, July 2018, Pages 12–22. - B. Pan, Y. Wang, S. Tian,
*A High-Precision Single Shooting Method for Solving Hypersensitive Optimal Control Problems*, Mathematical Problems in Engineering, Volume 2018, April 15, 2018. - A. Doak, J.-M. Vanden-Broeck,
*Solution selection of axisymmetric Taylor bubbles*, Journal of Fluid Mechanics, Volume 843, May 25, 2018, pp. 518-535. - B. Bucha, C. Hirt, M. Kuhn,
*Cap integration in spectral gravity forward modelling: near- and far-zone gravity effects via Molodensky’s truncation coefficients*, Journal of Geodesy (2018), April 5, 2018. - R. Klees, D.C. Slobbe, H.H. Farahani,
*How to deal with the high condition number of the noise covariance matrix of gravity field functionals synthesised from a satellite-only global gravity field model?*, Journal of Geodesy (2018), March 23, 2018. - G. Li, L. Deng, G. Xiao, P. Tang, C. Wen, W. Hu, J. Pei, L. Shi, H. Eugene Stanley,
*Enabling Controlling Complex Networks with Local Topological Information*, Scientific Reports Volume 8, Article number: 4593 (2018), March 15, 2018. - W. Lin, Z. Wang, M. Huang, Y. Zhuang, S. Zhang,
*On structural identifiability analysis of the cascaded linear dynamic systems in isotopically non-stationary 13C labelling experiments*, Mathematical Biosciences, Volume 300, June 2018, pages 122-129. - M. Pollak, M. Shauly-Aharonov,
*A Double Recursion for Calculating Moments of the Truncated Normal Distribution and its Connection to Change Detection*, Methodology and Computing in Applied Probability (2018). - F. Mumtaz, F. Alharbi,
*Efficient Mapping of High Order Basis Sets for Unbounded Domains*, Commun. Comput. Phys., doi: 10.4208/cicp.OA-2017-0067. - N. E. Courtier, G. Richardson, J. M. Foster,
*A fast and robust numerical scheme for solving models of charge carrier transport and ion vacancy motion in perovskite solar cells*, arXiv:1801.05737, January 17, 2018. - K. Tanaka, M. Sugihara,
*Design of accurate formulas for approximating functions in weighted Hardy spaces by discrete energy minimization*, arXiv:1801.04363, January 13, 2018. - T. Plakhotnik, J. Reichardt,
*Relation between Raman backscattering from droplets and bulk water: Effect of refractive index dispersion*, arXiv:1712.08474, December 21, 2017. - N. Higham,
*A Multiprecision World*, SIAM news, Volume 50, Issue 8, October, 2017.

Previous issues: digest v.10, digest v.9, digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on September 27, 2017

Recent papers citing the toolbox:

- E. D. Schiappacasse, C. J. Fewster, L. H. Ford,
*Vacuum Quantum Stress Tensor Fluctuations: A Diagonalization Approach*, arXiv:1711.09477, November 26, 2017. - B. Protas, T. Sakajo,
*Harnessing the Kelvin-Helmholtz Instability: Feedback Stabilization of an Inviscid Vortex Sheet*, arXiv:1711.03249, November 9, 2017. - Z. Chen, C. Hauck,
*Multiscale convergence properties for spectral approximations of a model kinetic equation*, arXiv:1710.05500, October 16, 2017. - D. Tayli, M. Capek, L. Akrou, V. Losenicky, L. Jelinek, M. Gustafsson,
*Accurate and Efficient Evaluation of Characteristic Modes*, arXiv:1709.09976, September 26, 2017. - E. Lehto, V. Shankar, G. Wright,
*A Radial Basis Function (RBF) Compact Finite Difference (FD) Scheme for Reaction-Diffusion Equations on Surfaces*, SIAM J. Sci. Comput., 39(5), A2129–A2151. - E. Onofri,
*Efficient Legendre polynomials transforms: from recurrence relations to Schoenberg’s theorem*, arXiv:1709.06082, September 17, 2017. - C. Asplund, R. Würtemberg, L. Höglund,
*Modeling tools for design of type-II superlattice photodetectors*, Infrared Physics & Technology 84 (2017) 21–27. - N. Courtier, J. Foster, S. O’Kane, A. Walker,
*Systematic derivation of a surface polarization model for planar perovskite solar cells*, August 30, 2017. - E. Carson, N. Higham,
*Accelerating the Solution of Linear Systems by Iterative Refinement in Three Precisions*, July 25, 2017. - Y. Kobayashi, T. Ogita, K. Ozaki,
*Acceleration of a Preconditioning Method for Ill-Conditioned Dense Linear Systems by Use of a BLAS-based Method*, Reliable Computing Journal, Volume 25, May 31, 2017. - D. Kressner, D. Lu and B. Vandereycken,
*Subspace acceleration for the Crawford number and related eigenvalue optimization problems*, April 25, 2017. - X. Xu, L. Li,
*Numerical stability of the C method and a perturbative preconditioning technique to improve convergence*, Journal of the Optical Society of America, Vol. 34, Issue 6, pp. 881-891 (2017). - E. Carson and N. Higham,
*A New Analysis of Iterative Refinement and its Application to Accurate Solution of Ill-Conditioned Sparse Linear Systems*, March 2017.

Previous issues: digest v.9, digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on June 23, 2017

Computer algebra systems are invaluable tools for modern researchers. Although commonly used CAS (Maple and Mathematica) are quite slow at numerical computations with extended precision, still they are main workhorses for doing tedious symbolic simplifications and manipulations on expressions.

However, with all the respect to substantial progress in the area, we want to draw attention to one of the not-so-obvious issues with symbolic simplifications – **implicit assumptions**. In a course of working with expression, symbolic engine makes certain assumptions about variables involved. This process is automatic and very helpful, as it takes this burden from user’s shoulders.

However, as always with any automation, picture is not that idealistic. Implicit assumptions made by software define the result we get, but nevertheless such assumptions are hidden from the user (at least by default) and not easily accessible. In some situations this leads to completely unexpected and wrong results. In this post we show one of the examples.

Read More

by Pavel Holoborodko on February 14, 2017

Recent papers citing the toolbox:

- B. Jin, B. Li, Z. Zhou,
*Correction of high-order BDF convolution quadrature for fractional evolution equations*, March 28, 2017. - S. Sarra,
*The Matlab Radial Basis Function Toolbox*, Journal of Open Research Software, March 27, 2017. - A. Shirin, I. Klickstein, F. Sorrentino,
*Optimal control of complex networks: Balancing accuracy and energy of the control action*, Chaos: An Interdisciplinary Journal of Nonlinear Science, Volume 27, Issue 4, April 2017. - Á. Rózsás, Z. Mogyorósi,
*The effect of copulas on time-variant reliability involving time-continuous stochastic processes*, Structural Safety, Volume 66, May 2017, Pages 94–105. - C. Asplund, R.M. von Würtemberg, L. Höglund,
*Modeling Tools For Design Of Type-II Superlattice Photodetectors*, Infrared Physics and Technology, 9 March 2017. - E.J. Kansa, P. Holoborodko,
*On the ill-conditioned nature of C-inf RBF strong collocation*, Engineering Analysis with Boundary Elements, Volume 78, May 2017, Pages 26–30. - M. Capek, V. Losenicky, L. Jelinek, M. Gustafsson,
*Validating the Characteristic Modes Solvers*, arXiv:1702.07037, February 24, 2017. - D. Clamond, D. Dutykh,
*Accurate fast computation of steady two-dimensional surface gravity waves in arbitrary depth*, February 13, 2017. - G. Veneziano, S. Yankielovicz, E. Onofri,
*A model for pion-pion scattering in large-N QCD*, arXiv:1701.06315, January 30, 2017. - S. Sarra, S. Cogar,
*An examination of evaluation algorithms for the RBF method*, Engineering Analysis with Boundary Elements, Volume 75, February 2017, Pages 36–45. - M. Barel, F. Tisseur,
*Polynomial eigenvalue solver based on tropically scaled Lagrange linearization*, The University of Manchester, December 25, 2016. - C. Zanoci, B. Swingle,
*Entanglement and thermalization in open fermion systems*, arXiv:1612.04840v1, 14 December 2016. - W.T. de Carvalho, C.A. Aguilar, N.A. Dumont,
*Some issues in the generalized nonlinear eigenvalue analysis of time-dependent problems in the simplified boundary element*. CILAMCE 2016 Proceedings of the XXXVII Iberian Latin-American Congress on Computational Methods in Engineering Suzana Moreira Ávila (Editor), ABMEC,Brasília, DF, Brazil, November 6-9, 2016.

Previous issues: digest v.8, digest v.7, digest v.6, digest v.5, digest v.4, digest v.3 and digest v.2.

by Pavel Holoborodko on October 24, 2016

MATLAB allows flexible adjustment of visibility of warning messages. Some, or even all, messages can be disabled from showing on the screen by `warning`

command.

The little known fact is that status of some warnings may be used to change the execution path in algorithms. For example, if warning `'MATLAB:nearlySingularMatrix'`

is disabled, then linear system solver (operator MLDIVIDE) might skip estimation of reciprocal condition number which is used exactly for the purpose of detection of nearly singular matrices. If the trick is used, it allows `20%-50%`

boost in solver performance, since `rcond`

estimation is a time consuming process.

Therefore it is important to be able to retrieve status of warnings in MATLAB. Especially in MEX libraries targeted for improved performance. Unfortunately MATLAB provides no simple way to check status of warning message from MEX module.

Article outlines two workarounds for the issue.

Read More

by Pavel Holoborodko on October 20, 2016

## Introduction

In connection to our previous article on Architecture of linear systems solver we decided to outline structure of eigensolver implemented in our toolbox. As with linear system solver – we have plethora of algorithms targeted for matrices with specific properties. Toolbox analyses input matrices and automatically selects the best matching method to find the eigendecomposition.

## Standard eigenproblem, `EIG(A)`

Read More

by Pavel Holoborodko on October 7, 2016

Computational complexity of direct algorithms for solving linear systems of equations is O(n^{3}). The only way to reduce enormous effect of cubic growth is to take advantage of various matrix properties and use specialized solvers^{1}.

Toolbox follows this strategy by relying on poly-solver which automatically detects matrix properties and applies the best matching algorithm for the particular case. In this post we outline our solver architecture for full/dense matrices.

**Poly-solver for dense input matrices** *(click on flowchart to see it in higher resolution)*:

Toolbox analyses the structure of input matrix, computes its bandwidth, checks symmetry/Hermitianity, determines permutation to convert matrix to trivial cases (diagonal or triangular) if possible. Then solver selects the most appropriate algorithm depending on matrix properties. Special attention is paid to n-diagonal matrices (banded), frequently encountered in solution of PDE.

Read More