Math.Gmp.Native Namespace

GMP Native Interface for .NET

Math.Gmp.Native Namespace
The Math.Gmp.Native namespace contains types defined to expose all of the GNU GMP functionality to .NET.
Classes
  ClassDescription
Public classgmp_lib
Represents all of the functions of the GNU MP library.
Public classgmp_randstate_t
Represents the state of a random number generator.
Public classmp_base
Provides common functionality to mpz_t, mpf_t, and gmp_randstate_t.
Public classmp_ptr
Represents a pointer to an array of mp_limb_t values in unmanaged memory,
Public classmpf_t
Represents a multiple precision floating-point number.
Public classmpq_t
Represents a multiple precision rational number.
Public classmpz_t
Represents a multiple precision integer.
Public classptrT
Represents a pointer to a value of type T.
Public classva_list
Represent a variable argument list.
Structures
  StructureDescription
Public structurechar_ptr
Represents a pointer to a string in unmanaged memory.
Public structureFILE
Represents a file stream.
Public structuremp_bitcnt_t
Represents a count of bits.
Public structuremp_exp_t
Represents the exponent of a floating-point number.
Public structuremp_limb_t
Represents a part of a multiple precision number.
Public structuremp_size_t
Represents a count of limbs.
Public structuresize_t
Represents a count of characters or bytes.
Public structurevoid_ptr
Represents a pointer to a block of unmanaged memory.
Delegates
  DelegateDescription
Public delegateallocate_function
Return a pointer to newly allocated space with at least alloc_size bytes.
Public delegatefree_function
De-allocate the space pointed to by ptr.
Public delegatereallocate_function
Resize a previously allocated block ptr of old_size bytes to be new_size bytes.