Remove template from piecewise curve ?
Ideally, a piecewise curve could contains and mix any kind of curves, as long as the intervals of definition matches.
The only specific methods that I see in the current implementation between the different type of piecewise curves are :
- piecewise polynomial : the append method is an helper to add polynomial curves created from boundary condition at the end of the piecewise curve.
- piecewise_cubic_hermite do not have a 'compute_derivate' method (because cubic_hermite do not have this method)