Simbody  3.7
SimTK::PolynomialRootFinder::ZeroLeadingCoefficient Class Reference

This is an exception which is thrown by all of the PolynomialRootFinder::findRoots() methods. More...

+ Inheritance diagram for SimTK::PolynomialRootFinder::ZeroLeadingCoefficient:

Public Member Functions

 ZeroLeadingCoefficient (const char *fn, int ln)
 
virtual ~ZeroLeadingCoefficient () throw ()
 
- Public Member Functions inherited from SimTK::Exception::Base
 Base (const char *fn="<UNKNOWN>", int ln=0)
 
virtual ~Base () throw ()
 
const std::string & getMessage () const
 
const std::string & getMessageText () const
 
const char * what () const override throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from SimTK::Exception::Base
void setMessage (const std::string &msgin)
 

Detailed Description

This is an exception which is thrown by all of the PolynomialRootFinder::findRoots() methods.

It indicates that the leading polynomial coefficient is zero. This means that the polynomial is not really of the stated degree, and does not have the expected number of roots.

Constructor & Destructor Documentation

◆ ZeroLeadingCoefficient()

SimTK::PolynomialRootFinder::ZeroLeadingCoefficient::ZeroLeadingCoefficient ( const char *  fn,
int  ln 
)
inline

◆ ~ZeroLeadingCoefficient()

virtual SimTK::PolynomialRootFinder::ZeroLeadingCoefficient::~ZeroLeadingCoefficient ( )
throw (
)
inlinevirtual

The documentation for this class was generated from the following file: