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.


Variable Index

 o CLASS_SPECIFIC
Storage format identifier.
 o storageFormat

Constructor Index

 o MathVector()
Constructs a mathematical vector.

Method Index

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

Variables

 o CLASS_SPECIFIC
 protected static final int CLASS_SPECIFIC
Storage format identifier.

 o storageFormat
 protected static final int storageFormat

Constructors

 o MathVector
 public MathVector()
Constructs a mathematical vector.

Methods

 o norm
 public abstract double norm()
Returns the norm (magnitude).

 o dimension
 public abstract int dimension()
Returns the vector's dimension.


All Packages  Class Hierarchy  This Package  Previous  Next  Index