ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 27 Jan 2021 19:38:02 +0100Extracting numerator of a Ricci tensor componenthttps://ask.sagemath.org/question/55479/extracting-numerator-of-a-ricci-tensor-component/ Hello
I'm solving Einstein equation in vacuum. I already computed the Ricci tensor. For example, de first Ricci component is saved in the following variable eq1:
eq1=EE[0,0]
The denominator of the component should vanish since since the other part of the equation is zero. How can I extract numerator of the expression. I have tried:
eq1.denominator()
But it does not work. Thanks
Wed, 27 Jan 2021 18:48:55 +0100https://ask.sagemath.org/question/55479/extracting-numerator-of-a-ricci-tensor-component/Comment by eric_g for <p>Hello</p>
<p>I'm solving Einstein equation in vacuum. I already computed the Ricci tensor. For example, de first Ricci component is saved in the following variable eq1:</p>
<p>eq1=EE[0,0]</p>
<p>The denominator of the component should vanish since since the other part of the equation is zero. How can I extract numerator of the expression. I have tried:</p>
<p>eq1.denominator()</p>
<p>But it does not work. Thanks</p>
https://ask.sagemath.org/question/55479/extracting-numerator-of-a-ricci-tensor-component/?comment=55482#post-id-55482See the answer to [question 55475](https://ask.sagemath.org/question/55475/simplifying-when-solving-einstein-equation/)Wed, 27 Jan 2021 19:38:02 +0100https://ask.sagemath.org/question/55479/extracting-numerator-of-a-ricci-tensor-component/?comment=55482#post-id-55482