    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.maths.MathVector

    java.lang.Object
       |
       +----JSci.maths.MathVector

public abstract class MathVector
extends Object
implements ModuleMember, Serializable

The MathVector superclass provides an abstract encapsulation for vectors.

##

CLASS_SPECIFIC
  Storage format identifier.
storageFormat

##

MathVector()
  Constructs a mathematical vector.

##

add(AbelianGroupMember)
  The group composition law.
dimension()
  Returns the vector's dimension.
negate()
  Returns the inverse member.
norm()
  Returns the norm (magnitude).
scalarMultiply(RingMember)
  The scalar multiplication law.
subtract(AbelianGroupMember)
  The group composition law with inverse.

##

CLASS_SPECIFIC

     protected static final int CLASS_SPECIFIC

  Storage format identifier.

storageFormat

     protected static final int storageFormat

##

MathVector

     public MathVector()

  Constructs a mathematical vector.

##

norm

     public abstract double norm()

  Returns the norm (magnitude).

dimension

     public abstract int dimension()

  Returns the vector's dimension.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index