Namespaces | Functions
CubicSolver.h File Reference
#include "SurgSim/Math/Polynomial.h"
#include "SurgSim/Math/CubicSolver-inl.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...