Class ConMultProcBlockTrans

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

public class ConMultProcBlockTrans
extends java.lang.Object
implements MMInf

Parallel Matrix Multiplication using util.concurrent. Using specified number of threads, generating product matrix in blocks, matrix B is transposed.


Field Summary
(package private)  int anzahl
           
(package private)  int blocksize
           
 
Constructor Summary
ConMultProcBlockTrans(int threads, int size)
           
 
Method Summary
 void multiply(double[][] C, double[][] A, double[][] B)
          Performs the multiplication of two matrices, B transposed.
 
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

ConMultProcBlockTrans

public ConMultProcBlockTrans(int threads,
                             int size)
Method Detail

multiply

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

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