Class SeqMult4

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

public class SeqMult4
extends java.lang.Object
implements MMInf

Sequential Matrix Multiplication. Sequential algorithm, generating product matrix in blocks also blocking A and B.

Author:
Heinz Kredel.

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

SeqMult4

public SeqMult4(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.