/third_party/boost/boost/geometry/srs/projections/impl/ |
D | pj_apply_gridshift.hpp | 70 indx.lam = int_floor(in_lon /= ct.del.lam); in nad_intr() 72 frct.lam = in_lon - indx.lam; in nad_intr() 76 if (indx.lam < 0) { in nad_intr() 77 if (indx.lam == -1 && frct.lam > 0.99999999999) { in nad_intr() 78 ++indx.lam; in nad_intr() 79 frct.lam = 0.; in nad_intr() 82 } else if ((in = indx.lam + 1) >= ct.lim.lam) { in nad_intr() 83 if (in == ct.lim.lam && frct.lam < 1e-11) { in nad_intr() 84 --indx.lam; in nad_intr() 85 frct.lam = 1.; in nad_intr() [all …]
|
D | pj_gridinfo.hpp | 105 struct lp_t { double lam, phi; }; member 106 struct flp_t { float lam, phi; }; member 107 struct ilp_t { boost::int32_t lam, phi; }; member 202 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable() 233 std::size_t a_size = ct.lim.lam * ct.lim.phi; in pj_gridinfo_load_ctable2() 270 std::size_t const r_size = gi.ct.lim.lam * 2; in pj_gridinfo_load_ntv1() 276 gi.ct.cvs.resize(gi.ct.lim.lam * gi.ct.lim.phi); in pj_gridinfo_load_ntv1() 292 for (boost::int32_t i = 0; i < gi.ct.lim.lam; i++ ) in pj_gridinfo_load_ntv1() 294 pj_ctable::flp_t & cvs = gi.ct.cvs[row * gi.ct.lim.lam + (gi.ct.lim.lam - i - 1)]; in pj_gridinfo_load_ntv1() 297 cvs.lam = (float) (row_buf[i*2+1] * s2r); in pj_gridinfo_load_ntv1() [all …]
|
D | pj_gauss.hpp | 100 inline void gauss_fwd(gauss<T> const& en, T& lam, T& phi) in gauss_fwd() argument 108 lam *= en.C; in gauss_fwd() 112 inline void gauss_inv(gauss<T> const& en, T& lam, T& phi) in gauss_inv() argument 119 lam /= en.C; in gauss_inv()
|
/third_party/typescript/tests/baselines/reference/ |
D | functionOverloadAmbiguity1.types | 2 function callb(lam: (l: number) => void ); 3 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 4 >lam : (l: number) => void 7 function callb(lam: (n: string) => void ); 8 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 9 >lam : (n: string) => void 13 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 18 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 25 function callb2(lam: (n: string) => void ); 26 >callb2 : { (lam: (n: string) => void): any; (lam: (l: number) => void): any; } [all …]
|
D | contextualTypingOfLambdaReturnExpression.types | 2 function callb(lam: (l: number) => void); 3 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 4 >lam : (l: number) => void 7 function callb(lam: (n: string) => void); 8 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 9 >lam : (n: string) => void 13 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 18 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 27 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
|
D | noImplicitAnyWithOverloads.types | 8 function callb(lam: (l: A) => void); 9 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; } 10 >lam : (l: A) => void 13 function callb(lam: (n: B) => void); 14 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; } 15 >lam : (n: B) => void 19 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; } 24 >callb : { (lam: (l: A) => void): any; (lam: (n: B) => void): any; }
|
D | functionOverloadAmbiguity1.symbols | 2 function callb(lam: (l: number) => void ); 4 >lam : Symbol(lam, Decl(functionOverloadAmbiguity1.ts, 0, 15)) 7 function callb(lam: (n: string) => void ); 9 >lam : Symbol(lam, Decl(functionOverloadAmbiguity1.ts, 1, 15)) 21 function callb2(lam: (n: string) => void ); 23 >lam : Symbol(lam, Decl(functionOverloadAmbiguity1.ts, 5, 16)) 26 function callb2(lam: (l: number) => void ); 28 >lam : Symbol(lam, Decl(functionOverloadAmbiguity1.ts, 6, 16))
|
D | functionAssignment.types | 84 function callb(lam:(l: number) => void ); 85 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 86 >lam : (l: number) => void 89 function callb(lam:(n: string)=>void); 90 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 91 >lam : (n: string) => void 95 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; } 100 >callb : { (lam: (l: number) => void): any; (lam: (n: string) => void): any; }
|
D | noImplicitAnyWithOverloads.symbols | 11 function callb(lam: (l: A) => void); 13 >lam : Symbol(lam, Decl(noImplicitAnyWithOverloads.ts, 5, 15)) 17 function callb(lam: (n: B) => void); 19 >lam : Symbol(lam, Decl(noImplicitAnyWithOverloads.ts, 6, 15))
|
D | contextualTypingOfLambdaReturnExpression.symbols | 2 function callb(lam: (l: number) => void); 4 >lam : Symbol(lam, Decl(contextualTypingOfLambdaReturnExpression.ts, 0, 15)) 7 function callb(lam: (n: string) => void); 9 >lam : Symbol(lam, Decl(contextualTypingOfLambdaReturnExpression.ts, 1, 15))
|
D | functionOverloadAmbiguity1.js | 2 function callb(lam: (l: number) => void ); 3 function callb(lam: (n: string) => void ); 7 function callb2(lam: (n: string) => void ); 8 function callb2(lam: (l: number) => void );
|
D | functionOverloadAmbiguity1.errors.txt | 5 function callb(lam: (l: number) => void ); 6 function callb(lam: (n: string) => void ); 12 function callb2(lam: (n: string) => void ); 13 function callb2(lam: (l: number) => void );
|
D | functionAssignment.symbols | 77 function callb(lam:(l: number) => void ); 79 >lam : Symbol(lam, Decl(functionAssignment.ts, 29, 15)) 82 function callb(lam:(n: string)=>void); 84 >lam : Symbol(lam, Decl(functionAssignment.ts, 30, 15))
|
D | noImplicitAnyWithOverloads.js | 7 function callb(lam: (l: A) => void); 8 function callb(lam: (n: B) => void);
|
/third_party/boost/libs/math/example/ |
D | nc_chi_sq_example.cpp | 42 for(int lam = 2; lam <= 20; lam += 2) in main() local 44 cout << "[[lambda]=" << lam << "]"; in main() 58 for(int lam = 2; lam <= 20; lam += 2) in main() local 68 double beta = cdf(complement(non_central_chi_squared(n, lam), cs)); in main()
|
/third_party/boost/libs/hof/test/ |
D | match.cpp | 87 constexpr auto lam = boost::hof::match( in BOOST_HOF_TEST_CASE() local 92 BOOST_HOF_TEST_CHECK(lam(1) == 1); in BOOST_HOF_TEST_CASE() 93 BOOST_HOF_TEST_CHECK(lam(foo()) == 2); in BOOST_HOF_TEST_CASE() 99 auto lam = boost::hof::match( in BOOST_HOF_TEST_CASE() local 105 STATIC_ASSERT_NOT_DEFAULT_CONSTRUCTIBLE(decltype(lam)); in BOOST_HOF_TEST_CASE() 107 BOOST_HOF_TEST_CHECK(lam(1) == 1); in BOOST_HOF_TEST_CASE() 108 BOOST_HOF_TEST_CHECK(lam(foo()) == 2); in BOOST_HOF_TEST_CASE() 122 auto lam = boost::hof::match( in BOOST_HOF_TEST_CASE() local 128 STATIC_ASSERT_NOT_DEFAULT_CONSTRUCTIBLE(decltype(lam)); in BOOST_HOF_TEST_CASE() 131 BOOST_HOF_TEST_CHECK(lam(1) == 1); in BOOST_HOF_TEST_CASE() [all …]
|
D | reveal.cpp | 49 static constexpr auto lam = boost::hof::first_of( variable 66 STATIC_ASSERT_EMPTY(lam); in BOOST_HOF_TEST_CASE() 67 STATIC_ASSERT_EMPTY(boost::hof::reveal(lam)); in BOOST_HOF_TEST_CASE() 68 BOOST_HOF_TEST_CHECK(boost::hof::reveal(lam)(t1()) == 1); in BOOST_HOF_TEST_CASE() 69 BOOST_HOF_TEST_CHECK(boost::hof::reveal(lam)(t2()) == 2); in BOOST_HOF_TEST_CASE() 70 BOOST_HOF_TEST_CHECK(boost::hof::reveal(lam)(t3()) == 3); in BOOST_HOF_TEST_CASE()
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | lsat.hpp | 72 seraz0(T lam, T const& mult, par_lsat<T>& proj_parm) in seraz0() argument 76 lam *= geometry::math::d2r<T>(); in seraz0() 77 sd = sin(lam); in seraz0() 79 s = proj_parm.p22 * proj_parm.sa * cos(lam) * sqrt((1. + proj_parm.t * sdsq) in seraz0() 89 proj_parm.a2 += fc * cos(lam + lam); in seraz0() 90 proj_parm.a4 += fc * cos(lam * 4.); in seraz0() 92 proj_parm.c1 += fc * cos(lam); in seraz0() 93 proj_parm.c3 += fc * cos(lam * 3.); in seraz0() 233 T lam, alf, esc, ess; in setup_lsat() local 269 for (lam = 9.; lam <= 81.0001; lam += 18.) in setup_lsat() [all …]
|
D | chamb.hpp | 76 T phi, lam; member 134 cosphi, sinphi, lp_lon - this->m_proj_parm.c[i].lam); in fwd() 209 proj_parm.c[i].lam = chamb_init_lon<T>(params, i); in setup_chamb() 210 proj_parm.c[i].lam = adjlon(proj_parm.c[i].lam - par.lam0); in setup_chamb() 217 … proj_parm.c[j].cosphi, proj_parm.c[j].sinphi, proj_parm.c[j].lam - proj_parm.c[i].lam); in setup_chamb()
|
/third_party/typescript/tests/cases/compiler/ |
D | functionOverloadAmbiguity1.ts | 1 function callb(lam: (l: number) => void ); 2 function callb(lam: (n: string) => void ); 6 function callb2(lam: (n: string) => void ); 7 function callb2(lam: (l: number) => void );
|
D | contextualTypingOfLambdaReturnExpression.ts | 1 function callb(lam: (l: number) => void); 2 function callb(lam: (n: string) => void);
|
D | noImplicitAnyWithOverloads.ts | 7 function callb(lam: (l: A) => void); 8 function callb(lam: (n: B) => void);
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | mixup_batch_op.cc | 41 const float lam, const size_t images_size) { in ComputeLabels() argument 67 …RETURN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_valu… in ComputeLabels() 72 …RETURN_IF_NOT_OK((*out_labels)->SetItemAt(first_index, lam * first_value + (1 - lam) * second_valu… in ComputeLabels() 129 float lam = x1 / (x1 + x2); in Compute() local 136 RETURN_IF_NOT_OK(ComputeLabels(input, &out_labels, &rand_indx, label_shape, lam, images.size())); in Compute() 151 images[i]->mat() = lam * images[i]->mat() + (1 - lam) * rand_image->mat(); in Compute()
|
D | cutmix_batch_op.cc | 43 void CutMixBatchOp::GetCropBox(int height, int width, float lam, int *x, int *y, int *crop_width, i… in GetCropBox() argument 44 const float cut_ratio = 1 - lam; in GetCropBox() 105 …:ComputeImage(const TensorRow &input, const int64_t rand_indx_i, const float lam, float *label_lam, in ComputeImage() argument 122 …c_cast<int32_t>(image_shape[kDimensionOne]), static_cast<int32_t>(image_shape[kDimensionTwo]), lam, in ComputeImage() 132 lam, &x, &y, &crop_width, &crop_height); in ComputeImage() 220 float lam = x1 / (x1 + x2); in Compute() local 225 RETURN_IF_NOT_OK(ComputeImage(input, rand_indx[i], lam, &label_lam, &images[i])); in Compute()
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_mixup_label_smoothing.py | 96 lam = np.abs(label - label2) 98 if np.square(lam[index]).mean() != 0: 99 lam_value = 1 - np.sum(lam[index]) / 2 151 lam = np.abs(label2 - label1) 152 logger.info("lam value in multi: {}".format(lam)) 154 if np.square(lam[index]).mean() != 0: 155 lam_value = 1 - np.sum(lam[index]) / 2
|