hepcmb_codingnoob
hepcmb_codingnoob

Reputation: 1

What is the simplest way to get an inverse function?

I need to use the inverse of a linear function of an error function in a code. What would be the simplest way to get an inverse of such a function in python?

Upvotes: 0

Views: 194

Answers (1)

RD4
RD4

Reputation: 155

y = mx + t
x = (y - t) / m = y/m - t/m

m is slope, t is y-axis section.
The first one is the linear function, the second one is the inversed linear function. You just have to translate this into python now.

Upvotes: 2

Related Questions