|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectnet.sourceforge.combean.mathprog.linalg.ColumnVectorOfMatrix
public class ColumnVectorOfMatrix
A column of a matrix as a vector.
| Constructor Summary | |
|---|---|
ColumnVectorOfMatrix(Matrix matrix,
int column)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getColumn()
|
int |
getDimension()
Get the dimension of the vector. |
Matrix |
getMatrix()
|
int |
getNumIterations()
Return the number of entries of the vector through which the iterator returned by getIterator() iterates. |
VectorIterator<NoLabel> |
iterator()
Get an iterator which iterates through all non-zero entries of the vector. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnVectorOfMatrix(Matrix matrix,
int column)
matrix - the matrix from which the column shall be taken.column - the index of the column.| Method Detail |
|---|
public int getDimension()
SparseVector
getDimension in interface SparseVectorpublic VectorIterator<NoLabel> iterator()
SparseVec
iterator in interface SparseVec<NoLabel>public int getNumIterations()
SparseVec
getNumIterations in interface SparseVec<NoLabel>public final int getColumn()
public final Matrix getMatrix()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||