/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Math/ |
H A D | Vector3.h | 63 z_(rhs.z_) in IntVector3() 72 z_ = rhs.z_; 102 z_ += rhs.z_; 111 z_ -= rhs.z_; 186 z_(vector.z_) in Vector3() 210 z_((float)vector.z_) in Vector3() 243 z_ = rhs.z_; 279 z_ += rhs.z_; 288 z_ -= rhs.z_; 306 z_ *= rhs.z_; [all …]
|
H A D | Vector4.h | 38 z_(0.0f), in Vector4() 47 z_(vector.z_), in Vector4() 56 z_(vector.z_), in Vector4() 65 z_(z), in Vector4() 84 z_ = rhs.z_; 121 z_ += rhs.z_; 131 z_ -= rhs.z_; 141 z_ *= rhs; 151 z_ *= rhs.z_; 172 z_ /= rhs.z_; [all …]
|
H A D | BoundingBox.cpp | 104 if (box.min_.z_ > min_.z_) in Clip() 105 min_.z_ = box.min_.z_; in Clip() 106 if (box.max_.z_ < max_.z_) in Clip() 107 max_.z_ = box.max_.z_; in Clip() 232 if (center.z_ < min_.z_) in IsInside() 234 temp = center.z_ - min_.z_; in IsInside() 237 else if (center.z_ > max_.z_) in IsInside() 239 temp = center.z_ - max_.z_; in IsInside() 279 if (center.z_ < min_.z_) in IsInsideFast() 281 temp = center.z_ - min_.z_; in IsInsideFast() [all …]
|
H A D | Quaternion.cpp | 46 z_ = normAxis.z_ * sinAngle; in FromAngleAxis() 82 z_ = c.z_ * invS; in FromRotationTo() 100 xAxis.z_, yAxis.z_, zAxis.z_ in FromAxes() 145 z_ = 0.25f / invS; in FromRotationMatrix() 188 -atan2f(2.0f * (x_ * z_ - w_ * y_), 1.0f - 2.0f * (y_ * y_ + z_ * z_)) * M_RADTODEG in EulerAngles() 196 atan2f(2.0f * (x_ * z_ - w_ * y_), 1.0f - 2.0f * (y_ * y_ + z_ * z_)) * M_RADTODEG in EulerAngles() 204 atan2f(2.0f * (x_ * y_ + w_ * z_), 1.0f - 2.0f * (x_ * x_ + z_ * z_)) * M_RADTODEG in EulerAngles() 221 return EulerAngles().z_; in RollAngle() 237 1.0f - 2.0f * y_ * y_ - 2.0f * z_ * z_, in RotationMatrix() 238 2.0f * x_ * y_ - 2.0f * w_ * z_, in RotationMatrix() [all …]
|
H A D | Sphere.cpp | 49 Merge(Vector3(max.x_, min.y_, min.z_)); in Define() 50 Merge(Vector3(min.x_, max.y_, min.z_)); in Define() 167 if (center_.z_ < min.z_) in IsInside() 169 temp = center_.z_ - min.z_; in IsInside() 172 else if (center_.z_ > max.z_) in IsInside() 174 temp = center_.z_ - max.z_; in IsInside() 196 tempVec.z_ = max.z_; // - + + in IsInside() 240 if (center_.z_ < min.z_) in IsInsideFast() 242 temp = center_.z_ - min.z_; in IsInsideFast() 245 else if (center_.z_ > max.z_) in IsInsideFast() [all …]
|
H A D | BoundingBox.h | 187 if (point.z_ < min_.z_) in Merge() 188 min_.z_ = point.z_; in Merge() 193 if (point.z_ > max_.z_) in Merge() 194 max_.z_ = point.z_; in Merge() 209 if (box.min_.z_ < min_.z_) in Merge() 210 min_.z_ = box.min_.z_; in Merge() 215 if (box.max_.z_ > max_.z_) in Merge() 283 point.z_ < min_.z_ || point.z_ > max_.z_) in IsInside() 293 box.max_.z_ < min_.z_ || box.min_.z_ > max_.z_) in IsInside() 296 box.min_.z_ < min_.z_ || box.max_.z_ > max_.z_) in IsInside() [all …]
|
H A D | Frustum.cpp | 35 v1.x_ + (v0.x_ - v1.x_) * ((clipZ - v1.z_) / (v0.z_ - v1.z_)), in ClipEdgeZ() 36 v1.y_ + (v0.y_ - v1.y_) * ((clipZ - v1.z_) / (v0.z_ - v1.z_)), in ClipEdgeZ() 44 if (v0.z_ < M_MIN_NEARCLIP && v1.z_ < M_MIN_NEARCLIP) in ProjectAndMergeEdge() 48 if (v1.z_ < M_MIN_NEARCLIP) in ProjectAndMergeEdge() 50 else if (v0.z_ < M_MIN_NEARCLIP) in ProjectAndMergeEdge() 86 near.z_ = nearZ; in Define() 87 near.y_ = near.z_ * halfViewSize; in Define() 89 far.z_ = farZ; in Define() 90 far.y_ = far.z_ * halfViewSize; in Define() 147 near.z_ = nearZ; in DefineOrtho() [all …]
|
/dports/astro/kstars/kstars-3.5.6/kstars/htmesh/ |
H A D | SpatialVector.cpp | 51 z_ = z; in set() 70 z = z_; in get() 110 float64 sum = x_ * x_ + y_ * y_ + z_ * z_; in normalize() 117 z_ = 0; in normalize() 123 z_ /= sum; in normalize() 131 sum = x_ * x_ + y_ * y_ + z_ * z_; in length() 169 z_ = a * z_; in operator *=() 180 z_ = a * z_; in operator *=() 222 return (x_ * v.x_) + (y_ * v.y_) + (z_ * v.z_); in operator *() 229 return SpatialVector(x_ + v.x_, y_ + v.y_, z_ + v.z_); in operator +() [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/include/util/ |
H A D | alias.hpp | 78 inline bool operator<(const Alias z_) const { return __value < static_cast<const From>(z_); } in operator <() 79 inline bool operator>(const Alias z_) const { return __value > static_cast<const From>(z_); } in operator >() 80 inline bool operator<=(const Alias z_) const { return __value <= static_cast<const From>(z_); } in operator <=() 81 inline bool operator>=(const Alias z_) const { return __value >= static_cast<const From>(z_); } in operator >=() 82 inline bool operator==(const Alias z_) const { return __value == static_cast<const From>(z_); } in operator ==() 83 inline bool operator!=(const Alias z_) const { return __value != static_cast<const From>(z_); } in operator !=() 96 inline Alias operator+=(const Alias z_) in operator +=() 101 inline Alias operator-=(const Alias z_) in operator -=() 106 inline Alias operator/=(const Alias z_) in operator /=() 111 inline Alias operator*=(const Alias z_) in operator *=() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/libmatrix/ |
H A D | vec.h | 240 z_(v.z_) {} in tvec3() 271 z_ = rhs.z_; 297 z_ /= rhs.z_; 329 z_ *= rhs.z_; 361 z_ += rhs.z_; 393 z_ -= rhs.z_; 465 z_(v.z_), in tvec4() 527 z_ /= rhs.z_; 561 z_ *= rhs.z_; 595 z_ += rhs.z_; [all …]
|
/dports/benchmarks/glmark2/glmark2-2021.12/src/libmatrix/ |
H A D | vec.h | 240 z_(v.z_) {} in tvec3() 271 z_ = rhs.z_; 297 z_ /= rhs.z_; 329 z_ *= rhs.z_; 361 z_ += rhs.z_; 393 z_ -= rhs.z_; 465 z_(v.z_), in tvec4() 527 z_ /= rhs.z_; 561 z_ *= rhs.z_; 595 z_ += rhs.z_; [all …]
|
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/ |
H A D | base_hmc.hpp | 33 z_(model.num_params_r()), in base_hmc() 55 z_.write_metric(writer); in write_sampler_metric() 68 z_.get_param_names(model_names, names); in get_sampler_diagnostic_names() 72 z_.get_params(values); in get_sampler_diagnostics() 78 this->hamiltonian_.init(this->z_, logger); in init_hamiltonian() 82 ps_point z_init(this->z_); in init_stepsize() 90 this->hamiltonian_.init(this->z_, logger); in init_stepsize() 98 double h = this->hamiltonian_.H(this->z_); in init_stepsize() 107 this->z_.ps_point::operator=(z_init); in init_stepsize() 142 this->z_.ps_point::operator=(z_init); in init_stepsize() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/stitching/include/opencv2/stitching/detail/ |
H A D | warpers_inl.hpp | 260 float w = y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_); in mapForward() 294 v = scale * y_ / sqrtf(x_ * x_ + z_ * z_); in mapForward() 306 float z_ = cosf(u); in mapBackward() local 325 float v_ = (float)CV_PI - acosf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 402 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 440 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 478 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 527 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 576 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() 613 float v_ = asinf(y_ / sqrtf(x_ * x_ + y_ * y_ + z_ * z_)); in mapForward() [all …]
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/ |
H A D | base_hmc.hpp | 28 z_(model.num_params_r()), in base_hmc() 52 z_.write_metric(writer); in write_sampler_metric() 66 z_.get_param_names(model_names, names); in get_sampler_diagnostic_names() 70 z_.get_params(values); in get_sampler_diagnostics() 74 z_.q = q; in seed() 79 this->hamiltonian_.init(this->z_, logger); in init_hamiltonian() 84 ps_point z_init(this->z_); in init_stepsize() 91 this->hamiltonian_.init(this->z_, logger); in init_stepsize() 109 this->z_.ps_point::operator=(z_init); in init_stepsize() 145 this->z_.ps_point::operator=(z_init); in init_stepsize() [all …]
|
/dports/devel/sdts++/sdts++-1.5.1/sdts++/builder/ |
H A D | sb_Spatial.h | 46 z_.setUnvalued(); 89 z_.setI( z ); in assign() 93 z_.setR( z ); in assign() 97 z_.setS( z ); in assign() 109 z_.setBI8( z ); in assign() 113 z_.setBI16( z ); in assign() 117 z_.setBI24( z ); in assign() 265 z_.setI( z ); in assign() 269 z_.setR( z ); in assign() 273 z_.setS( z ); in assign() [all …]
|
/dports/math/fxt/fxt/src/ds/ |
H A D | vector3d.h | 20 Type x_, y_, z_; 29 : x_(tx), y_(ty), z_(tz) in vector3d() 35 Type z() const { return z_; } in z() 37 …vector3d & operator += (const vector3d & V) { x_ += V.x_, y_ += V.y_; z_ += V.z_; return *this;… 38 …vector3d & operator -= (const vector3d & V) { x_ -= V.x_, y_ -= V.y_; z_ -= V.z_; return *this;… 42 …3d operator + (const vector3d & V) const { return vector3d( x_ + V.x_, y_ + V.y_, z_ + V.z_ ); } 43 …d operator - (const vector3d & V) const { return vector3d( x_ - V.x_, y_ - V.y_, z_ - V.z_ ); } 51 return ( x_ == V.x_ && y_ == V.y_ && z_ == V.z_); 56 return ( x_ != V.x_ || y_ != V.y_ || z_ != V.z_); 59 Type norm_sqr() const { return x_ * x_ + y_ * y_ + z_ * z_; } in norm_sqr() [all …]
|
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/nuts/ |
H A D | base_nuts.hpp | 61 this->z_.set_metric(inv_e_metric); in set_metric() 65 this->z_.set_metric(inv_e_metric); in set_metric() 94 Eigen::VectorXd p_fwd_fwd = this->z_.p; in transition() 98 Eigen::VectorXd p_fwd_bck = this->z_.p; in transition() 102 Eigen::VectorXd p_bck_fwd = this->z_.p; in transition() 106 Eigen::VectorXd p_bck_bck = this->z_.p; in transition() 203 return sample(this->z_.q, -this->z_.V, accept_prob); in transition() 272 z_propose = this->z_; in build_tree() 277 rho += this->z_.p; in build_tree() 278 p_beg = this->z_.p; in build_tree() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/geometry/ |
H A D | quaternion.h | 20 : x_(x), y_(y), z_(z), w_(w) {} in Quaternion() 34 constexpr double z() const { return z_; } in z() 35 void set_z(double z) { z_ = z; } in set_z() 41 return {q.x_ + x_, q.y_ + y_, q.z_ + z_, q.w_ + w_}; 45 return {w_ * q.x_ + x_ * q.w_ + y_ * q.z_ - z_ * q.y_, 46 w_ * q.y_ - x_ * q.z_ + y_ * q.w_ + z_ * q.x_, 47 w_ * q.z_ + x_ * q.y_ - y_ * q.x_ + z_ * q.w_, 48 w_ * q.w_ - x_ * q.x_ - y_ * q.y_ - z_ * q.z_}; 51 Quaternion inverse() const { return {-x_, -y_, -z_, w_}; } in inverse() 53 Quaternion flip() const { return {-x_, -y_, -z_, -w_}; } in flip() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/ |
H A D | quaternion.h | 20 : x_(x), y_(y), z_(z), w_(w) {} in Quaternion() 32 constexpr double z() const { return z_; } in z() 33 void set_z(double z) { z_ = z; } in set_z() 39 return {q.x_ + x_, q.y_ + y_, q.z_ + z_, q.w_ + w_}; 43 return {w_ * q.x_ + x_ * q.w_ + y_ * q.z_ - z_ * q.y_, 44 w_ * q.y_ - x_ * q.z_ + y_ * q.w_ + z_ * q.x_, 45 w_ * q.z_ + x_ * q.y_ - y_ * q.x_ + z_ * q.w_, 46 w_ * q.w_ - x_ * q.x_ - y_ * q.y_ - z_ * q.z_}; 49 Quaternion inverse() const { return {-x_, -y_, -z_, w_}; } in inverse() 71 double z_ = 0.0; variable
|
/dports/math/stan/stan-2.28.2/src/stan/mcmc/hmc/static_uniform/ |
H A D | base_static_uniform.hpp | 40 this->hamiltonian_.init(this->z_, logger); in transition() 42 ps_point z_init(this->z_); in transition() 43 double H0 = this->hamiltonian_.H(this->z_); in transition() 45 ps_point z_sample(this->z_); in transition() 56 double h = this->hamiltonian_.H(this->z_); in transition() 65 z_sample = this->z_; in transition() 68 this->z_.ps_point::operator=(z_init); in transition() 74 double h = this->hamiltonian_.H(this->z_); in transition() 83 z_sample = this->z_; in transition() 88 this->z_.ps_point::operator=(z_sample); in transition() [all …]
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/src/stan/mcmc/hmc/static_uniform/ |
H A D | base_static_uniform.hpp | 43 this->hamiltonian_.init(this->z_, logger); in transition() 45 ps_point z_init(this->z_); in transition() 46 double H0 = this->hamiltonian_.H(this->z_); in transition() 48 ps_point z_sample(this->z_); in transition() 60 double h = this->hamiltonian_.H(this->z_); in transition() 69 z_sample = this->z_; in transition() 72 this->z_.ps_point::operator=(z_init); in transition() 79 double h = this->hamiltonian_.H(this->z_); in transition() 88 z_sample = this->z_; in transition() 93 this->z_.ps_point::operator=(z_sample); in transition() [all …]
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.target/i386/ |
H A D | avx512vl-vnni-1.c | 32 volatile __m128i x_,y_,z_; variable 42 x_ = _mm_dpbusd_epi32 (x_, y_, z_); in avx512f_test() 43 x_ = _mm_mask_dpbusd_epi32 (x_, m, y_, z_); in avx512f_test() 44 x_ = _mm_maskz_dpbusd_epi32 (m, x_, y_, z_); in avx512f_test() 50 x_ = _mm_dpbusds_epi32 (x_, y_, z_); in avx512f_test() 51 x_ = _mm_mask_dpbusds_epi32 (x_, m, y_, z_); in avx512f_test() 58 x_ = _mm_dpwssd_epi32 (x_, y_, z_); in avx512f_test() 59 x_ = _mm_mask_dpwssd_epi32 (x_, m, y_, z_); in avx512f_test() 60 x_ = _mm_maskz_dpwssd_epi32 (m, x_, y_, z_); in avx512f_test() 66 x_ = _mm_dpwssds_epi32 (x_, y_, z_); in avx512f_test() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.target/i386/ |
H A D | avx512vl-vnni-1.c | 32 volatile __m128i x_,y_,z_; variable 42 x_ = _mm_dpbusd_epi32 (x_, y_, z_); in avx512f_test() 43 x_ = _mm_mask_dpbusd_epi32 (x_, m, y_, z_); in avx512f_test() 44 x_ = _mm_maskz_dpbusd_epi32 (m, x_, y_, z_); in avx512f_test() 50 x_ = _mm_dpbusds_epi32 (x_, y_, z_); in avx512f_test() 51 x_ = _mm_mask_dpbusds_epi32 (x_, m, y_, z_); in avx512f_test() 58 x_ = _mm_dpwssd_epi32 (x_, y_, z_); in avx512f_test() 59 x_ = _mm_mask_dpwssd_epi32 (x_, m, y_, z_); in avx512f_test() 60 x_ = _mm_maskz_dpwssd_epi32 (m, x_, y_, z_); in avx512f_test() 66 x_ = _mm_dpwssds_epi32 (x_, y_, z_); in avx512f_test() [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/i386/ |
H A D | avx512vl-vnni-1.c | 32 volatile __m128i x_,y_,z_; variable 42 x_ = _mm_dpbusd_epi32 (x_, y_, z_); in avx512f_test() 43 x_ = _mm_mask_dpbusd_epi32 (x_, m, y_, z_); in avx512f_test() 44 x_ = _mm_maskz_dpbusd_epi32 (m, x_, y_, z_); in avx512f_test() 50 x_ = _mm_dpbusds_epi32 (x_, y_, z_); in avx512f_test() 51 x_ = _mm_mask_dpbusds_epi32 (x_, m, y_, z_); in avx512f_test() 58 x_ = _mm_dpwssd_epi32 (x_, y_, z_); in avx512f_test() 59 x_ = _mm_mask_dpwssd_epi32 (x_, m, y_, z_); in avx512f_test() 60 x_ = _mm_maskz_dpwssd_epi32 (m, x_, y_, z_); in avx512f_test() 66 x_ = _mm_dpwssds_epi32 (x_, y_, z_); in avx512f_test() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.target/i386/ |
H A D | avx512vl-vnni-1b.c | 32 volatile __m128i x_,y_,z_; variable 42 x_ = _mm_dpbusd_epi32 (x_, y_, z_); in avx512f_test() 43 x_ = _mm_mask_dpbusd_epi32 (x_, m, y_, z_); in avx512f_test() 44 x_ = _mm_maskz_dpbusd_epi32 (m, x_, y_, z_); in avx512f_test() 50 x_ = _mm_dpbusds_epi32 (x_, y_, z_); in avx512f_test() 51 x_ = _mm_mask_dpbusds_epi32 (x_, m, y_, z_); in avx512f_test() 58 x_ = _mm_dpwssd_epi32 (x_, y_, z_); in avx512f_test() 59 x_ = _mm_mask_dpwssd_epi32 (x_, m, y_, z_); in avx512f_test() 60 x_ = _mm_maskz_dpwssd_epi32 (m, x_, y_, z_); in avx512f_test() 66 x_ = _mm_dpwssds_epi32 (x_, y_, z_); in avx512f_test() [all …]
|