CspComposite.Power Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Raises an input to the power of a specified value.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Power ( _
x As CspTerm, _
power As Integer _
) As CspTerm
public CspTerm Power(
CspTerm x,
int power
)
public:
CspTerm^ Power(
CspTerm^ x,
int power
)
member Power :
x:CspTerm *
power:int -> CspTerm
public function Power(
x : CspTerm,
power : int
) : CspTerm
Parameters
- x
Type: Microsoft.SolverFoundation.Solvers.CspTerm
The input to raise to the power power.
- power
Type: System.Int32
The exponent to raise x by.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
The result of raising x to the power power.
.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.