Class ParMultProc

java.lang.Object
  extended by ParMultProc
All Implemented Interfaces:
MMInf

public class ParMultProc
extends java.lang.Object
implements MMInf

Parallel Matrix Multiplication. Using specified number of threads.

Author:
Heinz Kredel.

Field Summary
(package private)  int anzahl
           
 
Constructor Summary
ParMultProc(int threads)
           
 
Method Summary
 void multiply(double[][] C, double[][] A, double[][] B)
          Performs the multiplication of two matrices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anzahl

int anzahl
Constructor Detail

ParMultProc

public ParMultProc(int threads)
Method Detail

multiply

public void multiply(double[][] C,
                     double[][] A,
                     double[][] B)
Performs the multiplication of two matrices. C = A * B.

Specified by:
multiply in interface MMInf
Parameters:
C - result matrix.
A - matrix.
B - matrix.