Unity 1.0
Parser for unit strings
|
A unit corresponding to an application of a function to a unit sequence. More...
#include <unity.h>
Data Fields | |
struct function_definition * | definition |
The definition of the function used. | |
const char * | name |
The name of an unrecognised function used. | |
UnitExpression | operand |
The parsed units to which the function is applied. |
A unit corresponding to an application of a function to a unit sequence.
In the case of log(V^2/Hz)
, for example, the function is ‘log’ and the operand is the parsed units corresponding to ‘V^2/Hz’.
struct function_definition* definition |
The definition of the function used.
Precisely one of definition and name should be non-null
const char* name |
The name of an unrecognised function used.
Precisely one of definition and name should be non-null
The parsed units to which the function is applied.