package jcliffford

jclifford
Class Homogeneous

java.lang.Object
  extended by jclifford.Clifford
      extended by jclifford.Homogeneous

public class Homogeneous
extends Clifford

This class represents the Homogeneous coordinates.

Version:

0.9

Author:

Realized by Giorgio Vassallo, Pietro Brignola, November 2002.


Field Summary
private static Clifford e
          e = e- + e+, where e+ * e+ = 1 and e- * e- = -1.
private static Clifford E
          E = e ^ eo is the unit pseudoscalar of Minkowski plane R1,1.
private static Clifford eo
          eo = 0.5 * (e- - e+), {eo, e} forms a null basis eo * eo = e * e = 0.
private static Clifford he
          he = 0.5 * e.
private static boolean initialized
          Homogeneous generalized model initialization flag.
private static int n
          Embedded Euclidean space dimension.
 
Fields inherited from class jclifford.Clifford
dim, eps, gradeTable, hdim, map, p, pseudoScalar, q, signMask, signTable, spaceMask
 
Constructor Summary
Homogeneous()
          Creates and returns an element in Homogeneous generalized model.
Homogeneous(Clifford cl)
          Creates and returns an element in Homogeneous generalized model.
 
Method Summary
 void eToProj()
          .
static void init(int dimension)
          Initializes Homogeneous generalized model.
 void normalize2()
          Normalizes a specified element respect the value of the bivector E.
 void projToE()
          .
 
Methods inherited from class jclifford.Clifford
add, clone, comm, conj, dot, dual, equals, get, get, getDim, getEps, getMaxGrade, getPossibleBlades, gP, gP, grade, gradeInv, init, inv, isScalar, isVector, lC, meet, meet, normalize, noZero, put, put, rC, reflect, remove, rev, setEps, setMeetSubSpace, sQuadMod, sub, toString, uQuadMod, wP
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

initialized

private static boolean initialized
Homogeneous generalized model initialization flag.


n

private static int n
Embedded Euclidean space dimension.


e

private static Clifford e
e = e- + e+, where e+ * e+ = 1 and e- * e- = -1.


eo

private static Clifford eo
eo = 0.5 * (e- - e+), {eo, e} forms a null basis eo * eo = e * e = 0.


he

private static Clifford he
he = 0.5 * e.


E

private static Clifford E
E = e ^ eo is the unit pseudoscalar of Minkowski plane R1,1.

Constructor Detail

Homogeneous

public Homogeneous()
Creates and returns an element in Homogeneous generalized model.


Homogeneous

public Homogeneous(Clifford cl)
            throws java.lang.RuntimeException
Creates and returns an element in Homogeneous generalized model. Maps a grade 1 vector X from Euclidean Rn,0 to Homogeneous generalized Rn+1,1 coordinates: x = X + 0.5 (X * X * e) + eo = X + (0.5 * X * X - 0.5) * e+ + (0.5 * X * X + 0.5) * e-

Throws:
java.lang.RuntimeException
Method Detail

init

public static void init(int dimension)
Initializes Homogeneous generalized model.


normalize2

public void normalize2()
Normalizes a specified element respect the value of the bivector E.


eToProj

public void eToProj()
.


projToE

public void projToE()
.


package jclifford

package jclifford API Specification