|
package jcliffford | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jclifford.Blade
class Blade
This class represents a blade (wedge product of generic basis vectors).
It is an utility class for the Clifford class.
0.9
Realized by Giorgio Vassallo, Pietro Brignola, November 2002.
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 |
---|
public int blade
Constructor Detail |
---|
public Blade(int blade)
blade
- the int whose binary rappresentation corresponds to the presence of basis vectors (starting from l.s.b.).Method Detail |
---|
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
package jclifford | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |