AlgebraicStructureTraits::RootOf

Definition

AdaptableFunctor computes a real root of a square-free univariate polynomial.

Refines

AdaptableFunctor

Types

AlgebraicStructureTraits::RootOf::result_type
Is AlgebraicStructureTraits::Type.

Operations

template<class InputIterator>
result_type root_of ( int k , InputIterator begin , InputIterator end )
returns the k-th real root of the univariate polynomial, which is defined by the iterator range, where begin refers to the constant term.
Precondition: The polynomial is square-free.
Precondition: The value type of the InputIterator is AlgebraicStructureTraits::Type

See Also

FieldWithRootOf
AlgebraicStructureTraits