MPSolve 3.2.1
Loading...
Searching...
No Matches
aberth.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
20#ifndef MPS_ABERTH_H_
21#define MPS_ABERTH_H_
22
23#include <mps/mps.h>
24
25void mps_faberth (mps_context * s, mps_approximation * root, cplx_t abcorr);
26void mps_daberth (mps_context * s, mps_approximation * root, cdpe_t abcorr);
27void mps_maberth (mps_context * s, mps_approximation * root, mpc_t abcorr);
28void mps_faberth_s (mps_context * s, mps_approximation * root, mps_cluster * cluster, cplx_t abcorr);
29void mps_faberth_wl (mps_context * s, int j, cplx_t abcorr, pthread_mutex_t * aberth_mutexes);
30void mps_daberth_s (mps_context * s, mps_approximation * root, mps_cluster * cluster, cdpe_t abcorr);
31void mps_daberth_wl (mps_context * s, int j, cdpe_t abcorr, pthread_mutex_t * aberth_mutexes);
32void mps_maberth_s (mps_context * s, mps_approximation * root, mps_cluster * cluster, mpc_t abcorr);
33void mps_maberth_s_wl (mps_context * s, int j, mps_cluster * cluster, mpc_t abcorr,
34 pthread_mutex_t * aberth_mutex);
35void mps_mnewtis (mps_context * s);
36
37#endif /* endif MPS_ABERTH_H_ */
void mps_faberth(mps_context *s, mps_approximation *root, cplx_t abcorr)
Compute Aberth correction for j-th root, without selective correction.
Definition: aberth.c:22
void mps_faberth_s(mps_context *s, mps_approximation *root, mps_cluster *cluster, cplx_t abcorr)
Compute Aberth correction for the j-th root, but only with other roots of the jc-th cluster.
Definition: aberth.c:120
void mps_daberth(mps_context *s, mps_approximation *root, cdpe_t abcorr)
Compute Aberth correction for j-th root, without selective correction.
Definition: aberth.c:70
void mps_daberth_s(mps_context *s, mps_approximation *root, mps_cluster *cluster, cdpe_t abcorr)
Compute Aberth correction for the j-th root, but only with other roots of the jc-th cluster.
Definition: aberth.c:143
void mps_mnewtis(mps_context *s)
Check if the clusters are Newton isolated, in a way that we can apply the shift in the gravity center...
Definition: starting.c:1903
void mps_maberth(mps_context *s, mps_approximation *root, mpc_t abcorr)
Compute Aberth correction for j-th root, without selective correction.
Definition: aberth.c:91
void mps_maberth_s(mps_context *s, mps_approximation *root, mps_cluster *cluster, mpc_t abcorr)
Compute Aberth correction for the j-th root, but only with other roots of the jc-th cluster.
Definition: aberth.c:166
Header file for libmps.
Definition: approximation.h:24
A cluster of mps_roots.
Definition: cluster.h:51
this struct holds the state of the mps computation
Definition: context.h:55