public void MetricToOther(Iris iris) { for (int i = 0; i < this.Parameters.Length; ++i) { Metric += Math.Pow(Parameters[i] - iris.Parameters[i], 2); } Metric = Math.Sqrt(Metric); }
int IComparable.CompareTo(object obj) { Iris ir = obj as Iris; return(this.Metric.CompareTo(ir.Metric)); }