Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
0 votes

I tried the example in the manual but rieman to ricci doesn't seem to work

from cdb.relativity.abstract import * 
from cdb.core.manip import * 
{a,b,c,d,e,f,g,m,n,p,q,r,s,t,u,v,w,a,b,c,d,e,f}::Indices(vector).
R_{m n p q}::RiemannTensor;
ex:= R^{a}_{b c a} - R^{a}_{b a c};
riemann_to_ricci(ex);

The code returns none

asked in General questions by

1 Answer

+1 vote

That's a bug, thanks for reporting. I'll push a fix shortly.

answered by (56.2k points)

Thanks for the quick reply. LOL for a solid half and hour I
thought was too stupid to write a simple code

...