Method CreateLookupTable
- Namespace
- PaintDotNet.Rendering
- Assembly
- PaintDotNet.Primitives.dll
CreateLookupTable<TResult>(IFunctionInterpolator, Span<TResult>, double, double)
public static void CreateLookupTable<TResult>(this IFunctionInterpolator interpolator, Span<TResult> table, double minX = 0, double maxX = 1) where TResult : INumber<TResult>
Parameters
interpolator
IFunctionInterpolatortable
Span<TResult>minX
doublemaxX
double
Type Parameters
TResult
CreateLookupTable<TResult>(IFunctionInterpolator, int, double, double)
public static TResult[] CreateLookupTable<TResult>(this IFunctionInterpolator interpolator, int tableLength, double minX = 0, double maxX = 1) where TResult : INumber<TResult>
Parameters
interpolator
IFunctionInterpolatortableLength
intminX
doublemaxX
double
Returns
- TResult[]
Type Parameters
TResult