Difference between revisions of "OpasnetUtils/Math"

From Testiwiki
Jump to: navigation, search
m
m
Line 8: Line 8:
  
 
==Code==
 
==Code==
<rcode
+
 
name="setmethod.math"
+
https://www.opasnet.org/svn/opasnet_utils/trunk/R/Math.r
label="Initiate functions"
 
graphics="1"
 
showcode="1"
 
>
 
# SETMETHOD MATH ################### Math defines basic mathematical operations (log, exp, abs, ...) for ovariables
 
temp <- setMethod(
 
f = "Math",
 
signature = signature(x = "ovariable"),
 
definition = function(x) {
 
x@output$Result <- callGeneric(x@output$Result)
 
return(x)
 
}
 
)
 
</rcode>
 
  
 
==See also==
 
==See also==

Revision as of 13:38, 16 August 2012



Description

Defines basic mathematical operations (log, exp, abs, ...) for ovariables

Code

https://www.opasnet.org/svn/opasnet_utils/trunk/R/Math.r

See also