Click or drag to resize
Accord.NET (logo)

RationalPow Method

Returns a specified number raised to a specified power.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Rational Pow(
	Rational baseValue,
	int exponent
)
Request Example View Source

Parameters

baseValue
Type: Accord.MathRational
A Rational number.
exponent
Type: SystemInt32
A Rational number.

Return Value

Type: Rational
The larger of two Rationals.
See Also