MPSolve 3.2.1
|
Generic parsers for common polynomial types. More...
Go to the source code of this file.
Functions | |
MPS_BEGIN_DECLS mps_polynomial * | mps_parse_stream (mps_context *s, FILE *input_stream) |
mps_polynomial * | mps_parse_file (mps_context *s, const char *path) |
mps_polynomial * | mps_parse_string (mps_context *s, const char *c_string) |
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} + ... + a_0. More... | |
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} + ... + a_0. More... | |
Generic parsers for common polynomial types.
mps_polynomial * mps_parse_inline_poly | ( | mps_context * | ctx, |
FILE * | handle | ||
) |
Parse a polynomial described the "usual" way, i.e., written as a_k x^k + a_{k-1} x^{k-1} + ... + a_0.
ctx | The current mps_context. |
handle | A FILE* handle from which the polynomial should be read. |
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} + ... + a_0.
ctx | The current mps_context. |
handle | A string from which the polynomial should be read. |