/// <summary> /// Привести к строке /// </summary> /// <returns></returns> new public string ToString() { string str = ""; if (X0 != null) { str += "\tX0: " + X0.ToString().Replace("\t", "\t\t"); } if (P != null) { str += "\tP: " + P.ToString().Replace("\t", "\t\t"); } if (Alfa != null) { str += "\tAlfa: " + Alfa.ToString().Replace("\t", "\t\t"); } str += "\tH: " + H + ";\n"; if (Y != null) { str += "\tFunction: " + Y.ToString().Replace("\t", "\t\t") + ";\n"; } return(str); }
public override string ToString() { return("Alfa : ( " + Alfa.ToString() + "), Beta : (" + Beta.ToString() + "), Center : (" + Center.ToString() + ")"); }