MPSolve 3.2.1
Loading...
Searching...
No Matches
jacobi-aberth.h File Reference

Implementation of the iterations using Jacobi-style updates. More...

#include <mps/mps.h>

Go to the source code of this file.

Functions

MPS_BEGIN_DECLS int mps_faberth_packet (mps_context *ctx, mps_polynomial *p, mps_boolean just_regenerated)
 Perform a packet of Aberth iterations on the approximation to the roots of p. More...
 
int mps_daberth_packet (mps_context *ctx, mps_polynomial *p, mps_boolean just_regenerated)
 Perform a packet of Aberth iterations on the approximation to the roots of p. More...
 
int mps_maberth_packet (mps_context *ctx, mps_polynomial *p, mps_boolean just_regenerated)
 Perform a packet of Aberth iterations on the approximation to the roots of p. More...
 

Detailed Description

Implementation of the iterations using Jacobi-style updates.

Function Documentation

◆ mps_daberth_packet()

int mps_daberth_packet ( mps_context ctx,
mps_polynomial p,
mps_boolean  just_regenerated 
)

Perform a packet of Aberth iterations on the approximation to the roots of p.

Parameters
ctxCurrent MPSolve context.
pThe polynomial whose roots should be approximated.
justregenrated true if this packet is the first following a regeneration.

◆ mps_faberth_packet()

MPS_BEGIN_DECLS int mps_faberth_packet ( mps_context ctx,
mps_polynomial p,
mps_boolean  just_regenerated 
)

Perform a packet of Aberth iterations on the approximation to the roots of p.

Parameters
ctxCurrent MPSolve context.
pThe polynomial whose roots should be approximated.
justregenrated true if this packet is the first following a regeneration.
Returns
The number of approximated roots.

◆ mps_maberth_packet()

int mps_maberth_packet ( mps_context ctx,
mps_polynomial p,
mps_boolean  just_regenerated 
)

Perform a packet of Aberth iterations on the approximation to the roots of p.

Parameters
ctxCurrent MPSolve context.
pThe polynomial whose roots should be approximated.
justregenrated true if this packet is the first following a regeneration.