org.icepdf.core.pobjects.functions
Class Function_0
java.lang.Object
org.icepdf.core.pobjects.functions.Function
org.icepdf.core.pobjects.functions.Function_0
public class Function_0
- extends Function
This class Function_0 represents a generic Type 0, sampled function
type. Type 0 functions use a sequence of sampled values (contained in a stream)
to produce an approximation for function shose domains and ranges are bounded.
The samples are organized as an m-dimensional table in which each entry has n
components.
Sampled functiosn are highly general and offer reasonablly accurate
representations of arbitrary analytic functions at low expense. The
dimensionality of a sampled function is restricted only by the implementation
limits.
- Since:
- 1.0
- See Also:
Function
|
Method Summary |
float[] |
calculate(float[] x)
Calculates the y values for the given x values using a sampled function. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIZE_KEY
public static final Name SIZE_KEY
BITSPERSAMPLE_KEY
public static final Name BITSPERSAMPLE_KEY
ENCODE_KEY
public static final Name ENCODE_KEY
DECODE_KEY
public static final Name DECODE_KEY
calculate
public float[] calculate(float[] x)
- Calculates the y values for the given x values using a sampled function.
- Specified by:
calculate in class Function
- Parameters:
x - array of input values m.
- Returns:
- array of ouput value n.