Though it sounds like you only need piecewise functions of a single real
variable, I would suggest to make the ticket for piecewise linear (or
polynomial) functions of several variables.
The current implementation of piecewise in Sage is tied to the general
symbolics in the symbolic ring.
On Fri, Oct 26, 2018 at 11:58 AM Maestro CaID wrote:
>
> Please i want to report a critical bug, Because it's dangereuse if public see
> it, That's why i'm looking for an email to send the details of this bug to
> the support team privately.
h...@sagemath.com
>Thanks,
>
> --
> You received
Please i want to report a critical bug, Because it's dangereuse if public
see it, That's why i'm looking for an email to send the details of this bug
to the support team privately.
Thanks,
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To
On Friday, October 26, 2018 at 9:07:58 AM UTC-7, Daniel Krenn wrote:
>
> What my troubles are, is that by using abs my computation gets inexact,
> which I want to avoid at all cost.
> (So I think I just have to treat CyclotomicFields etc. special)
>
> Yes, that indicates you are probably more
Le 26/10/2018 à 16:04, John Cremona a écrit :
On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel <
sage-devel@googlegroups.com> wrote:
Hi !
I have a strange bug with NumberField: when I do
sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
sage: b = pi.roots(ring=QQbar)[3][0]
sage: pi =
Thank you for your detailed explaination.
On 2018-10-25 11:09, John Cremona wrote:
> Personally I cannot think of a reason why one would want this abs() to
> be returned as an algebraic number, since the whole point of absolute
> values in algebraic number theory is that they like in some
Thank you. So the bug is with the test of equality in QQbar, not with
NumberField.
Do you know how to solve this problem with QQbar ?
I tried to look at where is the error, and it looks like there is an
infinite loop:
On Fri, 26 Oct 2018 at 13:07, 'Paul Mercat' via sage-devel <
sage-devel@googlegroups.com> wrote:
> Hi !
>
> I have a strange bug with NumberField: when I do
>
> sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
> sage: b = pi.roots(ring=QQbar)[3][0]
> sage: pi = b.minpoly()
> sage: K =
Hi !
I have a strange bug with NumberField: when I do
sage: pi = x^7 - 2*x^6 + x^3 - 2*x^2 + 2*x - 1
sage: b = pi.roots(ring=QQbar)[3][0]
sage: pi = b.minpoly()
sage: K = NumberField(pi, 'b', embedding=b)
it works well. But if I execute it a second time, then it never terminates!
Do you have a