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
To display inline code, like
z = x*y
, use backticks.To display blocks of code or error messages, skip a line above and below, and do one of the following (all give the same result):
For instance, typing
produces:
Please edit your question to do that.