org.jutil.math.matrix
Interface  LinSolver
- All Known Implementing Classes: 
- LULinSolver, QRLinSolver
- public interface LinSolver
A class of objects that solve linear systems of equations represented
 as a matrix.
 
| Method Summary | 
| abstract  Column | solve(Matrix A,
      Column b)Solve the system of linear equations as defined by
 A * x = b
 | 
 
CVS_REVISION
public static final java.lang.String CVS_REVISION
solve
public abstract Column solve(Matrix A,
                             Column b)
- Solve the system of linear equations as defined by
 A * x = b
 
- 
- Parameters:
- 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
 
- 
- Specifications:
- 
 public behavior
 requires A != null;
 requires b != null;
 requires b.size() == A.getNbRows();
 requires A.isSquare();
 requires (* A is nonsingular *);
 ensures (* A.times(\result).equals(b) *);