# djacobi_solve

Computes the Jacobi matrix of the function on the basis of RCI using the central difference.

## Syntax

Fortran:

res = djacobi_solve(handle, f1, f2, RCI_Request)

C:

res = djacobi_solve(&handle, f1, f2, &RCI_Request);

## Description

The djacobi_solve routine computes the Jacobi matrix of the function on the basis of RCI using the central difference.

## Input Parameters

handle

  Data object of the _JACOBIMATRIX_HANDLE_t type in C/C++ and INTEGER*8 in FORTRAN.

## Output Parameters

f1

  DOUBLE PRECISION. Array of size m. Contains the updated function values at X + eps.

f2

  DOUBLE PRECISION. Array of size m. Contains the updated function values at X - eps.

RCI_Request

  INTEGER. Informs about the task completion. When equal to 0, the task is completed succefully.

  RCI_Request= 1 indicates the user should calculate the Jacobian matrix and put the result into f1.

  RCI_Request= 2 indicates the user should calculate the Jacobian matrix and put the result into f2.

res

  INTEGER. Informs about the task completion.

  res = TR_SUCCESS indicates that the routine has completed the task normally.

  res = TR_INVALID_OPTION indicates an error in the input parameters.

Parent topic: Jacobi Matrix Calculation Routines