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