COPASI API
4.16.103
|
#include <cmath>
#include "copasi.h"
#include "CTruncatedNewton.h"
#include "lapack/blaswrap.h"
#include "lapack/lapackwrap.h"
Go to the source code of this file.
Macros | |
#define | FALSE_ (0) |
#define | subscr_1 (mpsubscr_->_1) |
#define | subscr_2 (mpsubscr_->_2) |
#define | subscr_3 (mpsubscr_->_3) |
#define | TRUE_ (1) |
Variables | |
static C_INT | c__1 = 1 |
static C_FLOAT64 | c_b246 = .6666 |
static C_INT | c_false = (0) |
static C_INT | c_true = (1) |
#define FALSE_ (0) |
Definition at line 79 of file CTruncatedNewton.cpp.
Referenced by cnvtst_(), CTruncatedNewton::getptc_(), CTruncatedNewton::gtims_(), CTruncatedNewton::lmqn_(), and CTruncatedNewton::lmqnbc_().
#define subscr_1 (mpsubscr_->_1) |
Definition at line 73 of file CTruncatedNewton.cpp.
Referenced by CTruncatedNewton::lmqn_(), and CTruncatedNewton::lmqnbc_().
#define subscr_2 (mpsubscr_->_2) |
Definition at line 74 of file CTruncatedNewton.cpp.
Referenced by CTruncatedNewton::gtims_(), CTruncatedNewton::initpc_(), and CTruncatedNewton::msolve_().
#define subscr_3 (mpsubscr_->_3) |
Definition at line 75 of file CTruncatedNewton.cpp.
Referenced by CTruncatedNewton::setpar_().
#define TRUE_ (1) |
Definition at line 78 of file CTruncatedNewton.cpp.
Referenced by cnvtst_(), CTruncatedNewton::getptc_(), CTruncatedNewton::lmqn_(), CTruncatedNewton::lmqnbc_(), and CTruncatedNewton::modlnp_().
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 | ||
) |
Definition at line 2191 of file CTruncatedNewton.cpp.
References c__1, c_b246, dnrm2_(), and 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 | ||
) |
Definition at line 1510 of file CTruncatedNewton.cpp.
References C_FLOAT64, C_INT, FALSE_, and TRUE_.
Referenced by CTruncatedNewton::lmqnbc_().
int crash_ | ( | C_INT * | n, |
C_FLOAT64 * | x, | ||
C_INT * | ipivot, | ||
C_FLOAT64 * | low, | ||
C_FLOAT64 * | up, | ||
C_INT * | ier | ||
) |
Definition at line 1600 of file CTruncatedNewton.cpp.
References C_INT.
Referenced by CTruncatedNewton::lmqnbc_().
Definition at line 3383 of file CTruncatedNewton.cpp.
References C_INT.
Referenced by CTruncatedNewton::lmqn_(), and CTruncatedNewton::lmqnbc_().
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 | ||
) |
Definition at line 2535 of file CTruncatedNewton.cpp.
References c__1, C_FLOAT64, C_INT, dcopy_(), and ddot_().
Referenced by CTruncatedNewton::initpc_().
int lsout_ | ( | C_INT * | , |
C_INT * | , | ||
C_FLOAT64 * | xmin, | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | xw, | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | u, | ||
C_FLOAT64 * | a, | ||
C_FLOAT64 * | b, | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | scxbd, | ||
C_FLOAT64 * | |||
) |
Definition at line 2079 of file CTruncatedNewton.cpp.
References C_FLOAT64.
Referenced by CTruncatedNewton::linder_().
Definition at line 2176 of file CTruncatedNewton.cpp.
References C_FLOAT64.
Referenced by chkucp_(), step1_(), CTruncatedNewton::tn_(), and CTruncatedNewton::tnbc_().
int modz_ | ( | C_INT * | n, |
C_FLOAT64 * | x, | ||
C_FLOAT64 * | p, | ||
C_INT * | ipivot, | ||
C_FLOAT64 * | epsmch, | ||
C_FLOAT64 * | low, | ||
C_FLOAT64 * | up, | ||
C_FLOAT64 * | flast, | ||
C_FLOAT64 * | fnew | ||
) |
Definition at line 1440 of file CTruncatedNewton.cpp.
References C_FLOAT64, and C_INT.
Referenced by CTruncatedNewton::lmqnbc_().
int monit_ | ( | C_INT * | n, |
C_FLOAT64 * | x, | ||
C_FLOAT64 * | , | ||
C_FLOAT64 * | g, | ||
C_INT * | , | ||
C_INT * | , | ||
C_INT * | , | ||
C_INT * | , | ||
C_INT * | ipivot | ||
) |
Definition at line 1315 of file CTruncatedNewton.cpp.
References C_FLOAT64, and C_INT.
Referenced by CTruncatedNewton::lmqnbc_().
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 | ||
) |
Definition at line 2339 of file CTruncatedNewton.cpp.
References c__1, C_FLOAT64, C_INT, ddot_(), and ssbfgs_().
Referenced by CTruncatedNewton::msolve_().
int ndia3_ | ( | C_INT * | n, |
C_FLOAT64 * | e, | ||
C_FLOAT64 * | v, | ||
C_FLOAT64 * | gv, | ||
C_FLOAT64 * | r__, | ||
C_FLOAT64 * | vgv, | ||
C_INT * | modet | ||
) |
Definition at line 1995 of file CTruncatedNewton.cpp.
References c__1, C_FLOAT64, C_INT, and ddot_().
Referenced by CTruncatedNewton::modlnp_().
Definition at line 2054 of file CTruncatedNewton.cpp.
References C_INT.
Referenced by CTruncatedNewton::modlnp_().
Definition at line 3480 of file CTruncatedNewton.cpp.
int ssbfgs_ | ( | C_INT * | n, |
C_FLOAT64 * | gamma, | ||
C_FLOAT64 * | sj, | ||
C_FLOAT64 * | yj, | ||
C_FLOAT64 * | hjv, | ||
C_FLOAT64 * | hjyj, | ||
C_FLOAT64 * | yjsj, | ||
C_FLOAT64 * | yjhyj, | ||
C_FLOAT64 * | vsj, | ||
C_FLOAT64 * | vhyj, | ||
C_FLOAT64 * | hjp1v | ||
) |
Definition at line 2480 of file CTruncatedNewton.cpp.
References C_FLOAT64, and C_INT.
Referenced by mslv_().
Definition at line 2143 of file CTruncatedNewton.cpp.
References C_FLOAT64, and mchpr1_().
Referenced by CTruncatedNewton::lmqn_(), and CTruncatedNewton::lmqnbc_().
int stpmax_ | ( | C_FLOAT64 * | stepmx, |
C_FLOAT64 * | pe, | ||
C_FLOAT64 * | spe, | ||
C_INT * | n, | ||
C_FLOAT64 * | x, | ||
C_FLOAT64 * | p, | ||
C_INT * | ipivot, | ||
C_FLOAT64 * | low, | ||
C_FLOAT64 * | up | ||
) |
Definition at line 1396 of file CTruncatedNewton.cpp.
References C_FLOAT64, and C_INT.
Referenced by CTruncatedNewton::lmqnbc_().
Definition at line 1366 of file CTruncatedNewton.cpp.
References C_INT.
Referenced by CTruncatedNewton::lmqnbc_(), and CTruncatedNewton::modlnp_().
|
static |
Definition at line 83 of file CTruncatedNewton.cpp.
Referenced by chkucp_(), initp3_(), CTruncatedNewton::linder_(), CTruncatedNewton::lmqn_(), CTruncatedNewton::lmqnbc_(), CTruncatedNewton::modlnp_(), mslv_(), ndia3_(), and CTruncatedNewton::setucr_().
|
static |
Definition at line 86 of file CTruncatedNewton.cpp.
Referenced by chkucp_().
|
static |
Definition at line 84 of file CTruncatedNewton.cpp.
Referenced by CTruncatedNewton::lmqn_().
|
static |
Definition at line 85 of file CTruncatedNewton.cpp.
Referenced by CTruncatedNewton::lmqnbc_().