jsci.maths.vectors
Class MathVector
- java.lang.Object
-
- jsci.maths.vectors.MathVector
-
- All Implemented Interfaces:
- java.io.Serializable, Module.Member, AbelianGroup.Member, Member
- Direct Known Subclasses:
- AbstractComplexVector, AbstractDoubleVector, AbstractIntegerVector, BraVector, KetVector
public abstract class MathVector extends java.lang.Object implements Module.Member
The MathVector superclass provides an abstract encapsulation for vectors.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MathVector(int n)Constructs a mathematical vector.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description intdimension()Returns the vector's dimension.abstract doublenorm()Returns the norm (magnitude).-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jsci.maths.algebras.Module.Member
scalarMultiply
-
Methods inherited from interface jsci.maths.groups.AbelianGroup.Member
add, negate, subtract
-
-
DMelt 3.0 © DataMelt by jWork.ORG