libigl v2.5.0
Loading...
Searching...
No Matches
roots.h
Go to the documentation of this file.
1#ifndef IGL_CYCODEBASE_ROOTS_H
2#define IGL_CYCODEBASE_ROOTS_H
3
4#include "../igl_inline.h"
5#include <Eigen/Core>
6
7namespace igl {
8 namespace cycodebase {
18 template <
19 typename Derivedcoef,
20 typename DerivedR>
22 const Eigen::MatrixBase<Derivedcoef>& coef,
23 const typename Derivedcoef::Scalar xmin,
24 const typename Derivedcoef::Scalar xmax,
25 Eigen::PlainObjectBase<DerivedR>& R);
26 }
27}
28
29#ifndef IGL_STATIC_LIBRARY
30 #include "roots.cpp"
31#endif
32
33#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition box_cubic.h:8
int 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,...
Definition AABB.h:18