carl  24.04
Computer ARithmetic Library
Derivative.h File Reference
#include "../MultivariatePolynomial.h"
#include "../UnivariatePolynomial.h"
#include <algorithm>
#include <iterator>
Include dependency graph for Derivative.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carl
 carl is the main namespace for the library.
 
 carl::detail_derivative
 

Functions

constexpr std::size_t carl::detail_derivative::multiply (std::size_t n, std::size_t k)
 Returns n * (n-1) * ... * (n-k+1) More...
 
template<typename T , EnableIf< is_number_type< T >> = dummy>
const T & carl::derivative (const T &t, Variable, std::size_t n=1)
 Computes the n'th derivative of a number, which is either the number itself (for n = 0) or zero. More...
 
std::pair< std::size_t, Monomial::Arg > carl::derivative (const Monomial::Arg &m, Variable v, std::size_t n=1)
 Computes the (partial) n'th derivative of this monomial with respect to the given variable. More...
 
template<typename C >
Term< C > carl::derivative (const Term< C > &t, Variable v, std::size_t n=1)
 Computes the n'th derivative of t with respect to v. More...
 
template<typename C , typename O , typename P >
MultivariatePolynomial< C, O, P > carl::derivative (const MultivariatePolynomial< C, O, P > &p, Variable v, std::size_t n=1)
 Computes the n'th derivative of p with respect to v. More...
 
template<typename C >
UnivariatePolynomial< C > carl::derivative (const UnivariatePolynomial< C > &p, std::size_t n=1)
 Computes the n'th derivative of p with respect to the main variable of p. More...
 
template<typename C >
UnivariatePolynomial< C > carl::derivative (const UnivariatePolynomial< C > &p, Variable v, std::size_t n=1)
 Computes the n'th derivative of p with respect to v. More...