|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.MatrixUtilities
public class MatrixUtilities
Utilities for removing entries from vectors, rows and columns from matrices.
| Field Summary | |
|---|---|
static cern.colt.matrix.DoubleFactory1D |
F1D
|
static cern.colt.matrix.DoubleFactory2D |
F2D
|
| Constructor Summary | |
|---|---|
MatrixUtilities()
|
|
| Method Summary | |
|---|---|
static cern.colt.matrix.DoubleMatrix2D |
removeColumn(cern.colt.matrix.DoubleMatrix2D X,
int index)
Removes the indexed column from the given matrix. |
static cern.colt.matrix.DoubleMatrix1D |
removeEntry(cern.colt.matrix.DoubleMatrix1D x,
int index)
Removes the indexed entry from the given vector. |
static cern.colt.matrix.DoubleMatrix2D |
removeRow(cern.colt.matrix.DoubleMatrix2D X,
int index)
Removes the indexed row from the given matrix. |
static cern.colt.matrix.DoubleMatrix2D |
removeRowAndColumn(cern.colt.matrix.DoubleMatrix2D X,
int row,
int col)
Removes the indexed row and column from the given matrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final cern.colt.matrix.DoubleFactory1D F1D
public static final cern.colt.matrix.DoubleFactory2D F2D
| Constructor Detail |
|---|
public MatrixUtilities()
| Method Detail |
|---|
public static cern.colt.matrix.DoubleMatrix2D removeColumn(cern.colt.matrix.DoubleMatrix2D X,
int index)
X - the given matrix.index - the column to be removed.
public static cern.colt.matrix.DoubleMatrix1D removeEntry(cern.colt.matrix.DoubleMatrix1D x,
int index)
x - the given vector.index - the entry to be removed.
public static cern.colt.matrix.DoubleMatrix2D removeRow(cern.colt.matrix.DoubleMatrix2D X,
int index)
X - the given matrix.index - the row to be removed.
public static cern.colt.matrix.DoubleMatrix2D removeRowAndColumn(cern.colt.matrix.DoubleMatrix2D X,
int row,
int col)
X - the given matrix.row - the row to be removed.col - the column to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||