GiNaC  1.6.2
Classes | Namespaces | Defines | Typedefs | Functions
function.h File Reference

Interface to class of symbolic functions. More...

#include "exprseq.h"
#include <algorithm>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  GiNaC::function_options
class  GiNaC::do_taylor
 Exception class thrown by classes which provide their own series expansion to signal that ordinary Taylor expansion is safe. More...
class  GiNaC::function
 The class function is used to implement builtin functions like sin, cos... More...

Namespaces

namespace  GiNaC
 

CRC32 hash function.


Defines

#define DECLARE_FUNCTION_1P(NAME)
#define DECLARE_FUNCTION_2P(NAME)
#define DECLARE_FUNCTION_3P(NAME)
#define DECLARE_FUNCTION_4P(NAME)
#define DECLARE_FUNCTION_5P(NAME)
#define DECLARE_FUNCTION_6P(NAME)
#define DECLARE_FUNCTION_7P(NAME)
#define DECLARE_FUNCTION_8P(NAME)
#define DECLARE_FUNCTION_9P(NAME)
#define DECLARE_FUNCTION_10P(NAME)
#define DECLARE_FUNCTION_11P(NAME)
#define DECLARE_FUNCTION_12P(NAME)
#define DECLARE_FUNCTION_13P(NAME)
#define DECLARE_FUNCTION_14P(NAME)
#define REGISTER_FUNCTION(NAME, OPT)
#define is_ex_the_function(OBJ, FUNCNAME)   (GiNaC::is_the_function<FUNCNAME##_SERIAL>(OBJ))

Typedefs

typedef ex(* GiNaC::eval_funcp )()
typedef ex(* GiNaC::evalf_funcp )()
typedef ex(* GiNaC::conjugate_funcp )()
typedef ex(* GiNaC::real_part_funcp )()
typedef ex(* GiNaC::imag_part_funcp )()
typedef ex(* GiNaC::derivative_funcp )()
typedef ex(* GiNaC::power_funcp )()
typedef ex(* GiNaC::series_funcp )()
typedef void(* GiNaC::print_funcp )()
typedef ex(* GiNaC::eval_funcp_1 )(const ex &)
typedef ex(* GiNaC::eval_funcp_2 )(const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_3 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_4 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::eval_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_1 )(const ex &)
typedef ex(* GiNaC::evalf_funcp_2 )(const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_3 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_4 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::evalf_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_1 )(const ex &)
typedef ex(* GiNaC::conjugate_funcp_2 )(const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_3 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_4 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::conjugate_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_1 )(const ex &)
typedef ex(* GiNaC::real_part_funcp_2 )(const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_3 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_4 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::real_part_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_1 )(const ex &)
typedef ex(* GiNaC::imag_part_funcp_2 )(const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_3 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_4 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::imag_part_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::derivative_funcp_1 )(const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_2 )(const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_3 )(const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_4 )(const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::derivative_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, unsigned)
typedef ex(* GiNaC::power_funcp_1 )(const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_2 )(const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_3 )(const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_4 )(const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::power_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &)
typedef ex(* GiNaC::series_funcp_1 )(const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_2 )(const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_3 )(const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_4 )(const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef ex(* GiNaC::series_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const relational &, int, unsigned)
typedef void(* GiNaC::print_funcp_1 )(const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_2 )(const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_3 )(const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_4 )(const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_5 )(const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_6 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_7 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_8 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_9 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_10 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_11 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_12 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_13 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef void(* GiNaC::print_funcp_14 )(const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const ex &, const print_context &)
typedef ex(* GiNaC::eval_funcp_exvector )(const exvector &)
typedef ex(* GiNaC::evalf_funcp_exvector )(const exvector &)
typedef ex(* GiNaC::conjugate_funcp_exvector )(const exvector &)
typedef ex(* GiNaC::real_part_funcp_exvector )(const exvector &)
typedef ex(* GiNaC::imag_part_funcp_exvector )(const exvector &)
typedef ex(* GiNaC::derivative_funcp_exvector )(const exvector &, unsigned)
typedef ex(* GiNaC::power_funcp_exvector )(const exvector &, const ex &)
typedef ex(* GiNaC::series_funcp_exvector )(const exvector &, const relational &, int, unsigned)
typedef void(* GiNaC::print_funcp_exvector )(const exvector &, const print_context &)

Functions

 GiNaC::GINAC_DECLARE_UNARCHIVER (function)
template<typename T >
bool GiNaC::is_the_function (const ex &x)

Detailed Description

Interface to class of symbolic functions.

Definition in file function.h.


Define Documentation

#define DECLARE_FUNCTION_1P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 1; \
template<typename T1> const GiNaC::function NAME(const T1 & p1) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1)); \
}

Definition at line 38 of file function.h.

#define DECLARE_FUNCTION_2P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 2; \
template<typename T1, typename T2> const GiNaC::function NAME(const T1 & p1, const T2 & p2) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2)); \
}

Definition at line 45 of file function.h.

#define DECLARE_FUNCTION_3P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 3; \
template<typename T1, typename T2, typename T3> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3)); \
}

Definition at line 52 of file function.h.

#define DECLARE_FUNCTION_4P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 4; \
template<typename T1, typename T2, typename T3, typename T4> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4)); \
}

Definition at line 59 of file function.h.

#define DECLARE_FUNCTION_5P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 5; \
template<typename T1, typename T2, typename T3, typename T4, typename T5> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5)); \
}

Definition at line 66 of file function.h.

#define DECLARE_FUNCTION_6P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 6; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6)); \
}

Definition at line 73 of file function.h.

#define DECLARE_FUNCTION_7P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 7; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7)); \
}

Definition at line 80 of file function.h.

#define DECLARE_FUNCTION_8P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 8; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8)); \
}

Definition at line 87 of file function.h.

#define DECLARE_FUNCTION_9P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 9; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9)); \
}

Definition at line 94 of file function.h.

#define DECLARE_FUNCTION_10P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 10; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9, const T10 & p10) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9), GiNaC::ex(p10)); \
}

Definition at line 101 of file function.h.

#define DECLARE_FUNCTION_11P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 11; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9, const T10 & p10, const T11 & p11) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9), GiNaC::ex(p10), GiNaC::ex(p11)); \
}

Definition at line 108 of file function.h.

#define DECLARE_FUNCTION_12P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 12; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9, const T10 & p10, const T11 & p11, const T12 & p12) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9), GiNaC::ex(p10), GiNaC::ex(p11), GiNaC::ex(p12)); \
}

Definition at line 115 of file function.h.

#define DECLARE_FUNCTION_13P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 13; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9, const T10 & p10, const T11 & p11, const T12 & p12, const T13 & p13) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9), GiNaC::ex(p10), GiNaC::ex(p11), GiNaC::ex(p12), GiNaC::ex(p13)); \
}

Definition at line 122 of file function.h.

#define DECLARE_FUNCTION_14P (   NAME)
Value:
class NAME##_SERIAL { public: static unsigned serial; }; \
const unsigned NAME##_NPARAMS = 14; \
template<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14> const GiNaC::function NAME(const T1 & p1, const T2 & p2, const T3 & p3, const T4 & p4, const T5 & p5, const T6 & p6, const T7 & p7, const T8 & p8, const T9 & p9, const T10 & p10, const T11 & p11, const T12 & p12, const T13 & p13, const T14 & p14) { \
    return GiNaC::function(NAME##_SERIAL::serial, GiNaC::ex(p1), GiNaC::ex(p2), GiNaC::ex(p3), GiNaC::ex(p4), GiNaC::ex(p5), GiNaC::ex(p6), GiNaC::ex(p7), GiNaC::ex(p8), GiNaC::ex(p9), GiNaC::ex(p10), GiNaC::ex(p11), GiNaC::ex(p12), GiNaC::ex(p13), GiNaC::ex(p14)); \
}

Definition at line 129 of file function.h.

#define REGISTER_FUNCTION (   NAME,
  OPT 
)
Value:
unsigned NAME##_SERIAL::serial = \
	GiNaC::function::register_new(GiNaC::function_options(#NAME, NAME##_NPARAMS).OPT);

Definition at line 139 of file function.h.

#define is_ex_the_function (   OBJ,
  FUNCNAME 
)    (GiNaC::is_the_function<FUNCNAME##_SERIAL>(OBJ))

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.