motris.main
Class Double2Vector

java.lang.Object
  extended byJSci.maths.MathVector
      extended byJSci.maths.DoubleVector
          extended bymotris.main.Double2Vector
All Implemented Interfaces:
JSci.maths.groups.AbelianGroup.Member, JSci.maths.algebras.BanachSpace.Member, JSci.maths.Member, JSci.maths.algebras.Module.Member, java.io.Serializable, JSci.maths.algebras.VectorSpace.Member

public class Double2Vector
extends DoubleVector

2-Dimensional DoubleVector for compile-time typechecking

Author:
preuter
See Also:
Serialized Form

Field Summary
 
Fields inherited from class JSci.maths.DoubleVector
ARRAY_1D, vector
 
Fields inherited from class JSci.maths.MathVector
CLASS_SPECIFIC, N, storageFormat
 
Constructor Summary
Double2Vector()
           
Double2Vector(double[] arg0)
           
Double2Vector(double x, double y)
           
Double2Vector(DoubleVector v)
           
Double2Vector(int _dimension)
           
 
Method Summary
 void setPosition(double x, double y)
           
 
Methods inherited from class JSci.maths.DoubleVector
add, add, equals, getComponent, hashCode, infNorm, mapComponents, negate, norm, norm, normalize, scalarDivide, scalarDivide, scalarMultiply, scalarMultiply, scalarProduct, setComponent, subtract, subtract, toComplexVector, toIntegerVector, toString
 
Methods inherited from class JSci.maths.MathVector
dimension, getInvalidComponentMsg
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Double2Vector

public Double2Vector()

Double2Vector

public Double2Vector(DoubleVector v)

Double2Vector

public Double2Vector(int _dimension)

Double2Vector

public Double2Vector(double[] arg0)
              throws JSci.maths.DimensionException

Double2Vector

public Double2Vector(double x,
                     double y)
Method Detail

setPosition

public void setPosition(double x,
                        double y)