Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
CalculateInverse
Guides
Guide to ZigangPan`CalculateInverse`
Symbols
FormulaToCPFunction
FormulaToFunction
inversefunction
updatenames
ZigangPan`CalculateInverse`
F
o
r
m
u
l
a
T
o
C
P
F
u
n
c
t
i
o
n
F
o
r
m
u
l
a
T
o
C
P
F
u
n
c
t
i
o
n
[
x
,
f
x
]
r
e
t
u
r
n
s
a
c
o
m
p
i
l
e
d
f
u
n
c
t
i
o
n
f
,
w
i
t
h
i
n
d
e
p
e
n
d
e
n
t
v
a
r
i
a
b
l
e
s
l
i
s
t
e
d
i
n
x
,
s
u
c
h
t
h
a
t
f
[
x
]
=
f
x
.
Examples
(
1
)
Basic Examples
(
1
)
I
n
[
1
]
:
=
f
x
=
{
x
1
+
x
2
,
x
2
-
x
1
^
2
+
E
x
p
[
2
x
1
]
}
;
x
c
=
{
x
1
,
x
2
}
;
I
n
[
2
]
:
=
f
=
F
o
r
m
u
l
a
T
o
F
u
n
c
t
i
o
n
[
x
c
,
f
x
]
O
u
t
[
2
]
=
F
u
n
c
t
i
o
n
[
{
x
1
,
x
2
}
,
{
x
1
+
x
2
,
2
x
1
-
2
x
1
+
x
2
}
]
I
n
[
3
]
:
=
f
c
=
F
o
r
m
u
l
a
T
o
C
P
F
u
n
c
t
i
o
n
[
x
c
,
f
x
]
O
u
t
[
3
]
=
C
o
m
p
i
l
e
d
F
u
n
c
t
i
o
n
A
r
g
u
m
e
n
t
c
o
u
n
t
:
2
A
r
g
u
m
e
n
t
t
y
p
e
s
:
{
_
R
e
a
l
,
_
R
e
a
l
}
▪
f and fc are pure functions, but fc is a compiled pure function, which only takes real valued variables.
I
n
[
4
]
:
=
T
i
m
i
n
g
[
N
[
f
[
2
,
3
]
]
]
O
u
t
[
4
]
=
{
0
.
0
0
0
0
4
5
,
{
5
.
,
5
3
.
5
9
8
2
}
}
I
n
[
5
]
:
=
T
i
m
i
n
g
[
f
c
[
2
,
3
]
]
O
u
t
[
5
]
=
{
0
.
0
0
0
0
3
4
,
{
5
.
,
5
3
.
5
9
8
2
}
}
▪
A compiled function can compute much faster than a normal one.
S
e
e
A
l
s
o
F
o
r
m
u
l
a
T
o
F
u
n
c
t
i
o
n
▪
F
u
n
c
t
i
o
n
"
"