Home
last modified time | relevance | path

Searched refs:fwd_p (Results 1 – 5 of 5) sorted by relevance

/dports/dns/totd/totd-1.5.1/
H A Dforward.c133 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 Dnlp_sensitivities.py218 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 Dsensitivity_analysis.py138 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 Dsensitivity_analysis.m142 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 Dnlpsol.cpp753 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()