Example #1
0
 public LineEquation(SlopeInterceptEquation slopeInterceptEquation)
 {
     SlopeInterceptEquation = slopeInterceptEquation;
     X = null;
 }
Example #2
0
 public double CalculateYValue(double x) => SlopeInterceptEquation?.CalculateY(x) ?? X !.Value;