Could you please tell me why i got an error on this line vector<vector<double>> vectorCurve(1,vector<double>(2)) in the code below?
My second question is : I want that vectorCurve have the size of mCurve. But since the size mCurve is not know yet (but it is known when Curve is instantiated), how can I do to make vectorCurve have the size of mCurve ?