KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > lsmp > djep > vectorJep > values > MatrixValueI


1 /* @author rich
2  * Created on 02-Nov-2003
3  *
4  * This code is covered by a Creative Commons
5  * Attribution, Non Commercial, Share Alike license
6  * <a HREF="http://creativecommons.org/licenses/by-nc-sa/1.0">License</a>
7  */

8 package org.lsmp.djep.vectorJep.values;
9
10 import org.lsmp.djep.vectorJep.*;
11
12 /**
13  * Interface defining methods needed to work with vectors and matricies.
14  * @author Rich Morris
15  * Created on 02-Nov-2003
16  */

17 public interface MatrixValueI {
18     /** Returns the dimension of this object. */
19     public Dimensions getDim();
20     /** The total number of elements. */
21     public int getNumEles();
22     /** sets the i-th element, treats data a a linear array. */
23     public void setEle(int i,Object JavaDoc value);
24     /** gets the i-th element, treats data a a linear array. */
25     public Object JavaDoc getEle(int i);
26     /** sets the elements to those of the arguments. */
27     public void setEles(MatrixValueI val);
28 }
29
Popular Tags