Skip to content

# PDFExponentialFunction

Namespace: O2S.Components.PDF4NET.PDFFunctions

Defines a type 2 (Exponential Interpolation) function.

    public class PDFExponentialFunction : PDFFunction

Inheritance Object → PDFFunction → PDFExponentialFunction

Remarks

Type 2 PDF functions define an exponential interpolation of one input value and n output values.

## Constructors

### PDFExponentialFunction()

Initilizes a new PDFExponentialFunction object.

    public PDFExponentialFunction()

### PDFExponentialFunction(Double[], Double[], Int32)

Initializes new PDFExponentialFunction object.

    public PDFExponentialFunction(Double[] c0, Double[] c1, int exponent)

Parameters

`c0` Double[]
An array of N numbers defining the function result when x = 0.0.

`c1` Double[]
An array of N numbers defining the function result when x = 1.0.

`exponent` Int32
The interpolation exponent. Each input value x will return n values.

## Properties

### C0

Gets or sets the function result when input value is 0.

    public Double[] C0 { get; set; }

Property Value

Double[]
A double array specifying the function result when input value is 0.

### C1

Gets or sets the function result when input value is 1.

    public Double[] C1 { get; set; }

Property Value

Double[]
A double array specifying the function result when input value is 1.

### Domain

Gets or sets the function domain.

    public Double[] Domain { get; set; }

Property Value

Double[]
An array of 2 x m numbers, where m is the number of input values.

### Exponent

Gets or sets the interpolation exponent.

    public double Exponent { get; set; }

Property Value

Double
The interpolation exponent.

### Range

Gets or sets the function range.

    public Double[] Range { get; set; }

Property Value

Double[]
An array of 2 x n numbers, where n is the number of output values.

## Methods