Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

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

Document Table of Contents

dcgmrhs_get

Retrieves the number of the current iteration.

Syntax

void dcgmrhs_get (const MKL_INT *n , const double *x , const MKL_INT *nrhs , const double *b , const MKL_INT *RCI_request , const MKL_INT *ipar , const double *dpar , const double *tmp , MKL_INT *itercount );

Include Files

  • mkl.h

Description

The routine dcgmrhs_get retrieves the current iteration number of the solving process.

Input Parameters

n

Sets the size of the problem.

x

Array of size n*nrhs. Contains the initial approximation to the solution vectors.

nrhs

Sets the number of right-hand sides.

b

Array of size n*nrhs. Contains the right-hand side .

RCI_request

This parameter is not used.

ipar

Array of size (128+2*nrhs). Refer to the CG Common Parameters.

dpar

Array of size (128+2*nrhs). Refer to the CG Common Parameters.

tmp

Array of size (n*(3+nrhs)). Refer to the CG Common Parameters.

Output Parameters

itercount

Array of size nrhs. Returns the current iteration number for each right-hand side.

Return Values

The routine dcgmrhs_get has no return values.