Ask Your Question

Polydarya's profile - activity

2022-02-10 17:36:10 +0200 commented answer Checking whether a fan is projective: any way to get it faster?

So does Kaehler_cone() produce the open one or not? (I've tried the suggested code, so far it didn't manage the create

2022-02-10 14:55:45 +0200 asked a question Checking whether a fan is projective: any way to get it faster?

Checking whether a fan is projective: any way to get it faster? I need to check whether a certain complete fan in R^3 is

2022-02-10 14:44:19 +0200 marked best answer Exporting from Sage to Macaulay2

I am trying to use Macaulay2 in CoCalc and I am running into a problem that I can't make Macaulay2 take any input that was previosly computed by Sage:

a = 2
b = 3
macaulay2('a+b')

This gives an Error message instead of 5. How do I correct it? (In the end of the day I need to work with fans because Macaulay2 Polyhedra package has some functions that Sage packages don't have, but I guess knowing the answer to the question above should be enough for me. Thank you.)

2022-02-06 22:30:21 +0200 commented answer Exporting from Sage to Macaulay2

Thanks! This works with a+b, however macaulay2(f'matrix {{a},{b}}') yields an error, "SyntaxError: f-string: single '

2022-02-06 19:24:16 +0200 asked a question Exporting from Sage to Macaulay2

Exporting from Sage to Macaulay2 I am trying to use Macaulay2 in CoCalc and I am running into a problem that I can't mak

2021-05-12 23:19:21 +0200 commented question A certain polyhedron-related computation: any way to get it quicker?

How does one profile code in Sage? After asking this question, I've realized that I store all the combinatorial data and

2021-05-12 01:20:33 +0200 received badge  Editor (source)
2021-05-12 01:20:33 +0200 edited question A certain polyhedron-related computation: any way to get it quicker?

A certain polyhedron-related computation: any way to get it quicker? (This is a white flag sort of question.) I have a n

2021-05-12 01:17:44 +0200 asked a question A certain polyhedron-related computation: any way to get it quicker?

A certain polyhedron-related computation: any way to get it quicker? (This is a white flag sort of question.) I have a n

2021-05-11 21:07:02 +0200 commented answer Subfaces of a face in Polyhedra package?

Thank you very much!

2021-05-11 21:06:44 +0200 marked best answer Subfaces of a face in Polyhedra package?

I'm using polyhedra package and I need the operation that, for a given face, provides the list of all its subfaces (as faces in the bigger polyhedron). If I'm doing something like face.as_polyhedron().faces(n), the faces stop being recognised as belonging to the bigger polyhedron. What is the correct way to do that?

2021-05-11 15:58:50 +0200 asked a question Subfaces of a face in Polyhedra package?

Subfaces of a face in Polyhedra package? I'm using polyhedra package and I need the operation that, for a given face, pr

2021-05-09 19:27:54 +0200 commented answer How to use faces of a polytope as variables?

Thank you so so much! You are my saviour. One little detail I can't understand: what is this "-1-dimensional" face x1?

2021-05-09 19:26:30 +0200 received badge  Supporter (source)
2021-05-09 19:26:27 +0200 marked best answer How to use faces of a polytope as variables?

Hello, I am very new to using computer algebras system, and I can't figure out the following: I need to create a 3D polytope (in fact, an associahedron) and then do some computations in the algebra of rational functions in variables that correspond to faces of associahedron. How do I do that? I know writing something like Frac(ZZ['x,y,z']) creates the algebra that I need, but how do I make formal symbols x,y,z remember that they once were faces of a polytope (so that I could check if one was a subface of another, or something like that...)?

2021-05-09 19:26:27 +0200 received badge  Scholar (source)
2021-05-09 11:29:45 +0200 received badge  Student (source)
2021-05-08 22:38:42 +0200 asked a question How to use faces of a polytope as variables?

How to use faces of a polytope as variables? Hello, I am very new to using computer algebras system, and I can't figure