framed
Class Slope.Context

java.lang.Object
  extended by framed.Slope.Context
Enclosing class:
Slope

public static class Slope.Context
extends java.lang.Object

The Context class holds all information necessary to compute derivatives.


Constructor Summary
Slope.Context(int context, int order)
          Generate a new context for derivatives
Slope.Context(int context, int order, double scale)
          Generate a new context for derivatives
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slope.Context

public Slope.Context(int context,
                     int order)
Generate a new context for derivatives

Parameters:
context - number of frames considered (total)
order - order of derivative

Slope.Context

public Slope.Context(int context,
                     int order,
                     double scale)
Generate a new context for derivatives

Parameters:
context - number of frames considered (total)
order - order of derivative
scale - apply a scaling factor to the derivatives
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object