MPSolve  3.2.1
parser.h
Go to the documentation of this file.
1 /*
2  * This file is part of MPSolve 3.2.1
3  *
4  * Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa.
5  * License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher
6  *
7  * Authors:
8  * Leonardo Robol <leonardo.robol@unipi.it>
9  */
10 
16 #ifndef MPS_PARSER_H_
17 #define MPS_PARSER_H_
18 
19 MPS_BEGIN_DECLS
20 
21 mps_polynomial * mps_parse_stream (mps_context * s, FILE * input_stream);
22 mps_polynomial * mps_parse_file (mps_context * s, const char * path);
23 mps_polynomial * mps_parse_string (mps_context * s, const char * c_string);
24 
25 mps_polynomial * mps_parse_inline_poly (mps_context * ctx, FILE * stream);
27 
28 
29 MPS_END_DECLS
30 
31 #endif /* MPS_PARSER_H_ */
32 
mps_polynomial * mps_parse_inline_poly_from_string(mps_context *ctx, const char *input)
Parse a polynomial described the "usual" way, i.e., written as a_k x^k + a_{k-1} x^{k-1} + ....
Definition: inline-poly-parser.c:253
mps_polynomial * mps_parse_inline_poly(mps_context *ctx, FILE *stream)
Parse a polynomial described the "usual" way, i.e., written as a_k x^k + a_{k-1} x^{k-1} + ....
Definition: inline-poly-parser.c:236
this struct holds the state of the mps computation
Definition: context.h:55
Struct that represents an abstract polynomial. All the other real polynomial implementations (such as...
Definition: polynomial.h:111