projects
/
LeanCalc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git]
/
help
/
re
1
NAME
2
re - real part of a real or complex number
3
4
SYNOPSIS
5
re(x)
6
7
TYPES
8
x real or complex
9
10
return real
11
12
DESCRIPTION
13
If x = u + v * 1i where u and v are real, re(x) returns u.
14
15
EXAMPLE
16
> print re(2), re(2 + 3i), re(-4.25 - 7i)
17
2 2 -4.25
18
19
LIMITS
20
none
21
22
LINK LIBRARY
23
COMPLEX *c_imag(COMPLEX *x)
24
25
SEE ALSO
26
im
27