musrfit  1.9.2
PFunction.h File Reference
#include <vector>
#include <boost/version.hpp>
#include <boost/spirit/tree/ast.hpp>
#include <TString.h>
#include "PMusr.h"
#include "PFunctionGrammar.h"
Include dependency graph for PFunction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  func_tree_node
 
class  PFunction
 

Macros

#define OP_ADD   0
 
#define OP_SUB   1
 
#define OP_MUL   2
 
#define OP_DIV   3
 
#define FUN_COS   0
 
#define FUN_SIN   1
 
#define FUN_TAN   2
 
#define FUN_COSH   3
 
#define FUN_SINH   4
 
#define FUN_TANH   5
 
#define FUN_ACOS   6
 
#define FUN_ASIN   7
 
#define FUN_ATAN   8
 
#define FUN_ACOSH   9
 
#define FUN_ASINH   10
 
#define FUN_ATANH   11
 
#define FUN_LOG   12
 
#define FUN_LN   13
 
#define FUN_EXP   14
 
#define FUN_SQRT   15
 
#define FUN_POW   16
 

Typedefs

typedef struct func_tree_node PFuncTreeNode
 

Macro Definition Documentation

◆ FUN_ACOS

#define FUN_ACOS   6

Definition at line 62 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_ACOSH

#define FUN_ACOSH   9

Definition at line 65 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_ASIN

#define FUN_ASIN   7

Definition at line 63 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_ASINH

#define FUN_ASINH   10

Definition at line 66 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_ATAN

#define FUN_ATAN   8

Definition at line 64 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_ATANH

#define FUN_ATANH   11

Definition at line 67 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_COS

#define FUN_COS   0

Definition at line 56 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_COSH

#define FUN_COSH   3

Definition at line 59 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_EXP

#define FUN_EXP   14

Definition at line 70 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_LN

#define FUN_LN   13

Definition at line 69 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_LOG

#define FUN_LOG   12

Definition at line 68 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_POW

#define FUN_POW   16

Definition at line 72 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_SIN

#define FUN_SIN   1

Definition at line 57 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_SINH

#define FUN_SINH   4

Definition at line 60 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_SQRT

#define FUN_SQRT   15

Definition at line 71 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_TAN

#define FUN_TAN   2

Definition at line 58 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ FUN_TANH

#define FUN_TANH   5

Definition at line 61 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ OP_ADD

#define OP_ADD   0

Definition at line 51 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ OP_DIV

#define OP_DIV   3

Definition at line 54 of file PFunction.h.

Referenced by PFunction::FillFuncEvalTree().

◆ OP_MUL

#define OP_MUL   2

Definition at line 53 of file PFunction.h.

Referenced by PFunction::EvalNode(), and PFunction::FillFuncEvalTree().

◆ OP_SUB

#define OP_SUB   1

Definition at line 52 of file PFunction.h.

Referenced by PFunction::FillFuncEvalTree().

Typedef Documentation

◆ PFuncTreeNode

typedef struct func_tree_node PFuncTreeNode

Structure needed to evaluate a function tree (see FUNCTIONS block of an msr-file).