|
TPCCLIB
|
#include <tpclinopt.h>
Data Fields | |
| int | n |
| int | m |
| double ** | a |
| double * | b |
| double * | x |
| double * | w |
| double * | zz |
| int * | index |
| double * | _data |
| double | rnorm |
| int | iternr |
| double | depf |
Data for nnlsq().
Definition at line 110 of file tpclinopt.h.
| double* NNLSQDATA::_data |
Internal pointer to all allocated memory for matrix a and arrays b, x, w, and zz, which just point to locations in this array.
Definition at line 134 of file tpclinopt.h.
Referenced by nnlsqDataAllocate(), nnlsqDataFree(), and nnlsqDataInit().
| double** NNLSQDATA::a |
On entry, a[0..n-1][0..m-1] contains the M by N matrix A. On exit, a[][] contains the product matrix Q*A, where Q is an m by n orthogonal matrix generated implicitly by this function.
Definition at line 118 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), nnlsqDataInit(), nnlsqWght(), and nnlsqWghtSquared().
| double* NNLSQDATA::b |
On entry, b[0..m-1] must contain the m-vector B. On exit, b[] contains Q*B.
Definition at line 121 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), nnlsqDataInit(), nnlsqWght(), and nnlsqWghtSquared().
| double NNLSQDATA::depf |
Factor for checking new diagonal element to avoid near linear dependence.
Definition at line 141 of file tpclinopt.h.
Referenced by nnlsq(), and nnlsqDataInit().
| int* NNLSQDATA::index |
An array of working space, index[0..n-1].
Definition at line 131 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), and nnlsqDataInit().
| int NNLSQDATA::iternr |
Maximum iteration number; set to zero (default) to let the function decide. On exit, contains the number of iterations.
Definition at line 139 of file tpclinopt.h.
Referenced by nnlsq(), and nnlsqDataInit().
| int NNLSQDATA::m |
NLLSQ sample number.
Definition at line 114 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), nnlsqDataInit(), nnlsqWght(), and nnlsqWghtSquared().
| int NNLSQDATA::n |
NNLSQ parameter number.
Definition at line 112 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), nnlsqDataInit(), nnlsqWght(), and nnlsqWghtSquared().
| double NNLSQDATA::rnorm |
NNLSQ stores here the squared Euclidean norm of the residual vector, R^2 (Sum-of-Squares).
Definition at line 136 of file tpclinopt.h.
Referenced by nnlsq(), and nnlsqDataInit().
| double* NNLSQDATA::w |
An array of working space, w[0..n-1] for NNLSQ. On exit, w[] will contain the dual solution vector. w[i]=0.0 for all i in set p and w[i]<=0.0 for all i in set z.
Definition at line 127 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), and nnlsqDataInit().
| double* NNLSQDATA::x |
On exit, x[0..n-1] will contain the solution vector (parameters).
Definition at line 123 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), and nnlsqDataInit().
| double* NNLSQDATA::zz |
An array of working space, zz[0..m-1].
Definition at line 129 of file tpclinopt.h.
Referenced by nnlsq(), nnlsqDataAllocate(), nnlsqDataFree(), and nnlsqDataInit().