2019-12-05 05:29:01 -0600 | received badge | ● Popular Question (source) |

2019-08-22 09:13:05 -0600 | asked a question | Setting the components of a differential form systematically. Suppose for some p and q we have a manifold and some differential forms I want to construct and/or inspect components of these differential forms in a systematic way, which is to say I want to be able to iterate over the components. So for example, one way in which I've tried to do this is to create lists. I would want to say but this gives me a syntax error. but again I get a syntax error. |

2019-08-19 11:10:02 -0600 | received badge | ● Commentator |

2019-08-19 11:10:02 -0600 | commented answer | Defining manifolds in a systematic way. Hey, is there a way to do this in such a way that the coordinates have multiple indices, like x[(i,j,k)]? |

2019-08-06 09:53:48 -0600 | commented answer | Substituting symbolic expressions for mixed differential forms. Thanks, this seems to do the trick. I'm just wondering though, how can I have it so that the c's are indexed by two numbers? |

2019-08-05 10:29:55 -0600 | asked a question | Substituting symbolic expressions for mixed differential forms. I'm doing some computations with matrices differential forms, and the run times are extremely long. So in an attempt to
keep run times down, I'm attempting to do matrix computations with symbolic terms, and then later replacing them with the mixed forms I want. Now, in my actual project I will have many of these variables, so it's not feasible to manually type them into one substitution at once, so I need to do it with a for loop, so I try But this is where I get the coercion error. |

2019-07-29 03:48:48 -0600 | received badge | ● Great Question (source) |

2019-07-26 16:31:17 -0600 | asked a question | Is there any way to have a cell tell you how long it took to run in the Jupyter notebook? The question is basically all in the title. I'm working on a project in the Jupyter and notebook, and I have some cells that have longer run times. Sometimes I let these run, and come back to check on them later, however it would be nice to know exactly what duration those cells ran for. |

2019-07-19 20:56:46 -0600 | asked a question | Why does .remove() seem to take every element out of a list? I've found that if I define a list and then try to remove an element but then returns |

2019-07-10 13:06:16 -0600 | commented answer | Defining manifolds in a systematic way. Oh, I just tried it again and it worked, must have made a typo the first time, thanks. |

2019-07-10 12:06:07 -0600 | commented answer | Defining manifolds in a systematic way. How do I define a frame then? My naive attempt in analogy to the usual situation, but this doesn't work. |

2019-07-10 11:35:45 -0600 | asked a question | Defining manifolds in a systematic way. I'm working on writing an algorithm that does some specific computations with manifolds. I would like to be able to simply enter 2 numbers "p" and "q" which determine the manifold's dimension p*q, and have the algorithm run right from there. This requires having Sage set up the manifold right from those two numbers. I'm having trouble at the level of defining the chart. Below I begin a naive attempt. Everything works fine up to this point. Now, I need to define variables for a chart for this manifold. I would like to do something like where I'm using the variables I've defined as my coordinates. However, Sage doesn't allow me to do this. Furthermore, even if I could, I'm not sure how I would set this up so I didn't have to type in the variables by hand, because I want to set it up so I just have to feed Sage p and q, and let it build the manifold on its own. |

2019-07-03 13:23:28 -0600 | marked best answer | How to create/use matrices valued in differential forms? First, for context, I am working with holomorphic Hermitian vector bundles, and I need to compute the connection and curvature matrices, and compute some representatives for Chern classes and the Chern form. Ultimately I want to have a matrix which is valued in differential forms, and when I multiply matrices, I want the component-wise multiplication to be the wedge product of forms. When I naively try to build a matrix of forms 'by hand', or when I pre-define my matrix space to be valued in the module of differential forms, I get an error telling me that the space of differential forms is a not a ring. For example, prints out and raises a type error: |

2019-06-30 14:33:07 -0600 | received badge | ● Citizen Patrol (source) |

2019-06-25 11:45:38 -0600 | asked a question | (Update) How to change/set variables? I asked a simplified version of this question, and got an answer here: https://ask.sagemath.org/question/469... However I'm still having difficulty with a more complicated version of the same set-up, which I present here. Essentially I want to take a trace of an exponential of a matrix valued in forms. When I try running it with the forms I want, the run time takes far too long, certainly over an hour on my laptop. However, it's much shorter if I use forms with symbolic coefficients. What follows below is my attempt at computing the forms I want with symbols first, and then trying to set the coefficients at the end. I create some symbolic differential forms in the following way, Now I create a matrix valued in differential forms (I'm running the current beta version), define an identity matrix of mixed forms, define an exponential function (the usual .exp() for matrices doesn't seem to work when the matrix is valued in mixed forms) Finally I compute the trace of the exponential of the matrix G, Now if one trys to display CH in the frame eU, after about 10 minutes, this will print out some massive mixed form with coefficients being the g[(i, j, k)]. I now want to change the components of these forms to explicit forms. For simplicity of the example, lets just assume I want them all to be x^2. Than I update the forms as suggested in the answer to my original question, If you trying displaying any f, it's clear that this has worked. However, when I try to write all the components are still in terms of g_{}{}{}, they have not been changed to x^2. Is there some way to do this without having to run the computation of CH again? The whole point of this convoluted example was to avoid doing this computation with the functions I'm actually interested in, and only set them at the end. |

2019-06-21 08:43:31 -0600 | commented answer | How to change/set variables? Thanks, this seems to work for this example. However, I'm still having trouble with a more complicated version of the same task. I'll edit the question to add it in. |

2019-06-19 13:24:37 -0600 | commented answer | How to make formal variables with more than one index? Thanks! What if I wanted to make variables with 3 indices? It doesn't seem like the matrix approach would work in that case. |

2019-06-19 12:57:49 -0600 | asked a question | How to change/set variables? I created a list of formal variables that I want to work with under addition, multiplication etc. in the following way: Specifically I'm working with differential forms I then want to set the variables to something specific like but when I try to display this I get What I want is EDIT: The question as originally asked has been sufficiently answered by eric_g below. However I'm still having difficulty with a more complicated version of the same set-up, which I present here: https://ask.sagemath.org/question/469... |

2019-06-19 08:47:11 -0600 | asked a question | How to make formal variables with more than one index? I'd like to make formal variables that can be multiplied, added etc. but have them labelled by two indices. |