C# 클래스 YAMP.DotOperator

The abstract base class for any dot operator (.*, ./, ...), which is essentially a special binary operator.
상속: BinaryOperator
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
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