Home
last modified time | relevance | path

Searched refs:SQR (Results 1 – 4 of 4) sorted by relevance

/external/eigen/unsupported/test/
DBVH.cpp38 inline double SQR(double x) { return x * x; } in SQR() function
55 if((b.center - p).squaredNorm() < SQR(b.radius)) in intersectObject()
61 …ype &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectVolumeObject()
62 …Type &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectObjectVolume()
72 if((b.center - v).squaredNorm() < SQR(b.radius)) in intersectObjectObject()
78 …onst BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); } in minimumOnObject()
80 …double minimumOnVolumeObject(const BoxType &r, const BallType &b) { ++calls; return SQR((std::max)… in minimumOnVolumeObject()
81 …double minimumOnObjectVolume(const BallType &b, const BoxType &r) { ++calls; return SQR((std::max)… in minimumOnObjectVolume()
82 …double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::ma… in minimumOnObjectObject()
84 …double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::ma… in minimumOnObjectObject()
/external/srec/srec/include/
Dall_defs.h101 #define SQR(X) ((X) * (X)) macro
/external/srec/srec/crec/
Dget_fram.c305 sum_sq += (prdata) SQR((prdata)prep->seq[ii]); in prepare_data_frame()
310 sum_sq += (prdata) SQR((prdata)prep->seq[ii]); in prepare_data_frame()
316 sum_sq += (prdata) SQR((prdata)prep->seq_unnorm[ii]); in prepare_data_frame()
/external/speex/libspeex/
Dpreprocess.c91 #define SQR(x) ((x)*(x)) macro