C# Класс YAMP.DotOperator

The abstract base class for any dot operator (.*, ./, ...), which is essentially a special binary operator.
Наследование: BinaryOperator
Показать файл Открыть проект

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

Метод Описание
DotOperator ( BinaryOperator top ) : YAMP.Exceptions

Creates a new dot operator (e.g. .*, ./, ...).

Operation ( ScalarValue left, ScalarValue right ) : ScalarValue

Implementation of the operation.

Perform ( Value left, Value right ) : Value

Performs the evaluation of the dot operator.

Защищенные методы

Метод Описание
Dot ( MatrixValue left, MatrixValue right ) : MatrixValue

Performs an operation on each entry of the left and right matrix.

Dot ( MatrixValue left, ScalarValue right ) : MatrixValue

Performs an operation on each entry of the left matrix.

Dot ( ScalarValue left, MatrixValue right ) : MatrixValue

Performs an operation on each entry of the right matrix.

Описание методов

Dot() защищенный Метод

Performs an operation on each entry of the left and right matrix.
protected Dot ( MatrixValue left, MatrixValue right ) : MatrixValue
left MatrixValue The left matrix.
right MatrixValue The right matrix.
Результат MatrixValue

Dot() защищенный Метод

Performs an operation on each entry of the left matrix.
protected Dot ( MatrixValue left, ScalarValue right ) : MatrixValue
left MatrixValue The left matrix.
right ScalarValue The right scalar.
Результат MatrixValue

Dot() защищенный Метод

Performs an operation on each entry of the right matrix.
protected Dot ( ScalarValue left, MatrixValue right ) : MatrixValue
left ScalarValue The left scalar.
right MatrixValue The right matrix.
Результат MatrixValue

DotOperator() публичный Метод

Creates a new dot operator (e.g. .*, ./, ...).
public DotOperator ( BinaryOperator top ) : YAMP.Exceptions
top BinaryOperator The binary operator on which this is based.
Результат YAMP.Exceptions

Operation() публичный абстрактный Метод

Implementation of the operation.
public abstract Operation ( ScalarValue left, ScalarValue right ) : ScalarValue
left ScalarValue The left scalar.
right ScalarValue The right scalar.
Результат ScalarValue

Perform() публичный Метод

Performs the evaluation of the dot operator.
public Perform ( Value left, Value right ) : Value
left Value The left value.
right Value The right value.
Результат Value