|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectParVSMult
public class ParVSMult
Parallel Vector Scalar Multiplication.
| Field Summary | |
|---|---|
(package private) int |
anzahl
|
| Constructor Summary | |
|---|---|
ParVSMult(int threads)
|
|
| Method Summary | |
|---|---|
double |
multiply(double[] A,
double[] B)
Compute the scalar multiplication of two vectors. |
double |
norm(double[] A)
Compute the norm of a vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int anzahl
| Constructor Detail |
|---|
public ParVSMult(int threads)
| Method Detail |
|---|
public double multiply(double[] A,
double[] B)
multiply in interface VSMInfA - vector.B - vector.public double norm(double[] A)
norm in interface VSMInfA - vector.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||