mathcomp.la
Class IndexToInteger
java.lang.Object
mathcomp.la.IndexToInteger
public class IndexToInteger
- extends java.lang.Object
This class is used for exporting our la classes to
external tools like JMP, UMFPACK, and SuperLU.
It uses the Index.iterator()
to fix
one Enumeration of the index set.
- Author:
- pht
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexToInteger
public IndexToInteger(Index index)
getInt
public int getInt(java.lang.Object key)
- Gives the
int
for key.
- Parameters:
key
-
- Returns:
- the
int
for key
getKey
public java.lang.Object getKey(int i)
- Gives the key for
i
.
- Parameters:
i
-
- Returns:
- the key for
i
iterator
public java.util.Iterator iterator()
size
public int size()
getIndex
public Index getIndex()