File: data.h

package info (click to toggle)
mpsolve 3.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,100 kB
  • sloc: ansic: 25,748; sh: 4,925; cpp: 3,155; makefile: 914; python: 407; yacc: 158; lex: 85; xml: 41
file content (41 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * This file is part of MPSolve 3.2.2
 *
 * Copyright (C) 2001-2020, Dipartimento di Matematica "L. Tonelli", Pisa.
 * License: http://www.gnu.org/licenses/gpl.html GPL version 3 or higher
 *
 * Authors:
 *   Leonardo Robol <leonardo.robol@unipi.it>
 */

/**
 * @file
 *
 * @brief Implementation of the routines that handle the management of data inside
 * mps_context objects.
 */

#ifndef MPS_DATA_H_
#define MPS_DATA_H_

#include <mps/mps.h>

MPS_BEGIN_DECLS

/* functions in data.c */
void mps_mp_set_prec (mps_context * s, long int prec);
void mps_allocate_data (mps_context * s);
void mps_prepare_data (mps_context * s, long int prec);
void mps_restore_data (mps_context * s);
void mps_free_data (mps_context * s);
long int mps_raise_data (mps_context * s, long int prec);
void mps_raise_data_raw (mps_context * s, long int prec);

/* functions in main.c */
void mps_setup (mps_context * s);
void mps_check_data (mps_context * s, char *which_case);
void mps_compute_sep (mps_context * s);

MPS_END_DECLS

#endif /* endif _MPS_DATA_H */