Home
last modified time | relevance | path

Searched refs:length2_ (Results 1 – 25 of 46) sorted by relevance

12

/dports/graphics/R-cran-s2/s2/src/s2/
H A Ds1chord_angle.cc46 length2_ = length * length; in S1ChordAngle()
54 return S1Angle::Radians(2 * asin(0.5 * sqrt(length2_))); in ToAngle()
58 return (length2_ >= 0 && length2_ <= kMaxLength2) || is_special(); in is_valid()
62 if (length2_ >= kMaxLength2) return Infinity(); in Successor()
63 if (length2_ < 0.0) return Zero(); in Successor()
64 return S1ChordAngle(nextafter(length2_, 10.0)); in Successor()
68 if (length2_ <= 0.0) return Negative(); in Predecessor()
69 if (length2_ > kMaxLength2) return Straight(); in Predecessor()
70 return S1ChordAngle(nextafter(length2_, -10.0)); in Predecessor()
77 return S1ChordAngle(max(0.0, min(kMaxLength2, length2_ + error))); in PlusError()
[all …]
H A Ds1chord_angle.h50 S1ChordAngle() : length2_(0) {} in S1ChordAngle()
168 double length2() const { return length2_; } in length2()
224 explicit S1ChordAngle(double length2) : length2_(length2) { in S1ChordAngle()
227 double length2_; variable
239 length2_ = std::min(4.0, (x - y).Norm2()); in S1ChordAngle()
318 return length2_ == 0; in is_zero()
323 return length2_ < 0; in is_negative()
327 return length2_ == std::numeric_limits<double>::infinity(); in is_infinity()
/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Ds1chord_angle.cc46 length2_ = length * length; in S1ChordAngle()
54 return S1Angle::Radians(2 * asin(0.5 * sqrt(length2_))); in ToAngle()
58 return (length2_ >= 0 && length2_ <= kMaxLength2) || is_special(); in is_valid()
62 if (length2_ >= kMaxLength2) return Infinity(); in Successor()
63 if (length2_ < 0.0) return Zero(); in Successor()
64 return S1ChordAngle(nextafter(length2_, 10.0)); in Successor()
68 if (length2_ <= 0.0) return Negative(); in Predecessor()
69 if (length2_ > kMaxLength2) return Straight(); in Predecessor()
70 return S1ChordAngle(nextafter(length2_, -10.0)); in Predecessor()
77 return S1ChordAngle(max(0.0, min(kMaxLength2, length2_ + error))); in PlusError()
[all …]
H A Ds1chord_angle.h50 S1ChordAngle() : length2_(0) {} in S1ChordAngle()
168 double length2() const { return length2_; } in length2()
224 explicit S1ChordAngle(double length2) : length2_(length2) { in S1ChordAngle()
227 double length2_; variable
239 length2_ = std::min(4.0, (x - y).Norm2()); in S1ChordAngle()
318 return length2_ == 0; in is_zero()
323 return length2_ < 0; in is_negative()
327 return length2_ == std::numeric_limits<double>::infinity(); in is_infinity()
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Ds1chord_angle.cc46 length2_ = length * length; in S1ChordAngle()
54 return S1Angle::Radians(2 * asin(0.5 * sqrt(length2_))); in ToAngle()
58 return (length2_ >= 0 && length2_ <= kMaxLength2) || is_special(); in is_valid()
62 if (length2_ >= kMaxLength2) return Infinity(); in Successor()
63 if (length2_ < 0.0) return Zero(); in Successor()
64 return S1ChordAngle(nextafter(length2_, 10.0)); in Successor()
68 if (length2_ <= 0.0) return Negative(); in Predecessor()
69 if (length2_ > kMaxLength2) return Straight(); in Predecessor()
70 return S1ChordAngle(nextafter(length2_, -10.0)); in Predecessor()
77 return S1ChordAngle(max(0.0, min(kMaxLength2, length2_ + error))); in PlusError()
[all …]
H A Ds1chord_angle.h50 S1ChordAngle() : length2_(0) {} in S1ChordAngle()
168 double length2() const { return length2_; } in length2()
224 explicit S1ChordAngle(double length2) : length2_(length2) { in S1ChordAngle()
227 double length2_; variable
239 length2_ = std::min(4.0, (x - y).Norm2()); in S1ChordAngle()
318 return length2_ == 0; in is_zero()
323 return length2_ < 0; in is_negative()
327 return length2_ == std::numeric_limits<double>::infinity(); in is_infinity()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bcvr/
H A Dbcvr_cv_cor.cxx23 : length1_(-1), length2_(-1), final_cost_(0), final_norm_cost_(0) in bcvr_cv_cor()
69 length2_ = c2->arcLength(c2->size()-1) + vnl_math::hypot(p2_last->x()-p2_first->x(), in bcvr_cv_cor()
73 arclengths2_.push_back(length2_); in bcvr_cv_cor()
88 std::cout << "length of curve1: " << length1_ << " length of curve2: " << length2_ << std::endl; in bcvr_cv_cor()
129 else if (IS_ALMOST_EQUAL(s2,length2_)) in get_arclength_on_curve1()
130 s2 = length2_; in get_arclength_on_curve1()
133 if (s2 < 0 || s2 > length2_) in get_arclength_on_curve1()
186 vsl_b_write(os, length2_); in b_write()
237 vsl_b_read(is, length2_); in b_read()
H A Dbcvr_cv_cor.h73 double get_length2() { return length2_; } in get_length2()
119 double length1_, length2_; variable
/dports/japanese/uim-mozc/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anonc74e2fdc0111::LengthArray
/dports/japanese/mozc-tool/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anon33b407af0111::LengthArray
/dports/japanese/mozc-server/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anonfe92d3c80111::LengthArray
/dports/japanese/fcitx-mozc/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anon2d7976ef0111::LengthArray
/dports/japanese/ibus-mozc/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anona32066640111::LengthArray
/dports/japanese/mozc-el/mozc-2.23.2815.102.01/src/rewriter/
H A Duser_boundary_history_rewriter.cc69 array[2] = length2_; in ToUCharArray()
80 length2_ = array[2]; in CopyFromUCharArray()
91 length2_ == r.length2_ && in Equal()
102 uint8 length2_ : 4; member in mozc::__anonb1824ca20111::LengthArray
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/blast/gumbel_params/
H A Dsls_alp.cpp478 Int4 &length2_=d_seqj_len; in one_step_of_importance_sampling_without_weight_calculation() local
486 if(length1_==0&&length2_==0) in one_step_of_importance_sampling_without_weight_calculation()
522 if(length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
528 if(length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
534 d_seqj_rglobal_[length2_]=random_AA2(); in one_step_of_importance_sampling_without_weight_calculation()
535 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
547 if(length1_==d_dim1_||length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
558 if(length1_>d_seq_a_len-1||length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
564 d_seqj_rglobal_[length2_]=pair.d_b; in one_step_of_importance_sampling_without_weight_calculation()
569 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
/dports/lang/gcc8/gcc-8.5.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/riscv64-gcc/gcc-8.3.0/libsanitizer/asan/
H A Dasan_errors.h175 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
179 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/biology/diamond/diamond-2.0.13/src/lib/alp/
H A Dsls_alp.cpp448 long int &length2_=d_seqj_len; in one_step_of_importance_sampling_without_weight_calculation() local
456 if(length1_==0&&length2_==0) in one_step_of_importance_sampling_without_weight_calculation()
492 if(length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
498 if(length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
504 d_seqj_rglobal_[length2_]=random_AA2(); in one_step_of_importance_sampling_without_weight_calculation()
505 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
517 if(length1_==d_dim1_||length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
528 if(length1_>d_seq_a_len-1||length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
534 d_seqj_rglobal_[length2_]=pair.d_b; in one_step_of_importance_sampling_without_weight_calculation()
539 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
/dports/biology/mmseqs2/MMseqs2-13-45111/lib/alp/
H A Dsls_alp.cpp448 long int &length2_=d_seqj_len; in one_step_of_importance_sampling_without_weight_calculation() local
456 if(length1_==0&&length2_==0) in one_step_of_importance_sampling_without_weight_calculation()
492 if(length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
498 if(length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
504 d_seqj_rglobal_[length2_]=random_AA2(); in one_step_of_importance_sampling_without_weight_calculation()
505 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
517 if(length1_==d_dim1_||length2_==d_dim2_) in one_step_of_importance_sampling_without_weight_calculation()
528 if(length1_>d_seq_a_len-1||length2_>d_seq_a_len-1) in one_step_of_importance_sampling_without_weight_calculation()
534 d_seqj_rglobal_[length2_]=pair.d_b; in one_step_of_importance_sampling_without_weight_calculation()
539 length2_++; in one_step_of_importance_sampling_without_weight_calculation()
/dports/lang/gcc12-devel/gcc-12-20211205/libsanitizer/asan/
H A Dasan_errors.h284 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
288 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/asan/
H A Dasan_errors.h269 uptr length2_, const char *function_) in ErrorStringFunctionMemoryRangesOverlap()
273 length2(length2_), in ErrorStringFunctionMemoryRangesOverlap()

12