Public Member Functions | List of all members
ecl::Roots< CubicPolynomial > Class Template Reference

X axis intercepts for cubic polynomials. More...

#include <polynomial.hpp>

Public Member Functions

ECL_PUBLIC Array< double > operator() (const CubicPolynomial &p)
 Returns the root of the specified polynomial. More...
 
 Roots ()
 
virtual ~Roots ()
 

Detailed Description

template<>
class ecl::Roots< CubicPolynomial >

X axis intercepts for cubic polynomials.

See also
Roots, CubicPolynomial, Math::Polynomials.

Definition at line 1204 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ Roots()

Definition at line 1206 of file polynomial.hpp.

◆ ~Roots()

virtual ecl::Roots< CubicPolynomial >::~Roots ( )
inlinevirtual

Definition at line 1207 of file polynomial.hpp.

Member Function Documentation

◆ operator()()

Array< double > ecl::Roots< CubicPolynomial >::operator() ( const CubicPolynomial p)

Returns the root of the specified polynomial.

Parameters
p: cubic polynomial.
Returns
vector<double> : list of x axis intercepts.

Definition at line 93 of file polynomial.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:49