OpasnetUtils/Math: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(Created page with "Category:Opasnet Category:R tools {{method|moderator=|stub=Yes}} ==Description== Defines basic mathematical operations (log, exp, abs, ...) for ovariables ==Code== <rco...")
 
m (Reverted edits by Jouni (talk) to last revision by Pauli)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Opasnet]]
[[Category:Opasnet]]
[[Category:R tools]]
[[Category:R tools]]
[[Category:OpasnetUtils]]
{{method|moderator=|stub=Yes}}
{{method|moderator=|stub=Yes}}


==Description==
==Description==
Defines basic mathematical operations (log, exp, abs, ...) for ovariables
Defines basic mathematical operations (log, exp, abs, ...) for [[OpasnetUtils/Ovariable|ovariables]]


==Code==
==Code==
<rcode
 
name="setmethod.math"
https://www.opasnet.org/svn/opasnet_utils/trunk/R/Math.r
label="Initiate functions"
graphics="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