This reworks how function plots are generated. In terms of API changes, this is the situation:
FunctionGraph.OfX, .OfY, and .Parametric are now under Plot (Plot.OfX, etc.)
All of these components now have a minSamplingDepth and maxSamplingDepth prop.
VectorField is now under the Plot namespace (Plot.VectorField).
Internally, the smartSmooth function has been revised to do less work. The passed-in function is evaluated less frequently, error is calculated based on square distance rather than triangle area (again, less work), and array allocations are reduced.
This reworks how function plots are generated. In terms of API changes, this is the situation:
FunctionGraph.OfX
,.OfY
, and.Parametric
are now underPlot
(Plot.OfX
, etc.)minSamplingDepth
andmaxSamplingDepth
prop.VectorField
is now under thePlot
namespace (Plot.VectorField
).Internally, the
smartSmooth
function has been revised to do less work. The passed-in function is evaluated less frequently, error is calculated based on square distance rather than triangle area (again, less work), and array allocations are reduced.