VariableUnit
Namespace: Informedica.GenOrder.Lib
Functions that deal with the VariableUnit
type
Nested types and modules
Type | Description |
VariableUnit | A |
Module | Description |
Concentration | Type and functions that represent a concentration, and a concentration is a quantity per time |
Count | Type and functions that represent a count |
Dose | Type and functions that represent a dose, and a dose is a dose quantity, total and rate |
DoseAdjust | Type and functions that represent an adjusted dose, and a dose is an adjusted dose quantity, total and rate |
Frequency | Type and functions that represent a frequency |
Name | Helper functions for |
Quantity | Type and functions that represent a quantity |
QuantityAdjust | Type and functions that represent a adjusted quantity, and a adjusted quantity is a quantity per time |
Rate | Type and functions that represent a rate, and a rate is a quantity per time |
RateAdjust | Type and functions that represent a adjusted rate, and a adjusted rate is a quantity per time unit |
Time | Type and functions that represent a time |
Total | Type and functions that represent a total, and a total is a quantity over a time period |
TotalAdjust | Type and functions that represent a adjusted total, and a adjusted total is a quantity per time |
Functions and values
Function or value | Description |
apply f vru
Signature: f:(VariableUnit -> '?6723) -> vru:VariableUnit -> '?6723
Type parameters: '?6723 |
Apply f to |
create nme ung
Signature: nme:Name -> ung:UnitGroup -> VariableUnit
|
Create a new |
fromVar toVar c vrll vru
Signature: toVar:('?6739 -> VariableUnit) -> c:(VariableUnit -> '?6739) -> vrll:Variable list list -> vru:'?6739 -> '?6739
Type parameters: '?6739 |
Set a specific |
get
Signature: VariableUnit -> VariableUnit
|
Utitlity function to facitlitate type inference |
getAll arg1
Signature: VariableUnit -> Variable * UnitGroup
|
Get all record fiels from a |
getName vru
Signature: vru:VariableUnit -> Name
|
Get the |
getUnitGroup
Signature: VariableUnit -> UnitGroup
|
Get the |
getVar
Signature: VariableUnit -> Variable
|
Get the |
setIncr unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set increment of |
setMaxExcl unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set maximum exclusive of |
setMaxIncl unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set maximum inclusive of |
setMinExcl unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set minimum exclusive of |
setMinIncl unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set minimum inclusive of |
setName nm vru
Signature: nm:Name -> vru:VariableUnit -> VariableUnit
|
Set the 'Name' to the |
setProp vru p vs unt eqs
Signature: vru:VariableUnit -> p:Prop -> vs:BigRational list -> unt:CombiUnit -> eqs:Equation list -> Equation list
|
Set a property p of a |
setPropWithUnit prop unt vru vs eqs
Signature: prop:Prop -> unt:CombiUnit option -> vru:VariableUnit -> vs:BigRational list -> eqs:Equation list -> Equation list
|
Set a property prop of a |
setVals unt vru
Signature: unt:CombiUnit option -> vru:VariableUnit -> BigRational list -> Equation list -> Equation list
|
Set values of |
toEq cr y xs
Signature: cr:(Variable * Variable list -> '?6730) -> y:VariableUnit -> xs:VariableUnit list -> '?6730
Type parameters: '?6730 |
Create an |
toProdEq succ fail
Signature: succ:(Equation -> Equation) -> fail:(Message -> Equation) -> VariableUnit -> VariableUnit list -> Equation
|
Create a |
toString vru
Signature: vru:VariableUnit -> string
|
Get the string representation of a |
toSumEq succ fail
Signature: succ:(Equation -> Equation) -> fail:(Message -> Equation) -> VariableUnit -> VariableUnit list -> Equation
|
Create a |
tryFind get n xsl
Signature: get:('?6735 -> '?6736) -> n:'?6736 -> xsl:'?6735 list list -> '?6735 option
Type parameters: '?6735, '?6736 |
Try find the first element with n in a list of list xsl with a function get to get n from an element |
tryFindVarUnt
Signature: Name -> VariableUnit list list -> VariableUnit option
|
Try find the first |
withVar ung var
Signature: ung:UnitGroup -> var:Variable -> VariableUnit
|
Create a |