First time here? Check out the FAQ!

Ask Your Question
0

Keep metric purely symbolic

asked 1 year ago

Loreno Heer gravatar image

updated 1 year ago

eric_g gravatar image

Is there an easy way to define a purely symbolic riemannian metric on a manifold? Or do I need to initialize it like this g[0,0] = function('g00')(t,x,y,z) for example?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 1 year ago

eric_g gravatar image

At the moment, all tensor fields on manifolds must have expressions in terms of coordinates in one or more charts, These expressions can involve some unspecified functions though, declared via function. So yes, the only way to define a generic metric is what you suggest. But in practice, for dimensions larger than 2 or 3, this can lead to untractable computations.

Preview: (hide)
link

Comments

oh, that is a pity. both in terms of writing it out and computationally. I will then use cadabra2 in the meantime for this.

Loreno Heer gravatar imageLoreno Heer ( 1 year ago )

What version of sage was this? I've been trying something similar. Is there any update on this?

aneet gravatar imageaneet ( 0 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 242 times

Last updated: Jun 23 '23