Export (0) Print
Expand All

Rational.Power Method

Solver Foundation 3.0

[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)

public static bool Power(
	Rational ratBase,
	Rational ratExp,
	out Rational ratRes
)

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.

Show:
© 2014 Microsoft