NAG Library Routine Document F08QVF (ZTRSYL)
|
|
- Bridget Todd
- 5 years ago
- Views:
Transcription
1 F8 Least-squares and Eigenvalue Problems (LAPAK) F8QVF NAG Library Routine Document F8QVF (ZTRSYL) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details. Purpose F8QVF (ZTRSYL) solves the complex triangular Sylvester matrix equation. 2 Specification SUBROUTINE F8QVF (TRANA, TRANB, ISGN, M, N, A, LDA, B, LDB,, LD, SAL, INFO) & INTEGER ISGN, M, N, LDA, LDB, LD, INFO REAL (KIND=nag_wp) SAL OMPLEX (KIND=nag_wp) A(LDA,*), B(LDB,*), (LD,*) HARATER() TRANA, TRANB The routine may be called by its LAPAK name ztrsyl. 3 Description F8QVF (ZTRSYL) solves the complex Sylvester matrix equation opðaþx X opðbþ ¼, where opðaþ ¼ A or A H, and the matrices A and B are upper triangular; is a scale factor ( ) determined by the routine to avoid overflow in X; A is m by m and B is n by n while the right-hand side matrix and the solution matrix X are both m by n. The matrix X is obtained by a straightforward process of back-substitution (see Golub and Van Loan (996)). Note that the equation has a unique solution if and only if i j 6¼, where f i g and j are the eigenvalues of A and B respectively and the sign (þ or ) is the same as that used in the equation to be solved. 4 References Golub G H and Van Loan F (996) Matrix omputations (3rd Edition) Johns Hopkins University Press, Baltimore Higham N J (992) Perturbation theory and backward error for AX XB ¼ Numerical Analysis Report University of Manchester 5 Parameters : TRANA HARATER() Input On entry: specifies the option opðaþ. TRANA ¼ N opðaþ ¼ A. TRANA ¼ opðaþ ¼ A H. onstraint: TRANA ¼ N or. F8QVF.
2 F8QVF NAG Library Manual 2: TRANB HARATER() Input On entry: specifies the option opðbþ. TRANB ¼ N opðbþ ¼ B. TRANB ¼ opðbþ ¼ B H. onstraint: TRANB ¼ N or. 3: ISGN INTEGER Input On entry: indicates the form of the Sylvester equation. ISGN ¼þ The equation is of the form opðaþx þ X opðbþ ¼. ISGN ¼ The equation is of the form opðaþx X opðbþ ¼. onstraint: ISGN ¼þor. 4: M INTEGER Input On entry: m, the order of the matrix A, and the number of rows in the matrices X and. onstraint: M. 5: N INTEGER Input On entry: n, the order of the matrix B, and the number of columns in the matrices X and. onstraint: N. 6: AðLDA,Þ OMPLEX (KIND=nag_wp) array Input Note: the second dimension of the array A must be at least maxð; MÞ. On entry: the m by m upper triangular matrix A. 7: LDA INTEGER Input On entry: the first dimension of the array A as declared in the (sub)program from which F8QVF onstraint: LDA maxð; MÞ. 8: BðLDB,Þ OMPLEX (KIND=nag_wp) array Input Note: the second dimension of the array B must be at least maxð; NÞ. On entry: the n by n upper triangular matrix B. 9: LDB INTEGER Input On entry: the first dimension of the array B as declared in the (sub)program from which F8QVF onstraint: LDB maxð; NÞ. : ðld,þ OMPLEX (KIND=nag_wp) array Input/Output Note: the second dimension of the array must be at least maxð; NÞ. On entry: the m by n right-hand side matrix. On exit: is overwritten by the solution matrix X. F8QVF.2
3 F8 Least-squares and Eigenvalue Problems (LAPAK) F8QVF : LD INTEGER Input On entry: the first dimension of the array as declared in the (sub)program from which F8QVF onstraint: LD maxð; MÞ. 2: SAL REAL (KIND=nag_wp) Output On exit: the value of the scale factor. 3: INFO INTEGER Output On exit: INFO ¼ unless the routine detects an error (see Section 6). 6 Error Indicators and Warnings INFO < If INFO ¼ i, argument i had an illegal value. An explanatory message is output, and execution of the program is terminated. INFO ¼ A and B have common or close eigenvalues, perturbed values of which were used to solve the equation. 7 Accuracy onsider the equation AX XB ¼. replace B by B.) Let ~X be the computed solution and R the residual matrix: R ¼ A ~X ~XB. (To apply the remarks to the equation AX þ XB ¼, simply Then the residual is always small: krk F ¼ OðÞ kak F þ kbk ~ F X F. However, ~X is not necessarily the exact solution of a slightly perturbed equation; in other words, the solution is not backwards stable. For the forward error, the following bound holds: ~X X krk F F sepða; BÞ but this may be a considerable over estimate. See Golub and Van Loan (996) for a definition of sepða; BÞ, and Higham (992) for further details. These remarks also apply to the solution of a general Sylvester equation, as described in Section 8. 8 Further omments The total number of real floating point operations is approximately 4mnðm þ nþ. To solve the general complex Sylvester equation AX XB ¼ where A and B are general matrices, A and B must first be reduced to Schur form (by calling F8PNF (ZGEES), for example): A ¼ Q ~ AQ H and B ¼ Q 2 ~BQ H 2 F8QVF.3
4 F8QVF NAG Library Manual where A ~ and ~B are upper triangular and Q and Q 2 are unitary. transformed to: ~A ~X ~X ~B ¼ ~ The original equation may then be where ~X ¼ Q H XQ 2 and ~ ¼ Q H Q 2. ~ may be computed by matrix multiplication; F8QVF (ZTRSYL) may be used to solve the transformed equation; and the solution to the original equation can be obtained as X ¼ Q ~XQ H 2. The real analogue of this routine is F8QHF (DTRSYL). 9 Example This example solves the Sylvester equation AX þ XB ¼, where 6: 7:i :36 :36i :9 þ :48i :88 :25i : þ :i 5: þ 2:i :3 :72i :23 þ :3i A ¼ : þ :i : þ :i 8: :i :94 þ :53i A, : þ :i : þ :i : þ :i 3: 4:i and :5 :2i :29 :6i :37 þ :84i :55 þ :73i : þ :i :4 þ :9i :6 þ :22i :43 þ :7i B ¼ : þ :i : þ :i :9 :i :89 :42i A : þ :i : þ :i : þ :i :3 :7i :63 þ :35i :45 :56i :8 :4i :7 :23i :7 þ :9i :7 :3i :27 :54i :35 þ :2i ¼ :93 :44i :33 :35i :4 :3i :57 þ :84i A. :54 þ :25i :62 :5i :52 :3i : :8i 9. Program Text Program f8qvfe! F8QVF Example Program Text! Release. NAG opyright 22.!.. Use Statements.. Use nag_library, Only: nag_wp, x4dbf, ztrsyl!.. Implicit None Statement.. Implicit None!.. Parameters.. Integer, Parameter :: nin = 5, nout = 6!.. Local Scalars.. Real (Kind=nag_wp) :: scale Integer :: i, ifail, info, lda, ldb, ldc, m, n!.. Local Arrays.. omplex (Kind=nag_wp), Allocatable :: a(:,:), b(:,:), c(:,:) haracter () :: clabs(), rlabs()!.. Executable Statements.. Write (nout,*) F8QVF Example Program Results Write (nout,*) Flush (nout)! Skip heading in data file Read (nin,*) Read (nin,*) m, n lda = m ldb = n ldc = m Allocate (a(lda,m),b(ldb,n),c(ldc,n))! Read A, B and from data file F8QVF.4
5 F8 Least-squares and Eigenvalue Problems (LAPAK) F8QVF Read (nin,*)(a(i,:m),i=,m) Read (nin,*)(b(i,:n),i=,n) Read (nin,*)(c(i,:n),i=,m)! Solve the Sylvester equation A*X + X*B = for X! The NAG name equivalent of ztrsyl is f8qvf all ztrsyl( No transpose, No transpose,,m,n,a,lda,b,ldb,c,ldc,scale, & info) If (info>=) Then Write (nout,99999) Write (nout,*) Flush (nout) End If! Print X! ifail: behaviour on error exit! = for hard exit, = for quiet-soft, =- for noisy-soft ifail = all x4dbf( General,,m,n,c,ldc, Bracketed, F8.4, & Solution Matrix, I,rlabs, I,clabs,8,,ifail) Format (/ A and B have common or very close eigenvalues. / Pe, & rturbed values were used to solve the equations ) End Program f8qvfe 9.2 Program Data F8QVF Example Program Data 4 4 :Values of M and N (-6.,-7.) (.36,-.36) (-.9,.48) (.88,-.25) (.,.) (-5., 2.) (-.3,-.72) (-.23,.3) (.,.) (.,.) ( 8.,-.) (.94,.53) (.,.) (.,.) (.,.) ( 3.,-4.) :End of matrix A (.5,-.2) (-.29,-.6) (-.37,.84) (-.55,.73) (.,.) (-.4,.9) (.6,.22) (-.43,.7) (.,.) (.,.) (-.9,-.) (-.89,-.42) (.,.) (.,.) (.,.) (.3,-.7) :End of matrix B (.63,.35) (.45,-.56) (.8,-.4) (-.7,-.23) (-.7,.9) (-.7,-.3) (.27,-.54) (.35,.2) (-.93,-.44) (-.33,-.35) (.4,-.3) (.57,.84) (.54,.25) (-.62,-.5) (-.52,-.3) (.,-.8) :End of matrix 9.3 Program Results F8QVF Example Program Results Solution Matrix 2 3 ( -.6,.249) ( -.3,.798) ( -.62,.65) 2 (.25, -.3) ( -.55,.57) ( -.665,.78) 3 ( -.949, -.785) ( -.45, -.298) (.357,.244) 4 (.28,.52) ( -.97, -.24) ( -.27, -.94) 4 (.54, -.63) 2 (.29, ) 3 (.284,.8) 4 (.42,.48) F8QVF.5 (last)
NAG Library Routine Document F08PNF (ZGEES)
F08 Least-squares and Eigenvalue Problems (LAPACK) F08PNF NAG Library Routine Document F08PNF (ZGEES) Note: before using this routine, please read the Users Note for your implementation to check the interpretation
More informationNAG Library Routine Document F07HAF (DPBSV)
NAG Library Routine Document (DPBSV) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F08QUF (ZTRSEN)
F08 Least-squares and Eigenvalue Problems (LAPACK) F08QUF NAG Library Routine Document F08QUF (ZTRSEN) Note: before using this routine, please read the Users Note for your implementation to check the interpretation
More informationNAG Library Routine Document F08VAF (DGGSVD)
NAG Library Routine Document (DGGSVD) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F08FAF (DSYEV)
NAG Library Routine Document (DSYEV) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F08FPF (ZHEEVX)
NAG Library Routine Document (ZHEEVX) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F02HDF.1
F02 Eigenvalues and Eigenvectors NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and
More informationNAG Library Routine Document F08UBF (DSBGVX)
NAG Library Routine Document (DSBGVX) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F08JDF (DSTEVR)
F08 Least-squares and Eigenvalue Problems (LAPACK) NAG Library Routine Document (DSTEVR) Note: before using this routine, please read the Users Note for your implementation to check the interpretation
More informationNAG Fortran Library Routine Document F04CFF.1
F04 Simultaneous Linear Equations NAG Fortran Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationNAG Library Routine Document F08YUF (ZTGSEN).1
F08 Least-squares and Eigenvalue Problems (LAPACK) NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationNAG Library Routine Document F08FNF (ZHEEV).1
NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationF08BEF (SGEQPF/DGEQPF) NAG Fortran Library Routine Document
NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document F08ZFF (DGGRQF).1
NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Toolbox for Matlab nag_lapack_dggev (f08wa)
NAG Toolbox for Matlab nag_lapack_dggev () 1 Purpose nag_lapack_dggev () computes for a pair of n by n real nonsymmetric matrices ða; BÞ the generalized eigenvalues and, optionally, the left and/or right
More informationG01NBF NAG Fortran Library Routine Document
G01NBF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Library Routine Document C02AGF.1
NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationF04JGF NAG Fortran Library Routine Document
F4 Simultaneous Linear Equations F4JGF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationNAG Fortran Library Routine Document D02JAF.1
D02 Ordinary Differential Equations NAG Fortran Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationNAG Library Routine Document D02JAF.1
D02 Ordinary Differential Equations NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationG13BHF NAG Fortran Library Routine Document
G13BHF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationG03ACF NAG Fortran Library Routine Document
G03 Multivariate Methods G03ACF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationNAG C Library Function Document nag_dtrevc (f08qkc)
1 Purpose NAG C Library Function Document nag_dtrevc () nag_dtrevc () computes selected left and/or right eigenvectors of a real upper quasi-triangular matrix. 2 Specification void nag_dtrevc (Nag_OrderType
More informationG13CCF NAG Fortran Library Routine Document
G13 Time Series Analysis G13CCF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationNAG Library Routine Document D02KDF.1
NAG Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationG13BAF NAG Fortran Library Routine Document
G13BAF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationG13CGF NAG Fortran Library Routine Document
G13 Time Series Analysis G13CGF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationG13DSF NAG Fortran Library Routine Document
NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationG13DCF NAG Fortran Library Routine Document
G13 Time Series Analysis G13DCF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationModule 5.2: nag sym lin sys Symmetric Systems of Linear Equations. Contents
Linear Equations Module Contents Module 5.2: nag sym lin sys Symmetric Systems of Linear Equations nag sym lin sys provides a procedure for solving real or complex, symmetric or Hermitian systems of linear
More informationModule 6.6: nag nsym gen eig Nonsymmetric Generalized Eigenvalue Problems. Contents
Eigenvalue and Least-squares Problems Module Contents Module 6.6: nag nsym gen eig Nonsymmetric Generalized Eigenvalue Problems nag nsym gen eig provides procedures for solving nonsymmetric generalized
More informationD03PEF NAG Fortran Library Routine Document
D03 Partial Differential Equations D03PEF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationSHHEIG Users Guide. Peter Benner, Vasile Sima, and Matthias Voigt June 10, 2015
SHHEIG Users Guide Peter Benner, Vasile Sima, and Matthias Voigt June 10, 2015 Abstract SHHEIG is a software package for solving of skew-hamiltonian/hamiltonian eigenproblems using structure-preserving
More informationNAG Fortran Library Routine Document D02KDF.1
D02 Ordinary Differential Equations NAG Fortran Library Routine Document Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised
More informationD02TYF NAG Fortran Library Routine Document
D02TYF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent
More informationNAG Toolbox for Matlab. g03aa.1
G03 Multivariate Methods 1 Purpose NAG Toolbox for Matlab performs a principal component analysis on a data matrix; both the principal component loadings and the principal component scores are returned.
More informationIntel Math Kernel Library (Intel MKL) LAPACK
Intel Math Kernel Library (Intel MKL) LAPACK Linear equations Victor Kostin Intel MKL Dense Solvers team manager LAPACK http://www.netlib.org/lapack Systems of Linear Equations Linear Least Squares Eigenvalue
More informationG13DJF NAG Fortran Library Routine Document
G13 Time Series Analysis G13DJF NAG Fortran Library Routine Document Note. Before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms
More informationModule 10.1: nag polynom eqn Roots of Polynomials. Contents
Nonlinear Equations Module Contents Module 10.1: nag polynom eqn Roots of Polynomials nag polynom eqn provides a procedure for computing the roots of a polynomial with real or complex coefficients. Contents
More informationEvaluation and Benchmarking of Highly Scalable Parallel Numerical Libraries
Evaluation and Benchmarking of Highly Scalable Parallel Numerical Libraries Christos Theodosiou (ctheodos@grid.auth.gr) User and Application Support Scientific Computing Centre @ AUTH Presentation Outline
More informationNAG Fortran Library Routine Document D01BBF.1
D01 Qudrture NAG Fortrn Librry Routine Document Note: before using this routine, plese red the Users Note for your implementtion to check the interprettion of bold itlicised terms nd other implementtion-dependent
More informationLAPACK-Style Codes for Level 2 and 3 Pivoted Cholesky Factorizations. C. Lucas. Numerical Analysis Report No February 2004
ISSN 1360-1725 UMIST LAPACK-Style Codes for Level 2 and 3 Pivoted Cholesky Factorizations C. Lucas Numerical Analysis Report No. 442 February 2004 Manchester Centre for Computational Mathematics Numerical
More informationA Backward Stable Hyperbolic QR Factorization Method for Solving Indefinite Least Squares Problem
A Backward Stable Hyperbolic QR Factorization Method for Solving Indefinite Least Suares Problem Hongguo Xu Dedicated to Professor Erxiong Jiang on the occasion of his 7th birthday. Abstract We present
More informationChapter f Linear Algebra
1. Scope of the Chapter Chapter f Linear Algebra This chapter is concerned with: (i) Matrix factorizations and transformations (ii) Solving matrix eigenvalue problems (iii) Finding determinants (iv) Solving
More informationEigenvalues and Eigenvectors
5 Eigenvalues and Eigenvectors 5.2 THE CHARACTERISTIC EQUATION DETERMINANATS n n Let A be an matrix, let U be any echelon form obtained from A by row replacements and row interchanges (without scaling),
More informationNAG Toolbox for Matlab. g08cd.1
G08 Nonparametric Statistics NAG Toolbox for Matlab 1 Purpose performs the two sample Kolmogorov Smirnov distribution test. 2 Syntax [d, z, p, sx, sy, ifail] = (x, y, ntype, n1, n1, n2, n2) 3 Description
More informationEigenvalue problems. Eigenvalue problems
Determination of eigenvalues and eigenvectors Ax x, where A is an N N matrix, eigenvector x 0, and eigenvalues are in general complex numbers In physics: - Energy eigenvalues in a quantum mechanical system
More informationEigenvalues and Eigenvectors
5 Eigenvalues and Eigenvectors 5.2 THE CHARACTERISTIC EQUATION DETERMINANATS nn Let A be an matrix, let U be any echelon form obtained from A by row replacements and row interchanges (without scaling),
More information2 MULTIPLYING COMPLEX MATRICES It is rare in matrix computations to be able to produce such a clear-cut computational saving over a standard technique
STABILITY OF A METHOD FOR MULTIPLYING COMPLEX MATRICES WITH THREE REAL MATRIX MULTIPLICATIONS NICHOLAS J. HIGHAM y Abstract. By use of a simple identity, the product of two complex matrices can be formed
More informationOUTLINE 1. Introduction 1.1 Notation 1.2 Special matrices 2. Gaussian Elimination 2.1 Vector and matrix norms 2.2 Finite precision arithmetic 2.3 Fact
Computational Linear Algebra Course: (MATH: 6800, CSCI: 6800) Semester: Fall 1998 Instructors: { Joseph E. Flaherty, aherje@cs.rpi.edu { Franklin T. Luk, luk@cs.rpi.edu { Wesley Turner, turnerw@cs.rpi.edu
More informationLAPACK-Style Codes for Pivoted Cholesky and QR Updating
LAPACK-Style Codes for Pivoted Cholesky and QR Updating Sven Hammarling 1, Nicholas J. Higham 2, and Craig Lucas 3 1 NAG Ltd.,Wilkinson House, Jordan Hill Road, Oxford, OX2 8DR, England, sven@nag.co.uk,
More informationModule 10.2: nag nlin eqn Roots of a Single Nonlinear Equation. Contents
Nonlinear Equations Module Contents Module 10.2: nag nlin eqn Roots of a Single Nonlinear Equation nag nlin eqn provides a procedure for computing a single root of a continuous function in a given interval.
More informationSection 4.5 Eigenvalues of Symmetric Tridiagonal Matrices
Section 4.5 Eigenvalues of Symmetric Tridiagonal Matrices Key Terms Symmetric matrix Tridiagonal matrix Orthogonal matrix QR-factorization Rotation matrices (plane rotations) Eigenvalues We will now complete
More informationA Divide-and-Conquer Algorithm for Functions of Triangular Matrices
A Divide-and-Conquer Algorithm for Functions of Triangular Matrices Ç. K. Koç Electrical & Computer Engineering Oregon State University Corvallis, Oregon 97331 Technical Report, June 1996 Abstract We propose
More informationLecture 2: Computing functions of dense matrices
Lecture 2: Computing functions of dense matrices Paola Boito and Federico Poloni Università di Pisa Pisa - Hokkaido - Roma2 Summer School Pisa, August 27 - September 8, 2018 Introduction In this lecture
More informationAlgebraic Equations. 2.0 Introduction. Nonsingular versus Singular Sets of Equations. A set of linear algebraic equations looks like this:
Chapter 2. 2.0 Introduction Solution of Linear Algebraic Equations A set of linear algebraic equations looks like this: a 11 x 1 + a 12 x 2 + a 13 x 3 + +a 1N x N =b 1 a 21 x 1 + a 22 x 2 + a 23 x 3 +
More informationLAPACK-Style Codes for Pivoted Cholesky and QR Updating. Hammarling, Sven and Higham, Nicholas J. and Lucas, Craig. MIMS EPrint: 2006.
LAPACK-Style Codes for Pivoted Cholesky and QR Updating Hammarling, Sven and Higham, Nicholas J. and Lucas, Craig 2007 MIMS EPrint: 2006.385 Manchester Institute for Mathematical Sciences School of Mathematics
More informationStability of a method for multiplying complex matrices with three real matrix multiplications. Higham, Nicholas J. MIMS EPrint: 2006.
Stability of a method for multiplying complex matrices with three real matrix multiplications Higham, Nicholas J. 1992 MIMS EPrint: 2006.169 Manchester Institute for Mathematical Sciences School of Mathematics
More informationSolving large scale eigenvalue problems
arge scale eigenvalue problems, Lecture 5, March 23, 2016 1/30 Lecture 5, March 23, 2016: The QR algorithm II http://people.inf.ethz.ch/arbenz/ewp/ Peter Arbenz Computer Science Department, ETH Zürich
More informationLecture 2: Numerical linear algebra
Lecture 2: Numerical linear algebra QR factorization Eigenvalue decomposition Singular value decomposition Conditioning of a problem Floating point arithmetic and stability of an algorithm Linear algebra
More informationMatrix Algebra: Summary
May, 27 Appendix E Matrix Algebra: Summary ontents E. Vectors and Matrtices.......................... 2 E.. Notation.................................. 2 E..2 Special Types of Vectors.........................
More information2 Computing complex square roots of a real matrix
On computing complex square roots of real matrices Zhongyun Liu a,, Yulin Zhang b, Jorge Santos c and Rui Ralha b a School of Math., Changsha University of Science & Technology, Hunan, 410076, China b
More informationThe Role of Matrix Functions
The Role of Matrix Functions Edvin Hopkins, Numerical Algorithms Group November 2018 1 Introduction In this report we ll be discussing functions of matrices. What are they, and why might they be of interest
More informationSolving large scale eigenvalue problems
arge scale eigenvalue problems, Lecture 4, March 14, 2018 1/41 Lecture 4, March 14, 2018: The QR algorithm http://people.inf.ethz.ch/arbenz/ewp/ Peter Arbenz Computer Science Department, ETH Zürich E-mail:
More informationMatrix Basic Concepts
Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types
More informationON THE HÖLDER CONTINUITY OF MATRIX FUNCTIONS FOR NORMAL MATRICES
Volume 10 (2009), Issue 4, Article 91, 5 pp. ON THE HÖLDER CONTINUITY O MATRIX UNCTIONS OR NORMAL MATRICES THOMAS P. WIHLER MATHEMATICS INSTITUTE UNIVERSITY O BERN SIDLERSTRASSE 5, CH-3012 BERN SWITZERLAND.
More information13-2 Text: 28-30; AB: 1.3.3, 3.2.3, 3.4.2, 3.5, 3.6.2; GvL Eigen2
The QR algorithm The most common method for solving small (dense) eigenvalue problems. The basic algorithm: QR without shifts 1. Until Convergence Do: 2. Compute the QR factorization A = QR 3. Set A :=
More informationMath 504 (Fall 2011) 1. (*) Consider the matrices
Math 504 (Fall 2011) Instructor: Emre Mengi Study Guide for Weeks 11-14 This homework concerns the following topics. Basic definitions and facts about eigenvalues and eigenvectors (Trefethen&Bau, Lecture
More informationA New Block Algorithm for Full-Rank Solution of the Sylvester-observer Equation.
1 A New Block Algorithm for Full-Rank Solution of the Sylvester-observer Equation João Carvalho, DMPA, Universidade Federal do RS, Brasil Karabi Datta, Dep MSc, Northern Illinois University, DeKalb, IL
More informationNAG Toolbox for MATLAB Chapter Introduction. F02 Eigenvalues and Eigenvectors
NAG Toolbox for MATLAB Chapter Introduction F02 Eigenvalues and Eigenvectors Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Standard Eigenvalue Problems... 2 2.1.1 Standard
More informationMatrices. Chapter Definitions and Notations
Chapter 3 Matrices 3. Definitions and Notations Matrices are yet another mathematical object. Learning about matrices means learning what they are, how they are represented, the types of operations which
More informationESTIMATION OF ERROR. r = b Abx a quantity called the residual for bx. Then
ESTIMATION OF ERROR Let bx denote an approximate solution for Ax = b; perhaps bx is obtained by Gaussian elimination. Let x denote the exact solution. Then introduce r = b Abx a quantity called the residual
More informationD01BBF NAG Fortran Library Routine Document
D01 Qudrture D01BBF NAG Fortrn Librry Routine Document Note. Before using this routine, plese red the Users Note for your implementtion to check the interprettion of bold itlicised terms nd other implementtion-dependent
More informationMATH 425-Spring 2010 HOMEWORK ASSIGNMENTS
MATH 425-Spring 2010 HOMEWORK ASSIGNMENTS Instructor: Shmuel Friedland Department of Mathematics, Statistics and Computer Science email: friedlan@uic.edu Last update April 18, 2010 1 HOMEWORK ASSIGNMENT
More informationLinear Algebra and Matrices
Linear Algebra and Matrices 4 Overview In this chapter we studying true matrix operations, not element operations as was done in earlier chapters. Working with MAT- LAB functions should now be fairly routine.
More information(Mathematical Operations with Arrays) Applied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB (Mathematical Operations with Arrays) Contents Getting Started Matrices Creating Arrays Linear equations Mathematical Operations with Arrays Using Script
More informationPROOF OF TWO MATRIX THEOREMS VIA TRIANGULAR FACTORIZATIONS ROY MATHIAS
PROOF OF TWO MATRIX THEOREMS VIA TRIANGULAR FACTORIZATIONS ROY MATHIAS Abstract. We present elementary proofs of the Cauchy-Binet Theorem on determinants and of the fact that the eigenvalues of a matrix
More information5.3 The Power Method Approximation of the Eigenvalue of Largest Module
192 5 Approximation of Eigenvalues and Eigenvectors 5.3 The Power Method The power method is very good at approximating the extremal eigenvalues of the matrix, that is, the eigenvalues having largest and
More informationNumerical Linear Algebra
Numerical Linear Algebra Direct Methods Philippe B. Laval KSU Fall 2017 Philippe B. Laval (KSU) Linear Systems: Direct Solution Methods Fall 2017 1 / 14 Introduction The solution of linear systems is one
More informationImplementation for LAPACK of a Block Algorithm for Matrix 1-Norm Estimation
Implementation for LAPACK of a Block Algorithm for Matrix 1-Norm Estimation Sheung Hun Cheng Nicholas J. Higham August 13, 2001 Abstract We describe double precision and complex16 Fortran 77 implementations,
More informationMatrices: 2.1 Operations with Matrices
Goals In this chapter and section we study matrix operations: Define matrix addition Define multiplication of matrix by a scalar, to be called scalar multiplication. Define multiplication of two matrices,
More informationExponentials of Symmetric Matrices through Tridiagonal Reductions
Exponentials of Symmetric Matrices through Tridiagonal Reductions Ya Yan Lu Department of Mathematics City University of Hong Kong Kowloon, Hong Kong Abstract A simple and efficient numerical algorithm
More informationI. Multiple Choice Questions (Answer any eight)
Name of the student : Roll No : CS65: Linear Algebra and Random Processes Exam - Course Instructor : Prashanth L.A. Date : Sep-24, 27 Duration : 5 minutes INSTRUCTIONS: The test will be evaluated ONLY
More informationNAG Library Chapter Introduction. f08 Least-squares and Eigenvalue Problems (LAPACK)
f8 Least-squares and Eigenvalue Problems (LAPACK) Introduction f8 NAG Library Chapter Introduction f8 Least-squares and Eigenvalue Problems (LAPACK) Contents 1 Scope of the Chapter... 3 2 Background to
More information[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of
. Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices,
More informationScientific Computing
Scientific Computing Direct solution methods Martin van Gijzen Delft University of Technology October 3, 2018 1 Program October 3 Matrix norms LU decomposition Basic algorithm Cost Stability Pivoting Pivoting
More informationMATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.
MATRICES After studying this chapter you will acquire the skills in knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. List of
More informationComputation of eigenvalues and singular values Recall that your solutions to these questions will not be collected or evaluated.
Math 504, Homework 5 Computation of eigenvalues and singular values Recall that your solutions to these questions will not be collected or evaluated 1 Find the eigenvalues and the associated eigenspaces
More informationElementary maths for GMT
Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1
More informationSecond-order approximation of dynamic models without the use of tensors
Second-order approximation of dynamic models without the use of tensors Paul Klein a, a University of Western Ontario First draft: May 17, 2005 This version: January 24, 2006 Abstract Several approaches
More informationAppendix A: Matrices
Appendix A: Matrices A matrix is a rectangular array of numbers Such arrays have rows and columns The numbers of rows and columns are referred to as the dimensions of a matrix A matrix with, say, 5 rows
More informationMatrix Arithmetic. j=1
An m n matrix is an array A = Matrix Arithmetic a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn of real numbers a ij An m n matrix has m rows and n columns a ij is the entry in the i-th row and j-th column
More informationConstructing an orthonormal set of eigenvectors for DFT matrix using Gramians and determinants
Constructing an orthonormal set of eigenvectors for DFT matrix using Gramians and determinants Vadim Zaliva, lord@crocodile.org July 17, 2012 Abstract The problem of constructing an orthogonal set of eigenvectors
More informationLecture 6. Numerical methods. Approximation of functions
Lecture 6 Numerical methods Approximation of functions Lecture 6 OUTLINE 1. Approximation and interpolation 2. Least-square method basis functions design matrix residual weighted least squares normal equation
More informationIntroduction. How to use this book. Linear algebra. Mathematica. Mathematica cells
Introduction How to use this book This guide is meant as a standard reference to definitions, examples, and Mathematica techniques for linear algebra. Complementary material can be found in the Help sections
More informationToday s class. Linear Algebraic Equations LU Decomposition. Numerical Methods, Fall 2011 Lecture 8. Prof. Jinbo Bi CSE, UConn
Today s class Linear Algebraic Equations LU Decomposition 1 Linear Algebraic Equations Gaussian Elimination works well for solving linear systems of the form: AX = B What if you have to solve the linear
More informationMATH 1553-C MIDTERM EXAMINATION 3
MATH 553-C MIDTERM EXAMINATION 3 Name GT Email @gatech.edu Please read all instructions carefully before beginning. Please leave your GT ID card on your desk until your TA scans your exam. Each problem
More informationOn the eigenvalues of specially low-rank perturbed matrices
On the eigenvalues of specially low-rank perturbed matrices Yunkai Zhou April 12, 2011 Abstract We study the eigenvalues of a matrix A perturbed by a few special low-rank matrices. The perturbation is
More information(Linear equations) Applied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB (Linear equations) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots
More informationCHAPTER 8: Matrices and Determinants
(Exercises for Chapter 8: Matrices and Determinants) E.8.1 CHAPTER 8: Matrices and Determinants (A) means refer to Part A, (B) means refer to Part B, etc. Most of these exercises can be done without a
More information