OpasnetUtils/Math: Difference between revisions

From Opasnet
Jump to navigation Jump to search
mNo edit summary
m (Reverted edits by Jouni (talk) to last revision by Pauli)
 
(2 intermediate revisions by 2 users not shown)
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==

Latest revision as of 08:30, 28 December 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