Data Structures | Namespaces | Functions

/export/development/ViennaMath/viennamath/runtime/integral.hpp File Reference

Defines concrete and symbolic interval operations at runtime. More...

#include <string>
#include <vector>
#include <math.h>
#include <iostream>
#include <sstream>
#include "viennamath/forwards.h"
#include "viennamath/exception.hpp"

Go to the source code of this file.

Data Structures

class  op_rt_integral< InterfaceType >
 A unary operation defining an integral over an interval. More...
class  op_rt_symbolic_integral< InterfaceType >
 A unary operation encoding a symbolic interval. Cannot be evaluated and is meant to be replaced by a concrete integration later on. More...

Namespaces

namespace  viennamath
 

The main ViennaMath namespace. All types and functions for the user reside here.


Functions

template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &integrand, rt_variable< InterfaceType > const &var)
 Creates an expression encoding the integral of an expression with respect to a runtime variable over a certain interval.
template<typename InterfaceType , id_type id>
rt_expr< InterfaceType > integral (rt_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &integrand, ct_variable< id > const &var)
 Creates an expression encoding the integral of an expression with respect to a compiletime variable over a certain interval.
template<typename InterfaceType , id_type id>
rt_expr< InterfaceType > integral (rt_interval< InterfaceType > const &interv, rt_binary_expr< InterfaceType > const &integrand, ct_variable< id > const &var)
 Creates an expression encoding the integral of a binary expression with respect to a compiletime variable over a certain interval.
template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a runtime expression wrapper for the integrand.
template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_binary_expr< InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a runtime binary expression for the integrand.
template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_unary_expr< InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a runtime unary expression for the integrand.
template<typename InterfaceType , typename T >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_constant< T, InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a ViennaMath runtime constant for the integrand.
template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_variable< InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a ViennaMath runtime variable for the integrand.
template<typename InterfaceType >
rt_expr< InterfaceType > integral (rt_symbolic_interval< InterfaceType > const &interv, rt_function_symbol< InterfaceType > const &integrand)
 Integral generator function taking a symbolic interval and a ViennaMath runtime function symbol for the integrand.

Detailed Description

Defines concrete and symbolic interval operations at runtime.