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

X axis intercepts for linear functions. More...

#include <polynomial.hpp>

Public Member Functions

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

Detailed Description

template<>
class ecl::Roots< LinearFunction >

X axis intercepts for linear functions.

See also
Roots, Linear Function, Math::Polynomials.

Definition at line 1167 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ Roots()

Definition at line 1169 of file polynomial.hpp.

◆ ~Roots()

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

Definition at line 1170 of file polynomial.hpp.

Member Function Documentation

◆ operator()()

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

Returns the root of the specified polynomial.

Parameters
p: linear function.
Returns
vector<double> : list of x axis intercepts.

Definition at line 59 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