Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error regarding declaring tensor field in Sage

This is my code regarding declaration of tensor field for 3 dimensional differentiable manifold M = Manifold(3, 'M') U = M.open_subset('U')
V = M.open_subset('V') M.declare_union(U,V); c_xyz.<x,y,z> = U.chart() c_uvw.<u,v,w> = V.chart() eU = c_xyz.frame() eV = c_uvw.frame() t= M.tensor_field(1,1, name='t') t[eU,:]== [1,1] It is showing error as I cannot properly declare t.Any help is appreciated