Mathematica 9 is now available

Chop

Usage

Chop[expr] 用确切的整数0替代expr中的接近零的近似实数.


Notes

Chop[expr, delta]0代替绝对大小小于delta的数.
Chop 使用一个 的缺省容限.
ChopRealComplex数上使用.
• 参见Mathematica全书: 3.1.4.
• 同时参见: Rationalize, Round.
Further Examples

This computation gives a small imaginary part.

In[1]:=  

Out[1]=

You can get rid of the small imaginary part using Chop.

In[2]:=  

Out[2]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.