[sage-devel] Re: Proposal for Sage 9.3: Modularization of sagelib; in particular, splitting out a sage_objects package

2020-06-15 Thread Matthias Koeppe
On Sunday, May 3, 2020 at 5:09:28 PM UTC-7 Matthias Koeppe wrote: > I propose the following goal for Sage 9.3. > > Modularize sagelib so that individual parts of it can be built and run > with a much smaller set of libraries. > > In particular, create a package "sage_objects" that makes Sage

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread 'Travis Scrimshaw' via sage-devel
We also recently had a ticket about correcting the permutation action on a matrix, so we also need that to also be consistent. Best, Travis On Tuesday, June 16, 2020 at 4:02:11 AM UTC+10, Nils Bruin wrote: > > On Monday, June 15, 2020 at 10:43:51 AM UTC-7, Nils Bruin wrote: >> >> There's

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread Nils Bruin
On Monday, June 15, 2020 at 10:43:51 AM UTC-7, Nils Bruin wrote: > > There's obviously the choice for letting permutations/matrices on the > left/right, but I think there's a definite preferred choice for how to > convert to a permutation matrix: the one that makes it a homomorphism. And > for

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread Nils Bruin
On Monday, June 15, 2020 at 9:11:08 AM UTC-7, David Joyner wrote: > > This is turning into a political discussion:-) I'm not taking sides! > You can say something similar about left-kernels vs right-kernels of > matrices, about left-eigenvectors vs right-eigenvectors. Different > linear algebra

[sage-devel] Re: Problems building and installing under Fedora 32

2020-06-15 Thread John H Palmieri
Don't use SAGE_CHECK=yes, or at least disable testing for the nose package: it is known to fail its test suite. (See https://trac.sagemath.org/ticket/28727, for example.) If you want to keep SAGE_CHECK=yes in general, then temporarily turn it off, install nose (with `sage -i nose`), and then

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread David Joyner
On Mon, Jun 15, 2020 at 11:42 AM 'Paul Mercat' via sage-devel < sage-devel@googlegroups.com> wrote: > Thank you for your answers. > > It's very confusing to write a right action to the left : we write g(i) > and not (i)g. > By default it should be a left action. > > And its very confusing that

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread Dima Pasechnik
Group theory convention for composition is the same as in GAP and Magma. It would be crazy to change it for a variety of reasons... Whereas Permutation comes from combinatorics, I don't know why they took a different default. On Mon, 15 Jun 2020, 16:42 'Paul Mercat' via sage-devel, <

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Thank you for your answers. It's very confusing to write a right action to the left : we write g(i) and not (i)g. By default it should be a left action. And its very confusing that PermutationGroup and Permutation doesn't give the same matrix for the same permutation. I think that Sage should

Re: [sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread David Joyner
On Mon, Jun 15, 2020 at 11:21 AM 'Paul Mercat' via sage-devel < sage-devel@googlegroups.com> wrote: > Another bug with PermutationGroup: > > {{ > g1,g2 = PermutationGroup([(1,2,3,4), (1,3,2,4)]).gens() > (g1*g2)(3), g1(g2(3)) > }} > > should gives two times the same result, but it is not the

Re: [sage-devel] Wrong matrix of Permutation

2020-06-15 Thread Michael Orlitzky
On 2020-06-15 10:58, 'Paul Mercat' via sage-devel wrote: > Hi ! > > Sage doesn't compute correctly the matrix of a Permutation: > > matrix(Permutation('(1,2,3,4)')) > > return a wrong answer: it returns the inverse of the correct result. > The product of matrices of permutations must be equal

[sage-devel] Re: Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Another bug with PermutationGroup: {{ g1,g2 = PermutationGroup([(1,2,3,4), (1,3,2,4)]).gens() (g1*g2)(3), g1(g2(3)) }} should gives two times the same result, but it is not the case... The action of the group on {1,2,3,4} is not an action ! Le lundi 15 juin 2020 16:58:18 UTC+2, Paul Mercat a

[sage-devel] Wrong matrix of Permutation

2020-06-15 Thread 'Paul Mercat' via sage-devel
Hi ! Sage doesn't compute correctly the matrix of a Permutation: matrix(Permutation('(1,2,3,4)')) return a wrong answer: it returns the inverse of the correct result. The product of matrices of permutations must be equal to the matrix of the composition. If we do:

Re: [sage-devel] Problems building/installing on Fedora 32

2020-06-15 Thread Dima Pasechnik
Note that installing nose works, but it fails its own test suite for some reason. How do you trigger the latter? Do you have SAGE_CHECK set to 'yes' and exported? Also, your --prefix=$SAGE_ROOT looks dodgy. Setting SAGE_ROOT to anything can lead to bad things during the build. On Mon, Jun 15,

[sage-devel] Re: Problems building/installing on Fedora 32

2020-06-15 Thread Enrique Artal
Have you tried with gcc package. For me it works with an intel precessor. El lunes, 15 de junio de 2020, 11:13:49 (UTC+2), Robert Poole escribió: > > I've been trying to build and install Sage locally on a Fedora 32 system > (64-bit), running on a Ryzen 4700U APU with 8 GB of RAM. > > I have

Re: [sage-devel] Re: Closest Vector not in Lattice

2020-06-15 Thread Dima Pasechnik
Yes, it looks like a bug. I've opened https://trac.sagemath.org/ticket/29866 (a slightly simplified example, without a vector with non-integer coefficients, is there) On Mon, Jun 15, 2020 at 8:28 AM Taylor Huang wrote: > > anyone here? > > -- > You received this message because you are

[sage-devel] Re: Closest Vector not in Lattice

2020-06-15 Thread Taylor Huang
anyone here? -- 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, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit