Classes | Enumerations | Functions
formula-calc.h File Reference
#include <stdio.h>
Include dependency graph for formula-calc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rpf_t
 
struct  variables_t
 

Enumerations

enum  rpf_type_t {
  TYPE_VALUE, TYPE_MATH, TYPE_VARIABLE, TYPE_OP,
  TYPE_MAX, TYPE_RPF, TYPE_START
}
 

Functions

int formula (const char *expr, struct rpf_t **rpf, const struct variables_t *variable)
 
double formula_eval (struct rpf_t *rpf)
 
void formula_free (struct rpf_t *rpf)
 
struct rpf_tformula_optimize (struct rpf_t *rpf)
 
void formula_print (FILE *stream, struct rpf_t *rpf)
 

Enumeration Type Documentation

enum rpf_type_t
Enumerator
TYPE_VALUE 
TYPE_MATH 
TYPE_VARIABLE 
TYPE_OP 
TYPE_MAX 
TYPE_RPF 
TYPE_START 

Definition at line 39 of file formula-calc.h.

Function Documentation

int formula ( const char *  expr,
struct rpf_t **  rpf,
const struct variables_t variable 
)

Definition at line 356 of file libformula-calc.c.

double formula_eval ( struct rpf_t rpf)

Definition at line 639 of file libformula-calc.c.

void formula_free ( struct rpf_t rpf)

Definition at line 618 of file libformula-calc.c.

struct rpf_t* formula_optimize ( struct rpf_t rpf)

Definition at line 670 of file libformula-calc.c.

void formula_print ( FILE *  stream,
struct rpf_t rpf 
)

Definition at line 755 of file libformula-calc.c.



yp-spur
Author(s):
autogenerated on Fri May 7 2021 02:12:17