Declaring NumericalSolution as'NumericalSolution<V extends Number> extends Solution'