C# 클래스 MingStar.SimUniversity.AI.Learning.Vector

파일 보기 프로젝트 열기: MingStar/SimUniversity 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Vector v ) : Vector

Add another vector to this one

DotProduct ( Vector v ) : double

Compute the dot product of this vector and the given vector

Multiply ( double scalar ) : Vector

Multiply this vector by a scalar value

Subtract ( Vector v ) : Vector

Subtract another vector from this one

ToString ( ) : string
Vector ( int dimensions ) : System
this ( int index ) : double

메소드 상세

Add() 공개 메소드

Add another vector to this one
public Add ( Vector v ) : Vector
v Vector
리턴 Vector

DotProduct() 공개 메소드

Compute the dot product of this vector and the given vector
public DotProduct ( Vector v ) : double
v Vector
리턴 double

Multiply() 공개 메소드

Multiply this vector by a scalar value
public Multiply ( double scalar ) : Vector
scalar double
리턴 Vector

Subtract() 공개 메소드

Subtract another vector from this one
public Subtract ( Vector v ) : Vector
v Vector
리턴 Vector

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Vector() 공개 메소드

public Vector ( int dimensions ) : System
dimensions int
리턴 System

this() 공개 메소드

public this ( int index ) : double
index int
리턴 double