|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSeqVSMult
public class SeqVSMult
Sequential Vector Scalar Multiplication.
Constructor Summary | |
---|---|
SeqVSMult()
|
Method Summary | |
---|---|
double |
multiply(double[] A,
double[] B)
Computes the scalar multiplication of two vectors. |
double |
norm(double[] A)
Computes the norm of a vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeqVSMult()
Method Detail |
---|
public double multiply(double[] A, double[] B)
multiply
in interface VSMInf
A
- Vector.B
- Vector.public double norm(double[] A)
norm
in interface VSMInf
A
- Vector.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |