Ask Your Question

Sébastien's profile - activity

2024-01-20 21:48:23 +0200 received badge  Notable Question (source)
2024-01-18 11:08:49 +0200 commented question Is there a problem in Voronoi cell computation ?

I created an issue for this bug: https://github.com/sagemath/sage/issues/37086

2023-12-14 21:55:58 +0200 commented question Is there a problem in Voronoi cell computation ?

Indeed: sage: IntegerLattice(M).voronoi_cell().volume() 138219104/10715 sage: IntegerLattice(M.LLL()).voronoi_cell().vo

2023-11-27 09:06:44 +0200 answered a question Expand cos(2*pi/n) for n=5, 17, 257, 65537 to Radicals (Fermat prime numbers)

Using the method radical_expression for algebraic real field element, you can sometimes obtain a result. Its doc says At

2023-11-13 22:17:09 +0200 received badge  Notable Question (source)
2023-09-17 10:45:44 +0200 received badge  Popular Question (source)
2023-09-07 08:04:36 +0200 received badge  Popular Question (source)
2023-05-11 16:03:41 +0200 edited question How to upgrade sagemath from 9.6 to 9.8 using mamba?

How to upgrade sagemath from 9.6 to 9.8 using mamba? In the documentation, it is explained how to install sage using mam

2023-05-11 16:02:34 +0200 commented question How to upgrade sagemath from 9.6 to 9.8 using mamba?

The command mamba create -n sage sage=9.8 python=3.9 does not seem to work: Traceback (most recent call last): Fil

2023-05-11 16:02:30 +0200 edited question How to upgrade sagemath from 9.6 to 9.8 using mamba?

How to upgrade sagemath from 9.6 to 9.8 using mamba? In the documentation, it is explained how to install sage using mam

2023-05-11 11:48:37 +0200 edited question How to upgrade sagemath from 9.6 to 9.8 using mamba?

How to upgrade sagemath from 9.6 to 9.8 using mamba? In the documentation, it is explained how to install sage using mam

2023-05-11 11:44:25 +0200 edited question How to upgrade sagemath from 9.6 to 9.8 using mamba?

How to upgrade sagemath from 9.6 to 9.8 using mamba? In the documentation, it is explained how to install sage using mam

2023-05-11 11:44:03 +0200 asked a question How to upgrade sagemath from 9.6 to 9.8 using mamba?

How to upgrade sagemath from 9.6 to 9.8 using mamba? In the documentation, it is explained how to install sage using mam

2023-05-11 11:37:49 +0200 commented answer How to properly time Sage computations?

In a Jupyter notebook, write %%time on the first line with two %. Maybe it works also on the command line.

2022-11-29 11:16:05 +0200 commented question Is there a way in Sage to generate a random permutation with a given cycle type?

Yes, good idea, thank you both!

2022-11-28 21:37:38 +0200 asked a question Is there a way in Sage to generate a random permutation with a given cycle type?

Is there a way in Sage to generate a random permutation with a given cycle type? This works: sage: P = Permutations(5)

2022-10-14 08:57:32 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

I created https://trac.sagemath.org/ticket/34659 for the simplified issue.

2022-10-11 16:05:38 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

A minimal command raising the same error seems to be: sage: var('n k x h y') sage: eq1 = (-4-n^2+9*187+24*k*187-16*x-16

2022-10-11 16:04:58 +0200 answered a question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

In the error traceback, it says there is a syntax error saying "Mismatched parentheses" when sage tries to parse the ans

2022-10-11 15:55:11 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

A minimal command raising the same error seems to be: sage: var('n k x h y') sage: eq1 = (-4-n^2+9*187+24*k*187-16*x-16

2022-10-11 15:53:41 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

A minimal command raising the same error seems to be: sage: var('n k x h y') sage: eq1 = (-4-n^2+9*187+24*k*187-16*x-16

2022-10-11 15:48:52 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

A minimal command raising the same error seems to be: solutions = solve([eq0,eq1,eq2,eq4],N,n,k,x,h,y)

2022-09-18 11:36:43 +0200 received badge  Notable Question (source)
2022-09-16 21:12:26 +0200 commented answer Sage vs Python Integers

Or alternatively: sage: tf(1r, [1r, 10r, 20r])

2022-08-28 22:02:29 +0200 answered a question Manifold not defined

Maybe you created the notebook with kernel "Python" not kernel "SageMath"? If so, you can change the kernel in the menu.

2022-08-25 19:35:10 +0200 received badge  Nice Answer (source)
2022-08-25 16:18:11 +0200 commented answer Installing from source ./configure can't find texlive

... kpsewhich -show-path .sty should give the places where it searches for

2022-08-25 12:09:09 +0200 commented question Installing from source ./configure can't find texlive

Sage will not install another texlive. The sentence "Checking whether SageMath should install SPKG texlive" is a generic

2022-08-25 12:03:49 +0200 edited answer Installing from source ./configure can't find texlive

As seen in the build/pkgs/texlive/spkg-configure.m4 file, the ./configure is using kpsewhich to detect whether you have

2022-08-25 12:03:26 +0200 answered a question Installing from source ./configure can't find texlive

As seen in the build/pkgs/texlive/spkg-configure.m4 file, the .configure is using kpsewhich to detect whether you have e

2022-08-25 11:54:16 +0200 commented question Installing from source ./configure can't find texlive

Sage will not install another texlive. The sentence "Checking whether SageMath should install SPKG texlive" is a generic

2022-08-25 11:49:15 +0200 edited answer How to pick a matrix uniformly from a certain matrix space?

Let's create the space M: sage: M = MatrixSpace(ZZ,2,2) sage: M Full MatrixSpace of 2 by 2 dense matrices over Integer

2022-08-24 18:07:49 +0200 commented question saving animation problem

#34204 now needs review

2022-08-24 18:06:58 +0200 commented answer How to serially number the output ?

oups, you are right!

2022-08-24 15:40:47 +0200 answered a question How to pick a matrix uniformly from a certain matrix space?

Let's create the space M: sage: M = MatrixSpace(ZZ,2,2) sage: M Full MatrixSpace of 2 by 2 dense matrices over Integer

2022-08-24 15:16:36 +0200 answered a question How to serially number the output ?

One may use enumerate and string formating: for (i,t) in enumerate(test_comb, start=1): if (sum(t)==H):

2022-08-24 15:05:52 +0200 answered a question Is there any way to form combinations in parts ?

In general, one may prefer to use iterators instead of lists, because the creation of the list takes time and is not nec

2022-08-12 00:10:53 +0200 received badge  Nice Answer (source)
2022-07-21 16:02:12 +0200 commented question saving animation problem

Right, I see. I created #34204. I will work on this after vacation in August/September. Feel free to propose a branch me

2022-07-21 16:01:50 +0200 commented question saving animation problem

Right, I see. I created #34204. I will work on this after vacation in August/September. Feel free to propose a branch me

2022-07-21 05:19:08 +0200 commented question saving animation problem

What is the result of the following (does it return True as well) ?: sage: from sage.features.imagemagick import ImageM

2022-07-17 11:53:44 +0200 edited answer Check if a word is inside another word.

You may use the method is_factor: sage: w = Word('11') sage: w.is_factor(Word('011')) True sage: w.is_factor(Word('101'

2022-07-17 11:53:00 +0200 edited answer Check if a word is inside another word.

You may use the method is_factor: sage: w = Word('11') sage: w.is_factor(Word('011')) True sage: w.is_factor(Word('101'

2022-07-17 11:52:44 +0200 answered a question Check if a word is inside another word.

You may use method is_factor: sage: w = Word('11') sage: w.is_factor(Word('011')) True sage: w.is_factor(Word('101')) F

2022-06-20 09:59:45 +0200 commented question Unable to install glucose SAT solver with Sage

I updated the blog post Using Glucose SAT solver to find a tiling of a rectangle by polyominoes warning that sage -i glu

2022-05-06 14:03:41 +0200 commented question sage don't see my imagemagik nor ffmpeg

On a mac, the line PATH=$PATH:/usr/local/bin should be added to the .bash_profile file I think not in the init.sage file

2022-05-03 22:30:12 +0200 edited answer Continuing the calculation at Jupyter Notebook on another day

In SageMath, there is save_session and load_session which you can use to save and load a session: sage: a = 5 sage:

2022-05-03 21:37:10 +0200 edited answer Continuing the calculation at Jupyter Notebook on another day

In SageMath, there is save_session and load_session which you can use to save and load a session: sage: a = 5 sage:

2022-05-03 21:36:22 +0200 answered a question Continuing the calculation at Jupyter Notebook on another day

In SageMath, there is save_session and load_session which you can use to save and load a session: sage: a = 5 sage:

2022-04-21 14:23:03 +0200 received badge  Nice Answer (source)