SampledFunction

SampledFunction

Overview

SampledFunction is a class in Aspose.PDF FOSS for .NET. Inherits from: PdfFunction.

Sampled function (§7.10.2): lookup table with linear interpolation.

This class provides 1 method for working with SampledFunction objects in .NET programs. Available methods include: Evaluate. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: BitsPerSample, Domain, Range, Size.

Properties

NameTypeAccessDescription
Sizeint[]ReadGets the size.
BitsPerSampleintReadGets the bits per sample.
Domaindouble[][]ReadInput domain — one [min, max] pair per input dimension.
Rangedouble[][]?ReadOutput range — one [min, max] pair per output.

Methods

SignatureDescription
Evaluate(inputs: double[])Evaluate the function.

See Also