|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Creation : 2002/03/23 Interface dedicated to provide vector operations
Method Summary | |
java.lang.Object |
clone()
Return a Vector equals() to this one |
void |
divide(double d)
Divide this vector |
boolean |
equals(java.lang.Object o)
True if o is not null, from the Vector class without beeing from one of its subclass, and have the same coordinates in the same order than this. |
void |
equilibrate()
Equilibrate this vector : each coordinate should be divided by the sum of the coordinates. |
void |
multiply(double d)
Multiply this vector |
double |
norm()
Get this vector's norm |
void |
normalize()
Normalize this vector Each v vector's coordinate should be divided by the v.norm() |
java.lang.String |
toString()
Get this vector as a string |
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
this.
equals
in class java.lang.Object
public java.lang.Object clone()
equals()to this one
clone
in class java.lang.Object
public double norm()
public void normalize()
v.norm()
public void equilibrate()
public void multiply(double d)
public void divide(double d)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |