treebolic.core
Class HyperOptimizedTransform

java.lang.Object
  extended by treebolic.core.HyperOptimizedTransform
All Implemented Interfaces:
IHyperTransform

public class HyperOptimizedTransform
extends java.lang.Object
implements IHyperTransform

Optimized hyperbolic transform, which precomputes some static operations prior to mapping

Author:
Bernard Bou

Field Summary
private  Complex theInverseRot
          Precomputed 1/theta
private  Complex theXlatConj
          Precomputed ~p
private  Complex theXlatOntheRot
          Precomputed p/theta
 
Constructor Summary
HyperOptimizedTransform(HyperTransform t)
          Construct from transform
 
Method Summary
 Complex map(Complex z)
          Map point in hyperbolic space
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theInverseRot

private Complex theInverseRot
Precomputed 1/theta


theXlatOntheRot

private Complex theXlatOntheRot
Precomputed p/theta


theXlatConj

private Complex theXlatConj
Precomputed ~p

Constructor Detail

HyperOptimizedTransform

public HyperOptimizedTransform(HyperTransform t)
Construct from transform

Parameters:
t - transform to optimize
Method Detail

map

public Complex map(Complex z)
Description copied from interface: IHyperTransform
Map point in hyperbolic space

Specified by:
map in interface IHyperTransform
Parameters:
z - point is hyperbolic space
Returns:
map z to z' with z'=map(z)