Ask Your Question

Max Alekseyev's profile - activity

2022-11-26 21:23:53 +0100 edited question secure PATH for sage

secure PATH for sage Hi there. This question is related to another one more specific on generating teX code for plots. W

2022-11-26 18:27:01 +0100 commented question How to write a p-adic exponent b^k as a Power series in k ?

Can you provide an example of b and k and the expected result?

2022-11-24 18:58:05 +0100 commented question Sage 9.5 fails to start just after an installation

You can use https://pastebin.com/ to share your logs.

2022-11-20 17:20:50 +0100 commented question Solve a system of equation but shown variable is not defined.

Change y[j,i] to var('y'+'_'+str(j)+'_'+str(1)) as above.

2022-11-20 02:22:00 +0100 commented answer Return degree of polynomial in InfinitePolynomialRing

Feel free to add an answer to your own question for benefits of other users.

2022-11-19 19:37:59 +0100 commented answer Return degree of polynomial in InfinitePolynomialRing

Unfortunately, implementation of InfinitePolynomialRing appears to be very shallow. You are welcome to submit a bugrepor

2022-11-19 03:06:27 +0100 edited answer Return degree of polynomial in InfinitePolynomialRing

A variable in InfinitePolynomialRing object does not exist until you explicitly introduce it. E.g., defining p = a[1]*a

2022-11-19 03:04:31 +0100 edited answer Return degree of polynomial in InfinitePolynomialRing

A variable in InfinitePolynomialRing object does not exist until you explicitly introduce it. E.g., defining p = a[1]*a

2022-11-19 02:57:34 +0100 edited answer Return degree of polynomial in InfinitePolynomialRing

A variable in InfinitePolynomialRing does not exist until you "touch" it on way or another. E.g., defining p = a[1]*a[2

2022-11-19 02:57:05 +0100 answered a question Return degree of polynomial in InfinitePolynomialRing

The variable in InfinitePolynomialRing does not exist until you "touch" it on way or another. E.g., defining p = a[1]*a

2022-11-18 17:02:13 +0100 received badge  Nice Answer (source)
2022-11-16 21:03:53 +0100 commented question Full MatrixSpace of 1 by 4 dense matrices over Finite Field of size 2' and 'Symbolic Ring' !!! can anyone know how to resolve this ?

What is the point in defining a variable and then re-defining it right away? m1=matrix(GF(2),1,n); m1=(m*Gp); ... mc=m

2022-11-16 21:03:20 +0100 commented question Full MatrixSpace of 1 by 4 dense matrices over Finite Field of size 2' and 'Symbolic Ring' !!! can anyone know how to resolve this ?

What the point of defining a variable and re-defining it right away? m1=matrix(GF(2),1,n); m1=(m*Gp); ... mc=matrix(GF

2022-11-16 18:35:35 +0100 edited question Full MatrixSpace of 1 by 4 dense matrices over Finite Field of size 2' and 'Symbolic Ring' !!! can anyone know how to resolve this ?

Full MatrixSpace of 1 by 4 dense matrices over Finite Field of size 2' and 'Symbolic Ring' !!! can anyone know how to re

2022-11-16 00:18:28 +0100 answered a question How to construct the quotient of a graph by a group of automorphisms

Something like this should do the job: def MyFactor(G): A = G.automorphism_group() Orb = A.orbits() return

2022-11-15 15:19:29 +0100 commented question Cylindrical Algebraic Decomposition and connected components

Why? When we cross a boundary between two cells, the inequality corresponding to this boundary changes its sign. Hence,

2022-11-15 15:18:52 +0100 commented question Cylindrical Algebraic Decomposition and connected components

Why? When we cross a boundary between two cells, the inequality corresponding to this boundary changes its sign. Hence,

2022-11-15 15:18:24 +0100 commented question Cylindrical Algebraic Decomposition and connected components

Why? When we cross a boundary between two cell some inequality changes its sign. Hence, if there is a path connecting tw

2022-11-14 06:12:57 +0100 commented question Cylindrical Algebraic Decomposition and connected components

From reading documentation at https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/qepcad.html#sage.int

2022-11-12 23:42:22 +0100 commented question What is the formula to create the RSZ signatures in a bitcoin transaction? Can be made with just a public key?

This is a theory question, which is not relevant to Sage.

2022-11-12 03:42:21 +0100 edited answer Find all semistandard Young tableaux with the same content as a given tableau.

Here is a quick'n'dirty generator for semistandard tableaux of given shape and with given content: def gent(shape,conte

2022-11-12 03:41:23 +0100 edited answer Find all semistandard Young tableaux with the same content as a given tableau.

Here is a quick'n'dirty generator for semistandard tableaux of given shape and with given content: def gent(shape,conte

2022-11-12 03:40:29 +0100 answered a question Find all semistandard Young tableaux with the same content as a given tableau.

Here is a quick'n'dirty generator for semistandard tableaux def gent(shape,content,frontline=None): if frontline i

2022-11-12 02:45:04 +0100 commented answer Applying RREF transformation of one matrix to another

Please provide examples of what you expect and what you get. Typesetting here supports Markdown syntax - see https://dar

2022-11-11 05:44:10 +0100 commented question Problems with factoring exponents in a prime field

m and n should be integers or elements of Zmod(p-1), but not of GF(p). I'm surprised Sage allowed you raise one element

2022-11-11 05:44:02 +0100 commented question Problems with factoring exponents in a prime field

m and n should be integers or elements of Zmod(p-1), but not of GF(p). I'm surprised Sage allowed you raise raise one el

2022-11-11 05:43:30 +0100 commented question Problems with factoring exponents in a prime field

m and n should be integer or elements of Zmod(p-1) but not GF(p). I'm surprised Sage allowed you raise raise one element

2022-11-10 13:39:54 +0100 commented question LatexExpr and apostrophe

Use double quotes? show(LatexExpr(r"\text{L' élément}")

2022-11-03 19:46:55 +0100 edited answer How to take the index of a variable in sagemath?

One possible solution is to construct/return not only a matrix but also a mapping (dict) of variables to their indices -

2022-11-03 19:32:09 +0100 answered a question How to take the index of a variable in sagemath?

One possible solution is to construct/return not only a matrix but also a mapping (dict) of variables to their indices -

2022-11-03 19:22:50 +0100 edited question How to take the index of a variable in sagemath?

How to take the index of a variable in sagemath? I used the method in the post to generate a matrix with entries which h

2022-11-02 19:17:27 +0100 received badge  Nice Answer (source)
2022-11-02 14:35:15 +0100 answered a question Computing ratio of two elements in a large ring

When the ratio of two elements is known to belong to the base ring (QQ in your example), it can be computed as the ratio

2022-11-02 01:09:54 +0100 commented question Computing ratio of two elements in a large ring

In this particular example you can compute the ratio as x.lift()/(a^3).lift() but I'm not sure it will work in general.

2022-11-02 00:23:44 +0100 edited question splitting of primes in extension fields

splitting of primes in extension fields Hi, I'm working on the maximal real subfield of the cyclotomic field of order 14

2022-11-02 00:22:08 +0100 edited question splitting of primes in extension fields

splitting of primes in extension fields Hi, I'm working on the maximal real subfield of the cyclotomic field of order 14

2022-11-01 15:40:15 +0100 edited answer How to use all cores in solve() method?

Your equations can be turned into polynomial ones, and thus you'll will have better control over their solution if you e

2022-11-01 14:48:38 +0100 received badge  Self-Learner (source)
2022-11-01 10:28:34 +0100 received badge  Nice Answer (source)
2022-11-01 05:49:50 +0100 commented question Factoring Polynomial in Finite field

Thx for correction. I don't think Sage is capable of factoring polynomials of varying degree. But you can have a functio

2022-11-01 05:34:17 +0100 edited answer Why does this code have trubles with a specific input?

Your function fuser changes values of its arguments, and in inconsistent manner - eg., second argument w comes as a list

2022-11-01 05:31:19 +0100 answered a question Why does this code have trubles with a specific input?

Your function fuser changes values of its arguments, and in inconsistent manner - eg., second argument w comes as a list

2022-11-01 04:34:12 +0100 edited answer How to use all cores in solve() method?

Your equations can be turned into polynomial ones, and thus you'll will have better control over their solution if you e

2022-11-01 04:27:22 +0100 edited answer How to use all cores in solve() method?

Your equations can be turned into polynomial ones, and thus you'll will have better control over their solution if you e

2022-11-01 04:22:39 +0100 edited answer How to use all cores in solve() method?

Your equations can be turned into polynomial ones, and thus you'll will have better control over their solution if you e

2022-11-01 04:18:12 +0100 answered a question How to use all cores in solve() method?

Your equations can be turned into polynomial ones, and thus you'll will have better control over their solution if you e

2022-11-01 03:23:09 +0100 commented question Split orthogonal group over a finite field

Sound like a theory question.What is your trouble with Sage,?

2022-10-31 23:07:49 +0100 edited answer Problem with extracting coefficients in a formal expression

For .coefficient() method to work correctly a symbolic expression needs to be expanded first: WW23(ggg,1,7).expand().co

2022-10-31 22:40:40 +0100 answered a question Problem with extracting coefficients in a formal expression

For .coefficient() method to work correctly the expression needs to be expanded first: WW23(ggg,1,7).expand().coefficie

2022-10-31 22:20:54 +0100 edited question Problem with extracting coefficients in a formal expression

Problem with extracting coefficients in a formal expression I am computing recursively some big formal power series $f$