Home
last modified time | relevance | path

Searched refs:y_ (Results 1 – 25 of 106) sorted by relevance

12345

/third_party/boost/boost/math/interpolators/detail/
Dcubic_hermite_detail.hpp24 : x_{std::move(x)}, y_{std::move(y)}, dydx_{std::move(dydx)} in cubic_hermite_detail()
28 if (x_.size() != y_.size())
65 y_.push_back(y); in push_back()
83 return y_.back(); in operator ()()
90 Real y0 = y_[i]; in operator ()()
91 Real y1 = y_[i+1]; in operator ()()
122 Real y0 = y_[i]; in prime()
123 Real y1 = y_[i+1]; in prime()
141 os << "(" << m.x_[i] << ", " << m.y_[i] << ", " << m.dydx_[i] << "), "; in operator <<()
144 os << "(" << m.x_[n] << ", " << m.y_[n] << ", " << m.dydx_[n] << ")}"; in operator <<()
[all …]
Dquintic_hermite_detail.hpp20 …essContainer && dydx, RandomAccessContainer && d2ydx2) : x_{std::move(x)}, y_{std::move(y)}, dydx_… in quintic_hermite_detail()
22 if (x_.size() != y_.size())
59 y_.push_back(y); in push_back()
78 return y_.back(); in operator ()()
85 Real y0 = y_[i]; in operator ()()
86 Real y1 = y_[i+1]; in operator ()()
128 Real y0 = y_[i]; in prime()
129 Real y1 = y_[i+1]; in prime()
164 Real y0 = y_[i]; in double_prime()
165 Real y1 = y_[i+1]; in double_prime()
[all …]
Dseptic_hermite_detail.hpp21 …: x_{std::move(x)}, y_{std::move(y)}, dydx_{std::move(dydx)}, d2ydx2_{std::move(d2ydx2)}, d3ydx3_{… in septic_hermite_detail()
23 if (x_.size() != y_.size())
64 y_.push_back(y); in push_back()
83 return y_.back(); in operator ()()
111 Real y0 = y_[i]; in operator ()()
112 Real y1 = y_[i+1]; in operator ()()
145 Real y0 = y_[i]; in prime()
146 Real y1 = y_[i+1]; in prime()
181 …os << "(" << m.x_[i] << ", " << m.y_[i] << ", " << m.dydx_[i] << ", " << m.d2ydx2_[i] << ", " << … in operator <<()
184 …os << "(" << m.x_[n] << ", " << m.y_[n] << ", " << m.dydx_[n] << ", " << m.d2ydx2_[n] << m.d3ydx3_… in operator <<()
[all …]
Dvector_barycentric_rational_detail.hpp39 SpaceContainer y_; member in boost::math::detail::vector_barycentric_rational_imp
48 y_ = std::move(y); in vector_barycentric_rational_imp()
50 …BOOST_ASSERT_MSG(t_.size() == y_.size(), "There must be the same number of time points as space po… in vector_barycentric_rational_imp()
51 BOOST_ASSERT_MSG(approximation_order < y_.size(), "Approximation order must be < data length."); in vector_barycentric_rational_imp()
116 p = y_[i]; in operator ()()
122 p[j] += x*y_[i][j]; in operator ()()
163 sum[k] += w_[j]*(y_[i][k] - y_[j][k])/(t_[i] - t_[j]); in eval_with_prime()
176 diff[j] = (x[j] - y_[i][j])/(t-t_[i]); in eval_with_prime()
/third_party/boost/boost/math/interpolators/
Dmakima.hpp131 impl_->y_.push_back(y); in push_back()
136 Real mim2 = (impl_->y_[i-1]-impl_->y_[i-2])/(impl_->x_[i-1]-impl_->x_[i-2]); in push_back()
137 Real mim1 = (impl_->y_[i ]-impl_->y_[i-1])/(impl_->x_[i ]-impl_->x_[i-1]); in push_back()
138 Real mi = (impl_->y_[i+1]-impl_->y_[i ])/(impl_->x_[i+1]-impl_->x_[i ]); in push_back()
139 Real mip1 = (impl_->y_[i+2]-impl_->y_[i+1])/(impl_->x_[i+2]-impl_->x_[i+1]); in push_back()
147 Real mnm4 = (impl_->y_[n-3]-impl_->y_[n-4])/(impl_->x_[n-3]-impl_->x_[n-4]); in push_back()
148 Real mnm3 = (impl_->y_[n-2]-impl_->y_[n-3])/(impl_->x_[n-2]-impl_->x_[n-3]); in push_back()
149 Real mnm2 = (impl_->y_[n-1]-impl_->y_[n-2])/(impl_->x_[n-1]-impl_->x_[n-2]); in push_back()
Dpchip.hpp91 impl_->y_.push_back(y); in push_back()
94 impl_->dydx_[n-1] = (impl_->y_[n-1]-impl_->y_[n-2])/(impl_->x_[n-1] - impl_->x_[n-2]); in push_back()
98 Real dkm1 = (impl_->y_[k] - impl_->y_[k-1])/hkm1; in push_back()
101 Real dk = (impl_->y_[k+1] - impl_->y_[k])/hk; in push_back()
/third_party/boost/libs/math/test/
Dtest_beta_hooks.hpp80 double y_ = 1-x_; in ibeta() local
83 bratio_(&a_, &b_, &x_, &y_, &w, &w1, &ierr); in ibeta()
91 double y_ = 1-x_; in ibeta() local
94 bratio_(&a_, &b_, &x_, &y_, &w, &w1, &ierr); in ibeta()
102 double y_ = 1-x_; in ibeta() local
105 bratio_(&a_, &b_, &x_, &y_, &w, &w1, &ierr); in ibeta()
/third_party/boost/libs/function/test/
Dmem_fun_cxx98.cpp18 Y(int y = 0) : y_(y) {} in Y()
19 bool operator==(const Y& rhs) { return y_ == rhs.y_; } in operator ==()
21 int y_; member
Dmem_fun_portable.cpp18 Y(int y = 0) : y_(y) {} in Y()
19 bool operator==(const Y& rhs) { return y_ == rhs.y_; } in operator ==()
21 int y_; member
/third_party/skia/third_party/externals/tint/src/ast/
Dworkgroup_decoration.cc29 const ast::Expression* y_, in WorkgroupDecoration() argument
31 : Base(pid, src), x(x_), y(y_), z(z_) {} in WorkgroupDecoration()
43 auto* y_ = ctx->Clone(y); in Clone() local
45 return ctx->dst->create<WorkgroupDecoration>(src, x_, y_, z_); in Clone()
/third_party/boost/boost/math/special_functions/
Ddaubechies_scaling.hpp96 …, RandomAccessContainer && dydx, int grid_refinements, Real x0) : x0_{x0}, y_{std::move(y)}, dy_{s… in matched_holder()
116 auto i = static_cast<decltype(y_.size())>(ii); in operator ()()
119 Real diff = y_[i+1] - y_[i]; in operator ()()
120 return y_[i] + (2*dphi - diff)*t + 2*sqrt(t)*(diff-dphi); in operator ()()
125 return 2*y_.size()*sizeof(Real) + sizeof(this); in bytes()
131 RandomAccessContainer y_; member in boost::math::detail::matched_holder
183 …cessContainer && y, RandomAccessContainer && dydx, int grid_refinements) : y_{std::move(y)}, dydx_… in linear_interpolation()
196 return (1-t)*y_[kk] + t*y_[kk+1]; in operator ()()
212 return (1 + y_.size() + dydx_.size())*sizeof(Real) + sizeof(y_) + sizeof(dydx_); in bytes()
217 RandomAccessContainer y_; member in boost::math::detail::linear_interpolation
/third_party/mindspore/tests/ut/cpp/kernel/cpu/
Dunique_cpu_kernel_test.cc47 outputs_.push_back(CreateKernelAddress(y_.data())); in CreateAddress()
55 std::vector<float> y_; member in mindspore::kernel::UniqueCpuKernelTest
66 y_ = {1, 1, 1, 1, 1}; in TEST_F()
75 EXPECT_TRUE(y_ == expect_y); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dbounding_box.h44 …out << "Bounding Box with (X,Y,W,H): (" << bbox.x_ << "," << bbox.y_ << "," << bbox.width_ << "," …
51 bbox_float y() { return y_; } in y()
57 void SetY(bbox_float y) { y_ = y; } in SetY()
130 bbox_float y_; variable
Dcrop_op.h41 …explicit CropOp(int32_t y, int32_t x, int32_t height, int32_t width) : y_(y), x_(x), height_(heigh… in CropOp()
50 out << "CropOp y: " << y_ << " x: " << x_ << " h: " << height_ << " w: " << width_; in Print()
59 int32_t y_;
Dcrop_op.cc33 …CHECK_FAIL_RETURN_UNEXPECTED(y_ + height_ <= input_h, "Crop: Crop height dimension: " + std::to_st… in Compute()
37 return Crop(input, output, x_, y_, width_, height_); in Compute()
/third_party/boost/libs/utility/test/
Dbase_from_member_test.cpp112 base_or_member *x_, *y_, *z_; member in base_class
435 : x_( &x ), y_( y ), z_( z ) in base_class()
445 if ( y_ ) in base_class()
448 std::cout << ", my y-factor is " << y_; in base_class()
451 PRIVATE_REGISTER_USE( *this, *y_ ); in base_class()
481 if ( y_ ) in ~base_class()
484 std::cout << ", my y-factor was " << y_; in ~base_class()
487 PRIVATE_UNREGISTER_USE( *this, *y_ ); in ~base_class()
/third_party/boost/boost/polygon/detail/
Dvoronoi_structures.hpp32 y_(y) {} in point_2d()
35 return (this->x_ == that.x()) && (this->y_ == that.y()); in operator ==()
39 return (this->x_ != that.x()) || (this->y_ != that.y()); in operator !=()
47 return y_; in y()
56 y_ = y; in y()
62 coordinate_type y_; member in boost::polygon::detail::point_2d
/third_party/mindspore/tests/st/probability/bijector/
Dtest_exp.py54 def construct(self, y_): argument
55 inverse = self.bijector.inverse(y_)
95 def construct(self, y_): argument
96 return self.bijector.inverse_log_jacobian(y_)
Dtest_power_transform.py55 def construct(self, y_): argument
56 inverse = self.bijector.inverse(y_)
98 def construct(self, y_): argument
99 return self.bijector.inverse_log_jacobian(y_)
/third_party/boost/boost/thread/detail/
Dcounter.hpp96 not_equal(std::size_t& x, std::size_t& y) : x_(x), y_(y) {} in not_equal()
97 bool operator()() const { return x_ != y_; } in operator ()()
99 std::size_t& y_; member
/third_party/boost/libs/phoenix/test/bind/
Dbind_member_function_tests.cpp66 test::y y_; in main() local
71 BOOST_TEST(bind(&test::y::negate, y_, arg1)(a) == -a); in main()
74 BOOST_TEST(bind(&test::y::negate, &y_, 777)(a) == -777); in main()
/third_party/mindspore/tests/st/probability/distribution/
Dtest_beta.py79 def construct(self, x_, y_): argument
80 return self.b.kl_loss('Beta', x_, y_)
188 def construct(self, x_, y_): argument
190 kl_loss = self.b.kl_loss('Beta', x_, y_)
192 cross_entropy = self.b.cross_entropy('Beta', x_, y_)
216 def construct(self, x_, y_): argument
217 kl = self.beta.kl_loss('Beta', x_, y_)
/third_party/boost/libs/fusion/test/sequence/
Dadapt_tpl_adt.cpp43 point(X x_, Y y_, int z_) : x(x_), y(y_), z(z_) {} in point() argument
49 void set_y(Y y_) { y = y_; } in set_y() argument
/third_party/boost/libs/config/test/
Dboost_no_unified_init.ipp25 AltStruct(int x, double y) : x_{x}, y_{y} {}
27 double Y() const { return y_; }
30 double y_;
/third_party/boost/libs/yap/perf/
Darithmetic_perf.cpp55 user::number eval_as_yap_expr(user::number a_, user::number x_, user::number y_) in eval_as_yap_expr() argument
59 term<user::number> y{{y_}}; in eval_as_yap_expr()
77 eval_as_yap_expr_4x(user::number a_, user::number x_, user::number y_) in eval_as_yap_expr_4x() argument
81 term<user::number> y{{y_}}; in eval_as_yap_expr_4x()

12345