Searched refs:SQR (Results 1 - 4 of 4) sorted by relevance
/external/eigen/unsupported/test/ |
H A D | BVH.cpp | 38 inline double SQR(double x) { return x * x; } function 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((st [all...] |
/external/srec/srec/include/ |
H A D | all_defs.h | 101 #define SQR(X) ((X) * (X)) macro
|
/external/srec/srec/crec/ |
H A D | get_fram.c | 305 sum_sq += (prdata) SQR((prdata)prep->seq[ii]); 310 sum_sq += (prdata) SQR((prdata)prep->seq[ii]); 316 sum_sq += (prdata) SQR((prdata)prep->seq_unnorm[ii]);
|
/external/speex/libspeex/ |
H A D | preprocess.c | 91 #define SQR(x) ((x)*(x)) macro
|
Completed in 110 milliseconds