GMP Native Interface for .NET
mp_ptr Constructor (UInt16) |
Creates a new array of limbs initialized with values in unmanaged memory.
Namespace: Math.Gmp.Native
Assembly: Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)

public mp_ptr( ushort[] values )
Public Sub New ( values As UShort() )
public: mp_ptr( array<unsigned short>^ values )
new : values : uint16[] -> mp_ptr
Parameters
- values
- Type: SystemUInt16
The values of the limbs.

If there is not enough 16-bit words to fill out the most significant limb, it is padded with zeroes.
When done with the array, you must release the unmanaged memory by calling free.
