public SerializedFunc(PolyFunc pf, string eps, string xMin, string xMax, string yMin, string yMax) { this.pf = pf; this.eps = eps; this.xMin = xMin; this.xMax = xMax; this.yMin = yMin; this.yMax = yMax; }
public void Read(string fileName) { XmlSerializer deserializer = new XmlSerializer(typeof(SerializedFunc)); using (TextReader textReader = new StreamReader(fileName)) { SerializedFunc sf = (SerializedFunc)deserializer.Deserialize(textReader); this.pf = sf.pf; this.eps = sf.eps; this.xMin = sf.xMin; this.xMax = sf.xMax; this.yMax = sf.yMax; this.yMin = sf.yMin; } }
public GoldenAxeEffect() { pf = new PolyFunc(); Solutions = new List <double>(); }
public void Clear() { pf = new PolyFunc(); Solutions.Clear(); }
public CubicRubic() { pf = new PolyFunc(); Solutions = new List <double>(); }