mpz_t Class

GMP Native Interface for .NET

mpz_t Class
Represents a multiple precision integer.
Inheritance Hierarchy
SystemObject  Math.Gmp.Nativemp_base
    Math.Gmp.Nativempz_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 mpz_t : mp_base
Public Class mpz_t
	Inherits mp_base
public ref class mpz_t : public mp_base
type mpz_t =  
    class
        inherit mp_base
    end

The mpz_t type exposes the following members.

Constructors
  NameDescription
Public methodmpz_t
Creates a new multiple precision integer.
Top
Properties
  NameDescription
Public property_mp_alloc
The number of limbs currently allocated at mp_base._mp_d.
Public property_mp_d
A pointer to an array of limbs which is the magnitude.
(Inherited from mp_base.)
Public property_mp_d_intptr
Gets or sets the pointer to the array of limbs of the integer.
(Overrides mp_base_mp_d_intptr.)
Public property_mp_size
The number of limbs, or the negative of that when representing a negative integer.
(Overrides mp_base_mp_size.)
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 integer.
Public methodToString
Return the string representation of the integer.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic member(String to mpz_t)
Converts a string value to an mpz_t value.
Top
Fields
  NameDescription
Public fieldPointer
Pointer to limbs in unmanaged memory.
(Inherited from mp_base.)
Top
Remarks