All Packages Class Hierarchy This Package Previous Next Index
Class cohy.gradient.PartDiff2d
java.lang.Object
|
+----cohy.gradient.PartDiff2d
- public class PartDiff2d
- extends Object
Implements a simple 4-point difference star with adjustable coefficients.
output = (dx Dx + dt Dt) input (Dx and Dt are partial differential ops).
-
PartDiff2d()
-
-
getDerivative(float, float)
-
-
getDerivativeDt()
-
-
getDerivativeDx()
-
-
main(String[])
- PartDiff dx=1.f dt=1.f > rsf.H
PartDiff2d
public PartDiff2d()
getDerivative
public static Rsf getDerivative(float dx,
float dt)
- Parameters:
- dx=1 - dt=0 yields (Dx input)
- dx=0 - dt=1 yields (Dt input)
- dx=1 - dt=1 yields (Dx + Dt) input (default)
getDerivativeDx
public static Rsf getDerivativeDx()
getDerivativeDt
public static Rsf getDerivativeDt()
main
public static void main(String args[])
- PartDiff dx=1.f dt=1.f > rsf.H
- Parameters:
- dx=1 - dt=0 yields Dx = ((-1,-1),( 1,1))
- dx=0 - dt=1 yields Dt = ((-1, 1),(-1,1))
- dx=1 - dt=1 yileds (Dx + Dt) = ((-2, 0),( 0, 2))
All Packages Class Hierarchy This Package Previous Next Index