Rational.Power Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether a rational number was raised to the power of another rational number successfully.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Power ( _
ratBase As Rational, _
ratExp As Rational, _
<OutAttribute> ByRef ratRes As Rational _
) As Boolean
public static bool Power(
Rational ratBase,
Rational ratExp,
out Rational ratRes
)
public:
static bool Power(
Rational ratBase,
Rational ratExp,
[OutAttribute] Rational% ratRes
)
static member Power :
ratBase:Rational *
ratExp:Rational *
ratRes:Rational byref -> bool
public static function Power(
ratBase : Rational,
ratExp : Rational,
ratRes : Rational
) : boolean
Parameters
- ratBase
Type: Microsoft.SolverFoundation.Common.Rational
The number to raise to the ratExp power.
- ratExp
Type: Microsoft.SolverFoundation.Common.Rational
The exponent to raise ratBase by.
- ratRes
Type: Microsoft.SolverFoundation.Common.Rational%
The result of raising ratBase to the ratExp power.
Return Value
Type: System.Boolean
true if the result of raising ratBase to the ratExp power is computed and stored as a rational number; otherwise, false.
.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.