SampledFunction
SampledFunction
Overview
SampledFunction 是一个类在Java的FOSS中. 继承人: PdfFunction.
类型0 (采样) 的函数 (ISO 32000-1:2008,第7.10.2节).
本类提供了5种方法,用于在Java程序中使用SampledFunction对象. 有的方法包括: SampledFunction, evaluate, getInputDimension, getOutputDimension, parse. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: inputDimension, outputDimension.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
inputDimension | int | Read | 返回输入值的数量. |
outputDimension | int | Read | 返回输出值的数量. |
Methods
| Signature | Description |
|---|---|
SampledFunction(dict: PdfDictionary, domain: double[], range: double[]) | 从PDF流词典中创建一个样本函数. |
evaluate(input: double[]) → double[] | |
getInputDimension() → int | 返回输入值的数量. |
getOutputDimension() → int | 返回输出值的数量. |
parse(obj: PdfBase, parser: PDFParser) → PdfFunction | 工厂:从PDF对象 (字典或流) 中解析函数. |