|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.das2.math.matrix.Matrix
org.das2.math.matrix.ArrayMatrix
public class ArrayMatrix
| Field Summary |
|---|
| Fields inherited from class org.das2.math.matrix.Matrix |
|---|
nCol, nRow |
| Constructor Summary | |
|---|---|
ArrayMatrix(double[] array,
int rows,
int columns)
|
|
ArrayMatrix(int rows,
int columns)
|
|
ArrayMatrix(Matrix m)
|
|
| Method Summary | |
|---|---|
void |
copy(Matrix m)
|
double |
get(int row,
int col)
|
void |
rowTimes(int row,
double s)
|
void |
rowTimesAddTo(int srcRow,
double s,
int dstRow)
|
void |
set(int row,
int col,
double d)
|
void |
swapRows(int row1,
int row2)
|
| Methods inherited from class org.das2.math.matrix.Matrix |
|---|
columnCount, rowCount, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayMatrix(int rows,
int columns)
public ArrayMatrix(double[] array,
int rows,
int columns)
public ArrayMatrix(Matrix m)
| Method Detail |
|---|
public void copy(Matrix m)
copy in class Matrix
public double get(int row,
int col)
get in class Matrix
public void rowTimes(int row,
double s)
rowTimes in class Matrix
public void rowTimesAddTo(int srcRow,
double s,
int dstRow)
rowTimesAddTo in class Matrix
public void set(int row,
int col,
double d)
set in class Matrix
public void swapRows(int row1,
int row2)
swapRows in class Matrix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||