Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 10/31/2024
Public
Document Table of Contents

ZPOSV Example

NOTE:

For a detailed description and reference information on this function, see the Intel® oneAPI Math Kernel Library Developer Reference.

The routine solves the complex system of linear equations for X:

A*X = B

where

  • A is a square Hermitian positive-definite matrix.

  • The columns of matrix B are individual right-hand sides.

  • The columns of X are the corresponding solutions.

The matrix B is overwritten by X.

The Cholesky decomposition is used to factor A as:

A = UH*U, if uplo = 'U' or A = L*LH, if uplo = 'L'

where

  • U is an upper triangular matrix.

  • L is a lower triangular matrix.

The factored form of A is then used to solve the system of equations A*X = B.

C Interface

Please refer to the Matrix Layout section of the C Interface Conventions for the description of Row Major (C default) and Column Major (Fortran default).