Abstract
Quaternions are a non-commutative associative number system that extends complex numbers, first described by Hamilton in 1843. We present algorithms for solving the eigenvalue problem for arrowhead and DPRk (diagonal-plus-rank-k) matrices of quaternions. The algorithms use the Rayleigh Quotient Iteration with double shifts (RQIds), Wielandt’s deflation technique and the fact that each eigenvector can be computed in operations. The algorithms require floating-point operations, n being the order of the matrix. The algorithms are backward stable in the standard sense and compare well to the standard QR method in terms of speed and accuracy. The algorithms are elegantly implemented in Julia, using its polymorphism feature.
Keywords:
eigenvalue decomposition; matrices of quaternions; arrowhead matrix; diagonal-plus-rank-k matrix MSC:
65F15
1. Introduction and Definitions
In linear algebra, there are various methods for computing eigenvalues and eigenvectors of real and complex matrices. When this problem extends to matrices of quaternions, many researchers attempt to solve it [1,2,3,4,5,6,7,8]. For the matrices of quaternions, the majority of classic methods need to be modified since quaternions are non-commutative systems and matrices of quaternions do not have the characteristic polynomial. In this paper, we use the Rayleigh Quotient Iteration with double shifts and a deflation method to solve the eigenvalue problem for the arrowhead and DPRk (diagonal-plus-rank-k) matrices of quaternions. Such matrices appear in many applications and they are parts of many significant linear algebra algorithms (see [9,10,11,12,13,14] for more information).
This paper is organized as follows. In Section 1, we give basic definitions and preliminary results. In Section 2, we give methods for the eigenvalue decomposition of matrices of quaternions. We first briefly describe the standard quaternion QR method for general matrices from [1]. We then describe our new method for arrowhead and DPRk matrices in detail. In Section 3, we analyze the error of our algorithms and show that they are backward stable. In Section 4, we give the numerical examples and compare our method with the standard quaternion QR method. We also present a discussion and conclusions in Section 5.
1.1. Quaternions
Quaternions are a non-commutative associative number system that extends complex numbers, introduced by Hamilton [15,16]. For basic quaternions , and , the quaternions have the form
The multiplication table of basic quaternions is the following:
Conjugation is given by
Then,
Also, the real and the imaginary parts of q are defined by
respectively.
The dot product of two vectors of quaternions , is defined in the standard manner:
Let be a complex analytic function. The value , where , is computed by evaluating the extension of f to the quaternions at q (see [17]). All of the above is implemented in the Julia [18] package Quaternions.jl [19]. Quaternions are homomorphic to :
with eigenvalues and .
1.2. Matrices of Quaternions
Let be a set of quaternions. Any matrix , where , can be uniquely expressed as
Similarly, matrices of quaternions are homomorphic to :
Notice that
The right eigenvalues and the standard right eigenvalues of the matrix A are defined by:
Let be the right eigenpair of A where is the standard eigenvalue. Then, is invariant under similarity with complex numbers: if
then
for any non-zero .
1.3. Arrowhead and Diagonal-Plus-Rank-k Matrices
Let and denote the adjoints of matrix A and vector x, respectively.
The arrowhead matrix (Arrow) is a matrix of the form
where D is a diagonal matrix with diagonal elements , and or any symmetric permutation of such matrix.
The diagonal-plus-rank-k matrix (DPRk) is a matrix of the form
where is diagonal matrix with diagonal elements , , and .
The diagonal-plus-rank-one matrix (DPR1) is a special case of a DPRk matrix for .
1.4. Fast Multiplication and Inverses of Arrow and DPRk Matrices
The fast multiplication can be computed in operations and the product is written in the form . It can be calculated using the following lemma.
Lemma 1
([20], Lemma 1). Let be an Arrow matrix with the tip at position and let z be a vector. Then, , where
Further, let be a DPRk matrix, and let . Then, , where
Inverses of Arrow and DPRk matrices are computed in and operations, respectively, and can be calculated using the following lemmas (we usually consider cases where , so we can use instead of ).
Lemma 2
([20], Lemma 4). Let be a non-singular arrow matrix with the tip at the position and let P be the permutation matrix of the permutation .
If all , then the inverse of A is a DPR1 matrix
where
If , then the inverse of A is an arrow matrix with the tip of the arrow at position and zero at position (the tip and the zero on the shaft change places). In particular, let be the permutation matrix of the permutation . Partition D, u and v as
Then
where
Lemma 3
([20], Lemma 5). Let be a non-singular DPRk matrix.
If all , then the inverse of A is a DPRk matrix
where
If and , then the inverse of A is an arrow matrix with the arrow tip at position . In particular, let P be the permutation matrix of the permutation . Partition Δ, x and y as
Then,
where
2. Methods for Eigenvalue Decomposition
In this section, we first describe the standard QR method for general matrices of quaternions from [1]. In Section 4, we will compare our algorithm with this method. We then describe the method that will be used to compute individual eigenpairs, the Rayleigh Quotient Iteration with double shifts. In Section 2.4, we describe the basic deflation algorithm (Wielandt’s deflation) and its adjustment for arrow and DPRk matrices. For each type of matrix, we describe the fast method to compute all eigenvectors and give a complete algorithm.
2.1. A Quaternion QR Algorithm
In [1], the authors proposed a QR type method for computing the Schur decomposition of a general matrix of quaternions. The matrix uses only unitary transformations and is thus stable.
To compute the eigenvalues decomposition of a general matrix of quaternions, we propose the following four-step algorithm based on the algorithm from [1]:
Given a matrix , Algorithm 1 has four steps:
| Algorithm 1 Computing all eigenpairs of a quaternion matrix |
|
The reduction of a quaternionic matrix to Hessenberg form and the solution of the Sylvester equation are computed similarly to the real or complex case. Details of the Hessenberg reduction can be found in ([1], Appendix, Algorithms 1–3).
Consider a matrix and the shift . Set
If , then x is also an eigenvector of :
Further, for the perfect shift, , has a zero eigenvalue:
The QR method from [1] applies non-real shift to an upper-Hessenberg matrix H by standard use of Francis double-shift on the matrix and applying it implicitly on H. Details of the algorithm can be found in ([1], Appendix, Algorithm 4).
Since Algorithm 1 is used for general matrices, it requires operations. The algorithm is stable and we use it in Section 4 for comparison with our method.
Julia [18] implementation of Algorithm 1 is given in the file BGBM.jl, which is available from the GitHub repository [21].
2.2. Rayleigh Quotient Iterations
The standard Rayleigh Quotient Iteration (RQI) produces sequences of shifts, approximate eigenvalues and vectors: for
Since the eigenvalues of matrices of quaternions are not shift-invariant, only real shifts can be used. However, this works due to the following: let the matrix , , have purely imaginary standard eigenvalue :
Then
so, is an eigenvalue of A and x is its eigenvector.
The method converges, but, since only real shifts are used, the convergence is rather slow and requires a large number of iterations, so “it is too restrictive to limit shifts to real numbers” ([1], p. 89).
Due to the fast computation of inverses from Section 1.4, one step of the RQI requires operations for arrow and DPRk matrices. For both methods, and , where is an eigenpair of A, provided that has a unique real part.
The iterations are terminated when
where is a user-prescribed tolerance.
2.3. Rayleigh Quotient Iterations with Double Shifts
In order to speed the convergence up, we enhance the RQI with non-real double shifts, using the approach from [1] and Section 2.1.
The Rayleigh Quotient Iteration with Double Shifts (RQIds) produces sequences of shifts and vectors
where is defined by (5). Therefore, vector is the solution of the system , that is
Notice that and are real.
In order to have a fast method which requires operations to compute all eigenvalues and eigenvectors, the RQIds should compute one eigenpair in operations. Therefore, Equation (7) must be solved in operations.
If A is an arrowhead matrix, one step of the method requires operations: let . Then:
Therefore,
so
The matrix is a DPRk (DPR1) matrix,
Multiplication of Equation (8) by the block matrix from the left yields
Let B denote the matrix on the left hand side of Equation (9). Then, B is an arrowhead matrix and, finally, . Due to fast computation of inverses of arrowhead and DPRk matrices from Lemmas 2 and 3, respectively, one step of the RQIds method requires operations.
Similarly to the arrowhead case, we solve Equation (10) accurately in two steps: let and let
Then, Equation (10) becomes
or
where and , provided C is non-singular. Notice that D is a DPRk matrix,
Since both C and D are DPRk matrices, due to the fast computation of inverses of DPRk matrices from Lemma 3, one step of the RQIds method requires operations.
2.4. Wielandt’s Deflation
Theorem 1.
Let and be a right eigenpair of A. Choose z such that , say . Compute the deflated matrix . Then, is an eigenpair of . Further, if is an eigenpair of A, then , where is an eigenpair of .
Proof.
The proof can be found in [13], but we repeat it for the sake of completeness. Using and , the first statement holds since
Further,
□
2.5. Deflation for Arrow Matrices
Lemma 4.
Let be an arrow matrix partitioned as
where χ, υ and α are scalars, x and y are vectors and Δ is a diagonal matrix. Let , where ν and ψ are scalars and u is a vector, be an eigenpair of A. Then, the deflated matrix has the form
where
and is an arrow matrix
Proof.
We have
as desired. □
Lemma 5.
Let A and be as in Lemma 4. If is an eigenpair of , then the eigenpair of A is
where ζ is the solution of the scalar Sylvester equation
Proof.
2.5.1. Computing the Eigenvectors of Arrow Matrices
Let be an eigenpair of the matrix A partitioned according to Lemma 4, that is
If and are known, then the other components of the eigenvector are solutions of scalar Sylvester equations
Dividing first the equation in (16) by from the right and combining with the expression for gives
2.5.2. Complete Algorithm for Arrow Matrices
In the first (forward) pass, the absolute largest eigenvalue and its eigenvector are computed by RQIds in each step. The first element of the current vector x and the first and the last elements of the current eigenvector are stored. The current value is computed using (18) and stored. The deflation is then performed according to Lemma 4.
The eigenvectors are reconstructed bottom-up, that is from the smallest matrix to the original one (a backward pass). In each iteration, we need to have access to the first element of the vector x which was used to define the current arrow matrix, its absolutely largest eigenvalue and the first and the last elements of the corresponding eigenvector.
In the ith step, for each the following steps are performed:
- Equation (17) is solved for (the first element of the eigenvector of the larger matrix). The quantity is the last element of the eigenvectors and was stored in the forward pass.
- The first element of the eigenvector of the super-matrix is updated (set to ).
- The last element of the eigenvectors of the super-matrix is updated using (14).
All iterations are completed in operations. After all iterations are completed, we have:
- the absolutely largest eigenvalue and its eigenvector (unchanged from the first run of the RQIds);
- all other eigenvalues and the last elements of their corresponding eigenvectors.
The rest of the elements of the remaining eigenvectors are computed using the procedure in Section 2.5.1. This step also requires operations.
Finally, due to floating-point error in operations with quaternions, the computed eigenpairs have larger residuals that required. This is successfully remedied by running again few steps of the RQIds, but starting from the computed eigenvectors. This has the effect of using nearly perfect shifts, so typically just a few additional iterations are needed to attain the desired accuracy. This step also requires operations.
Algorithm 2 is implemented in the function eigen() in the Code section of the notebook ED_Arrow.jl, which is available from the GitHub repository [21]. The file also contains the code which is used to generate and run examples which are presented in Section 4. The implementation is written in the programming language Julia [18], which enables elegant and efficient manipulation with quaternions.
| Algorithm 2 Computing all eigenpairs of an arrow matrix |
|
2.6. Deflation for DPRk Matrices
Lemma 6.
Let be a DPRk matrix partitioned as
and let be the eigenpair of A. Then, the deflated matrix has the form
where
and is a DPRk matrix
Proof.
We have
as desired. □
Lemma 7.
Let A, and be as in Lemma 6. If is an eigenpair of , then the eigenpair of A is
where ζ is the solution of the Sylvester equation
Proof.
If is an eigenvalue of , it is also an eigenvalue of and then also of A. Assume that the corresponding eigenvector of A is partitioned as . By combining (19) and (21) and the previous results, it must hold that
or
Therefore, or
and it remains to compute . From the equality
it follows that
2.6.1. Computing the Eigenvectors of DPRk Matrices
Let the DPRk matrix A and its eigenpair be defined as in Lemma 6. Let x be partitioned row-wise as
Set . From
it follows that the elements of the eigenvector satisfy scalar Sylvester equations
If , and the first components of u are known, then is computed from the first k equations in (24), that is, by solving the system
and , are computed by solving the remaining Sylvester equations in (24).
In special cases, for DPR1 matrices, we can compute their eigenvectors via the following method: let the DPR1 matrix A and its eigenpair be defined as in Lemma 6. Set . From
it follows that the elements of the eigenvector satisfy the scalar Sylvester equations
If and are known, then is computed from the first equation in (25),
and , are computed by solving the remaining Sylvester equations in (25).
Lemma 8.
Assume A and its eigenpair are given as in Lemma 6 and and its eigenpair are given as in Lemma 7. Set in (22)
Then,
and α is the solution of the system
Proof.
The formula for follows by multiplying the first elements of the equation
with from the right.
Consider the equation , that is,
2.6.2. Complete Algorithm for DPRk Matrices
Lemmas 6 and 8 are used as follows. In the first (forward) pass, the absolute largest eigenvalue and its eigenvector are computed by RQIds in each step. The first two elements of the current vector x and the current eigenvector are stored. The current value is computed using (26) and stored. The deflation is then performed according to Lemma 6.
The eigenvectors are reconstructed bottom-up, that is from the smallest matrix to the original one (a backward pass). In each iteration, we need to have access to the first two elements of the vector x which was used to define the current DPRk matrix, its absolutely largest eigenvalue and the first two elements of the corresponding eigenvector.
In the i-th step, for each , the following steps are performed:
Iterations are completed in operations. After all iterations are completed, we have:
- The absolutely largest eigenvalue and its eigenvector (unchanged from the first run of the RQIds);
- All other eigenvalues and the first elements of their corresponding eigenvectors.
The rest of the elements of the remaining eigenvectors are computed using the procedure described in Section 2.6.1. This step requires operations.
Algorithm 3 is implemented in the function eigen() in the Code section of the notebook ED_DPRk.jl, which is available from the GitHub repository [21]. The file also contains the code which is used to generate and run examples which are presented in Section 4.
| Algorithm 3 Computing all eigenpairs of a DPRk matrix |
|
3. Perturbation Theory, Error Analysis and Error Bounds
In this section, we first state several Bauer–Fike-type perturbation results for eigenpairs and complete eigenvalue decompositions of matrices of quaternions. In Section 3.2, we give errors of basic operation with quaternions (addition and multiplication of two quaternions), the dot product of two vectors of quaternions and the multiplication of two matrices of quaternions. In Section 3.3, we combine results from Section 3.1 and Section 3.2 and obtain residual error bounds which can be efficiently used to check the accuracy of the computed eigenvalue decomposition.
3.1. Perturbation Theory
In 2021, Ahmad et al. [2] stated and proved the Bauer–Fike-type theorem for the right eigenvalues of a perturbed quaternionic matrix.
Theorem 2
([2], Theorem 3.7). Let be a diagonalizable matrix, with , where is invertible and with being the standard right eigenvalues of A. If μ is a standard right eigenvalue of , then
Moreover, we have
where and is the condition number with respect to the matrix 2-norm.
The following corollary and theorem are given when a matrix is normal or Hermitian, respectively.
Corollary 1
([2], Corollary 3.8). Let be a normal matrix and let μ be a standard right eigenvalue of the perturbed quaternionic matrix . Then,
Moreover, we have
where .
Theorem 3
([2], Theorem 3.12). Let be a Hermitian matrix. For some and with , define the residual vector . Then, for some .
We now prove two residual bounds for general (non-Hermitian) matrices:
Theorem 4.
Let be the approximate eigenpair of the matrix A, where . Let
Then, is the eigenpair of the matrix and .
Proof.
We have
which proves the first statement. Obviously,
□
In the case of several computed eigenvalues and corresponding eigenvectors, we have the following result:
Theorem 5.
Let , be approximate eigenpairs of the matrix A, where . Set and . We assume that eigenvectors are linearly independent. Let
Then, , are the eigenpairs of the matrix and
Proof.
We have
which proves the first statement. Obviously,
□
3.2. Errors of Basic Operations
We are assuming the standard model of floating-point arithmetic [9]: for , we have
where a and b are floating-point numbers and is the machine precision (twice the round-off unit).
An error of the addition of quaternions is bounded as follows:
or, equivalently
An error of the product of two quaternions is bounded as follows [22]:
Lemma 9
([22], Lemma 1). Let . Then
Using (28) and (30), we obtain the following error bound for the dot product of two vectors of quaternions:
Lemma 10.
Let , that is, and , where for . Let and denote the corresponding vectors of component-wise absolute values. Then
Proof.
The proof is by induction on n. For , the bound (31) follows from (32). Assume that the bound (31) holds for all vectors of length .
From the assumption and (31), it follows that
We can extend the above lemma for matrices of quaternions as follows:
Corollary 2.
Let be matrices of quaternions and ε and let and denote the corresponding matrices of component-wise absolute values. Then
3.3. Error Bounds for Algorithms 2 and 3
Since the errors of basic operations with quaternions from Section 3.2 are of the same order as the errors in the real or complex cases, we can use these bounds to analyze Algorithms 2 and 3. To estimate the accuracy of the computed eigenvalues, these error bounds can further be plugged into the perturbation bounds of Section 3.1 (Theorems 2 and 3, Corollary 1).
However, since the algorithms use deflation, this analysis would be too cumbersome and useless. Instead, we can estimate the accuracy of the computed eigenvalues a posteriori by using residual bounds from Theorems 4 and 5 and inserting those bounds into Theorem 2, Corollary 1 or Theorem 3, respectively.
For example, let be the computed eigenpair of the matrix A, where is in the standard form and . Then, we can compute the residual r as in Theorems 2 and 4; this implies that
We can use the bound effectively if the matrix is diagonalizable and we can approximate the condition of the eigenvector matrix by the condition of the computed eigenvector matrix .
If we computed all eigenvalues and all eigenvectors of a diagonalizable matrix, and , respectively, then we can compute the residual R as in Theorem 5. Inserting the bound for from Theorem 5 into Theorem 2 yields
If the matrix is normal or Hermitian, then, instead of Theorem 2, we can use Corollary 1 of Theorem 3, yielding sharper bounds.
We demonstrate the efficacy of the bounds in the experiments in the next section.
4. Numerical Results
In this section, we present the results of tests performed on several sets of moderate-size random matrices (). For the smaller dimensions (), the actual errors are computed by comparing the eigenvalues computed using Julia’s 64-bit arithmetic (Float64) with the eigenvalues computed using Julia’s type BigFloat. When using BigFloat type, all operations are computed with a 512 bit mantissa. This is equivalent to computing with some 77 decimal digits, that is, with the machine precision equal to .
Experiments were performed on an Intel Omen computer with Intel(R) Core(TM) i7-8700K CPU @ 3.70 GHz processor and 16 GB RAM.
Errors are computed as
where care was taken to properly order the eigenvalues. In each case, the residual R was computed in a standard manner as in Theorem 5 and the error bound was computed by plugging in from Theorem 5 and the condition of the computed eigenvector matrix into Theorem 2. The Julia notebooks used to run the experiments and make graphs and tables in this section are located in the GitHub repository [21] (see the files ED_Arrow.jl, ED_DPRk.jl and Plotting.jl).
The results for arrow matrices, displayed in Figure 1 and Table 1, are obtained as follows: we generated 10 random quaternionic arrow matrices of each size and computed their eigenvalue decompositions using Algorithm 2 and Algorithm 1 for comparison.
Figure 1.
Error bounds (green squares), residuals and actual errors computed by Algorithm 2 (red dots and diamonds, respectively) and residuals and actual errors computed by Algorithm 1 (blue dots and diamonds, respectively). For and , the actual errors are not computed.
Table 1.
Mean number of iterations per eigenvalue and mean total running times for arrow matrices of orders , using Algorithm 2 (RQIds) and Algorithm 1 (QR), respectively.
The results for DPRk matrices, displayed in Figure 2 and Table 2, are obtained by generating 10 random quaternionic DPRk matrices of each size, with and we computed their eigenvalue decompositions using Algorithm 3 and Algorithm 1 for comparison. In all examples, the tolerance was set to .
Figure 2.
Error bounds (green squares), residuals and actual errors computed by Algorithm 2 (red dots and diamonds, respectively) and residuals and actual errors computed by Algorithm 3 (blue dots and diamonds, respectively). For and the actual errors are not computed.
Table 2.
Mean number of iterations per eigenvalue and mean total running times for DPRk matrices of orders , using Algorithm 3 (RQIds) and Algorithm 1 (QR), respectively.
5. Discussion and Conclusions
From Figure 1 and Figure 2, we conclude that the errors approximately coincide with the tolerance and are smaller than the respective residuals, which are, in turn, smaller, but well approximated by the computed error bounds. Since the computations using BigFloat type are slow, the actual errors are computed only for the dimensions and . We can also conclude that residuals and error of our methods from Algorithms 2 and 3 are similar to (or even slightly smaller than) those of the quaternion QR method from Algorithm 1.
In Table 1 and Table 2, we see that the running time of our algorithms grows approximately with the square of the dimension, as expected by the algorithm, while the running time for the quaternion QR method increases with the cube of the dimension, as expected from the general algorithm.
The key contributions of the paper are the following:
- Efficient algorithms for computing eigenvalue decompositions of arrow and DPRk matrices of quaternions;
- The algorithms require arithmetic operations, n being the order of the matrix;
- Algorithms have proven error bounds;
- Experiments demonstrate that the computable residual is a good estimate of actual errors;
- Experiments demonstrate that actual errors are even smaller than predicted by the residuals;
- In all experiments, errors and residuals are of the order of tolerance from Algorithms 2 and 3;
- Experiments demonstrate that Rayleigh Quotient Iteration with double-shifts is efficient for non-Hermitian matrices;
- Algorithms 2 and 3 compare favorably in terms of accuracy and speed to the quaternion QR method for general matrices from Algorithm 1.
Author Contributions
Conceptualization, N.J.S. and I.S.; formal analysis, T.C., N.J.S. and I.S.; funding acquisition, I.S.; investigation, T.C., N.J.S. and I.S.; project administration, I.S.; resources, T.C., N.J.S. and I.S.; software, T.C., N.J.S. and I.S.; writing—original draft, T.C., N.J.S. and I.S.; writing—review & editing, T.C., N.J.S. and I.S. All authors have read and agreed to the published version of the manuscript.
Funding
This work has been fully supported by the Croatian Science Foundation under project IP-2020-02-2240.
Data Availability Statement
The notebooks which contain the codes for Algorithms 2 and 3 and are used to run the experiments and make graphs and tables from Section 4 are located in the GitHub repository https://github.com/ivanslapnicar/MANAA/, accessed on 9 February 2024.
Acknowledgments
The authors wish to express their thanks to the editor and the reviewers for their succinct and valuable comments.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Bunse-Gerstner, A.; Byers, R.; Mehrmann, V. A quaternion QR algorithm. Numer. Math. 1989, 55, 83–95. [Google Scholar]
- Ahmad, S.S.; Ali, I.; Slapničar, I. Perturbation analysis of matrices over a quaternion division algebra. Electron. Trans. Numer. Anal. 2021, 54, 128–149. [Google Scholar] [CrossRef] [Scilit]
- Baker, A. Right eigenvalues for quaternionic matrices: A topological approach. Linear Algebra Appl. 1999, 286, 303–309. [Google Scholar] [CrossRef] [Scilit]
- Farenick, D.R.; Pidkowich, B.A. The spectral theorem in quaternions. Linear Algebra Appl. 2003, 371, 75–102. [Google Scholar] [CrossRef] [Scilit]
- Jia, Z.; Wang, Q.; Pang, H.K.; Zhao, M. Computing Partial Quaternion Eigenpairs with Quaternion Shift. J. Sci. Comput. 2023, 97, 41:1–41:21. [Google Scholar] [CrossRef] [Scilit]
- Lee, H.C. Eigenvalues and canonical forms of matrices with quaternion coefficients. Proc. R. Irish. Acad. 1949, 52, 253–260. [Google Scholar]
- De Leo, S.; Scolarici, G. Right eigenvalue equation in quaternionic quantum mechanics. J. Phys. A 2000, 33, 2971–2995. [Google Scholar]
- Tisseur, F.; Meerbergen, K. Quadratic eigenvalue problem. SIAM Rev. 2001, 43, 235–286. [Google Scholar] [CrossRef] [Scilit]
- Golub, G.H.; Van Loan, C.F. Matrix Computations, 4th ed.; The John Hopkins University Press: Baltimore, MD, USA, 2013. [Google Scholar]
- Najafi, H.S.; Edalatpanah, S.A.; Gravvanis, G.A. An efficient method for computing the inverse of arrowhead matrices. Appl. Math. Lett. 2014, 33, 1–5. [Google Scholar] [CrossRef] [Scilit]
- Jakovčević Stor, N.; Slapničar, I.; Barlow, J.L. Accurate eigenvalue decomposition of real symmetric arrowhead matrices and applications. Linear Algebra Appl. 2015, 464, 62–89. [Google Scholar] [CrossRef] [Scilit]
- Jakovčević Stor, N.; Slapničar, I.; Barlow, J.L. Forward stable eigenvalue decomposition of rank-one modifications of diagonal matrices. Linear Algebra Appl. 2015, 487, 301–315. [Google Scholar] [CrossRef] [Scilit]
- Saad, Y. Numerical Methods for Large Eigenvalue Problems; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2011. [Google Scholar] [CrossRef] [Scilit]
- Watkins, D.S. Unsymmetric Matrix Eigenvalue Techniques. In Handbook of Linear Algebra; Hogben, L., Ed.; CRC Press: Boca Raton, FL, USA, 2014; Chapter 56; pp. 1–12. [Google Scholar] [CrossRef] [Scilit]
- Hamilton, W.R., Sr. Lectures on Quaternions; Hodges and Smith: London, UK, 1853. [Google Scholar]
- Hamilton, W.R., Sr. Elements of Quaternions; Longmans, Green and Co.: London, UK, 1866. [Google Scholar]
- Sudbery, A. Quaternionic analysis. Math. Proc. Camb. Philos. Soc. 1979, 85, 199–225. [Google Scholar] [CrossRef] [Scilit]
- The Julia Language. Version 1.10.2. Available online: http://julialang.org/ (accessed on 9 February 2024).
- Quaternions.jl. Version 0.7.4. Available online: https://github.com/JuliaGeometry/Quaternions.jl (accessed on 9 February 2024).
- Jakovčević Stor, N.; Slapničar, I. Fast multiplication, determinants and inverses of arrowhead and diagonal-plus-rank-one matrices over associative fields. arXiv 2022, arXiv:2212.10966. [Google Scholar]
- Matrix Algorithms for Non-Commutative Associative Algebras. Available online: https://github.com/ivanslapnicar/MANAA/ (accessed on 9 February 2024).
- Joldeş, M.; Muller, J.-M. Algorithms for manipulating quaternions in floating-point arithmetic. In Proceedings of the 2020 IEEE 27th Symposium on Computer Arithmetic (ARITH), Portland, OR, USA, 7–10 June 2020; pp. 48–55. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

