|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfclown.objects.PdfObjectWrapper<TDataObject>
org.pdfclown.documents.functions.Function<PdfStream>
org.pdfclown.documents.functions.Type0Function
@PDF(value=PDF12) public final class Type0Function
Sampled function using a sequence of sample values to provide an approximation for functions whose domains and ranges are bounded [PDF:1.6:3.9.1].
The samples are organized as an m-dimensional table in which each entry has n components.
Nested Class Summary | |
---|---|
static class |
Type0Function.InterpolationOrderEnum
|
Nested classes/interfaces inherited from class org.pdfclown.documents.functions.Function |
---|
Function.IDefaultIntervalsCallback<T extends Comparable<T>> |
Method Summary | |
---|---|
double[] |
calculate(double[] inputs)
Gets the result of the calculation applied by this function to the specified input values. |
Type0Function |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
List<Interval<Integer>> |
getDomainEncodes()
Gets the linear mapping of input values into the domain of the function's sample table. |
Type0Function.InterpolationOrderEnum |
getOrder()
Gets the order of interpolation between samples. |
List<Interval<Double>> |
getRangeDecodes()
Gets the linear mapping of sample values into the ranges of the function's output values. |
int |
getSampleBitsCount()
Gets the number of bits used to represent each sample. |
List<Integer> |
getSampleCounts()
Gets the number of samples in each input dimension of the sample table. |
Methods inherited from class org.pdfclown.documents.functions.Function |
---|
calculate, getDictionary, getDomains, getInputCount, getIntervals, getOutputCount, getRanges, wrap |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double[] calculate(double[] inputs)
Function
calculate
in class Function<PdfStream>
inputs
- Input values.public Type0Function clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfStream>
context
- Which document the clone has to be registered in.public List<Interval<Integer>> getDomainEncodes()
public Type0Function.InterpolationOrderEnum getOrder()
public List<Interval<Double>> getRangeDecodes()
public int getSampleBitsCount()
public List<Integer> getSampleCounts()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |