?trnlsp_check
?trnlsp_check
Checks the correctness of handle and arrays containing Jacobian matrix, objective function, and stopping criteria.
Syntax
MKL_INT
strnlsp_check
(
_TRNSP_HANDLE_t
*
handle
,
const
MKL_INT
*
n
,
const
MKL_INT
*
m
,
const
float
*
fjac
,
const
float
*
fvec
,
const
float
*
eps
,
MKL_INT
*
info
);
MKL_INT
dtrnlsp_check
(
_TRNSP_HANDLE_t
*
handle
,
const
MKL_INT
*
n
,
const
MKL_INT
*
m
,
const
double
*
fjac
,
const
double
*
fvec
,
const
double
*
eps
,
MKL_INT
*
info
);
Include Files
- mkl.h
Description
The
?trnlsp_check
routine checks the arrays passed into the solver as input parameters. If an array contains any INF
or NaN
values, the routine sets the flag in output array info
(see the description of the values returned in the Output Parameters section for the
.info
array)Input Parameters
- handle
- Type._TRNSPBC_HANDLE_t
- n
- Length ofx.
- m
- Length ofF(x).
- fjac
- Array of sizembyn. Contains the Jacobian matrix of the function.
- fvec
- Array of sizem. Contains the function values atX, wherefvec[i]= (.y–if(ix))
- eps
- Array of size 6; contains stopping criteria.See the values in the Description section of the?trnlsp_init.
Output Parameters
- info
- Array of size 6.Results of input parameter checking:ParameterUsed forValueDescriptioninfo[0]Flags forhandle0The handle is valid.1The handle is not allocated.info[1]Flags forfjac0Thefjacarray is valid.1Thefjacarray is not allocated2Thefjacarray containsNaN.3Thefjacarray containsInf.info[2]Flags forfvec0Thefvecarray is valid.1Thefvecarray is not allocatedThefvecarray containsNaN.23Thefvecarray containsInf.info[3]Flags foreps0Theepsarray is valid.1Theepsarray is not allocated2Theepsarray containsNaN.3Theepsarray containsInf.4Theepsarray contains a value less than or equal to zero.
- res
- Information about completion of the task.res=TR_SUCCESS- the routine completed the task normally.TR_SUCCESSis defined in themkl_rci.hinclude file.