openmi.om.equation | R Documentation |
The base class for executable equation based meta-model components.
The base class for executable equation based meta-model components.
reference class of type openmi.om.equation
openmi.om::openmi.om.base
-> openmi.om::openmi.om.linkableComponent
-> openmi.om.equation
equation
the text based un-parsed equation
eq
the ready to eval equation
defaultvalue
value to set if null
minvalue
minimum value to use if nonnegative = TRUE
nonnegative
should result be constrained to positive only?
numnull
counter of occurences of null evaluation for debugging
arithmetic_operators
operators to allow in equations
safe_envir
the set of values that are accessible to the equation during evaluation
settable()
settable returns properties that can be set
openmi.om.equation$settable()
array c() of object property names
new()
create new instance of equation object
openmi.om.equation$new(elem_list = list(), format = "raw")
elem_list
list of attributes to set on object
format
data format of elem_list
array c() of object property names
get_operators()
get_operators returns list of valid functions
openmi.om.equation$get_operators()
array c() of function names
set_prop()
openmi.om.equation$set_prop(propname, propvalue, format = "raw")
propname
which attribute
propvalue
what value
format
of propvalue
NA
init()
init sets up data, parses equation and then passes on to parent class
openmi.om.equation$init()
NULL
parse()
parse parses equation
openmi.om.equation$parse()
NULL
set_vars()
set_vars finds all the input var names for this function
openmi.om.equation$set_vars()
NULL
update()
update executes the parsed equation, sets object value prop
openmi.om.equation$update()
NULL
evaluate()
evaluate is called by update, but can also b called if calling routine wants the value returned
openmi.om.equation$evaluate()
value the result of the equation
clone()
The objects of this class are cloneable with this method.
openmi.om.equation$clone(deep = FALSE)
deep
Whether to make a deep clone.
NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.