C# 클래스 Vertesaur.Generation.Expressions.DotProductExpression

An expression representing the dot product of two vectors.
상속: ReducibleExpressionBase
파일 보기 프로젝트 열기: aarondandy/vertesaur

Private Properties

프로퍼티 타입 설명
CodeContractInvariants void

공개 메소드들

메소드 설명
DotProductExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System

Creates a new dot product expression.

Reduce ( ) : Expression

비공개 메소드들

메소드 설명
CodeContractInvariants ( ) : void

메소드 상세

DotProductExpression() 공개 메소드

Creates a new dot product expression.
public DotProductExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System
components System.Linq.Expressions.Expression The ordered components of the two vectors in the order of first vectors coordinates then second vectors coordinates (ex: x0,y0,x1,y1).
reductionExpressionGenerator IExpressionGenerator The optional expression generator that can be used to produce reduced expressions.
리턴 System

Reduce() 공개 메소드

public Reduce ( ) : Expression
리턴 System.Linq.Expressions.Expression