org.lsmp.djep.vectorJep.values.MatrixValueI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jep Show documentation
Show all versions of jep Show documentation
JEP is a Java library for parsing and evaluating mathematical expressions.
The newest version!
/* @author rich
* Created on 02-Nov-2003
*/
package org.lsmp.djep.vectorJep.values;
import org.lsmp.djep.vectorJep.*;
/**
* Interface defining methods needed to work with vectors and matricies.
* @author Rich Morris
* Created on 02-Nov-2003
*/
public interface MatrixValueI {
/** Returns the dimension of this object. */
public Dimensions getDim();
/** The total number of elements. */
public int getNumEles();
/** sets the i-th element, treats data a a linear array. */
public void setEle(int i,Object value);
/** gets the i-th element, treats data a a linear array. */
public Object getEle(int i);
/** sets the elements to those of the arguments. */
public void setEles(MatrixValueI val);
/** returns a copy of this value. */
public MatrixValueI copy();
}