Re: [sage-devel] How much do we support the casual user

2018-03-28 Thread Erik Bray
On Tue, Mar 27, 2018 at 9:57 PM, Michael Orlitzky wrote: > On 03/27/2018 03:11 PM, William Stein wrote: >> >> Sorry -- I'm not trying to flamebait you, but in order to have any >> further discussion, what exactly do you think a floating point number >> in a computer is? >> What is the mathematica

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Vincent Delecroix
On 27/03/2018 20:54, Michael Orlitzky wrote: On 03/27/2018 12:22 PM, William Stein wrote: There are similar examples in MATLAB, involving rational numbers, implicit floating point, etc. Does multiplication by a positive scalar change the rank of a matrix? Can two equal matrices have differen

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Andrey Novoseltsev
On Tuesday, 27 March 2018 18:03:48 UTC-6, saad khalid wrote: > > Why not assume by default that when someone enters a floating point > number, they intend it as a member of QQ, at least in this case. > It may be an interesting option to have similar to "automatic_names". It may also be nice to

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Andrey Novoseltsev
On Tuesday, 27 March 2018 13:57:12 UTC-6, Michael Orlitzky wrote: > > But will MATLAB tell you that two equal matrices have different ranks? I > know sage will do it. > A few years back it could give you completely different eigenvalues for a matrix and its transposition. There are presumably m

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread saad khalid
On Tuesday, March 27, 2018 at 2:57:12 PM UTC-5, Michael Orlitzky wrote:The thread was about casual users, who shouldn't have to care about the implementation details behind what "0.5" means. To a casual user, 0.5 is one-half. I didn't bring this up to fight about by pet bug again, but because o

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Michael Orlitzky
On 03/27/2018 03:11 PM, William Stein wrote: > > Sorry -- I'm not trying to flamebait you, but in order to have any > further discussion, what exactly do you think a floating point number > in a computer is? > What is the mathematical meaning of > float(1) > The thread was about casual us

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread William Stein
On Tue, Mar 27, 2018 at 11:54 AM, Michael Orlitzky wrote: > On 03/27/2018 12:22 PM, William Stein wrote: >> >> There are similar examples in MATLAB, involving rational numbers, >> implicit floating point, etc. >> > > Does multiplication by a positive scalar change the rank of a matrix? > Can two e

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Michael Orlitzky
On 03/27/2018 12:22 PM, William Stein wrote: > > There are similar examples in MATLAB, involving rational numbers, > implicit floating point, etc. > Does multiplication by a positive scalar change the rank of a matrix? Can two equal matrices have different ranks? (I'm willing to entertain the i

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread William Stein
On Tue, Mar 27, 2018 at 9:21 AM Michael Orlitzky wrote: > On 03/27/2018 12:18 PM, William Stein wrote: > > > > I don’t consider that a bug. > > > > I know, but ask anyone without a PhD in math. > There are similar examples in MATLAB, involving rational numbers, implicit floating point, etc. --

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Michael Orlitzky
On 03/27/2018 12:18 PM, William Stein wrote: > > I don’t consider that a bug.  > I know, but ask anyone without a PhD in math. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread William Stein
On Tue, Mar 27, 2018 at 8:40 AM Michael Orlitzky wrote: > On 03/27/2018 03:07 AM, Ralf Stephan wrote: > > Hello, > > I thought I'd try Sage for a casual computation. > > My favorite bug from when I was an undergrad... > > sage: B = matrix([[ -3, 2, 1 ], > : [ 2,-4, 4 ], > .

Re: [sage-devel] How much do we support the casual user

2018-03-27 Thread Michael Orlitzky
On 03/27/2018 03:07 AM, Ralf Stephan wrote: > Hello, > I thought I'd try Sage for a casual computation. My favorite bug from when I was an undergrad... sage: B = matrix([[ -3, 2, 1 ], : [ 2,-4, 4 ], : [ 1, 2,-5 ]]) sage: B.rank() 2 sage: (0.5*B).rank(

[sage-devel] How much do we support the casual user

2018-03-27 Thread Ralf Stephan
Hello, I thought I'd try Sage for a casual computation. I was interested in which numbers of the form (2^n - (-1)^n)/3 are prime. I first tried out n=23: sage: (2^23+1)/3 2796203 sage: _.is_prime() False sage: factor(2796203) 2796203 It turns out that Rational.is_prime does not exist and the fal