package jcliffford

jclifford
Class Blade

java.lang.Object
  extended by jclifford.Blade
All Implemented Interfaces:
java.lang.Comparable

 class Blade
extends java.lang.Object
implements java.lang.Comparable

This class represents a blade (wedge product of generic basis vectors).

It is an utility class for the Clifford class.

Version:

0.9

Author:

Realized by Giorgio Vassallo, Pietro Brignola, November 2002.

See Also:
BladeBitSet, BladeTreeSet

Field Summary
 int blade
          Each bit 1 in the binary rappresentation of this field corresponds to the presence of a basis vector in the blade (starting from l.s.b.).
 
Constructor Summary
Blade(int blade)
          Creates and returns a new Blade representing the specified blade.
 
Method Summary
 int compareTo(java.lang.Object object)
          Compare this object with another comparing blade fields.
 java.lang.String toString()
          Returns a string representation of this blade.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

blade

public int blade
Each bit 1 in the binary rappresentation of this field corresponds to the presence of a basis vector in the blade (starting from l.s.b.).

Constructor Detail

Blade

public Blade(int blade)
Creates and returns a new Blade representing the specified blade.

Parameters:
blade - the int whose binary rappresentation corresponds to the presence of basis vectors (starting from l.s.b.).
Method Detail

compareTo

public int compareTo(java.lang.Object object)
Compare this object with another comparing blade fields.

Specified by:
compareTo in interface java.lang.Comparable

toString

public java.lang.String toString()
Returns a string representation of this blade.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this blade.

package jclifford

package jclifford API Specification