Numerical Components for .NET
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
[SerializableAttribute] public struct BigRational : IComparable, IFormattable, IEquatable<BigRational>, IComparable<BigRational>, IComparable<BigInteger>, IComparable<int>
<SerializableAttribute> _ Public Structure BigRational _ Implements IComparable, IFormattable, IEquatable(Of BigRational), _ IComparable(Of BigRational), IComparable(Of BigInteger), IComparable(Of Integer)
[SerializableAttribute] public value class BigRational : IComparable, IFormattable, IEquatable<BigRational>, IComparable<BigRational>, IComparable<BigInteger>, IComparable<int>
[<SealedAttribute>] [<SerializableAttribute>] type BigRational = struct interface IComparable interface IFormattable interface IEquatable<BigRational> interface IComparable<BigRational> interface IComparable<BigInteger> interface IComparable<int> end
Use the BigRational class to represent a fraction of integers of arbitrary precision. BigRational objects are immutable.
The Numerator and Denominator return the parts of the fraction. The numerator and the denominator have no common divisors. The denominator is always positive. Zero is represented as 0 / 1.
Copyright © 2003-2013, Extreme Optimization. All rights reserved. Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc. Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo are registered trademarks of Microsoft Corporation.