GMP Native Interface for .NET
gmp_libmpq_canonicalize Method |
Remove any factors that are common to the numerator and denominator of op, and make the denominator positive.
Namespace: Math.Gmp.Native
Assembly: Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void mpq_canonicalize( mpq_t op )
Public Shared Sub mpq_canonicalize ( op As mpq_t )
public: static void mpq_canonicalize( mpq_t^ op )
static member mpq_canonicalize : op : mpq_t -> unit
Parameters
- op
- Type: Math.Gmp.Nativempq_t
The operand rational.
Examples
See Also