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.
|
java.lang.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 java.io.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.java.io.IOException
- if something went wrong processing the function.public java.lang.String toString()
toString
in class PDFunction