Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Make a B-spline representation of a polynomial over an interval
ResourceFunction["PolynomialToBSplineCurve"][p,{x,xmin,xmax}] generates a BSplineCurve representation of the polynomial p as a function of x from xmin to xmax. |
Use PolynomialToBSplineCurve to plot a polynomial:
| In[1]:= |
|
| Out[1]= |
|
PolynomialToBSplineCurve returns a BSplineCurve object:
| In[4]:= |
|
| Out[4]= |
|
Using PolynomialToBSplineCurve in Graphics usually gives results with a smaller ByteCount:
| In[5]:= |
|
| Out[5]= |
|
| In[6]:= |
|
| Out[6]= |
|
| In[7]:= |
|
| Out[7]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License