|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSwarmObjectImpl
Matrix
This is the class for matrixes and vectors.
Field Summary | |
double[][] |
matr
This is a matrix of double |
double[] |
vect
This is a vector of double |
Constructor Summary | |
Matrix(Zone aZone,
int rows)
Constructors for a new Matrix. |
|
Matrix(Zone aZone,
int rows,
int cols)
|
Method Summary | |
int |
getLength()
|
double |
P(int rows)
This method returns a double from a position of the vector. |
void |
P$setFrom(int rows,
double x)
This method sets a double in a position of the vector. |
double |
R$C(int rows,
int cols)
This method returns a double from a position of the matrix. |
void |
R$C$setFrom(int rows,
int cols,
double x)
This method sets a double in a position of the matrix. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double[] vect
public double[][] matr
Constructor Detail |
public Matrix(Zone aZone, int rows)
public Matrix(Zone aZone, int rows, int cols)
Method Detail |
public void P$setFrom(int rows, double x)
public double P(int rows)
public int getLength()
public void R$C$setFrom(int rows, int cols, double x)
public double R$C(int rows, int cols)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |