Group Abstract Group Abstract

Message Boards Message Boards

How to find the inverse of an InterpolatingFunction?

Posted 3 years ago

Hello. I am numerically solving the coupled differential equations (for $t[\tau]$ and $r[\tau]$) below. Mathematica outputs two interpolating functions as solutions. I would like to invert one of these solutions - $t[\tau]$. That is, how can I obtain $\tau[t]$ from the interpolating function? Any help would be much appreciated, thanks!

POSTED BY: Aiden G
8 Replies

How accurate do you want the inverse function to be?

How fast do you want it to be?

POSTED BY: Michael Rogers
Posted 3 years ago

It need not be extremely accurate- I’ll be using the inverse to create conceptual plots. Speed is not crucial either. I don’t plan on increasing or carrying the data much farther than this point.

POSTED BY: Aiden G
POSTED BY: Michael Rogers

How long has "ValuesOnGrid" and "Grid" been accessible like that, and how much of my life have I wasted loading "InterpolatingFunctionAnatomy"??

POSTED BY: Eric Smith
POSTED BY: Michael Rogers

Thanks for the stack exchange link.

I'm aware of obj["Properties"] but apparently today I just learned about obj["Methods"] thanks again for the information and your posts.

POSTED BY: Eric Smith
POSTED BY: Eric Smith
Posted 3 years ago
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard