?jacobi_init

Initializes the solver for Jacobian calculations.

Syntax

Fortran:

res = sjacobi_init(handle, n, m, x, fjac, esp)

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

C:

res = sjacobi_init(&handle, &n, &m, x, fjac, &eps);

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

Include Files

The Fortran interfaces are specified in the mkl_rci.fi include file and the C interfaces are specified in the mkl_rci.h include file.

Description

The routine initializes the solver.

Input Parameters

n

INTEGER. Length of X.

m

INTEGER. Length of F.

x

REAL for sjacobi_init

DOUBLE PRECISION for djacobi_init

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

eps

REAL for sjacobi_init

DOUBLE PRECISION for djacobi_init

Precision of the Jacobi matrix calculation.

fjac

REAL for sjacobi_init

DOUBLE PRECISION for djacobi_init

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

Output Parameters

handle

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

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.


Submit feedback on this help topic

Copyright © 1994 - 2010, Intel Corporation. All rights reserved.