Also, I just found out that Interval supports negative fractional
power, but not negative integer power.

AIntervalCategory does not support both.

In AIntervalCategory, negative powers could be added, but only conditionnally in the same place where

        inv(x : %) : % ==
            contains?(x, 0$R) => error "inv: interval contains 0"
            interval(inv sup x, inv inf x)

is implemented.

For fractional powers, I am a bit hesitant. I introduced AIntervalCategory to be able to compute with intervals also for more general rings than just those that inherit from FloatingPointSystem. However, I don't think it would be a problem to add the default implementation

    if R has Join(OrderedRing, Field, RadicalCategory) then
        ((x : %) ^ (n : Fraction Integer)) : % == ...

to AIntervalCategory.
Luckily, FloatingPointSystem fulfills this condition.

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/fricas-devel/62ba00bd-aee5-4d23-bfc3-48575a6918b4%40hemmecke.org.
  • Re: [fricas-devel] [P... 'Ralf Hemmecke' via FriCAS - computer algebra system

Reply via email to