Searched refs:ssq (Results 1 - 2 of 2) sorted by relevance

/external/eigen/Eigen/src/Core/
H A DStableNorm.h18 inline void stable_norm_kernel(const ExpressionType& bl, Scalar& ssq, Scalar& scale, Scalar& invScale) argument
25 ssq = ssq * numext::abs2(scale/maxCoeff);
42 ssq += (bl*invScale).squaredNorm();
160 RealScalar ssq(0); // sum of square
167 internal::stable_norm_kernel(this->head(bi), ssq, scale, invScale);
169 internal::stable_norm_kernel(this->segment(bi,(min)(blockSize, n - bi)).template forceAlignedAccessIf<Alignment>(), ssq, scale, invScale);
170 return scale * sqrt(ssq);
/external/eigen/bench/
H A Dbench_norm.cpp32 Scalar ssq = 1; local
38 ssq += internal::abs2(ax/scale);
42 ssq = Scalar(1) + ssq * internal::abs2(scale/ax);
46 return scale * internal::sqrt(ssq);

Completed in 407 milliseconds