MPSolve 3.2.1
Loading...
Searching...
No Matches
formal-monomial.h File Reference

Implementation in C++ of arithmetic between formal polynomials with rational coefficients. More...

#include <iostream>
#include <gmpxx.h>

Go to the source code of this file.

Classes

class  mps::formal::Monomial
 

Typedefs

typedef struct mps_formal_monomial mps_formal_monomial
 

Functions

mps_formal_monomial * mps_formal_monomial_new_with_string (const char *, long)
 
mps_formal_monomial * mps_formal_monomial_new_with_strings (const char *real, const char *imag, long degree)
 
void mps_formal_monomial_free (mps_formal_monomial *)
 
void mps_formal_monomial_print (mps_formal_monomial *)
 
mps_formal_monomial * mps_formal_monomial_neg (mps_formal_monomial *m)
 
mps_formal_monomial * mps_formal_monomial_mul_eq (mps_formal_monomial *m, mps_formal_monomial *other)
 
mps_formal_monomial * mps_formal_monomial_mul (mps_formal_monomial *m, mps_formal_monomial *other)
 
const char * mps_formal_monomial_get_str (mps_formal_monomial *m)
 
int mps_formal_monomial_degree (mps_formal_monomial *m)
 

Detailed Description

Implementation in C++ of arithmetic between formal polynomials with rational coefficients.

This implementation is used while parsing polynomials with the lexer to construct a polynomial incrementally.