示例#1
0
        public static Complex ComputeNSP(Contour c1, Contour c2)
        {
            Complex res = new Complex(0, 0);

            res  = Contour.DotProduct(c1, c2);
            res *= 1 / (c1.ComputeNorm() * c2.ComputeNorm());

            return(res);
        }
示例#2
0
 public Complex DotProduct(Contour other)
 {
     return(Contour.DotProduct(this, other));
 }