synaps/upol/bound.h File Reference


Detailed Description

Definition in file bound.h.

Go to the source code of this file.

Classes

struct  NISP
 Negative Inverse Sum bound for positive roots. More...
struct  NISN
 Negative Inverse Sum bound for negative roots. More...
struct  Cauchy
 Cauchy bound. More...
struct  abs_max< T >

Functions

template<typename POLY, typename M, typename T>
bound (const POLY &p, const M &mth, type::As< T >)
 Prototype function, Computes an upper bound for the real roots.
template<typename FT, typename POLY>
FT bound (const POLY &p, Cauchy)
 Computes the Cauchy root bound.
template<typename FT, typename POLY>
FT max_bound (const POLY &p, Cauchy)
template<typename FT, typename POLY>
FT min_bound (const POLY &p, Cauchy)
template<typename FT, typename POLY>
FT bound (const POLY &p, NISP)
 Computes the "Negative Inverse Sum" bound for the positive roots.
template<typename FT, typename POLY>
FT bound (const POLY &p, NISN)
 Computes the "Negative Inverse Sum" bound for the negative roots.


Function Documentation

template<typename FT, typename POLY>
FT bound ( const POLY &  p,
NISN   
)

Computes the "Negative Inverse Sum" bound for the negative roots.

Parameters:
p Univariate polynomials
NISN The method that we use
See also:
bound

Definition at line 179 of file bound.h.

template<typename FT, typename POLY>
FT bound ( const POLY &  p,
NISP   
)

Computes the "Negative Inverse Sum" bound for the positive roots.

Parameters:
p Univariate polynomials
NISP The method that we use
See also:
bound

Definition at line 124 of file bound.h.

template<typename FT, typename POLY>
FT bound ( const POLY &  p,
Cauchy   
)

Computes the Cauchy root bound.

Parameters:
p Univariate polynomials
Cauchy The method that we use
FT type of the result.
If the polynomial p is in the monomial basis is of the form

\[ p(x) = a_{0} + a_{1} x+ \cdots + a_{d}\, x^d, \]

the Cauchy bound on the modul of the roots of $p$ is

\[ 1 + max{|a_{0}|,...,|a_{d-1}|}/|a_{d}| \]

See also:
bound

Definition at line 85 of file bound.h.

References let::convert(), UPOLDAR::lcoeff(), abs_max< T >::max, and DEBUG::print().

template<typename POLY, typename M, typename T>
T bound ( const POLY &  p,
const M &  mth,
type::As< T >   
)

Prototype function, Computes an upper bound for the real roots.

Parameters:
p Univariate Polynomial
mth Method that we use in order to compute the root bound
AsType<T> The return type

Definition at line 39 of file bound.h.


SYNAPS DOCUMENTATION
logo