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.
Function| Modifier and Type | Field and Description |
|---|---|
static Name |
BITSPERSAMPLE_KEY |
static Name |
DECODE_KEY |
static Name |
ENCODE_KEY |
static Name |
SIZE_KEY |
domain, DOMAIN_NAME, functionType, FUNCTIONTYPE_NAME, range, RANGE_NAME| Modifier and Type | Method and Description |
|---|---|
float[] |
calculate(float[] x)
Calculates the y values for the given x values using a sampled function.
|
getDomain, getFunction, getFunctionType, getRange, interpolate