Package matrixmultiply.studio
Class ForallForallMatrixMultiplier
java.lang.Object
matrixmultiply.studio.ForallForallMatrixMultiplier
- All Implemented Interfaces:
MatrixMultiplier
- Author:
- __STUDENT_NAME__, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Details
-
ForallForallMatrixMultiplier
public ForallForallMatrixMultiplier()
-
-
Method Details
-
multiply
public double[][] multiply(double[][] a, double[][] b) throws InterruptedException, ExecutionExceptionDescription copied from interface:MatrixMultiplier- Specified by:
multiplyin interfaceMatrixMultiplier- Parameters:
a- an n by m matrixb- an m by p matrix- Returns:
- a new n by p matrix which is the result of multiplying a x b
- Throws:
InterruptedException- if the computation was cancelledExecutionException- if the computation threw an exception
-
toString
-