expression_mod Module

module~~expression_mod~~UsesGraph module~expression_mod expression_mod module~treetrigonometric_mod treeTrigonometric_mod module~treetrigonometric_mod->module~expression_mod module~treeexponential_mod treeExponential_mod module~treeexponential_mod->module~expression_mod module~treeoperator_mod treeOperator_mod module~treeoperator_mod->module~expression_mod module~node_mod node_mod module~node_mod->module~expression_mod module~node_mod->module~treetrigonometric_mod module~node_mod->module~treeexponential_mod module~node_mod->module~treeoperator_mod module~treevalue_mod treeValue_mod module~node_mod->module~treevalue_mod module~kinds_mod kinds_mod module~kinds_mod->module~expression_mod module~kinds_mod->module~treetrigonometric_mod module~kinds_mod->module~treeexponential_mod module~kinds_mod->module~treeoperator_mod module~kinds_mod->module~node_mod module~kinds_mod->module~treevalue_mod module~text_mod text_mod module~kinds_mod->module~text_mod module~time_mod time_mod module~kinds_mod->module~time_mod module~treevalue_mod->module~expression_mod module~text_mod->module~node_mod module~time_mod->module~text_mod iso_fortran_env iso_fortran_env iso_fortran_env->module~text_mod iso_c_binding iso_c_binding iso_c_binding->module~time_mod
Help

Module for dynamic evaluation of function expressions

Used By

module~~expression_mod~~UsedByGraph module~expression_mod expression_mod program~testeval_prg testEval_prg module~expression_mod->program~testeval_prg
Help


Interfaces

public interface function_t

Constructors for function_t

  • private function newFunction(str) result(self)

    Constructor for function_t

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: str

    Character to parse into function

    Return Value type(function_t)

    New function_t


Derived Types

type, public :: function_t

Type to store and evaluate parsed expressions

Components

TypeVisibility AttributesNameInitial
character(len=:), public, allocatable:: str
class(node_t), public, allocatable:: root

Constructor

Constructors for function_t

private function newFunction(str)

Constructor for function_t

Type-Bound Procedures

generic, public :: eval => evalR, evalZ