# chsh - EE103 Formulas Vectors and matrices • Relation...

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EE103 Formulas Vectors and matrices • Relation between inner product and angle: x T y = bardbl x bardblbardbl y bardbl cos negationslash ( x, y ) • Flop counts for basic operations ( α is a scalar, x and y are n-vectors, A is an m × n-matrix, B is an n × p-matrix) Inner product x T y : 2 n − 1 flops ( ≈ 2 n flops for large n ) Vector addition x + y : n flops Scalar multiplication αx : n flops Matrix-vector product Ax : m (2 n − 1) flops ( ≈ 2 mn flops for large n ) Matrix-matrix product AB : mp (2 n − 1) flops ( ≈ 2 mpn flops for large n ) Solving linear equations • Cost of solving Ax = b when A is n × n and upper or lower triangular: n 2 flops • Cost of Cholesky factorization A = LL T : (1 / 3) n 3 flops if A is n × n • Cost of LU factorization A = PLU : (2 / 3) n 3 flops if A is n × n Matrix norm and condition number • Definition of matrix norm: bardbl A bardbl = max x negationslash =0 bardbl Ax bardbl bardbl x bardbl • Properties of the matrix norm bardbl...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern