module ProjectionMethods.CollocationTaskModel

// General form
// Equation: Ly(x) = f(x)
// Initial conditions:
// x**2 + c_1 * x + d_1
// x**3 + c_2 * x + d_2

type CollocationEquation =
    { Ly: (float -> float) -> float -> float
      f: float -> float }

type CollocationInitialConditions =
    { first_polynomial: float -> float
      second_polynomial: float -> float }

type CollocationTask =
    { Equation: CollocationEquation
      InitialConditions: CollocationInitialConditions }
