Supplementary code for the paper "On the sampling error for parametric curves", Apostolos Chalkis, Christina Katsamaki, Josue Tonelli-Cueto, 2022.
Run the script install.m to add to the path the required directories.
To use the implementation, the main function is SampleParamCurve. You have to give as input:
(i) The coefficients of each univariate polynomial with a matrix that contains them row-wise.
(ii) The domain of the curve with an interval [a,b].
(iii) The number of uniformly distributed points you want to generate.
For an example open and run the script example.
To reproduce the experiments presented in the paper run the script experiments.