CreateExponentialFunction(ReadOnlySpan, ReadOnlySpan, Double) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Creates an exponential interpolation function of one input over the domain 0 to 1.

public PdfExponentialFunction CreateExponentialFunction(ReadOnlySpan<double> c0, ReadOnlySpan<double> c1, double exponent)

Parameters

c0
ReadOnlySpan<Double>

The outputs at input 0.

c1
ReadOnlySpan<Double>

The outputs at input 1; as many as c0.

exponent
Double

The interpolation exponent N; 1 for linear interpolation.

Returns

PdfExponentialFunction
The function: a new indirect dictionary << /FunctionType 2 /Domain [0 1] /C0 [...] /C1 [...] /N n >>.

Remarks

ISO 32000-2 §7.10.3, Table 40 (PDF 1.3). Records PDF 1.3. A mutation.