Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
Matrices and Sets of Linear Equations 255
With LU Decomposition, a general square matrix A is factorized into upper and
lower triangular matrices, applying the matrix relation: PA = LU , where P is a per-
mutation matrix, L is unit lower triangular matrix and U is upper triangular matrix.
Function gsl linalg LU decomp factorizes the specified square matrix A into the
LU decomposition. The function returns matrix A with the diagonal and upper tri-
angular part of the original matrix A. In the following example, the first C statement
creates a GSL square (M ×M) matrix a. The second statement creates a permutation
of size M. The third statement performs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783