Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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


Type: Microsoft.SolverFoundation.Common.Rational
The number to raise to the ratExp power.
Type: Microsoft.SolverFoundation.Common.Rational
The exponent to raise ratBase by.
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.

© 2015 Microsoft