org.lsmp.djep.vectorJep.values
Interface MatrixValueI

All Known Implementing Classes:
Matrix, MVector, Scaler, Tensor

public interface MatrixValueI

Interface defining methods needed to work with vectors and matricies.

Author:
Rich Morris Created on 02-Nov-2003

Method Summary
 Dimensions getDim()
          Returns the dimension of this object.
 java.lang.Object getEle(int i)
          gets the i-th element, treats data a a linear array.
 int getNumEles()
          The total number of elements.
 void setEle(int i, java.lang.Object value)
          sets the i-th element, treats data a a linear array.
 void setEles(MatrixValueI val)
          sets the elements to those of the arguments.
 

Method Detail

getDim

public Dimensions getDim()
Returns the dimension of this object.


getNumEles

public int getNumEles()
The total number of elements.


setEle

public void setEle(int i,
                   java.lang.Object value)
sets the i-th element, treats data a a linear array.


getEle

public java.lang.Object getEle(int i)
gets the i-th element, treats data a a linear array.


setEles

public void setEles(MatrixValueI val)
sets the elements to those of the arguments.



http://www.singularsys.com/jep Copyright © 2004 Singular Systems