org.icepdf.core.pobjects.functions
Class Function_3

java.lang.Object
  extended by org.icepdf.core.pobjects.functions.Function
      extended by org.icepdf.core.pobjects.functions.Function_3

public class Function_3
extends Function

Type 3 Function (PDF 1.3) defines a stitching of the sub-domains of several 1-input functions to produce a single new 1-input function.

Since:
3.0
Author:
ICEsoft Technologies Inc.

Field Summary
static Name BOUNDS_KEY
           
static Name ENCODE_KEY
           
static Name FUNCTIONS_KEY
           
 
Fields inherited from class org.icepdf.core.pobjects.functions.Function
domain, DOMAIN_NAME, functionType, FUNCTIONTYPE_NAME, range, RANGE_NAME
 
Method Summary
 float[] calculate(float[] x)
          Puts the value x thought the function type 3 algorithm.
 
Methods inherited from class org.icepdf.core.pobjects.functions.Function
getDomain, getFunction, getFunctionType, getRange, interpolate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOUNDS_KEY

public static final Name BOUNDS_KEY

ENCODE_KEY

public static final Name ENCODE_KEY

FUNCTIONS_KEY

public static final Name FUNCTIONS_KEY
Method Detail

calculate

public float[] calculate(float[] x)

Puts the value x thought the function type 3 algorithm.

Specified by:
calculate in class Function
Parameters:
x - input values m
Returns:
output values n