Abstract
In this paper, we consider the computational problem of the quaternion equality constrained least squares problem. First, applying the quaternion QR decomposition and an equivalence problem of the quaternion equality constrained least squares problem, we obtain the expressions of the general solution and the minimal norm solution of the quaternion equality constrained least squares problem. And then by using the real representation matrices of quaternion matrices, the special structure of the real representation matrices and the real structure-preserving algorithm of the quaternion QR decomposition, we purpose a real structure-preserving algorithm for the minimal norm solution of the quaternion equality constrained least squares problem. The purposed algorithm only involves real algebraic operations, and the number of real floating-point operations and assignments has been minimized. Finally, we give two examples, which show that our purposed algorithm is more efficient and time-saving than direct computation in the quaternion Toolbox for Matlab.


Similar content being viewed by others
Data availability
The datasets generated during the current study are available from the corresponding author on reasonable request.
Notes
In order to obtain the solution of the QLSE problem, denote
$$f(x,\lambda)=(Bx-d)^{H}(Bx-d)+\lambda(Ax-b)^{H}(Ax-b),$$in which λ is Lagrange multiplier. When \(\lambda \rightarrow +\infty \), the fixed point x of f(x,λ) tend to the solution of the QLSE problem. Notice that
$$0=\frac{\partial f}{\partial x}=2B^{H}(Bx-d)+2\lambda A^{H}(Ax-b),$$and therefore BH(d − Bx) + λAH(b − Ax) = 0. Denote rB = d − Bx,v = λ(b − Ax), and then AHv + BHrB = 0, in which rB is the residual vector, and v is a vector of Lagrange multiplier.
References
Davies, A.J., McKellar, B.H.J.: Observability of quantum mechanics. Phys. Rev. A. 46(7), 3671–3675 (1992)
Adler, S.L., Finkelstein, D.R.: Quaternionic quantum mechanics and quantum fields. Phys. Today 49(65), 58–60 (1995)
Li, Y., Wei, M., Zhang, F., Zhao, J.: Comparison of two SVD-based color image compression schemes. Plos One 12(3), e0172746 (2017)
Caccavale, F., Natale, C., Siciliano, B., Villani, L.: Six-dof impedance control based on angle/axis representations. IEEE Trans. Robot Autom. 15(2), 289–300 (1999)
Ji, P., Wu, H.: A closed-form forward kinematics solution for the 6-6 p Stewart platform. IEEE Trans. Robot Autom. 17(4), 522–526 (2001)
Moxey, C.E., Sangwine, S.J., Ell, T.A.: Hypercomplex correlation techniques for vector imagines. IEEE Trans. Signal Process. 51(7), 1941–1953 (2003)
Jahanchahi, C., Took, C.C., Mandic, D.P.: A class of quaternion valued affine projection algorithms. Signal Process. 93(7), 1712–1723 (2013)
Javidi, S., Took, C.C., Mandic, D.P.: Fast independent component analysis algorithm for quaternion valued signals. IEEE T. on Neural Netw. 22 (12), 1967–1978 (2011)
Kyrchei, I.: Explicit representation formulas for the minimum norm least squares solutions of some quaternion matrix equations. Linear Algebra Appl. 438(1), 136–152 (2013)
Jiang, T., Jiang, Z., Ling, S.: An algebraic method for quaternion and complex Least Squares coneigen-problem in quantum mechanics. Appl. Math. Comput. 249, 222–228 (2014)
Wang, Q., He, Z., Zhang, Y.: Constrained two-side dcoupled Sylvester-type quaternion matrix equations. Automat. 101, 207–213 (2019)
Zhang, F., Wei, M., Li, Y., Zhao, J.: An efficient real representation method for least squares problem of the quaternion constrained matrix equation AXB + CY D = E. Int. J. Comput. Math. 98, 1408–1419 (2021)
Kyrchei, I., Mosić, D., Stanimirović, P.: MPD-DMP-Solutions to quaternion two-sided restricted matrix equations. Comput. Appl. Math. 40, 177 (2021)
Kyrchei, I.: Weighted singular value decomposition and determinantal representations of the quaternion weighted Moore-Penrose inverse. Appl. Math. Comput. 309, 1–16 (2017)
Rehman, A., Kyrchei, I., Akram, M., Ali, I., Shakoor, A.: Least-norm of the general solution to some system of quaternion matrix equations and its determinantal representations. Abstr. Appl. Anal. 9072690, 2019 (2019)
Kyrchei, I.: Analogs of Cramer’s rule for the minimum norm least squares solutions of some matrix equations. Appl. Math. Comput. 218(11), 6375–6384 (2012)
Barlow, J.L.: Error analysis and implementation aspects of deferred correction for equality constrained least squares problems. SIAM J. Numer. Anal. 25, 1340–1358 (1998)
Cox, A.J., Higham, N.J.: Accuracy and stability of the null space method for solving the equality constrained least squares problem. Bit Numer Math. 39, 34–50 (1999)
Pierro, De A.R., Wei, M.: Some new properties of the equality constrained and weighted least squares problem. Linear Algebra Appl. 320, 145–165 (2000)
Bojanczyk, A., Higham, N.J., Patel, H.: The equality constrained indefinite least squares problem: theory and algorithms. Bit Numer. Math. 43, 505–517 (2003)
Liu, Q.: Stability of the MGS-like elimination method for equality constrained least squares problems. J. Shanghai Univ. 13, 213–218 (2009)
Liu, Q., Pan, B., Wang, Q.: The hyperbolic elimination method for solving the equality constrained indefinite least squares problem. Int. J. Comput. Math. 87(13), 2953–2966 (2010)
Jiang, T., Wei, M.: Equality constrained least squares problem over quaternion field. Appl. Math. Lett. 16, 883–888 (2003)
Jiang, T., Zhao, J., Wei, M.: A new technique of quaternion equality constrained least squares problem. J. Comput. Appl. Math. 216, 509–513 (2008)
Li, Y., Zhang, Y., Wei, M., Zhao, H.: Real structure-preserving algorithm for quaternion equality constrained least squares problem. Math. Method. Appl. Sci. 43, 4558–4566 (2019)
Zhang, Y., Li, Y., Wei, M., Zhao, H.: An algorithm based on QSVD for the quaternion equality constrained least squares problem. Numer. Algorithms 4, 1–14 (2020)
Wei, M., Li, Y., Zhang, F., Zhao, J.: Quaternion Matrix Computations. Nova Science Publisher, New York (2018)
Jia, Z., Wei, M., Ling, S.: A new structure-preserving method for quaternion Hermitian eigenvalue problems. J. Comput. Appl. Math. 239, 12–24 (2013)
Li, Y., Wei, M., Zhang, F., Zhao, J.: A fast structure-preserving method for computing the singular value decomposition of quaternion matrices. Appl. Math. Comput. 235, 157–167 (2014)
Li, Y., Wei, M., Zhang, F., Zhao, J.: Real structure-preserving algorithms of Householder based transformations for quaternion matrices. J. Comput. Appl. Math. 305, 82–91 (2016)
Li, Y., Wei, M., Zhang, F., Zhao, J.: A real structure-preserving method for the quaternion LU decomposition. revisited. Calcolo 54(4), 1553–1563 (2017)
Jia, Z., Wei, M., Zhao, M., Chen, Y.: A new real structure-preserving quaternion QR algorithm. J. Comput. Appl. Math. 343, 26–48 (2018)
Li, Y., Wei, M., Zhang, F., Zhao, J.: On the power method for quaternion right eigenvalue problem. J. Comput. Appl. Math. 345, 59–69 (2019)
Chen, Y., Jia, Z., Peng, Y., Peng, Y.X., Zhang, D.: A new structure-preserving quaternion QR decomposition method for color image blind watermarking. Signal Process. 108088, 185 (2021)
Jia, Z., Ng, M.K.: Structure preserving quaternion generalized minimal residual method. SIAM J. Matrix Anal. A. 42(2), 616–634 (2021)
Ma, R., Jia, Z., Bai, Z.: A structure-preserving Jacobi algorithm for quaternion Hermitian eigenvalue problems. Comput. Math. Appl. 75 (3), 809–820 (2018)
Jia, Z.: The Eigenvalue Problem of Quaternion Matrix: Structure-Preserving Algorithms and Applications, Science Publisher, Beijing (2019)
Sangwine, S.J., Bihan, L.N.: Quaternion toolbox for matlab. http://qtfm.sourceforge.net/
Acknowledgements
The authors would like to thank the handling editor Prof. Claude Brezinski and two anonymous reviewers for their constructive comments and suggestions, which greatly improve the presentation of this paper.
Funding
This paper is supported by the Natural Science Foundation of Shandong Province of China (No. ZR2020MA053), and the Scientific Research Foundation of Liaocheng University (No. 318011921).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Zhang, F., Zhao, J. A real structure-preserving algorithm based on the quaternion QR decomposition for the quaternion equality constrained least squares problem. Numer Algor 91, 1815–1827 (2022). https://doi.org/10.1007/s11075-022-01323-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11075-022-01323-w