Public Member Functions | Static Public Member Functions | List of all members
ecl::FunctionMath< QuadraticPolynomial > Class Template Reference

Specialises the function math loader for quadratics. More...

#include <polynomial.hpp>

Public Member Functions

 FunctionMath ()
 
virtual ~FunctionMath ()
 Default constructor. More...
 

Static Public Member Functions

static LinearFunction Division (const QuadraticPolynomial &p, const double &factor, double &remainder)
 Division by a factor (synthetic division algorithm). More...
 
static Array< double > Roots (const QuadraticPolynomial &p)
 Real roots of the quadratic. More...
 

Detailed Description

template<>
class ecl::FunctionMath< QuadraticPolynomial >

Specialises the function math loader for quadratics.

This lets you use the functions directly from within the class.

See also
FunctionMath<LinearFunction>

Definition at line 1284 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ FunctionMath()

Definition at line 1286 of file polynomial.hpp.

◆ ~FunctionMath()

virtual ecl::FunctionMath< QuadraticPolynomial >::~FunctionMath ( )
inlinevirtual

Default constructor.

Definition at line 1287 of file polynomial.hpp.

Member Function Documentation

◆ Division()

static LinearFunction ecl::FunctionMath< QuadraticPolynomial >::Division ( const QuadraticPolynomial p,
const double &  factor,
double &  remainder 
)
inlinestatic

Division by a factor (synthetic division algorithm).

Definition at line 1299 of file polynomial.hpp.

◆ Roots()

static Array<double> ecl::FunctionMath< QuadraticPolynomial >::Roots ( const QuadraticPolynomial p)
inlinestatic

Real roots of the quadratic.

See also
Roots<QuadraticPolynomial>

Definition at line 1293 of file polynomial.hpp.


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


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