Lines Matching defs:norm
716 double norm = 0, v;
728 norm += v*v;
730 norm = sqrt(norm);
736 norm += v;
742 norm = MAX(norm,v);
745 norm = norm > DBL_EPSILON ? 1./norm : 0.;
747 dptr[i] = (float)(sptr[i]*norm);
761 norm += v*v;
763 norm = sqrt(norm);
769 norm += v;
775 norm = MAX(norm,v);
778 norm = norm > DBL_EPSILON ? 1./norm : 0.;
780 dptr[i] = sptr[i]*norm;
790 CV_ERROR( CV_StsBadArg, "Unknown/unsupported norm type" );