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

Synthetic division between cubic and a factor. More...

#include <polynomial.hpp>

Public Member Functions

 Division ()
 
ECL_PUBLIC QuadraticPolynomial operator() (const CubicPolynomial &p, const double &factor, double &remainder)
 Synthetic division by a factor. More...
 
virtual ~Division ()
 

Detailed Description

template<>
class ecl::Division< CubicPolynomial >

Synthetic division between cubic and a factor.

Does long division of the polynomial by (x-factor)

Definition at line 1144 of file polynomial.hpp.

Constructor & Destructor Documentation

Definition at line 1146 of file polynomial.hpp.

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

Definition at line 1147 of file polynomial.hpp.

Member Function Documentation

QuadraticPolynomial ecl::Division< CubicPolynomial >::operator() ( const CubicPolynomial p,
const double &  factor,
double &  remainder 
)

Synthetic division by a factor.

Parameters
p: the polynomial
factor: of the form (x-factor)
remainder: remainder left after the division
Returns
QuadraticPolynomial : result of the division (along with remainder)

Definition at line 44 of file polynomial.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:38