MPSolve 3.2.1
Loading...
Searching...
No Matches
touch.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_TOUCH_H_
17#define MPS_TOUCH_H_
18
19MPS_BEGIN_DECLS
20
21/* functions in touch.c */
22mps_boolean mps_ftouchnwt (mps_context * s, double * frad, int n, int i, int j);
23mps_boolean mps_dtouchnwt (mps_context * s, rdpe_t * drad, int n, int i, int j);
24mps_boolean mps_mtouchnwt (mps_context * s, rdpe_t * drad, int n, int i, int j);
25mps_boolean mps_ftouchreal (mps_context * s, int n, int i);
26mps_boolean mps_dtouchreal (mps_context * s, int n, int i);
27mps_boolean mps_mtouchreal (mps_context * s, int n, int i);
28mps_boolean mps_ftouchimag (mps_context * s, int n, int i);
29mps_boolean mps_dtouchimag (mps_context * s, int n, int i);
30mps_boolean mps_mtouchimag (mps_context * s, int n, int i);
31mps_boolean mps_ftouchunit (mps_context * s, int n, int i);
32mps_boolean mps_dtouchunit (mps_context * s, int n, int i);
33mps_boolean mps_mtouchunit (mps_context * s, int n, int i);
34
35/* functions in validation.c */
37
38MPS_END_DECLS
39
40#endif /* MPS_TOUCH_H_ */
41
this struct holds the state of the mps computation
Definition: context.h:55
MPS_BEGIN_DECLS mps_boolean mps_ftouchnwt(mps_context *s, double *frad, int n, int i, int j)
Check if the i-th and the j-th discs are newton-isolated.
Definition: touch.c:39
mps_boolean mps_dtouchreal(mps_context *s, int n, int i)
Return true if the disk intersects the real axis, false otherwise (DPE version).
Definition: touch.c:158
mps_boolean mps_ftouchunit(mps_context *s, int n, int i)
Return true if the disk intersects the unitary circle, false otherwise (floating point version).
Definition: touch.c:246
void mps_validate_inclusions(mps_context *ctx)
This function can be called to validate the inclusion radii and cluster analysis for a limited precis...
Definition: validation.c:41
mps_boolean mps_ftouchimag(mps_context *s, int n, int i)
Return true if the disk intersects the imaginary axis, false otherwise (floating point version).
Definition: touch.c:194
mps_boolean mps_mtouchimag(mps_context *s, int n, int i)
Return true if the disk intersects the imaginary axis, false otherwise (MP version).
Definition: touch.c:227
mps_boolean mps_dtouchunit(mps_context *s, int n, int i)
Return true if the disk intersects the unitary circle, false otherwise (DPE version).
Definition: touch.c:266
mps_boolean mps_mtouchreal(mps_context *s, int n, int i)
Return true if the disk intersects the real axis, false otherwise (MP version).
Definition: touch.c:175
mps_boolean mps_dtouchnwt(mps_context *s, rdpe_t *drad, int n, int i, int j)
Check if the i-th and the j-th discs are newton-isolated.
Definition: touch.c:75
mps_boolean mps_mtouchnwt(mps_context *s, rdpe_t *drad, int n, int i, int j)
Check if the i-th and the j-th discs are newton-isolated.
Definition: touch.c:110
mps_boolean mps_dtouchimag(mps_context *s, int n, int i)
Return true if the disk intersects the imaginary axis, false otherwise (DPE version).
Definition: touch.c:210
mps_boolean mps_ftouchreal(mps_context *s, int n, int i)
Return true if the disk intersects the real axis, false otherwise (floating point version).
Definition: touch.c:142
mps_boolean mps_mtouchunit(mps_context *s, int n, int i)
Return true if the disk intersects the unitary circle, false otherwise (MP version).
Definition: touch.c:287