C# Класс MingStar.SimUniversity.AI.Learning.Vector

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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