Informedica.GenUnits.Lib Namespace
| Type/Module | Description |
|
Evaluates text with ValueUnits and operators to one ValueUnit and converts the text of a ValueUnit to another unit. |
|
|
Removes from an array of BigRational values the values not above zero and every multiple of a smaller value. |
|
|
Combines two units with an operator into one unit, cancelling units of the same group in a division and absorbing Count units. |
|
|
Converts an Operator to its symbol and a symbol to an Operator, and holds the Count unit with the value 1. |
|
|
Maps a unit to its group, compares and formats groups and lists the units and unit combinations of a group. |
|
|
Classification of a Unit into a Group (Mass, Volume, Time, ...). The type lives at namespace level so the Group module below can shadow it (type-first convention, like List type + List module). |
|
|
Holds the FParsec parsers for a number, a known unit, a General unit and a combination of units. |
|
|
Holds the Operator type, the unit types of each quantity and the Unit type combining them. |
|
|
Holds the details of every known unit and creates, compares, looks up and formats units in English or Dutch. |
|
|
Parses text to a Unit and appends the group of a unit to the text of the unit. The parse gives None for blank text, for a blank part and for more than three parts separated by a slash, and raises a FormatException for a unit with a factor of 0 or for text that does not parse and names a group other than General. Other text that does not parse becomes a General unit. |
|
|
Creates a ValueUnit, converts it between units, calculates with and compares ValueUnits with unit simplification, and formats and parses a ValueUnit. |
|
|
A ValueUnit pairs an array of values with a Unit. Declared at namespace level (not in Types.fs) so the ValueUnit module below can shadow it (type-first convention) and so its intrinsic operator members live in the same module group as the arithmetic (calc/eqs/cmp/convertTo) they delegate to. |
GenPRES