Home
last modified time | relevance | path

Searched refs:a2y (Results 1 – 25 of 95) sorted by relevance

1234

/dports/math/cppad/CppAD-20210000.8/test_more/general/
H A Dmul_cond_rev.cpp38 vector<a2double> a2x(n), a2y(m); in mul_cond_rev() local
56 a2y[i++] = CondExpGt(a2x[0], a2zero, a2nan_var, a2zero); in mul_cond_rev()
58 a2y[i++] = CondExpGt(a2x[0], a2zero, fabs( a2y[0] ), a2zero); in mul_cond_rev()
62 a2y[i++] = CondExpGt(a2x[0], a2zero, acos(a2switch), a2zero); in mul_cond_rev()
64 a2y[i++] = CondExpGt(a2x[0], a2zero, asin(a2switch), a2zero); in mul_cond_rev()
68 a2y[i++] = CondExpGt(a2x[0], a2zero, cos(a2nan_var), a2zero); in mul_cond_rev()
72 a2y[i++] = CondExpGt(a2x[0], a2zero, exp(a2nan_var), a2zero); in mul_cond_rev()
74 a2y[i++] = CondExpGt(a2x[0], a2zero, log(a2x[0]), a2zero); in mul_cond_rev()
80 a2y[i++] = CondExpGt(a2x[0], a2zero, sin(a2nan_var), a2zero); in mul_cond_rev()
84 a2y[i++] = CondExpGt(a2x[0], a2zero, sqrt(a2x[0]), a2zero); in mul_cond_rev()
[all …]
H A Dmul_zdouble.cpp32 vector<a2type> a2x(n_), a2y(m_); in record() local
41 a2y = fun(a2x); in record()
43 a1f.Dependent(a2x, a2y); in record()
55 { vector<a2type> a2y(m_); in div() local
58 a2y[0] = CondExpGt(a2x[1], a2zero, a2x[0] / a2x[1], a2zero); in div()
59 a2y[0] += CondExpGt(a2x[1], a2zero, a2four / a2x[1], a2zero); in div()
60 return a2y; in div()
86 { vector<a2type> a2y(m_); in mul() local
89 a2y[0] = CondExpLt(a2x[0], a2four, a2x[0] * a2x[1], a2zero); in mul()
90 a2y[0] += CondExpLt(a2x[0], a2four, a2four * a2x[1], a2zero); in mul()
[all …]
H A Dazmul.cpp44 CPPAD_TESTVECTOR(a2double) a2x(n), a2y(m); in test_forward()
50 a2y[0] = CppAD::azmul(a2x[0], a2x[1]); // azmul(variable, variable) in test_forward()
51 a2y[1] = CppAD::azmul(a1x[0], a2x[1]); // azmul(parameter, variable) in test_forward()
52 a2y[2] = CppAD::azmul(a2x[0], a1x[1]); // azmul(variable, parameter) in test_forward()
56 a1f.Dependent(a2x, a2y); in test_forward()
120 CPPAD_TESTVECTOR(a2double) a2x(n), a2y(m); in test_reverse()
126 a2y[0] = CppAD::azmul(a2x[0], a2x[1]); // azmul(variable, variable) in test_reverse()
127 a2y[1] = CppAD::azmul(a1x[0], a2x[1]); // azmul(parameter, variable) in test_reverse()
132 a1f.Dependent(a2x, a2y); in test_reverse()
194 CPPAD_TESTVECTOR(a2double) a2x(n), a2y(m); in test_forward_dir()
[all …]
H A Dsubgraph_hes2jac.cpp52 a2vector a2y(m); in subgraph_hes2jac() local
53 a2y[0] = 5.0 * a2x[0] * a2x[1]; in subgraph_hes2jac()
55 a2y[0] += a2x[j] * a2x[j] * a2x[j]; in subgraph_hes2jac()
60 a1f.Dependent(a2x, a2y); in subgraph_hes2jac()
H A Dsparse_jac_work.cpp54 a2vector a2y(m); in sparse_jac_work() local
55 a2y[0] = a2x[0] + a2x[1]; in sparse_jac_work()
56 a2y[1] = a2x[2] + a2x[3]; in sparse_jac_work()
57 a2y[2] = a2x[0] + a2x[1] + a2x[2] + a2x[3] * a2x[3] / 2.; in sparse_jac_work()
60 CppAD::ADFun<a1double> a1f(a2x, a2y); in sparse_jac_work()
H A Dmul_cskip.cpp32 vector<a2type> a2x(n), a2y(m); in mul_cskip() local
42 a2y[0] = CondExpEq(a2x[0], a2one, a2p, a2zero); in mul_cskip()
43 ADFun<a1type> a1f(a2x, a2y); in mul_cskip()
/dports/math/cppad/CppAD-20210000.8/test_more/deprecated/chkpoint_one/
H A Dmul_level.cpp66 a2vector a2x(n), a2y(m); in mul_level() local
71 checkpoint<a1double> atom_f("atom_f", f_algo, a2x, a2y); in mul_level()
75 f_algo(a2x, a2y); in mul_level()
76 ADFun<a1double> check_not(a2x, a2y); in mul_level()
83 atom_f(a2x, a2y); in mul_level()
84 ADFun<a1double> check_yes(a2x, a2y); in mul_level()
/dports/math/cppad/CppAD-20210000.8/example/general/
H A Dmul_level_ode.cpp126 ( const a2vector& a2y) const in operator ()()
127 { size_t n = a2y.size(); in operator ()()
132 a2g[i] = a1x_[i] * a2y[i-1]; in operator ()()
155 a2vector a2y(n), a2z(n); in taylor_ode() local
168 a2y[i] = a1y[i]; in taylor_ode()
169 CppAD::Independent(a2y); in taylor_ode()
172 a2z = G(a2y); in taylor_ode()
176 CppAD::ADFun<a1double> a1g(a2y, a2z); in taylor_ode()
H A Dmul_level_adolc_ode.cpp153 ( const CPPAD_TESTVECTOR(a2type)& a2y) const in CPPAD_TESTVECTOR()
154 { size_t n = a2y.size(); in CPPAD_TESTVECTOR()
159 a2g[i] = a1x_[i] * a2y[i-1]; in CPPAD_TESTVECTOR()
182 CPPAD_TESTVECTOR(a2type) a2y(n), Z(n); in taylor_ode_adolc()
195 a2y[i] = a1y[i]; in taylor_ode_adolc()
196 CppAD::Independent(a2y); in taylor_ode_adolc()
199 Z = G(a2y); in taylor_ode_adolc()
203 CppAD::ADFun<a1type> a1g(a2y, Z); in taylor_ode_adolc()
H A Dchange_param.cpp81 CPPAD_TESTVECTOR(a2type) a2y(ny); in change_param()
82 a2y[0] = sin( a2x[0] ) * a1p; in change_param()
83 a2y[1] = sin( a2x[1] ) * a1p; in change_param()
88 a1f.Dependent(a2x, a2y); in change_param()
H A Dmul_level.cpp90 CPPAD_TESTVECTOR(a2type) a2x(n), a2y(1); in mul_level()
99 a2y[0] = f(a2x); in mul_level()
104 a1f.Dependent(a2x, a2y); in mul_level()
H A Dmul_level_adolc.cpp117 CPPAD_TESTVECTOR(a2type) a2y(1); in mul_level_adolc()
118 a2y[0] = f(a2x); in mul_level_adolc()
123 a1f.Dependent(a2x, a2y); in mul_level_adolc()
/dports/graphics/autopano-sift-c/autopano-sift-C-2.5.1/
H A DTransform.c98 double a2x, double a2y, double b2x, double b2y, in AffineTransform2D_BuildTransformFromTwoPairs() argument
105 double angle = atan2 (b1y - a1y, b1x - a1x) - atan2 (b2y - a2y, b2x - a2x); in AffineTransform2D_BuildTransformFromTwoPairs()
110 double s = sqrt ((b2x - a2x)*(b2x - a2x) + (b2y - a2y)*(b2y - a2y)); in AffineTransform2D_BuildTransformFromTwoPairs()
122 trans->base.values[0][ 2] = s * (cosAngle * (-a2x) - sinAngle * (-a2y)) + a1x; in AffineTransform2D_BuildTransformFromTwoPairs()
125 trans->base.values[1][ 2] = s * (sinAngle * (-a2x) + cosAngle * (-a2y)) + a1y; in AffineTransform2D_BuildTransformFromTwoPairs()
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/gl/
H A Dgl_sky.c230 float x, y, a1x, a1y, a2x, a2y; in skydome_debug() local
240 a2y = -gl_bubble_sintable[(a + 1) * 2] * domescale[1]; in skydome_debug()
262 v[h][1] = a2y * x; in skydome_debug()
282 v[h][1] = a2y * x; in skydome_debug()
313 float x, y, a1x, a1y, a2x, a2y; in R_DrawSkyLayer() local
321 a2y = -gl_bubble_sintable[(a + 1) * 2] * domescale[1]; in R_DrawSkyLayer()
335 v[1] = a2y * x; in R_DrawSkyLayer()
348 v[1] = a2y * x; in R_DrawSkyLayer()
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/geom/
H A DEnvelopeTest.java248 …private void checkIntersectsPermuted(double a1x, double a1y, double a2x, double a2y, double b1x, d… in checkIntersectsPermuted() argument
249 checkIntersects(a1x, a1y, a2x, a2y, b1x, b1y, b2x, b2y, expected); in checkIntersectsPermuted()
250 checkIntersects(a1x, a2y, a2x, a1y, b1x, b1y, b2x, b2y, expected); in checkIntersectsPermuted()
251 checkIntersects(a1x, a1y, a2x, a2y, b1x, b2y, b2x, b1y, expected); in checkIntersectsPermuted()
252 checkIntersects(a1x, a2y, a2x, a1y, b1x, b2y, b2x, b1y, expected); in checkIntersectsPermuted()
254 …private void checkIntersects(double a1x, double a1y, double a2x, double a2y, double b1x, double b1… in checkIntersects() argument
255 Envelope a = new Envelope(a1x, a2x, a1y, a2y); in checkIntersects()
261 Coordinate a2 = new Coordinate(a2x, a2y); in checkIntersects()
/dports/net/drawterm/drawterm/libmemdraw/
H A Dellipse.c47 vlong a2y; /* a^2 * y */ member
66 s->a2y = s->a2*(vlong)b; in newstate()
69 s->ee = -s->a2y; in newstate()
86 s->ee+s->a2y <= s->c2) { /* e(x+1/2,y) <= 0 (rare) */ in step()
95 s->a2y -= s->a2; in step()
96 if(s->ee-s->a2y <= s->c2) { /* e(x+1/2,y-1) <= 0 */ in step()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmemdraw/
H A Dellipse.c46 vlong a2y; /* a^2 * y */ member
65 s->a2y = s->a2*(vlong)b; in newstate()
68 s->ee = -s->a2y; in newstate()
85 s->ee+s->a2y <= s->c2) { /* e(x+1/2,y) <= 0 (rare) */ in step()
94 s->a2y -= s->a2; in step()
95 if(s->ee-s->a2y <= s->c2) { /* e(x+1/2,y-1) <= 0 */ in step()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/vecf/
H A Dboxm2_vecf_spline_field.cxx17 double a0y, a1y, a2y, a3y; in operator ()() local
20 generating_spline_.coefficients(pm1.y(), p0.y(), p1.y(), p2.y(), a0y, a1y, a2y, a3y); in operator ()()
24 double vy = a3y*u3 + a2y*u2 + a1y*u + a0y; in operator ()()
/dports/math/cppad/CppAD-20210000.8/test_more/deprecated/
H A Dzdouble.cpp62 CPPAD_TESTVECTOR(a2type) a2y(m); in test_one()
63 a2y[0] = f_x; in test_one()
65 af1.Dependent(a2x, a2y); in test_one()
/dports/math/cppad/CppAD-20210000.8/example/sparse/
H A Dsub_sparse_hes.cpp98 vector<a2double> a2y(1); in sub_sparse_hes() local
99 a2y[0] = f(a2u, a2v); in sub_sparse_hes()
101 g.Dependent(a2u, a2y); in sub_sparse_hes()
/dports/science/lammps/lammps-stable_29Sep2021/lib/colvars/
H A Dcolvartypes.cpp486 cvm::real const &a2y = pos2[ia].y; in calc_optimal_rotation() local
493 ds_1[0][0].set( a2x, a2y, a2z); in calc_optimal_rotation()
494 ds_1[1][0].set( 0.0, a2z, -a2y); in calc_optimal_rotation()
498 ds_1[3][0].set( a2y, -a2x, 0.0); in calc_optimal_rotation()
500 ds_1[1][1].set( a2x, -a2y, -a2z); in calc_optimal_rotation()
501 ds_1[2][1].set( a2y, a2x, 0.0); in calc_optimal_rotation()
505 ds_1[2][2].set(-a2x, a2y, -a2z); in calc_optimal_rotation()
506 ds_1[3][2].set( 0.0, a2z, a2y); in calc_optimal_rotation()
508 ds_1[3][3].set(-a2x, -a2y, a2z); in calc_optimal_rotation()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwpw/pspw/cpsd/
H A Dfei_output.F22 real*8 a2x,a2y,a2z local
73 read(35,*,ERR=30,END=30) a2x,a2y,a2z
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwpw/pspw/cpsd/
H A Dfei_output.F22 real*8 a2x,a2y,a2z
73 read(35,*,ERR=30,END=30) a2x,a2y,a2z
/dports/science/jmol/jmol-14.32.7/src/org/jmol/quantum/
H A DNMRNoeMatrix.java673 double a2x, a2y, a2z; in distanceSqrd() local
676 a2y = (atom2.y + atom2.y1 + atom2.y2) / 3.0; in distanceSqrd()
680 a2y = 0.0; in distanceSqrd()
684 a2y += atom2.ya[j] / atom2.xa.length; in distanceSqrd()
689 a2y = atom2.y; in distanceSqrd()
693 double y1 = atom1.y - a2y; in distanceSqrd()
696 double y2 = atom1.y1 - a2y; in distanceSqrd()
699 double y3 = atom1.y2 - a2y; in distanceSqrd()
/dports/misc/vxl/vxl-3.3.2/core/vgl/
H A Dvgl_cubic_spline_2d.h152 Type a0y, a1y, a2y, a3y; in operator() local
154 coefficients(pm1.y(), p0.y(), p1.y(), p2.y(), a0y, a1y, a2y, a3y); in operator()
157 Type y = a3y*u3 + a2y*u2 + a1y*u + a0y; in operator()

1234