Class SeqMultBlock

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

public class SeqMultBlock
extends java.lang.Object
implements MMInf

Sequential Matrix Multiplication. Sequential algorithm, generating product matrix in blocks.

Author:
Heinz Kredel.

Field Summary
(package private)  int blocksize
           
 
Constructor Summary
SeqMultBlock(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

blocksize

int blocksize
Constructor Detail

SeqMultBlock

public SeqMultBlock(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 - matrix.
A - matrix.
B - double array.