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

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

#include <polynomial.hpp>

Public Member Functions

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

Static Public Member Functions

static QuadraticPolynomial Division (const CubicPolynomial &p, const double &factor, double &remainder)
 Division by a factor (synthetic division algorithm). More...
 
static double Maximum (const double &x_begin, const double &x_end, const CubicPolynomial &function)
 Redirections the maximum operator for cubics. More...
 
static double Minimum (const double &x_begin, const double &x_end, const CubicPolynomial &function)
 Redirections the minimum operator for cubics. More...
 
static Array< double > Roots (const CubicPolynomial &p)
 Real roots of the cubic. More...
 

Detailed Description

Specialises the function math loader for cubics.

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

See also
FunctionMath<LinearFunction>

Definition at line 1319 of file polynomial.hpp.

Constructor & Destructor Documentation

◆ FunctionMath()

Definition at line 1321 of file polynomial.hpp.

◆ ~FunctionMath()

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

Default constructor.

Definition at line 1322 of file polynomial.hpp.

Member Function Documentation

◆ Division()

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

Division by a factor (synthetic division algorithm).

Definition at line 1334 of file polynomial.hpp.

◆ Maximum()

static double ecl::FunctionMath< CubicPolynomial >::Maximum ( const double &  x_begin,
const double &  x_end,
const CubicPolynomial function 
)
inlinestatic

Redirections the maximum operator for cubics.

See also
Intersection<CubicPolynomial>

Definition at line 1351 of file polynomial.hpp.

◆ Minimum()

static double ecl::FunctionMath< CubicPolynomial >::Minimum ( const double &  x_begin,
const double &  x_end,
const CubicPolynomial function 
)
inlinestatic

Redirections the minimum operator for cubics.

See also
Minimum<CubicPolynomial>

Definition at line 1343 of file polynomial.hpp.

◆ Roots()

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

Real roots of the cubic.

See also
Roots<CubicPolynomial>

Definition at line 1328 of file polynomial.hpp.


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


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