gnu.gleem.linalg
Class Veci

java.lang.Object
  |
  +--gnu.gleem.linalg.Veci

public class Veci
extends java.lang.Object

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

Veci

public Veci(int n)

Veci

public Veci(Veci arg)
Method Detail

length

public int length()

get

public int get(int i)

set

public void set(int i,
                int val)

toVec2f

public Vec2f toVec2f()
              throws DimensionMismatchException
DimensionMismatchException

toVec3f

public Vec3f toVec3f()
              throws DimensionMismatchException
DimensionMismatchException

toVecf

public Vecf toVecf()