Home
last modified time | relevance | path

Searched refs:dydx (Results 1 – 19 of 19) sorted by relevance

/third_party/boost/libs/math/test/
Dcubic_hermite_test.cpp39 std::vector<Real> dydx(x.size(), Real(0)); in test_constant() local
42 auto dydx_copy = dydx; in test_constant()
71 for (auto & t : dydx) { in test_constant()
92 std::vector<Real> dydx{1,1,1,1}; in test_linear() local
96 auto dydx_copy = dydx; in test_linear()
109 dydx.resize(45); in test_linear()
113 dydx[i] = 1; in test_linear()
118 dydx_copy = dydx; in test_linear()
136 for (auto & t : dydx) { in test_linear()
168 std::vector<Real> dydx(x.size()); in test_quadratic() local
[all …]
Dseptic_hermite_test.cpp32 std::vector<Real> dydx(x.size(), 0); in test_constant() local
40 …auto sh = septic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2), std::move… in test_constant()
51 dydx.resize(128, 0); in test_constant()
54 …auto csh = cardinal_septic_hermite(std::move(y), std::move(dydx), std::move(d2ydx2), std::move(d3y… in test_constant()
109 std::vector<Real> dydx(x.size(), 1); in test_linear() local
113 …auto sh = septic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2), std::move… in test_linear()
133 dydx.resize(x.size(), 1); in test_linear()
137 …sh = septic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2), std::move(d3yd… in test_linear()
148 dydx.resize(10, 1); in test_linear()
155 …auto csh = cardinal_septic_hermite(std::move(y), std::move(dydx), std::move(d2ydx2), std::move(d3y… in test_linear()
[all …]
Dquintic_hermite_test.cpp33 std::vector<Real> dydx(x.size(), 0); in test_constant() local
40 auto qh = quintic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2)); in test_constant()
55 std::vector<Real> dydx(x.size(), 1); in test_linear() local
58 auto qh = quintic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2)); in test_linear()
79 dydx.resize(x.size(), 1); in test_linear()
82 qh = quintic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2)); in test_linear()
103 std::vector<Real> dydx(x.size()); in test_quadratic() local
105 dydx[i] = x[i]; in test_quadratic()
110 auto qh = quintic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2)); in test_quadratic()
136 dydx.resize(x.size()); in test_quadratic()
[all …]
/third_party/boost/boost/math/interpolators/
Dcubic_hermite.hpp19 …bic_hermite(RandomAccessContainer && x, RandomAccessContainer && y, RandomAccessContainer && dydx) in cubic_hermite() argument
20 …<detail::cubic_hermite_detail<RandomAccessContainer>>(std::move(x), std::move(y), std::move(dydx))) in cubic_hermite()
37 void push_back(Real x, Real y, Real dydx) in push_back() argument
39 impl_->push_back(x, y, dydx); in push_back()
61 …cardinal_cubic_hermite(RandomAccessContainer && y, RandomAccessContainer && dydx, Real x0, Real dx… in cardinal_cubic_hermite() argument
62 …tail::cardinal_cubic_hermite_detail<RandomAccessContainer>>(std::move(y), std::move(dydx), x0, dx)) in cardinal_cubic_hermite()
Dquintic_hermite.hpp21 …ccessContainer && x, RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAccessContai… in quintic_hermite() argument
22 …mite_detail<RandomAccessContainer>>(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2)… in quintic_hermite()
46 void push_back(Real x, Real y, Real dydx, Real d2ydx2) in push_back() argument
48 impl_->push_back(x, y, dydx, d2ydx2); in push_back()
69 …cardinal_quintic_hermite(RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAccessCo… in cardinal_quintic_hermite() argument
70 …al_quintic_hermite_detail<RandomAccessContainer>>(std::move(y), std::move(dydx), std::move(d2ydx2)… in cardinal_quintic_hermite()
Dseptic_hermite.hpp21 …tic_hermite(RandomAccessContainer && x, RandomAccessContainer && y, RandomAccessContainer && dydx, in septic_hermite() argument
24 std::move(y), std::move(dydx), std::move(d2ydx2), std::move(d3ydx3))) in septic_hermite()
67 cardinal_septic_hermite(RandomAccessContainer && y, RandomAccessContainer && dydx, in cardinal_septic_hermite() argument
70 std::move(y), std::move(dydx), std::move(d2ydx2), std::move(d3ydx3), x0, dx)) in cardinal_septic_hermite()
/third_party/boost/libs/math/example/daubechies_wavelets/
Dbench.cpp136 std::vector<Real> dydx(n); in CubicHermite() local
141 dydx[0] = dis(rd); in CubicHermite()
146 dydx[i] = dis(rd); in CubicHermite()
151 auto qh = cubic_hermite(std::move(x), std::move(y), std::move(dydx)); in CubicHermite()
175 std::vector<Real> dydx(n); in CardinalCubicHermite() local
181 dydx[i] = uniform(); in CardinalCubicHermite()
188 auto qh = cardinal_cubic_hermite_detail(std::move(y), std::move(dydx), x0, dx); in CardinalCubicHermite()
301 std::vector<Real> dydx(n); in CardinalQuinticHermite() local
308 dydx[i] = uniform(); in CardinalQuinticHermite()
316 …auto qh = cardinal_quintic_hermite_detail(std::move(y), std::move(dydx), std::move(d2ydx2), x0, dx… in CardinalQuinticHermite()
[all …]
Ddaubechies_wavelet_plots.cpp106 Real dydx = phi.prime(x); in plot_condition_number() local
107 Real z = abs(x*dydx/y); in plot_condition_number()
Ddaubechies_plots.cpp111 Real dydx = phi.prime(x); in plot_condition_number() local
112 Real z = abs(x*dydx/y); in plot_condition_number()
/third_party/boost/boost/math/interpolators/detail/
Dseptic_hermite_detail.hpp20 …ccessContainer && x, RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAccessContai… in septic_hermite_detail() argument
21 …: x_{std::move(x)}, y_{std::move(y)}, dydx_{std::move(dydx)}, d2ydx2_{std::move(d2ydx2)}, d3ydx3_{… in septic_hermite_detail()
56 void push_back(Real x, Real y, Real dydx, Real d2ydx2, Real d3ydx3) in push_back() argument
65 dydx_.push_back(dydx); in push_back()
165 Real dydx = z0*(y1-y0)/dx; in prime() local
166 dydx += z1*v0 + z2*v1; in prime()
167 dydx += (x-x0)*(z3*a0 + z4*a1); in prime()
168 dydx += (x-x0)*(x-x0)*(z5*j0 + z6*j1)/6; in prime()
169 return dydx; in prime()
210 …cardinal_septic_hermite_detail(RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAc… in cardinal_septic_hermite_detail() argument
[all …]
Dquintic_hermite_detail.hpp20 …y, RandomAccessContainer && dydx, RandomAccessContainer && d2ydx2) : x_{std::move(x)}, y_{std::mov… in quintic_hermite_detail() argument
50 void push_back(Real x, Real y, Real dydx, Real d2ydx2) in push_back() argument
60 dydx_.push_back(dydx); in push_back()
137 Real dydx = 30*t2*(1 - 2*t + t*t)*(y1-y0)/dx; in prime() local
138 dydx += (1-18*t*t + 32*t*t*t - 15*t*t*t*t)*v0 - t*t*(12 - 28*t + 15*t*t)*v1; in prime()
139 dydx += (t*dx/2)*((2 - 9*t + 12*t*t - 5*t*t*t)*a0 + t*(3 - 8*t + 5*t*t)*a1); in prime()
140 return dydx; in prime()
214 …cardinal_quintic_hermite_detail(RandomAccessContainer && y, RandomAccessContainer && dydx, RandomA… in cardinal_quintic_hermite_detail() argument
215 : y_{std::move(y)}, dy_{std::move(dydx)}, d2y_{std::move(d2ydx2)}, x0_{x0}, inv_dx_{1/dx} in cardinal_quintic_hermite_detail()
329 Real dydx = 30*t*t*(1 - 2*t + t*t)*(y1-y0); in unchecked_prime() local
[all …]
Dcubic_hermite_detail.hpp23 …_hermite_detail(RandomAccessContainer && x, RandomAccessContainer && y, RandomAccessContainer dydx) in cubic_hermite_detail() argument
24 : x_{std::move(x)}, y_{std::move(y)}, dydx_{std::move(dydx)} in cubic_hermite_detail()
56 void push_back(Real x, Real y, Real dydx) in push_back() argument
66 dydx_.push_back(dydx); in push_back()
173 …cardinal_cubic_hermite_detail(RandomAccessContainer && y, RandomAccessContainer dydx, Real x0, Rea… in cardinal_cubic_hermite_detail() argument
174 : y_{std::move(y)}, dy_{std::move(dydx)}, x0_{x0}, inv_dx_{1/dx} in cardinal_cubic_hermite_detail()
/third_party/boost/libs/math/doc/interpolators/
Dcubic_hermite.qbk30 void push_back(Real x, Real y, Real dydx);
42 …cardinal_cubic_hermite(RandomAccessContainer && y, RandomAccessContainer && dydx, Real x0, Real dx)
78 std::vector<double dydx{5, -2, -1};
80 auto spline = cubic_hermite(std::move(x), std::move(y), std::move(dydx));
109 …e `cardinal_cubic_hermite`, which accepts two separate arrays of `y` and `dydx`, or we can use `ca…
110 which takes a vector of `(y, dydx)`, i.e., and array of structs (`aos`).
119 std::vector<double> dydx(128, 0);
120 auto ch = cardinal_cubic_hermite(std::move(y), std::move(dydx), x0, dx);
Dquintic_hermite.qbk20 …ccessContainer && x, RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAccessContai…
32 void push_back(Real x, Real y, Real dydx, Real d2ydx2);
39 …cardinal_quintic_hermite(RandomAccessContainer && y, RandomAccessContainer && dydx, RandomAccessCo…
78 std::vector<double> dydx{1,1,1,1,1,1};
82 auto spline = quintic_hermite(std::move(x), std::move(y), std::move(dydx), std::move(d2ydx2));
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c375 float dydx = dy / dx; in try_setup_line() local
401 float yintersect = fracf(v1[0][1]) + x1diff * dydx; in try_setup_line()
420 float yintersect = fracf(v2[0][1]) + x2diff * dydx; in try_setup_line()
430 info.dx *= 1 + dydx * dydx; in try_setup_line()
443 y_offset_end = x_offset_end * dydx; in try_setup_line()
448 y_offset = x_offset * dydx; in try_setup_line()
456 y_offset = x_offset * dydx; in try_setup_line()
460 y_offset_end = x_offset_end * dydx; in try_setup_line()
/third_party/boost/boost/math/special_functions/
Ddaubechies_scaling.hpp96 …er && y, RandomAccessContainer && dydx, int grid_refinements, Real x0) : x0_{x0}, y_{std::move(y)}… in matched_holder() argument
183 …sContainer && y, RandomAccessContainer && dydx, int grid_refinements) : y_{std::move(y)}, dydx_{st… in linear_interpolation() argument
410 auto dydx = t1.get(); in daubechies_scaling() local
418 data[i][1] = dydx[i]; in daubechies_scaling()
Ddaubechies_wavelet.hpp172 auto dydx = t1.get(); in daubechies_wavelet() local
180 data[i][1] = dydx[i]; in daubechies_wavelet()
/third_party/mesa3d/src/mesa/swrast/
Ds_aaline.c370 GLfloat dydx = line->dy / line->dx; in segment() local
410 yBot += dydx; in segment()
411 yTop += dydx; in segment()
/third_party/boost/libs/math/doc/sf/
Ddaubechies.qbk67 double dydx = phi.prime(0.38);