Class VSpMult

java.lang.Object
  extended by java.lang.Thread
      extended by VSpMult
All Implemented Interfaces:
java.lang.Runnable

 class VSpMult
extends java.lang.Thread

This class is derived from the class Thread. It performs a scalar multiplication.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  double[] A
           
(package private)  int anzahl
           
(package private)  double[] B
           
(package private)  DoubleStore c
           
(package private)  int i
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
VSpMult(DoubleStore cp, double[] Ap, double[] Bp, int ip, int a)
          Constructor.
 
Method Summary
 void run()
          Runs the multiplication.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

A

double[] A

B

double[] B

c

DoubleStore c

i

int i

anzahl

int anzahl
Constructor Detail

VSpMult

VSpMult(DoubleStore cp,
        double[] Ap,
        double[] Bp,
        int ip,
        int a)
Constructor.

Parameters:
Ap - one dimensional matrix.
Bp - one dimensional matrix.
Method Detail

run

public void run()
Runs the multiplication.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread