Table of Contents

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 IFunctionInterpolator
table Span<TResult>
minX double
maxX 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 IFunctionInterpolator
tableLength int
minX double
maxX double

Returns

TResult[]

Type Parameters

TResult