|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class of objects that solve linear systems of equations represented as a matrix.
Field Summary | |
static java.lang.String |
CVS_REVISION
|
Method Summary | |
Column |
solve(Matrix A,
Column b)
public behavior pre A != null; pre b != null; pre b.size() == A.getNbRows(); pre A.isSquare(); pre (* A is nonsingular *); // Aside from rounding errors, A * x = b post (* A.times(\result).equals(b) *) Solve the system of linear equations as defined by A * x = b |
Field Detail |
public static final java.lang.String CVS_REVISION
Method Detail |
public Column solve(Matrix A, Column b)
A
- The matrix containing the coefficients of the equation.
Each row represents an equation. The i-th element of a row
represents the coefficient of the i-th variable in the equation
represented by that row.b
- The column representing the right-hand sides of the equation.
The right-handig side of the i-th row is the i-th element of the
Column
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |