COPASI API
4.40.278
|
#include <cmath>
#include <sstream>
#include "copasi/copasi.h"
#include "CTruncatedNewton.h"
#include "COptLog.h"
#include "copasi/lapack/blaswrap.h"
#include "copasi/lapack/lapackwrap.h"
Macros | |
#define | FALSE_ (0) |
#define | subscr_1 (mpsubscr_->_1) |
#define | subscr_2 (mpsubscr_->_2) |
#define | subscr_3 (mpsubscr_->_3) |
#define | TRUE_ (1) |
#define FALSE_ (0) |
#define subscr_1 (mpsubscr_->_1) |
#define subscr_2 (mpsubscr_->_2) |
#define subscr_3 (mpsubscr_->_3) |
#define TRUE_ (1) |
int chkucp_ | ( | C_INT * | lwtest, |
C_INT * | maxfun, | ||
C_INT * | nwhy, | ||
C_INT * | n, | ||
C_FLOAT64 * | alpha, | ||
C_FLOAT64 * | epsmch, | ||
C_FLOAT64 * | eta, | ||
C_FLOAT64 * | peps, | ||
C_FLOAT64 * | rteps, | ||
C_FLOAT64 * | rtol, | ||
C_FLOAT64 * | rtolsq, | ||
C_FLOAT64 * | stepmx, | ||
C_FLOAT64 * | test, | ||
C_FLOAT64 * | xtol, | ||
C_FLOAT64 * | xnorm, | ||
C_FLOAT64 * | x, | ||
C_INT * | lw, | ||
C_FLOAT64 * | small, | ||
C_FLOAT64 * | tiny, | ||
C_FLOAT64 * | accrcy | ||
) |
References mchpr1_().
Referenced by CTruncatedNewton::lmqn_(), and CTruncatedNewton::lmqnbc_().
int cnvtst_ | ( | C_INT * | conv, |
C_FLOAT64 * | alpha, | ||
C_FLOAT64 * | pnorm, | ||
C_FLOAT64 * | toleps, | ||
C_FLOAT64 * | xnorm, | ||
C_FLOAT64 * | difnew, | ||
C_FLOAT64 * | rtleps, | ||
C_FLOAT64 * | ftest, | ||
C_FLOAT64 * | gtg, | ||
C_FLOAT64 * | peps, | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | gtpnew, | ||
C_FLOAT64 * | fnew, | ||
C_FLOAT64 * | flast, | ||
C_FLOAT64 * | g, | ||
C_INT * | ipivot, | ||
C_INT * | n, | ||
C_FLOAT64 * | accrcy | ||
) |
int crash_ | ( | C_INT * | n, |
C_FLOAT64 * | x, | ||
C_INT * | ipivot, | ||
C_FLOAT64 * | low, | ||
C_FLOAT64 * | up, | ||
C_INT * | ier | ||
) |
References C_INT.
Referenced by CTruncatedNewton::lmqnbc_().
References C_INT.
int initp3_ | ( | C_FLOAT64 * | diagb, |
C_FLOAT64 * | emat, | ||
C_INT * | n, | ||
C_INT * | lreset, | ||
C_FLOAT64 * | yksk, | ||
C_FLOAT64 * | yrsr, | ||
C_FLOAT64 * | bsk, | ||
C_FLOAT64 * | sk, | ||
C_FLOAT64 * | yk, | ||
C_FLOAT64 * | sr, | ||
C_FLOAT64 * | yr, | ||
C_INT * | modet, | ||
C_INT * | upd1 | ||
) |
References C_FLOAT64, C_INT, and ddot_().
Referenced by CTruncatedNewton::initpc_().
int lsout_ | ( | C_INT * | , |
C_INT * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | |||
) |
Referenced by CTruncatedNewton::linder_().
int lsout_ | ( | C_INT * | iloc, |
C_INT * | itest, | ||
C_FLOAT64 * | xmin, | ||
C_FLOAT64 * | fmin, | ||
C_FLOAT64 * | gmin, | ||
C_FLOAT64 * | xw, | ||
C_FLOAT64 * | fw, | ||
C_FLOAT64 * | gw, | ||
C_FLOAT64 * | u, | ||
C_FLOAT64 * | a, | ||
C_FLOAT64 * | b, | ||
C_FLOAT64 * | tol, | ||
C_FLOAT64 * | eps, | ||
C_FLOAT64 * | scxbd, | ||
C_FLOAT64 * | xlamda, | ||
COptLog * | log | ||
) |
References C_FLOAT64, and COptLog::enterLogEntry().
C_FLOAT64 mchpr1_ | ( | void | ) |
References C_FLOAT64.
Referenced by chkucp_(), step1_(), CTruncatedNewton::tn_(), and CTruncatedNewton::tnbc_().
int monit_ | ( | C_INT * | n, |
C_FLOAT64 * | x, | ||
C_FLOAT64 * | f, | ||
C_FLOAT64 * | g, | ||
C_INT * | niter, | ||
C_INT * | nftotl, | ||
C_INT * | nfeval, | ||
C_INT * | ireset, | ||
C_INT * | ipivot, | ||
COptLog * | log | ||
) |
References C_FLOAT64, C_INT, and COptLog::enterLogEntry().
int mslv_ | ( | C_FLOAT64 * | g, |
C_FLOAT64 * | y, | ||
C_INT * | n, | ||
C_FLOAT64 * | sk, | ||
C_FLOAT64 * | yk, | ||
C_FLOAT64 * | diagb, | ||
C_FLOAT64 * | sr, | ||
C_FLOAT64 * | yr, | ||
C_FLOAT64 * | hyr, | ||
C_FLOAT64 * | hg, | ||
C_FLOAT64 * | hyk, | ||
C_INT * | upd1, | ||
C_FLOAT64 * | yksk, | ||
C_FLOAT64 * | gsk, | ||
C_FLOAT64 * | yrsr, | ||
C_INT * | lreset, | ||
C_INT * | first | ||
) |
References C_FLOAT64, C_INT, and ddot_().
Referenced by CTruncatedNewton::msolve_().
References C_INT.
Referenced by CTruncatedNewton::lmqnbc_(), and CTruncatedNewton::modlnp_().