evaluate method

num evaluate(
  1. Coord point
)

Implementation

num evaluate(Coord point) {
  return (slope.a * point.$1) + (slope.b * point.$2) + bias;
}