C# Class Vertesaur.Generation.Expressions.SquaredMagnitudeExpression

An expression representing the squared magnitude of a set of expressions representing coordinates.
Inheritance: ReducibleExpressionBase
Mostrar archivo Open project: aarondandy/vertesaur Class Usage Examples

Private Properties

Property Type Description
CodeContractInvariants void
CreateExpression System.Linq.Expressions.Expression

Public Methods

Method Description
Reduce ( ) : Expression
SquaredMagnitudeExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System

Creates a new squared magnitude expression.

Private Methods

Method Description
CodeContractInvariants ( ) : void
CreateExpression ( Expression inputs ) : Expression

Method Details

Reduce() public method

public Reduce ( ) : Expression
return System.Linq.Expressions.Expression

SquaredMagnitudeExpression() public method

Creates a new squared magnitude expression.
public SquaredMagnitudeExpression ( Expression components, IExpressionGenerator reductionExpressionGenerator = null ) : System
components System.Linq.Expressions.Expression The coordinate expressions.
reductionExpressionGenerator IExpressionGenerator The optional expression generator used for reduction.
return System