Пример #1
0
 public bool Equals(LinearEquation other)
 {
     return(
         Mathx.IsEqual(this.a, other.a) &&
         Mathx.IsEqual(this.b, other.b)
         );
 }
Пример #2
0
 public static float Evaluate(float x, LinearEquation f)
 {
     return(Evaluate(x, f.a, f.b));
 }