Ask Your Question

LPsFR's profile - activity

2021-07-08 19:30:41 +0200 received badge  Self-Learner (source)
2021-07-08 19:30:41 +0200 received badge  Teacher (source)
2021-06-04 15:19:05 +0200 answered a question Several charts at top create trouble with submanifolds

Hello Eric, Thank you for your answer It now works fine! I noticed that the SageManifold source code is available in

2021-06-04 09:41:35 +0200 received badge  Nice Question (source)
2021-06-03 10:03:22 +0200 received badge  Student (source)
2021-06-03 09:45:18 +0200 asked a question Several charts at top create trouble with submanifolds

several chats at top create trouble with submanifolds. my issue seems pretty trivial, however, I cannot find a way. I c

2020-12-04 17:55:04 +0200 commented answer manifolds: antisymmetrize a tensor field creates a vector field instead of a tensor field

Got it. Thanks. Missed that p-vectors are tensor with some added value.

2020-12-04 16:36:30 +0200 commented question manifolds: antisymmetrize a tensor field creates a vector field instead of a tensor field

Got it. Thanks.

2020-12-04 15:45:08 +0200 asked a question manifolds: antisymmetrize a tensor field creates a vector field instead of a tensor field

Tensor.antisymmetrize(...) creates a vector field instead of a tensor field as expected. See example below: CODE:

M = Manifold(3, 'M')
c_xyz.<x,y,z> = M.chart()
e_=c_xyz.frame()
K  =M.tensor_field(2,0,{e_:[[0,1,2],[4,5,6],[8,9,10],[12,13,14]]},name='K') 
print('K :',K)
K.symmetries()
KS=K.symmetrize(0,1);print('KS:',KS)
KS.symmetries()
KA=K.antisymmetrize(0,1);print('KA:',KA)
KA.symmetries()

OUTPUT print :

K : Tensor field K of type (2,0) on the 3-dimensional differentiable manifold M
no symmetry; no antisymmetry
KS: Tensor field of type (2,0) on the 3-dimensional differentiable manifold M
symmetry: (0, 1); no antisymmetry
KA: 2-vector field on the 3-dimensional differentiable manifold M
no symmetry; antisymmetry: (0, 1)
2020-05-21 11:11:39 +0200 answered a question manifolds : ricci_scalar() has no attribute 'at'

As simple as that. Many thanks.

2020-05-20 18:56:44 +0200 asked a question manifolds : ricci_scalar() has no attribute 'at'

gP3.ricci_scalar().at(p) does not produce value of ricci_scalar at point p. (gP3 is my metric). whilst ricci().at(p) is working. Error message : AttributeError: 'DiffScalarFieldAlgebra_with_category.element_class' object has no attribute 'at'