Developer Reference

Intel® oneAPI Math Kernel Library LAPACK Examples

ID 766877
Date 12/20/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

?sysv function

Computes the solution to the system of linear equations with a real or complex symmetric coefficient matrix A and multiple right-hand sides.

Fortran-77 Interface

Calling from Fortran:

call ssysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
call dsysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
call csysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)
call zsysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)

Calling from C:

ssysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);
dsysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);
csysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);
zsysv(uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info);

C Interface

lapack_int LAPACKE_ssysv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, float* a, lapack_int lda, lapack_int* ipiv, float* b, lapack_int ldb);
lapack_int LAPACKE_dsysv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, double* a, lapack_int lda, lapack_int* ipiv, double* b, lapack_int ldb);
lapack_int LAPACKE_csysv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, lapack_complex_float* a, lapack_int lda, lapack_int* ipiv, lapack_complex_float* b, lapack_int ldb);
lapack_int LAPACKE_zsysv(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, lapack_complex_double* a, lapack_int lda, lapack_int* ipiv, lapack_complex_double* b, lapack_int ldb);