bshoshany / OGRe

An object-oriented general relativity package for Mathematica.
MIT License
122 stars 20 forks source link

Convert Tensors to Functions #6

Closed Sayan2001 closed 1 year ago

Sayan2001 commented 1 year ago

I couldn't figure if there is a way to convert tensors to usual Mathematica functions so that we could use them in other packages like VariationalD.

bshoshany commented 1 year ago

Hi @Sayan2001, thanks for opening this issue. Sorry it took me so long to reply. I'm currently on hiatus from developing this package, since I'm too busy teaching. However, I plan to release a new version with many bug fixes and new features in the summer.

Sorry, I'm not exactly sure what you mean by "converting tensors to functions". The module TGetComponents[] returns the components of the tensor as a Mathematica List. Is that what you are looking for?