Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfExponentialFunction Class > PdfExponentialFunction Constructor > PdfExponentialFunction Constructor (PdfDocument, Double, Double[], Double[], Double[], Double[])
Initializes a new instance of the PdfExponentialFunction class.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfExponentialFunction(
	PdfDocument document,
	double exponent,
	double[] c0,
	double[] c1,
	double[] domain,
	double[] range
)
VB
Public Sub New ( 
	document As PdfDocument,
	exponent As Double,
	c0 As Double(),
	c1 As Double(),
	domain As Double(),
	range As Double()
)

Parameters

document
Type: BitMiracle.Docotic.Pdf.PdfDocument
The document to which this function belongs.
exponent
Type: System.Double
The interpolation exponent.
c0
Type: System.Double[]
The array of n numbers defining the function result when x = 0.0.
c1
Type: System.Double[]
The array of n numbers defining the function result when x = 1.0.
domain
Type: System.Double[]
The domain of the function (the set of input values for which the function is defined).
range
Type: System.Double[]
The range of the function (the set of output values of the function).

Remarks

Each input value x will return n values, given by yj = C0j + xN * (C1j ? C0j), for 0 ? j < n. Where N is the interpolation exponent specified by exponent parameter.

Output values will be clipped to the range of the function specified by range parameter.

See Also