public object Clone() { EvalEvac clone = new EvalEvac(); clone.EigenValue = this.EigenValue; if (this.EigenVec != null) { clone.EigenVec = (double[])this.EigenVec.Clone(); } clone.size = this.size; return(clone); }
public int CompareTo(Object rhs) // for sorting { EvalEvac evv = (EvalEvac)rhs; return(evv.EigenValue.CompareTo(this.EigenValue)); // highest to lowest sorting }