mpq_t Class

GMP Native Interface for .NET

mpq_t Class
Represents a multiple precision rational number.
Inheritance Hierarchy
SystemObject  Math.Gmp.Nativempq_t

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class mpq_t
Public Class mpq_t
public ref class mpq_t
type mpq_t =  class end

The mpq_t type exposes the following members.

Constructors
  NameDescription
Public methodmpq_t
Creates a new multiple precision rational.
Top
Properties
  NameDescription
Public property_mp_den
Get the denominator integer of the rational.
Public property_mp_num
Get the numerator integer of the rational.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToIntPtr
Gets the unmanaged memory pointer of the multiple precision rational.
Public methodToString
Return the string representation of the rational.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic member(String to mpq_t)
Converts a string value to an mpq_t value.
Top
Remarks