# djacobi_init

Initializes the solver for Jacobian calculations.

## Syntax

Fortran:

res = djacobi_init(handle, n, m, x, a, esp)

C:

res = djacobi_init(&handle, &n, &m, x, a, &eps);

## Description

The routine initializes the solver.

## Input Parameters

n

  INTEGER. Length of X.

m

  INTEGER. Length of F.

x

  DOUBLE PRECISION. Array of size n. Vector, at which the function is evaluated.

eps

  DOUBLE PRECISION. Precision of the Jacobi matrix calculation.

## Output Parameters

handle

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

a

  DOUBLE PRECISION. Array of size (m,n). Contains the Jacobi matrix of the function.

res

  INTEGER. Informs about the task completion.

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

  res = TR_INVALID_OPTION indicates an error in the input parameters.

  res = TR_OUT_OF_MEMORY indicates a memory error.

Parent topic: Jacobi Matrix Calculation Routines