6#ifndef THEORETICA_FUNCTION_H
7#define THEORETICA_FUNCTION_H
10#include "../complex/complex.h"
11#include "../algebra/vec.h"
Mathematical constants and default algorithm parameters.
Main namespace of the library which contains all functions and objects.
Definition algebra.h:27
double real
A real number, defined as a floating point type.
Definition constants.h:198
std::remove_reference_t< decltype(std::declval< Structure >()[0])> vector_element_t
Extract the type of a vector (or any indexable container) from its operator[].
Definition core_traits.h:134
std::function< real(real, const vec< real > &)> stat_function
Function pointer to a probability distribution function where the first argument is the variable and ...
Definition function.h:30
std::function< real(real)> real_function
Function pointer to a real function of real variable.
Definition function.h:20
std::function< complex<>(complex<>)> complex_function
Function pointer to a complex function of complex variable.
Definition function.h:24