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
 MatrixValueI copy()
          returns a copy of this value.
 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

Dimensions getDim()
Returns the dimension of this object.


getNumEles

int getNumEles()
The total number of elements.


setEle

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


getEle

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


setEles

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


copy

MatrixValueI copy()
returns a copy of this value.



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