|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.iv.mds.util.VectorOperation
public class VectorOperation
Constructor Summary | |
---|---|
VectorOperation()
|
Method Summary | |
---|---|
static double[] |
add(double[] v1,
double[] v2)
Addition. |
static double |
lengthOf(double[] v)
Length of input vector. |
static double |
scalarProduct(double[] v1,
double[] v2)
Scalar product of input vectors. |
static double[] |
scale(double[] v,
double factor)
Scales vector with input factor. |
static double[] |
sub(double[] v1,
double[] v2)
Substraction. |
static double[] |
unitVector(double[] v)
Calculates unit vector of input vector. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VectorOperation()
Method Detail |
---|
public static final double[] sub(double[] v1, double[] v2)
public static final double[] add(double[] v1, double[] v2)
public static final double scalarProduct(double[] v1, double[] v2)
public static final double lengthOf(double[] v)
public static final double[] scale(double[] v, double factor)
public static final double[] unitVector(double[] v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |