/third_party/boost/libs/math/test/ |
D | cubic_hermite_test.cpp | 39 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 …]
|
D | septic_hermite_test.cpp | 32 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 …]
|
D | quintic_hermite_test.cpp | 33 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/ |
D | cubic_hermite.hpp | 19 …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()
|
D | quintic_hermite.hpp | 21 …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()
|
D | septic_hermite.hpp | 21 …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/ |
D | bench.cpp | 136 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 …]
|
D | daubechies_wavelet_plots.cpp | 106 Real dydx = phi.prime(x); in plot_condition_number() local 107 Real z = abs(x*dydx/y); in plot_condition_number()
|
D | daubechies_plots.cpp | 111 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/ |
D | septic_hermite_detail.hpp | 20 …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 …]
|
D | quintic_hermite_detail.hpp | 20 …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 …]
|
D | cubic_hermite_detail.hpp | 23 …_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/ |
D | cubic_hermite.qbk | 30 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);
|
D | quintic_hermite.qbk | 20 …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/ |
D | lp_setup_line.c | 375 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/ |
D | daubechies_scaling.hpp | 96 …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()
|
D | daubechies_wavelet.hpp | 172 auto dydx = t1.get(); in daubechies_wavelet() local 180 data[i][1] = dydx[i]; in daubechies_wavelet()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_aaline.c | 370 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/ |
D | daubechies.qbk | 67 double dydx = phi.prime(0.38);
|