Orbiter 2022
Combinatorial Objects
orbiter::layer1_foundations::function_polish Class Reference

a set of functions in reverse polish notation More...

#include <globals.h>

Collaboration diagram for orbiter::layer1_foundations::function_polish:

Public Member Functions

 function_polish ()
 
 ~function_polish ()
 
void init (function_polish_description *Descr, int verbose_level)
 
void print_code_complete (int verbose_level)
 
void print_code (int i0, int len, int verbose_level)
 
void evaluate (double *variable_values, double *output_values, int verbose_level)
 

Public Attributes

function_polish_descriptionDescr
 
std::vector< std::string > Variables
 
std::vector< std::pair< std::string, double > > Constants
 
std::vector< int > Entry
 
std::vector< int > Len
 
std::vector< function_commandCode
 

Detailed Description

a set of functions in reverse polish notation

Definition at line 87 of file globals.h.

Constructor & Destructor Documentation

◆ function_polish()

orbiter::layer1_foundations::function_polish::function_polish ( )

Definition at line 21 of file function_polish.cpp.

◆ ~function_polish()

orbiter::layer1_foundations::function_polish::~function_polish ( )

Definition at line 26 of file function_polish.cpp.

Member Function Documentation

◆ evaluate()

void orbiter::layer1_foundations::function_polish::evaluate ( double *  variable_values,
double *  output_values,
int  verbose_level 
)

Definition at line 281 of file function_polish.cpp.

◆ init()

void orbiter::layer1_foundations::function_polish::init ( function_polish_description Descr,
int  verbose_level 
)

Definition at line 31 of file function_polish.cpp.

◆ print_code()

void orbiter::layer1_foundations::function_polish::print_code ( int  i0,
int  len,
int  verbose_level 
)

Definition at line 221 of file function_polish.cpp.

◆ print_code_complete()

void orbiter::layer1_foundations::function_polish::print_code_complete ( int  verbose_level)

Definition at line 202 of file function_polish.cpp.

Member Data Documentation

◆ Code

std::vector<function_command> orbiter::layer1_foundations::function_polish::Code

Definition at line 99 of file globals.h.

◆ Constants

std::vector<std::pair<std::string, double> > orbiter::layer1_foundations::function_polish::Constants

Definition at line 94 of file globals.h.

◆ Descr

function_polish_description* orbiter::layer1_foundations::function_polish::Descr

Definition at line 90 of file globals.h.

◆ Entry

std::vector<int> orbiter::layer1_foundations::function_polish::Entry

Definition at line 96 of file globals.h.

◆ Len

std::vector<int> orbiter::layer1_foundations::function_polish::Len

Definition at line 97 of file globals.h.

◆ Variables

std::vector<std::string > orbiter::layer1_foundations::function_polish::Variables

Definition at line 92 of file globals.h.


The documentation for this class was generated from the following files: