Currently I use the following code to calculate the Kretschmann scalar kr of my metric g:
R=g.Riemann(); uR=R.up(g) dR=R.down(g) kr=uR['^{abcd}']*dR['_{abcd}'] It works, but it consumes a lot of memory: is there a more memory efficient way to calculate the Kretschamann scalar? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/7bf8ceff-f404-40ad-a8bc-94f2ab26069b%40googlegroups.com.