Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent.std.adaptor.pdf
Class Function

    java.lang.Object
      multivalent.std.adaptor.pdf.Function

public abstract class Function
extends java.lang.Object

Function objects: sampled (type 0), exponential (2), stitching (3), PostScript calculator (4). Used by colorspaces and shading.

Version:
  $Revision: 1.12 $ $Date: 2005/12/07 20:40:39 $

Method Summary
`abstract void` | `compute(float[] input, float[] output)` Compute the function from input and placing result in output.
`static Function` | `getInstance(java.lang.Object dictref, PDFReader pdfr)` Returns function instance corresponding to dictref, which should get an `IRef` or a Dict if the function is specified directly.
`int` | `getM()` Returns input arity.
`int` | `getN()` Returns output arity.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static Function getInstance(java.lang.Object dictref,
                                       PDFReader pdfr)
                                throws java.io.IOException

  Returns function instance corresponding to dictref, which should get an `IRef` or a Dict if the function is specified directly.

  Throws:
    `java.io.IOException`

### compute

    public abstract void compute(float[] input,
                                 float[] output)

  Compute the function from input and placing result in output.

### getM

    public int getM()

  Returns input arity.

### getN

    public int getN()

  Returns output arity.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD