From: "Hal E. Fulton" Date: 2003-01-24T10:23:50+09:00 Subject: Re: Scientific library [ was Re: Missing libraries??] ----- Original Message ----- From: "Daniel Carrera" To: "ruby-talk ML" Sent: Thursday, January 23, 2003 6:18 PM Subject: Re: Scientific library [ was Re: Missing libraries??] > I just realized that there is no "Math" module: > > >> require 'math' > LoadError: No such file to load -- math > from (irb):23:in `require' > from (irb):23 > > Would it be better to call the functions Math::zeta, Math::sinh and the > like? So they can be required with "require 'math'" ? Don't confuse module names with file names. There is a Math module, of course, it's just part of the core and there's no corresponding require. Whether these things belong in Math is a question I can't answer. I assume they'd only get stuck in Math if you loaded the library. And anyway, some of these are probably already there. Isn't there a Math.sinh in 1.7.x? Hal