Assignment and basic manipulation

Functions

static __inline__ void fmpz_poly_q_set (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op)
static __inline__ void fmpz_poly_q_set_si (fmpz_poly_q_ptr rop, long op)
static __inline__ void fmpz_poly_q_swap (fmpz_poly_q_ptr op1, fmpz_poly_q_ptr op2)
static __inline__ void fmpz_poly_q_zero (fmpz_poly_q_ptr rop)
static __inline__ void fmpz_poly_q_one (fmpz_poly_q_ptr rop)
static __inline__ void fmpz_poly_q_neg (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op)
static __inline__ void fmpz_poly_q_inv (fmpz_poly_q_ptr rop, const fmpz_poly_q_ptr op)

Function Documentation

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

Sets the element rop to the multiplicative inverse of op.

Assumes that the element op is non-zero.

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

Sets the element rop to the additive inverse of op.

static __inline__ void fmpz_poly_q_one ( fmpz_poly_q_ptr  rop  )  [static]

Sets the element rop to one.

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

Sets the element rop to the same value as the element op.

static __inline__ void fmpz_poly_q_set_si ( fmpz_poly_q_ptr  rop,
long  op 
) [static]

Sets the element rop to the value given by the int op.

static __inline__ void fmpz_poly_q_swap ( fmpz_poly_q_ptr  op1,
fmpz_poly_q_ptr  op2 
) [static]

Swaps the elements op1 and op2.

This is done efficiently by swapping pointers.

static __inline__ void fmpz_poly_q_zero ( fmpz_poly_q_ptr  rop  )  [static]

Sets the element rop to zero.

Generated on Wed Dec 8 17:00:29 2010 for FMPZ_POLY_Q by  doxygen 1.6.3