in reply to Interval Computation Module Design

Math::Interval seems to be a good fit. It clearly describes the namespace of this mathematical niche, ala Math::Combinatorics.

I had been wondering if it might be prudent to use something like Math::Interval::Arithmetic for what you are currently proposing, just in case someone (possibly you) wants to write Math::Interval::Calculus in the future but if combinatorics can fit into one module then I'd imagine that interval analysis probably can too.

Replies are listed 'Best First'.
Re^2: Interval Computation Module Design
by HollyKing (Pilgrim) on Feb 21, 2006 at 16:05 UTC

    Perhaps splitting the difference is a good solution. Math::Interval could contain the basic class with validation, type conversion and the comparison operations. Then Math::Interval::Arithmetic could define the basic arithmetic operators, Math::Interval::Trigonometric could define the trigonometric functions and so on.

    Owl looked at him, and wondered whether to push him off the tree; but, feeling that he could always do it afterwards, he tried once more to find out what they were talking about.