Initializes the solver.
dcg_init(n, x, b, RCI_request, ipar, dpar, tmp)
The Fortran interface is specified in the mkl_rci.fi include file and the C interface is specified in the mkl_rci.h include file.
The routine dcg_init initializes the solver. After initialization, all subsequent invocations of the Intel MKL RCI CG routines use the values of all parameters returned by the routine dcg_init. Advanced users can skip this step and set these parameters directly in the corresponding routines.
Users can modify the contents of these arrays after they are passed to the solver routine only if they are sure that the values are correct and consistent. Basic check for correctness and consistency can be done by calling the dcg_check routine, but it does not guarantee that the method will work correctly.
INTEGER. Contains the size of the problem, and the sizes of arrays x and b.
DOUBLE PRECISION array of size n. Contains the initial approximation to the solution vector. Normally it is equal to 0 or to b.
DOUBLE PRECISION array of size n. Contains the right-hand side vector.
INTEGER. Informs about result of work of the routine.
INTEGER array of size 128. Refer to the CG Common Parameters.
DOUBLE PRECISION array of size 128. Refer to the CG Common Parameters.
DOUBLE PRECISION array of size (n,4). Refer to the CG Common Parameters.
The routine completes the task normally.
The routine fails to complete the task.
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.