HomeSort by relevance Sort by last modified time
    Searched refs:SQR (Results 1 - 3 of 3) sorted by null

  /external/eigen/unsupported/test/
BVH.cpp 38 inline double SQR(double x) { return x * x; }
55 if((b.center - p).squaredNorm() < SQR(b.radius))
61 bool intersectVolumeObject(const BoxType &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); }
62 bool intersectObjectVolume(const BallType &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); }
72 if((b.center - v).squaredNorm() < SQR(b.radius))
78 double minimumOnObject(const BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); }
80 double minimumOnVolumeObject(const BoxType &r, const BallType &b) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); }
81 double minimumOnObjectVolume(const BallType &b, const BoxType &r) { ++calls; return SQR((std::max)(0., r.exteriorDistance(b.center) - b.radius)); }
82 double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::max)(0., (b1.center - b2.center).norm() - b1.radius - b2.radius)); }
84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius));
    [all...]
  /external/lmfit/lib/
lmmin.c 25 #define SQR(x) (x) * (x)
399 temp2 = lmpar * SQR(pnorm / fnorm);
405 temp1 = SQR(lm_enorm(n, wa3) / fnorm);
433 actred = 1 - SQR(fnorm1 / fnorm);
881 Rdiag[k] *= sqrt(1 - SQR(temp));
885 if (temp == 0 || 0.05 * SQR(temp) <= LM_MACHEP) {
    [all...]
  /external/speex/libspeex/
preprocess.c 91 #define SQR(x) ((x)*(x))
    [all...]

Completed in 466 milliseconds