SampledFunction

SampledFunction

Overview

SampledFunction is a class in Aspose.Pdf FOSS for Java. Inherits from: PdfFunction.

Type 0 (Sampled) function (ISO 32000-1:2008, §7.10.2).

Properties

NameTypeAccessDescription
inputDimensionintReadReturns the number of input values.
outputDimensionintReadReturns the number of output values.

Methods

SignatureDescription
SampledFunction(dict: COSDictionary, domain: double[], range: double[])Creates a sampled function from a COS stream dictionary.
evaluate(input: double[])double[]
getInputDimension()intReturns the number of input values.
getOutputDimension()intReturns the number of output values.
parse(obj: COSBase, parser: PDFParser)PdfFunctionFactory: parses a function from a COS object (dictionary or stream).

See Also