# NAG CL Interfacee04wbc (nlp1_​init)

Settings help

CL Name Style:

## 1Purpose

e04wbc is used to initialize the function e04ufc.

## 2Specification

 #include
 void e04wbc (const char *rname, char cwsav[], Integer lcwsav, Nag_Boolean lwsav[], Integer llwsav, Integer iwsav[], Integer liwsav, double rwsav[], Integer lrwsav, NagError *fail)
The function may be called by the names: e04wbc, nag_opt_nlp1_init or nag_opt_nlp_revcomm_init.

## 3Description

e04wbc initializes some or all of the arrays cwsav, lwsav, iwsav and rwsav for the function e04ufc, and any associated option setting functions.

None.

## 5Arguments

1: $\mathbf{rname}$const char * Input
On entry: the name of the function to be initialized.
Constraint: rname must be called with ${\mathbf{rname}}=\text{'}\mathrm{e04ufc}\text{'}$.
2: $\mathbf{cwsav}\left[{\mathbf{lcwsav}}×80\right]$char Communication Array
3: $\mathbf{lcwsav}$Integer Input
On entry: the dimension of the array cwsav.
Constraint: ${\mathbf{lcwsav}}\ge 5$.
4: $\mathbf{lwsav}\left[{\mathbf{llwsav}}\right]$Nag_Boolean Communication Array
5: $\mathbf{llwsav}$Integer Input
On entry: the dimension of the array lwsav.
Constraint: ${\mathbf{llwsav}}\ge 120$.
6: $\mathbf{iwsav}\left[{\mathbf{liwsav}}\right]$Integer Communication Array
7: $\mathbf{liwsav}$Integer Input
On entry: the dimension of the array iwsav.
Constraint: ${\mathbf{liwsav}}\ge 610$.
8: $\mathbf{rwsav}\left[{\mathbf{lrwsav}}\right]$double Communication Array
9: $\mathbf{lrwsav}$Integer Input
On entry: the dimension of the array rwsav.
Constraint: ${\mathbf{lrwsav}}\ge 475$.
10: $\mathbf{fail}$NagError * Input/Output
The NAG error argument (see Section 7 in the Introduction to the NAG Library CL Interface).

## 6Error Indicators and Warnings

NE_ALLOC_FAIL
Dynamic memory allocation failed.
On entry, argument value had an illegal value.
NE_CHARACTER
On entry, ${\mathbf{rname}}=⟨\mathit{\text{value}}⟩$.
Constraint: rname must be called with ${\mathbf{rname}}=\text{'}\mathrm{e04ufc}\text{'}$.
NE_INTERNAL_ERROR
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact NAG for assistance.
NE_NO_LICENCE
Your licence key may have expired or may not have been installed correctly.
See Section 8 in the Introduction to the NAG Library CL Interface for further information.
NE_TOO_SMALL
One or more of the save array lengths is too small. Supplied values are: ${\mathbf{lcwsav}}=⟨\mathit{\text{value}}⟩$, ${\mathbf{llwsav}}=⟨\mathit{\text{value}}⟩$, ${\mathbf{liwsav}}=⟨\mathit{\text{value}}⟩$ and ${\mathbf{lrwsav}}=⟨\mathit{\text{value}}⟩$.

Not applicable.

## 8Parallelism and Performance

e04wbc is not threaded in any implementation.