 //    func split(from tMin: Double, to tMax: Double) -> Self
 }
 
-extension BernsteinPolynomial {
+internal extension BernsteinPolynomial {
     func f(_ x: Double) -> Double {
         let oneMinusX = 1.0 - x
         return self.reduce(a1: oneMinusX, a2: x)

    var order: Int { return 1 }
}

struct BernsteinPolynomial2: BernsteinPolynomial {
//    func enumerated(block: (Int, Double) -> Void) {
//        block(0, b0)
//        block(1, b1)

    var order: Int { return 3 }
}

internal struct BernsteinPolynomial4: BernsteinPolynomial {
//    func enumerated(block: (Int, Double) -> Void) {
//        block(0, b0)
//        block(1, b1)
