Tatooine
Classes | Namespaces | Functions | Variables
polynomial.h File Reference

Go to the source code of this file.

Classes

struct  tatooine::polynomial< Real, Degree >
 
struct  tatooine::is_polynomial_impl< T >
 
struct  tatooine::is_polynomial_impl< polynomial< Real, Degree > >
 

Namespaces

namespace  tatooine
 

Functions

template<typename... Coeffs>
 tatooine::polynomial (Coeffs... coeffs) -> polynomial< common_type< Coeffs... >, sizeof...(Coeffs) - 1 >
 
template<typename Real , std::size_t N>
 tatooine::polynomial (tensor< Real, N > const &) -> polynomial< Real, N - 1 >
 
template<typename Real , std::size_t Degree>
constexpr auto tatooine::diff (polynomial< Real, Degree > const &f)
 
template<typename Real >
auto tatooine::solve (polynomial< Real, 1 > const &p) -> std::vector< Real >
 solve a + b*x More...
 
template<typename Real >
auto tatooine::solve (polynomial< Real, 2 > const &p) -> std::vector< Real >
 solve a + b*x + c*x^2 More...
 
template<typename Real >
auto tatooine::solve (polynomial< Real, 3 > const &f)
 
template<typename Real >
auto tatooine::solve (polynomial< Real, 4 > const &f) -> std::vector< Real >
 
template<typename Real , std::size_t Degree>
auto & tatooine::operator<< (std::ostream &out, polynomial< Real, Degree > const &f)
 

Variables

template<typename T >
static constexpr bool tatooine::is_polynomial = is_polynomial_impl<T>::value