public bool Equals(SinEquation other) { return( Mathx.IsEqual(this.dx, other.dx) && Mathx.IsEqual(this.sx, other.sx) && Mathx.IsEqual(this.dy, other.dy) && Mathx.IsEqual(this.sy, other.sy) ); }
public static float Evaluate(float x, SinEquation f) { return(Evaluate(x, f.dx, f.sx, f.dy, f.sy)); }