Method | Description | |
---|---|---|
Add ( float vector1, float vector2 ) : float[] |
Performs elementwise addition of vectors.
|
|
Cosine ( |
||
Cosine ( float otherVector ) : float | ||
Cosine ( float vector1, float vector2 ) : float | ||
Euclidean ( |
||
Euclidean ( float otherVector ) : float | ||
Euclidean ( float vector1, float vector2 ) : float | ||
InnerProduct ( |
||
InnerProduct ( float otherVector ) : float | ||
InnerProduct ( float vector1, float vector2 ) : float | ||
LabeledVector ( string label, float vector ) : System | ||
SquaredEuclidean ( float vector1, float vector2 ) : float | ||
Subtract ( float vector1, float vector2 ) : float[] |
Performs elementwise subtraction of vectors.
|
|
VectorLength ( float vector ) : float |
public static Add ( float vector1, float vector2 ) : float[] | ||
vector1 | float | a vector |
vector2 | float | another vector |
return | float[] |
public Cosine ( |
||
otherVector | ||
return | float |
public static Cosine ( float vector1, float vector2 ) : float | ||
vector1 | float | |
vector2 | float | |
return | float |
public Euclidean ( |
||
otherVector | ||
return | float |
public Euclidean ( float otherVector ) : float | ||
otherVector | float | |
return | float |
public static Euclidean ( float vector1, float vector2 ) : float | ||
vector1 | float | |
vector2 | float | |
return | float |
public InnerProduct ( |
||
otherVector | ||
return | float |
public InnerProduct ( float otherVector ) : float | ||
otherVector | float | |
return | float |
public static InnerProduct ( float vector1, float vector2 ) : float | ||
vector1 | float | |
vector2 | float | |
return | float |
public LabeledVector ( string label, float vector ) : System | ||
label | string | |
vector | float | |
return | System |
public static SquaredEuclidean ( float vector1, float vector2 ) : float | ||
vector1 | float | |
vector2 | float | |
return | float |
public static Subtract ( float vector1, float vector2 ) : float[] | ||
vector1 | float | first vector |
vector2 | float | second vector |
return | float[] |
public static VectorLength ( float vector ) : float | ||
vector | float | |
return | float |