package clothSimulator;



public interface linearSolver {
/** so here we have an interface for a linear solver.  Basically, this covers any set of classes or methods that
 * can take in a constraint list and a double[] (seen as a vector called "b") and returns x where Ax=b
 */
	
	
	/** returns the solver type
	 * 
	 * @return
	 */
	public String solverType();
	
	/** given the constraints and a b vector solves Ax=b and returns x
	 * 
	 * @param theConstraints
	 * @param b
	 * @return
	 */
	public arrayAsVector solveLinearSystem(ConstraintList constraintList, arrayAsVector b);
}
