Theoretica
A C++ numerical and automatic mathematical library
function.h File Reference

Mathematical function pointers. More...

#include "./constants.h"
#include "../complex/complex.h"
#include "../algebra/vec.h"
#include <functional>

Go to the source code of this file.

Namespaces

 theoretica
 Main namespace of the library which contains all functions and objects.
 

Typedefs

using theoretica::real_function = std::function< real(real)>
 Function pointer to a real function of real variable.
 
using theoretica::complex_function = std::function< complex<>(complex<>)>
 Function pointer to a complex function of complex variable.
 
using theoretica::stat_function = std::function< real(real, const vec< real > &)>
 Function pointer to a probability distribution function where the first argument is the variable and the second argument is a vector of the parameters of the distribution.
 

Detailed Description

Mathematical function pointers.