Accord.Imaging.Tools.InnerProduct C# (CSharp) Method

InnerProduct() public static method

Computes the inner product of two points.
public static InnerProduct ( this a, PointF b ) : float
a this
b System.Drawing.PointF
return float
        public static float InnerProduct(this  PointF a, PointF b)
        {
            return a.X * b.X + a.Y * b.Y + 1;
        }