Searched refs:fwd_p (Results 1 – 5 of 5) sorted by relevance
/dports/dns/totd/totd-1.5.1/ |
H A D | forward.c | 133 void fwd_freev (void *fwd_p) { in fwd_freev() argument 134 fwd_free ((Fwd *) fwd_p); in fwd_freev() 143 if (!fwd_p) { in fwd_alloc() 148 if (!fwd_p->sa) { in fwd_alloc() 153 return fwd_p; in fwd_alloc() 156 fwd_free (fwd_p); in fwd_alloc() 191 Fwd *fwd_p; in fwd_add() local 198 fwd_p = fwd_alloc (); in fwd_add() 199 if (!fwd_p) in fwd_add() 203 fwd_p->port = port; in fwd_add() [all …]
|
/dports/math/casadi/casadi-3.5.5/docs/examples/python/ |
H A D | nlp_sensitivities.py | 218 fwd_p = [ca.DM.zeros(P.sparsity()) for i in range(nfwd)] variable 223 fwd_p[0][0] = 1 # first nonzero of P 224 fwd_p[1][1] = 1 # second nonzero of P 231 p=0, fwd_p=ca.horzcat(*fwd_p)) 242 p=0 + h*fwd_p[d])) 262 p=0 - h*fwd_p[d]))
|
H A D | sensitivity_analysis.py | 138 res = I_fwd(x0=x0, p=u0, fwd_p=1) 158 res = I_foa(x0=x0, p=u0, adj_qf=1, fwd_p=1)
|
/dports/math/casadi/casadi-3.5.5/docs/examples/matlab/ |
H A D | sensitivity_analysis.m | 142 res = I_fwd('x0', x0, 'p', u0, 'fwd_p', 1); 168 res = I_foa('x0', x0, 'p', u0, 'adj_qf', 1, 'fwd_p', 1);
|
/dports/math/casadi/casadi-3.5.5/casadi/core/ |
H A D | nlpsol.cpp | 753 MX fwd_p = fseed[NLPSOL_P] = MX::sym("fwd_p", repmat(p.sparsity(), 1, nfwd)); in get_forward() local 772 vector<MX> vv = {x, p, 1, lam_g, f, g, -lam_x, -lam_p, 0., fwd_p, 0., 0.}; in get_forward() 794 fwd_x, fwd_p, 0, fwd_lam_g}; in get_forward()
|