Rational.Get Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a rational number by dividing one big integer by another.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Get ( _
bnNum As BigInteger, _
bnDen As BigInteger _
) As Rational
public static Rational Get(
BigInteger bnNum,
BigInteger bnDen
)
public:
static Rational Get(
BigInteger bnNum,
BigInteger bnDen
)
static member Get :
bnNum:BigInteger *
bnDen:BigInteger -> Rational
public static function Get(
bnNum : BigInteger,
bnDen : BigInteger
) : Rational
Parameters
- bnNum
Type: Microsoft.SolverFoundation.Common.BigInteger
The numerator.
- bnDen
Type: Microsoft.SolverFoundation.Common.BigInteger
The denominator.
Return Value
Type: Microsoft.SolverFoundation.Common.Rational
The result of bnNum being divided by bnDen.
.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.