C# Class YAMP.DotOperator

The abstract base class for any dot operator (.*, ./, ...), which is essentially a special binary operator.
Inheritance: BinaryOperator
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

Dot() protected méthode

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.
Résultat MatrixValue

Dot() protected méthode

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.
Résultat MatrixValue

Dot() protected méthode

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.
Résultat MatrixValue

DotOperator() public méthode

Creates a new dot operator (e.g. .*, ./, ...).
public DotOperator ( BinaryOperator top ) : YAMP.Exceptions
top BinaryOperator The binary operator on which this is based.
Résultat YAMP.Exceptions

Operation() public abstract méthode

Implementation of the operation.
public abstract Operation ( ScalarValue left, ScalarValue right ) : ScalarValue
left ScalarValue The left scalar.
right ScalarValue The right scalar.
Résultat ScalarValue

Perform() public méthode

Performs the evaluation of the dot operator.
public Perform ( Value left, Value right ) : Value
left Value The left value.
right Value The right value.
Résultat Value