Namespaces | Functions
CubicSolver-inl.h File Reference
#include <boost/math/tools/roots.hpp>
#include <limits>
#include <vector>
#include "SurgSim/Math/IntervalArithmetic.h"
#include "SurgSim/Math/PolynomialRoots.h"

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Math
 

Functions

template<class T >
int SurgSim::Math::findRootsInRange01 (const Polynomial< T, 3 > &polynomial, std::array< T, 3 > *roots)
 Find all roots in range \([0 \ldotp\ldotp 1]\) of a cubic equation. More...