Home
last modified time | relevance | path

Searched refs:SQR (Results 1 – 8 of 8) 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/lmfit/lib/
Dlmmin.c25 #define SQR(x) (x) * (x) macro
399 temp2 = lmpar * SQR(pnorm / fnorm); in lmmin()
405 temp1 = SQR(lm_enorm(n, wa3) / fnorm); in lmmin()
433 actred = 1 - SQR(fnorm1 / fnorm); in lmmin()
881 Rdiag[k] *= sqrt(1 - SQR(temp)); in lm_qrfac()
885 if (temp == 0 || 0.05 * SQR(temp) <= LM_MACHEP) { in lm_qrfac()
1097 s2 += SQR(xabs); in lm_enorm()
1099 s1 = 1 + s1 * SQR(x1max / xabs); in lm_enorm()
1102 s1 += SQR(xabs / x1max); in lm_enorm()
1105 s3 = 1 + s3 * SQR(x3max / xabs); in lm_enorm()
[all …]
/external/ply/ply/example/BASIC/
Dsqrt2.bas2 20 PRINT X, SQR(X)
Dsqrt1.bas3 30 PRINT X, SQR(X)
/external/llvm/lib/Target/AArch64/
DAArch64SchedKryoDetails.td244 (instregex "((S|U)QR?SHRN|SQR?SHRUN)(v16i8|v8i16|v4i32)_shift$")>;
250 (instregex "((S|U)QR?SHRN|SQR?SHRUN)(s|h|b)?")>;
256 (instregex "((S|U)QR?SHRN|SQR?SHRUN)(v8i8|v4i16|v2i32)_shift?")>;
1593 (instregex "(MLA|MLS|MUL|SQR?DMULH)(v16i8|v8i16|v4i32)(_indexed)?")>;
1799 (instregex "SQR?DMULH(v8i8|v4i16|v1i32|v2i32|v1i16)(_indexed)?")>;
DAArch64SchedA57.td371 def : InstRW<[A57Write_5cyc_1W], (instregex "^(P?MUL|SQR?DMULH)(v8i8|v4i16|v2i32|v1i8|v1i16|v1i32|v…
373 def : InstRW<[A57Write_6cyc_2W], (instregex "^(P?MUL|SQR?DMULH)(v16i8|v8i16|v4i32)(_indexed)?$")>;
DAArch64SchedM1.td290 def : InstRW<[M1WriteNMISC4], (instregex "^(MUL|SQR?DMULH)v")>;
/external/speex/libspeex/
Dpreprocess.c91 #define SQR(x) ((x)*(x)) macro