TPCCLIB
Loading...
Searching...
No Matches
NLOPT_DATA Struct Reference

#include <tpcnlopt.h>

Data Fields

unsigned int n
double * x
double * y
double * w
double * sy
int verbose
FILE * fp

Detailed Description

Basic structure for data passed on to objective function via NLOPT structure. Actual implementations usually require more data, and instead of this structure, a dedicated local data structure should be created and used.

Definition at line 65 of file tpcnlopt.h.

Field Documentation

◆ fp

FILE* NLOPT_DATA::fp

Pointer to verbose output; usually stdout. Must be set if verbose>0.

Definition at line 79 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ n

unsigned int NLOPT_DATA::n

Sample number.

Definition at line 67 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ sy

double* NLOPT_DATA::sy

Pointer to fitted/simulated sample values.

Definition at line 75 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ verbose

int NLOPT_DATA::verbose

Verbose level.

Definition at line 77 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ w

double* NLOPT_DATA::w

Pointer to an array of weights.

Definition at line 73 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ x

double* NLOPT_DATA::x

Pointer to an array of sample times.

Definition at line 69 of file tpcnlopt.h.

Referenced by nloptdataInit().

◆ y

double* NLOPT_DATA::y

Pointer to an array of sample values.

Definition at line 71 of file tpcnlopt.h.

Referenced by nloptdataInit().


The documentation for this struct was generated from the following file: