|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gnu.gleem.linalg.Veci
Arbitrary-length integer vector class. Currently very simple and only supports a few needed operations.
| Constructor Summary | |
Veci(int n)
|
|
Veci(Veci arg)
|
|
| Method Summary | |
int |
get(int i)
|
int |
length()
|
void |
set(int i,
int val)
|
Vec2f |
toVec2f()
|
Vec3f |
toVec3f()
|
Vecf |
toVecf()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Veci(int n)
public Veci(Veci arg)
| Method Detail |
public int length()
public int get(int i)
public void set(int i,
int val)
public Vec2f toVec2f()
throws DimensionMismatchException
DimensionMismatchException
public Vec3f toVec3f()
throws DimensionMismatchException
DimensionMismatchExceptionpublic Vecf toVecf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||