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

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

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace