Constructor PdfExponentialFunction
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfExponentialFunction(PdfDocument, double, double[])
Initializes a new instance of the PdfExponentialFunction class.
public PdfExponentialFunction(PdfDocument document, double exponent, double[] domain)
Parameters
documentPdfDocumentThe document to which this function belongs.
exponentdoubleThe interpolation exponent.
domaindouble[]The domain of the function (the set of input values for which the function is defined).
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.
C0 and C1 are assumed to have default values of
[ 0.0 ] and [ 1.0 ] respectively.
Since the range of the function is not set, output values won't be clipped.
PdfExponentialFunction(PdfDocument, double, double[], double[], double[])
Initializes a new instance of the PdfExponentialFunction class.
public PdfExponentialFunction(PdfDocument document, double exponent, double[] c0, double[] c1, double[] domain)
Parameters
documentPdfDocumentThe document to which this function belongs.
exponentdoubleThe interpolation exponent.
c0double[]The array of
nnumbers defining the function result whenx= 0.0.c1double[]The array of
nnumbers defining the function result whenx= 1.0.domaindouble[]The domain of the function (the set of input values for which the function is defined).
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.
Since the range of the function is not set, output values won't be clipped.
PdfExponentialFunction(PdfDocument, double, double[], double[], double[], double[]?)
Initializes a new instance of the PdfExponentialFunction class.
public PdfExponentialFunction(PdfDocument document, double exponent, double[] c0, double[] c1, double[] domain, double[]? range)
Parameters
documentPdfDocumentThe document to which this function belongs.
exponentdoubleThe interpolation exponent.
c0double[]The array of
nnumbers defining the function result whenx= 0.0.c1double[]The array of
nnumbers defining the function result whenx= 1.0.domaindouble[]The domain of the function (the set of input values for which the function is defined).
rangedouble[]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.