C# Class Vertesaur.Generation.Expressions.SquareRootExpression

An expression representing the square-root of another expression. SquareRootExpression(expression) = (expression)^(1/2).
Inheritance: ReducibleUnaryExpressionBase
Show file Open project: aarondandy/vertesaur

Public Methods

Method Description
Reduce ( ) : Expression
SquareRootExpression ( Expression unaryParameter, IExpressionGenerator reductionExpressionGenerator = null ) : System

Creates a new square root expression.

Private Methods

Method Description
SquareRootExpression ( ) : System

Method Details

Reduce() public method

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

SquareRootExpression() public method

Creates a new square root expression.
public SquareRootExpression ( Expression unaryParameter, IExpressionGenerator reductionExpressionGenerator = null ) : System
unaryParameter System.Linq.Expressions.Expression The expression to find the square root of.
reductionExpressionGenerator IExpressionGenerator The optional expression generator used for reduction.
return System