GMP Native Interface for .NET
mpq_t Class |
Represents a multiple precision rational number.
Inheritance Hierarchy
Namespace: Math.Gmp.Native
Assembly: Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The mpq_t type exposes the following members.
Constructors
Properties
Name | Description | |
---|---|---|
_mp_den |
Get the denominator integer of the rational.
| |
_mp_num |
Get the numerator integer of the rational.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToIntPtr |
Gets the unmanaged memory pointer of the multiple precision rational.
| |
ToString |
Return the string representation of the rational.
(Overrides ObjectToString.) |
Operators
Name | Description | |
---|---|---|
(String to mpq_t) |
Converts a string value to an mpq_t value.
|
Remarks
See Also