HomeSort by relevance Sort by last modified time
    Searched full:norm (Results 201 - 225 of 1009) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/ceres-solver/internal/ceres/
dogleg_strategy.cc 203 const double gradient_norm = gradient_.norm();
204 const double gauss_newton_norm = gauss_newton_step_.norm();
250 dogleg_step_norm_ = dogleg_step.norm();
276 // As a consequence, the norm of the gauss_newton_step_ in the subspace is
277 // the same as its norm in the original space.
278 const double gauss_newton_norm = gauss_newton_step_.norm();
310 dogleg_step = -(radius_ / gradient_.norm()) * gradient_;
346 (minimum.norm() * grad_minimum.norm());
501 if (x_i.norm() > 0)
    [all...]
polynomial_test.cc 322 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
340 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
368 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15);
398 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
441 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
478 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
509 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
conjugate_gradients_solver.cc 85 const double norm_b = bref.norm();
103 double norm_r = r.norm();
221 norm_r = r. norm();
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_pack.py 202 if not type.norm:
219 if not type.norm:
283 assert src_channel.norm
290 assert dst_channel.norm
295 assert dst_channel.norm
302 assert src_channel.norm
317 src_norm = src_channel.norm
329 if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8:
337 if not src_norm and not dst_channel.norm:
344 if src_one > dst_one and src_norm and dst_channel.norm
    [all...]
  /external/opencv3/modules/ml/src/
lr.cpp 70 norm = LogisticRegression::REG_L2;
78 int norm; member in class:cv::ml::LrParams
93 CV_IMPL_PROPERTY(int, Regularization, params.norm)
325 if (params.norm != REG_DISABLE)
330 if(this->params.norm == LogisticRegression::REG_L1)
380 if (params.norm != REG_DISABLE)
452 if (params.norm != REG_DISABLE)
582 fs<<"norm"<<this->params.norm;
603 this->params.norm = (int)fn["norm"]
    [all...]
  /external/opencv3/modules/core/src/
stat.cpp     [all...]
  /external/ceres-solver/include/ceres/
rotation.h 80 // The value angle_axis is a triple whose norm is an angle in radians,
90 // and angle_axis will be filled with a value whose norm is the angle of
158 // Frobenius norm, so that R * R' = I (and det(R) = 1).
171 // Assumes the quaternion is unit norm. This assumption allows us to
178 // With this function you do not need to assume that q has unit norm.
179 // It does assume that the norm is non-zero.
400 // norm of the angle_axis vector is greater than zero. Otherwise
543 // 'scale' is 1 / norm(q).
549 // Make unit-norm version of q.
592 // norm of the angle_axis vector is greater than zero. Otherwis
    [all...]
iteration_callback.h 102 // Infinity norm of the gradient vector.
105 // 2-norm of the gradient vector.
108 // 2-norm of the size of the step computed by the optimization
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
BasicTest.java 131 Normalizer norm = new Normalizer("", Normalizer.NFC,0); local
132 iterateTest(norm, hangulCanon, 2);
134 norm.setMode(Normalizer.NFKD);
135 iterateTest(norm, hangulCompat, 2);
139 norm.setMode(Normalizer.NFC);
140 backAndForth(norm, hangulCanon);
152 Normalizer norm = new Normalizer("", Normalizer.NFD,0); local
153 iterateTest(norm, hangulCanon, 1);
155 norm.setMode(Normalizer.NFKD);
156 iterateTest(norm, hangulCompat, 1)
164 Normalizer norm = new Normalizer("", Normalizer.NONE,0); local
169 Normalizer norm = new Normalizer("", Normalizer.NFD,0); local
176 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); local
183 Normalizer norm = new Normalizer("", Normalizer.NFC,0); local
190 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); local
1410 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); local
1653 char[] norm= new char[100]; local
2427 Normalizer norm = new Normalizer(text,Normalizer.NFC,0); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
BasicTest.java 127 Normalizer norm = new Normalizer("", Normalizer.NFC,0); local
128 iterateTest(norm, hangulCanon, 2);
130 norm.setMode(Normalizer.NFKD);
131 iterateTest(norm, hangulCompat, 2);
135 norm.setMode(Normalizer.NFC);
136 backAndForth(norm, hangulCanon);
148 Normalizer norm = new Normalizer("", Normalizer.NFD,0); local
149 iterateTest(norm, hangulCanon, 1);
151 norm.setMode(Normalizer.NFKD);
152 iterateTest(norm, hangulCompat, 1)
160 Normalizer norm = new Normalizer("", Normalizer.NONE,0); local
165 Normalizer norm = new Normalizer("", Normalizer.NFD,0); local
172 Normalizer norm = new Normalizer("", Normalizer.NFKD,0); local
179 Normalizer norm = new Normalizer("", Normalizer.NFC,0); local
186 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); local
1406 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); local
1649 char[] norm= new char[100]; local
2423 Normalizer norm = new Normalizer(text,Normalizer.NFC,0); local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
bezier.c 232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm)
239 norm[0] = (bez->y2-bez->y1) * a + (bez->y3-bez->y2) * b + (bez->y4-bez->y3) * c;
240 norm[1] = -(bez->x2-bez->x1) * a - (bez->x3-bez->x2) * b - (bez->x4-bez->x3) * c;
281 float norm[4]; local
284 line_normal(l, norm);
285 line_normalize(norm);
287 tx = (norm[2] - norm[0]) * offset;
288 ty = (norm[3] - norm[1]) * offset
    [all...]
  /external/vulkan-validation-layers/libs/glm/detail/
func_noise.inl 200 detail::tvec4<T, P> norm = taylorInvSqrt(detail::tvec4<T, P>(dot(p0, p0), dot(p1, p1), dot(p2, p2), dot(p3, p3)));
201 p0 *= norm.x;
202 p1 *= norm.y;
203 p2 *= norm.z;
204 p3 *= norm.w;
284 detail::tvec4<T, P> norm = detail::taylorInvSqrt(detail::tvec4<T, P>(dot(p0, p0), dot(p1, p1), dot(p2, p2), dot(p3, p3)));
285 p0 *= norm.x;
286 p1 *= norm.y;
287 p2 *= norm.z;
288 p3 *= norm.w
    [all...]
  /external/opencv3/modules/calib3d/test/
test_fisheye.cpp 183 dT *= 1e-9*cv::norm(T);
187 CV_Assert (cv::norm(x2 - xpred) < 1e-10);
192 dom *= 1e-9*cv::norm(om);
196 CV_Assert (cv::norm(x2 - xpred) < 1e-10);
201 df *= 1e-9*cv::norm(f);
205 CV_Assert (cv::norm(x2 - xpred) < 1e-10);
210 dc *= 1e-9*cv::norm(c);
214 CV_Assert (cv::norm(x2 - xpred) < 1e-10);
219 dk *= 1e-9*cv::norm(k);
223 CV_Assert (cv::norm(x2 - xpred) < 1e-10)
    [all...]
  /external/opencv3/modules/cudafeatures2d/src/
brute_force_matcher.cpp 179 explicit BFMatcher_Impl(int norm) : norm_(norm)
181 CV_Assert( norm == NORM_L1 || norm == NORM_L2 || norm == NORM_HAMMING );
363 CV_Error(Error::StsUnsupportedFormat, "unsupported combination of query.depth() and norm");
425 CV_Error(Error::StsUnsupportedFormat, "unsupported combination of query.depth() and norm");
623 CV_Error(Error::StsUnsupportedFormat, "unsupported combination of query.depth() and norm");
709 CV_Error(Error::StsUnsupportedFormat, "unsupported combination of query.depth() and norm");
    [all...]
  /external/icu/icu4c/source/test/intltest/
collationtest.cpp 111 UBool getCollationKey(const char *norm, const UnicodeString &line,
116 UBool checkCompareTwo(const char *norm, const UnicodeString &prevFileLine,
    [all...]
  /external/eigen/unsupported/test/
NonLinearOptimization.cpp 185 // check norm
214 // check norm
299 // check norm
334 // check norm
387 // check norm
418 // check norm
490 // check norm
519 // check norm
574 // check norm
605 // check norm
    [all...]
BVH.cpp 65 if((b1.center - b2.center).norm() < b1.radius + b2.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)); }
  /external/opencv3/modules/ts/include/opencv2/ts/
ocl_test.hpp 292 return cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask) /
294 (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF)));
299 double norm_inf = cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask);
302 (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF)));
  /external/eigen/doc/
SparseQuickReference.dox 92 sm1.norm(); // Euclidian norm of the matrix
93 sm1.squaredNorm(); // Squared norm of the matrix
  /external/opencv/cvaux/src/
cvlevmar.cpp 165 /* Need to use new version of computing error (norm) */
211 /* Compute relative change of required parameter vectorX. change = norm(curr-prev) / norm(curr) ) */
  /external/opencv3/modules/imgcodecs/test/
test_grfmt.cpp 207 double n = cvtest::norm(img, img_test, NORM_L2);
210 ts->printf(ts->LOG, "norm = %f \n", n);
236 double n = cvtest::norm(img, img_test, NORM_L1);
240 ts->printf(ts->LOG, "norm = %f > expected = %f \n", n, expected);
270 double n = cvtest::norm(img, img_test, NORM_L2);
273 ts->printf(ts->LOG, "norm = %f \n", n);
297 if (cvtest::norm(rle-bmp, NORM_L2)>1.e-10)
493 EXPECT_EQ(0, cvtest::norm(img_jpg_progressive, img_jpg_normal, NORM_INF));
517 EXPECT_EQ(0, cvtest::norm(img_jpg_optimized, img_jpg_normal, NORM_INF));
541 EXPECT_EQ(0, cvtest::norm(img_jpg_rst, img_jpg_normal, NORM_INF))
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
videodev.h 59 __u16 norm; /* Norm set by channel */ member in struct:video_channel
72 #define VIDEO_TUNER_NORM 16 /* Tuner can set norm */
  /toolchain/binutils/binutils-2.25/opcodes/
ia64-waw.tbl 98 PR%, % in 1 - 15; IC:pr-unc-writers-fp+1, IC:pr-unc-writers-int+1, IC:pr-norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7; IC:pr-unc-writers-fp+1, IC:pr-unc-writers-int+1, IC:pr-norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-or-writers+1, IC:mov-to-PR-allreg+7; impliedF
101 PR%, % in 16 - 62; IC:pr-unc-writers-fp+1, IC:pr-unc-writers-int+1, IC:pr-norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to-PR-rotreg; IC:pr-unc-writers-fp+1, IC:pr-unc-writers-int+1, IC:pr-norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-or-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to-PR-rotreg; impliedF
104 PR63; IC:mod-sched-brs, IC:pr-unc-writers-fp+1, IC:pr-unc-writers-int+1, IC:pr-norm-writers-fp+1, IC:pr-norm-writers-int+1, IC:pr-and-writers+1, IC:mov-to-PR-allreg+7, IC:mov-to-PR-rotreg; IC:mod-sched-brs, (…)
    [all...]
  /external/chromium-trace/catapult/third_party/flot/
jquery.flot.time.min.js 7 (function($){var options={xaxis:{timezone:null,timeformat:null,twelveHourClock:false,monthNames:null}};function floorInBase(n,base){return base*Math.floor(n/base)}function formatDate(d,fmt,monthNames,dayNames){if(typeof d.strftime=="function"){return d.strftime(fmt)}var leftPad=function(n,pad){n=""+n;pad=""+(pad==null?"0":pad);return n.length==1?pad+n:n};var r=[];var escape=false;var hours=d.getHours();var isAM=hours<12;if(monthNames==null){monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}if(dayNames==null){dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}var hours12;if(hours>12){hours12=hours-12}else if(hours==0){hours12=12}else{hours12=hours}for(var i=0;i<fmt.length;++i){var c=fmt.charAt(i);if(escape){switch(c){case"a":c=""+dayNames[d.getDay()];break;case"b":c=""+monthNames[d.getMonth()];break;case"d":c=leftPad(d.getDate());break;case"e":c=leftPad(d.getDate()," ");break;case"h":case"H":c=leftPad(hours);break;case"I":c=leftPad(hours12);break;case"l":c=leftPad(hours12," ");break;case"m":c=leftPad(d.getMonth()+1);break;case"M":c=leftPad(d.getMinutes());break;case"q":c=""+(Math.floor(d.getMonth()/3)+1);break;case"S":c=leftPad(d.getSeconds());break;case"y":c=leftPad(d.getFullYear()%100);break;case"Y":c=""+d.getFullYear();break;case"p":c=isAM?""+"am":""+"pm";break;case"P":c=isAM?""+"AM":""+"PM";break;case"w":c=""+d.getDay();break}r.push(c);escape=false}else{if(c=="%"){escape=true}else{r.push(c)}}}return r.join("")}function makeUtcWrapper(d){function addProxyMethod(sourceObj,sourceMethod,targetObj,targetMethod){sourceObj[sourceMethod]=function(){return targetObj[targetMethod].apply(targetObj,arguments)}}var utc={date:d};if(d.strftime!=undefined){addProxyMethod(utc,"strftime",d,"strftime")}addProxyMethod(utc,"getTime",d,"getTime");addProxyMethod(utc,"setTime",d,"setTime");var props=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var p=0;p<props.length;p++){addProxyMethod(utc,"get"+props[p],d,"getUTC"+props[p]);addProxyMethod(utc,"set"+props[p],d,"setUTC"+props[p])}return utc}function dateGenerator(ts,opts){if(opts.timezone=="browser"){return new Date(ts)}else if(!opts.timezone||opts.timezone=="utc"){return makeUtcWrapper(new Date(ts))}else if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var d=new timezoneJS.Date;d.setTimezone(opts.timezone);d.setTime(ts);return d}else{return makeUtcWrapper(new Date(ts))}}var timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3};var baseSpec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]];var specMonths=baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]]);var specQuarters=baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);function init(plot){plot.hooks.processOptions.push(function(plot,options){$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options;if(opts.mode=="time"){axis.tickGenerator=function(axis){var ticks=[];var d=dateGenerator(axis.min,opts);var minSize=0;var spec=opts.tickSize&&opts.tickSize[1]==="quarter"||opts.minTickSize&&opts.minTickSize[1]==="quarter"?specQuarters:specMonths;if(opts.minTickSize!=null){if(typeof opts.tickSize=="number"){minSize=opts.tickSize}else{minSize=opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]]}}for(var i=0;i<spec.length-1;++i){if(axis.delta<(spec[i][0]*timeUnitSize[spec[i][1]]+spec[i+1][0]*timeUnitSize[spec[i+1][1]])/2&&spec[i][0]*timeUnitSize[spec[i][1]]>=minSize){break}}var size=spec[i][0];var unit=spec[i][1];if(unit=="year"){if(opts.minTickSize!=null&&opts.minTickSize[1]=="year"){size=Math.floor(opts.minTickSize[0])}else{var magn=Math.pow(10,Math.floor(Math.log(axis.delta/timeUnitSize.year)/Math.LN10));var norm=axis.delta/timeUnitSize.year/magn;if(norm<1.5){size=1}else if(norm<3){size=2}else if(norm<7.5){size=5}else{size=10}size*=magn}if(size<1){size=1}}axis.tickSize=opts.tickSize||[size,unit];va (…)
  /external/eigen/Eigen/src/Core/
VectorwiseOp.h 120 EIGEN_MEMBER_FUNCTOR(norm, (Size+5) * NumTraits<Scalar>::MulCost + (Size-1)*NumTraits<Scalar>::AddCost);
303 /** \returns a row (or column) vector expression of the squared norm
313 /** \returns a row (or column) vector expression of the norm
319 * \sa DenseBase::norm() */
320 const typename ReturnType<internal::member_norm,RealScalar>::Type norm() const function in class:Eigen::VectorwiseOp
324 /** \returns a row (or column) vector expression of the norm
333 /** \returns a row (or column) vector expression of the norm
342 /** \returns a row (or column) vector expression of the norm
542 normalized() const { return m_matrix.cwiseQuotient(extendedToOpposite(this->norm())); }

Completed in 467 milliseconds

1 2 3 4 5 6 7 891011>>