Interface EquationSolver

All Superinterfaces:
Remote
All Known Implementing Classes:
EquationSolverImpl

public interface EquationSolver extends Remote
This remote interface provides methods for solving a system of equations on a remote machine.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    solve(double[][] matrix, double[] constants)
    Solves a system of n equations of the form Ax = b where A is an n x n matrix.
  • Method Details

    • solve

      double[] solve(double[][] matrix, double[] constants) throws RemoteException
      Solves a system of n equations of the form Ax = b where A is an n x n matrix.
      Throws:
      IllegalArgumentException - The number of rows and columns in the matrix are not the same
      RemoteException - Something went wrong while communicating with the server