Public Member Functions | List of all members
ecl::Division< CubicPolynomial > Class 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

Synthetic division between cubic and a factor.

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

Definition at line 1150 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ Division()

Definition at line 1152 of file polynomial.hpp.

◆ ~Division()

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

Definition at line 1153 of file polynomial.hpp.

Member Function Documentation

◆ operator()()

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

Synthetic division by a factor.

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

Definition at line 48 of file polynomial.cpp.

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

Author(s): Daniel Stonier
autogenerated on Sun Aug 2 2020 03:12:16