com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse
Class Coordinates
java.lang.Object
com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse.Coordinates
public final class Coordinates
- extends java.lang.Object
This class represents the coordinates (i, j) of a matrix element,
where i and j are the row-index and column-index of the
element, respectively.
|
Field Summary |
int |
i
the row index |
int |
j
the column index |
|
Constructor Summary |
Coordinates(int i,
int j)
Construct a matrix coordinate specifying an entry location. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
i
public final int i
- the row index
j
public final int j
- the column index
Coordinates
public Coordinates(int i,
int j)
- Construct a matrix coordinate specifying an entry location.
- Parameters:
i - the row indexj - the column index
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.