Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
Public

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

Document Table of Contents

dcg_get

Retrieves the number of the current iteration.

Syntax

void dcg_get (const MKL_INT *n , const double *x , 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 dcg_get retrieves the current iteration number of the solutions process.

Input Parameters

n

Sets the size of the problem.

x

Array of size n. Contains the approximation vector to the solution.

b

Array of size n. Contains the right-hand side vector.

RCI_request

This parameter is not used.

ipar

Array of size 128. Refer to the CG Common Parameters.

dpar

Array of size 128. Refer to the CG Common Parameters.

tmp

Array of size (n*4). Refer to the CG Common Parameters.

Output Parameters

itercount

Returns the current iteration number.

Return Values

The routine dcg_get has no return values.