Jiahao, you didn't follow the discussion before, which I admit is much too long by now. I need the Number type if I want to use "dual numbers" for numeric derivatives.
On Wednesday, January 22, 2014 4:59:27 PM UTC+1, Jiahao Chen wrote: > > On Wed, Jan 22, 2014 at 10:56 AM, Hans W Borchers > <[email protected]<javascript:>> > wrote: > > x::Number > > If you change this part of the function signature to x::Real, this > should restrict the method to apply only to real numbers. >
