PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Numerical Functions
>
Built-in
Mathematica
Symbol
Some Mathematical Functions
Complex Numbers
Numerical Functions
Piecewise Functions
Tutorials »
|
Re
Im
Arg
Mod
ComplexExpand
Norm
Sign
Piecewise
See Also »
|
Complex Numbers
Functions of Complex Variables
Mathematical Functions
Numerical Functions
More About »
Abs
Abs
[
z
]
gives the absolute value of the real or complex number
z
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
For complex numbers
z
,
Abs
[
z
]
gives the modulus
.
Abs
[
z
]
is left unevaluated if
z
is not a numeric quantity.
Abs
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Real numbers:
In[1]:=
Out[1]=
Complex numbers:
In[2]:=
Out[2]=
Abs
threads element-wise over lists:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Scope
(3)
Generalizations & Extensions
(3)
Applications
(2)
Properties & Relations
(12)
Possible Issues
(3)
Neat Examples
(2)
SEE ALSO
Re
Im
Arg
Mod
ComplexExpand
Norm
Sign
Piecewise
TUTORIALS
Some Mathematical Functions
Complex Numbers
Numerical Functions
Piecewise Functions
RELATED LINKS
Demonstrations with Abs
(
Wolfram Demonstrations Project
)
MathWorld
The Wolfram Functions Site
MORE ABOUT
Complex Numbers
Functions of Complex Variables
Mathematical Functions
Numerical Functions
New in 1