Model.Power Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Raises a term to the power of a specified value.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Power ( _
left As Term, _
right As Term _
) As Term
public static Term Power(
Term left,
Term right
)
public:
static Term^ Power(
Term^ left,
Term^ right
)
static member Power :
left:Term *
right:Term -> Term
public static function Power(
left : Term,
right : Term
) : Term
Parameters
- left
Type: Microsoft.SolverFoundation.Services.Term
The number to raise to the right power.
- right
Type: Microsoft.SolverFoundation.Services.Term
The exponent to raise left by.
Return Value
Type: Microsoft.SolverFoundation.Services.Term
The result of raising left to the right power.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The operation is not valid for the given inputs. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.