libigl v2.5.0
Loading...
Searching...
No Matches
roots.h File Reference
#include "../igl_inline.h"
#include <Eigen/Core>
#include "roots.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
namespace  igl::cycodebase

Functions

template<typename Derivedcoef, typename DerivedR>
int igl::cycodebase::roots (const Eigen::MatrixBase< Derivedcoef > &coef, const typename Derivedcoef::Scalar xmin, const typename Derivedcoef::Scalar xmax, Eigen::PlainObjectBase< DerivedR > &R)
 Compute the real roots of a polynomial with given coefficients within a given interval [xmin, xmax].