Displaying 1 result from an estimated 1 matches for "quotationspag".
Did you mean:
quotationspage
2006 Oct 09
0
dispatch on functions (was: Re: ifelse(logical, function1, function2) does not work)
...nction"
ans
}
gives me:
> oldClass(sin) <- oldClass(cos) <- "function"
> (sin^2 + cos^2)(runif(10, 0, 2 * pi))
[1] 1 1 1 1 1 1 1 1 1 1
I had expected the issue of environments to be non-trivial, but things
seem to magically [1] work out.
Deepayan
[1] http://www.quotationspage.com/quote/776.html