Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 6/24/2024
Public

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

Document Table of Contents

mkl_sparse_?_qr_factorize

Factorization step of the SPARSE QR solver.

Syntax

stat = mkl_sparse_d_qr_factorize (A, alt_values)

stat = mkl_sparse_s_qr_factorize (A, alt_values)

Include Files

  • mkl_sparse_qr.f90

Description

The mkl_sparse_?_qr_factorize routine performs numerical factorization of matrix A. Prior to calling this routine, the mkl_sparse_?_qr_reorder routine must be called for the matrix handle A. For more information about the workflow of sparse QR functionality, refer to oneMKL Sparse QR solver. Multifrontal Sparse QR Factorization Method for Solving a Sparse System of Linear Equations.

NOTE:
Currently, mkl_sparse_?_qr_factorize supports only CSR format for the input matrix.

Input Parameters

A

SPARSE_MATRIX_T

Handle containing a sparse matrix in an internal data structure.

alt_values

C_FLOAT for mkl_sparse_s_qr_factorize; C_DOUBLE for mkl_sparse_d_qr_factorize

Array with alternative values. Must be the size of the non-zeroes in the initial input matrix. When passed to the routine, these values will be used during the factorization step instead of the values stored in handle A.

Output Parameters

stat

INTEGER

Value indicating whether the operation was successful, and if not, why:

SPARSE_STATUS_SUCCESS The operation was successful.
SPARSE_STATUS_NOT_INITIALIZED The routine encountered an empty handle or matrix array.
SPARSE_STATUS_ALLOC_FAILED Internal memory allocation failed.
SPARSE_STATUS_INVALID_VALUE The input parameters contain an invalid value.
SPARSE_STATUS_EXECUTION_FAILED Execution failed.
SPARSE_STATUS_INTERNAL_ERROR An error in algorithm implementation occurred.
SPARSE_STATUS_NOT_SUPPORTED The requested operation is not supported.