Package edu.pdx.cs410J.rmi
Interface EquationSolver
- All Superinterfaces:
Remote
- All Known Implementing Classes:
EquationSolverImpl
This remote interface provides methods for solving a system of
equations on a remote machine.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
solve
(double[][] matrix, double[] constants) Solves a system ofn
equations of the formAx = b
whereA
is ann x n
matrix.
-
Method Details
-
solve
Solves a system ofn
equations of the formAx = b
whereA
is ann x n
matrix.- Throws:
IllegalArgumentException
- The number of rows and columns in the matrix are not the sameRemoteException
- Something went wrong while communicating with the server
-