Class ParMultProcBlock

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

public class ParMultProcBlock
extends java.lang.Object
implements MMInf

Parallel Matrix Multiplication. Using specified number of threads, generating product matrix in blocks.

Author:
Heinz Kredel.

Field Summary
(package private)  int anzahl
           
(package private)  int blocksize
           
 
Constructor Summary
ParMultProcBlock(int threads, int size)
           
 
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

blocksize

int blocksize
Constructor Detail

ParMultProcBlock

public ParMultProcBlock(int threads,
                        int size)
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.