Accessing numerator and denominator

Defines

#define fmpz_poly_q_numref(op)   ((op)->num)
 Returns a reference to the numerator of op.
#define fmpz_poly_q_denref(op)   ((op)->den)
 Returns a reference to the denominator of op.

Functions

static __inline__ void fmpz_poly_q_get_num (fmpz_poly_p rop, const fmpz_poly_q_ptr op)
 Sets rop to the numerator of op.
static __inline__ void fmpz_poly_q_get_den (fmpz_poly_p rop, const fmpz_poly_q_ptr op)
 Sets rop to the denominator of op.
static __inline__ void fmpz_poly_q_set_num (fmpz_poly_q_ptr rop, const fmpz_poly_p op)
 Sets the numerator of rop to the polynomial op.
static __inline__ void fmpz_poly_q_set_den (fmpz_poly_q_ptr rop, const fmpz_poly_p op)
 Sets the denominator of rop to the polynomial op.

Define Documentation

#define fmpz_poly_q_denref ( op   )     ((op)->den)

Returns a reference to the denominator of op.

The fmpz_poly functions can be used on the result of this macro.

#define fmpz_poly_q_numref ( op   )     ((op)->num)

Returns a reference to the numerator of op.

The fmpz_poly functions can be used on the result of this macro.


Function Documentation

static __inline__ void fmpz_poly_q_get_den ( fmpz_poly_p  rop,
const fmpz_poly_q_ptr  op 
) [static]

Sets rop to the denominator of op.

Parameters:
[out] rop Integer polynomial
[in] op Rational function
static __inline__ void fmpz_poly_q_get_num ( fmpz_poly_p  rop,
const fmpz_poly_q_ptr  op 
) [static]

Sets rop to the numerator of op.

Parameters:
[out] rop Integer polynomial
[in] op Rational function
static __inline__ void fmpz_poly_q_set_den ( fmpz_poly_q_ptr  rop,
const fmpz_poly_p  op 
) [static]

Sets the denominator of rop to the polynomial op.

Parameters:
[out] rop Integer polynomial
[in] op Rational function
static __inline__ void fmpz_poly_q_set_num ( fmpz_poly_q_ptr  rop,
const fmpz_poly_p  op 
) [static]

Sets the numerator of rop to the polynomial op.

Parameters:
[out] rop Integer polynomial
[in] op Rational function
Generated on Wed Dec 8 17:00:29 2010 for FMPZ_POLY_Q by  doxygen 1.6.3