Type to store and evaluate parsed expressions
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | str | |||
class(node_t), | public, | allocatable | :: | root |
Constructors for function_t
Constructor for function_t
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | str | Character to parse into function |
New function_t
Evaluate a function with given arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(function_t), | intent(inout) | :: | self | Function to evaluate |
||
real(kind=wp), | intent(in), | dimension(:) | :: | a | Argument values |
Resultant value
Evaluate a function with given arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(function_t), | intent(inout) | :: | self | Function to evaluate |
||
complex(kind=wp), | intent(in), | dimension(:) | :: | a | Argument values |
Resultant value