Class TruncateExpression
Expression class representing the truncate
function.
Inherited Members
Namespace: HAPI
Assembly: hugincs-9.4-netstandard2.0-x64.dll
Syntax
public class TruncateExpression : CompositeExpression
Constructors
TruncateExpression(Expression, Expression, Expression)
Constructs a new TruncateExpression. This constructs a doubly truncated distribution. Truncation is only supported for continuous distributions.
Declaration
public TruncateExpression(Expression low, Expression distribution, Expression high)
Parameters
Type | Name | Description |
---|---|---|
Expression | low | the left truncation point |
Expression | distribution | the distribution to be truncated |
Expression | high | the right truncation point |
TruncateExpression(Expression, Expression)
Declaration
public TruncateExpression(Expression a, Expression b)
Parameters
Type | Name | Description |
---|---|---|
Expression | a | |
Expression | b |
Methods
GetOperator()
Returns the operator of this Expression.
Declaration
public override Expression.Operator GetOperator()
Returns
Type | Description |
---|---|
Expression.Operator |