public class PDFunctionTypeIdentity extends PDFunction
Constructor and Description |
---|
PDFunctionTypeIdentity(COSBase function) |
Modifier and Type | Method and Description |
---|---|
float[] |
eval(float[] input)
Evaluates the function at the given input.
|
int |
getFunctionType()
Returns the function type.
|
String |
toString() |
clipToRange, clipToRange, create, eval, getCOSObject, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, getRangeValues, interpolate, setDomainValues, setRangeValues
public PDFunctionTypeIdentity(COSBase function)
public int getFunctionType()
PDFunction
getFunctionType
in class PDFunction
public float[] eval(float[] input) throws IOException
PDFunction
eval
in class PDFunction
input
- The array of input values for the function.
In many cases will be an array of a single value, but not always.IOException
- an IOExcpetion is thrown if something went wrong processing the function.public String toString()
toString
in class PDFunction
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.