NAG CL Interface
e04wbc (nlp1_​init)

Settings help

CL Name Style:


1 Purpose

e04wbc is used to initialize the function e04ufc.

2 Specification

#include <nag.h>
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.

3 Description

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

4 References

None.

5 Arguments

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

6 Error Indicators and Warnings

NE_ALLOC_FAIL
Dynamic memory allocation failed.
NE_BAD_PARAM
On entry, argument value had an illegal value.
NE_CHARACTER
On entry, rname=value.
Constraint: rname must be called with rname='e04ufc'.
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: lcwsav=value, llwsav=value, liwsav=value and lrwsav=value.

7 Accuracy

Not applicable.

8 Parallelism and Performance

e04wbc is not threaded in any implementation.

9 Further Comments

The time taken by e04wbc is negligible.

10 Example

The use of e04wbc is illustrated by the example in e04ufc.