C# 클래스 GoodAI.ToyWorld.Language.LabeledVector

Vectors with string labels and basic vector operations
파일 보기 프로젝트 열기: GoodAI/BrainSimulator 1 사용 예제들

공개 메소드들

메소드 설명
Add ( float vector1, float vector2 ) : float[]

Performs elementwise addition of vectors.

Cosine ( LabeledVector otherVector ) : float
Cosine ( float otherVector ) : float
Cosine ( float vector1, float vector2 ) : float
Euclidean ( LabeledVector otherVector ) : float
Euclidean ( float otherVector ) : float
Euclidean ( float vector1, float vector2 ) : float
InnerProduct ( LabeledVector otherVector ) : float
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

메소드 상세

Add() 공개 정적인 메소드

Performs elementwise addition of vectors.
public static Add ( float vector1, float vector2 ) : float[]
vector1 float a vector
vector2 float another vector
리턴 float[]

Cosine() 공개 메소드

public Cosine ( LabeledVector otherVector ) : float
otherVector LabeledVector
리턴 float

Cosine() 공개 메소드

public Cosine ( float otherVector ) : float
otherVector float
리턴 float

Cosine() 공개 정적인 메소드

public static Cosine ( float vector1, float vector2 ) : float
vector1 float
vector2 float
리턴 float

Euclidean() 공개 메소드

public Euclidean ( LabeledVector otherVector ) : float
otherVector LabeledVector
리턴 float

Euclidean() 공개 메소드

public Euclidean ( float otherVector ) : float
otherVector float
리턴 float

Euclidean() 공개 정적인 메소드

public static Euclidean ( float vector1, float vector2 ) : float
vector1 float
vector2 float
리턴 float

InnerProduct() 공개 메소드

public InnerProduct ( LabeledVector otherVector ) : float
otherVector LabeledVector
리턴 float

InnerProduct() 공개 메소드

public InnerProduct ( float otherVector ) : float
otherVector float
리턴 float

InnerProduct() 공개 정적인 메소드

public static InnerProduct ( float vector1, float vector2 ) : float
vector1 float
vector2 float
리턴 float

LabeledVector() 공개 메소드

public LabeledVector ( string label, float vector ) : System
label string
vector float
리턴 System

SquaredEuclidean() 공개 정적인 메소드

public static SquaredEuclidean ( float vector1, float vector2 ) : float
vector1 float
vector2 float
리턴 float

Subtract() 공개 정적인 메소드

Performs elementwise subtraction of vectors.
public static Subtract ( float vector1, float vector2 ) : float[]
vector1 float first vector
vector2 float second vector
리턴 float[]

VectorLength() 공개 정적인 메소드

public static VectorLength ( float vector ) : float
vector float
리턴 float