Clip
更多信息

- Clip[x] 实际相当于 Piecewise[{{-1,x<-1},{+1,x>+1}},x].
- vi 同 Clip 的其它自变量一样,不需要为数字.
- 对于确切的数值量, Clip 在内部用数值近似法确定其结果. 这个过程可能被全局变量 $MaxExtraPrecision 的设置所影响.
范例
打开所有单元关闭所有单元基本范例 (3)常见实例总结
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-c9awo
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-crdeso
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-ckw6sn
Direct link to example
Out[1]=1

范围 (28)标准用法实例范围调查
数值计算 (5)
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-l274ju
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-qd3sqg
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-wlv0g
Direct link to example
Out[2]=2

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-b0wt9
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-y7k4a
Direct link to example
Out[2]=2

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-di5gcr
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-bq2c6r
Direct link to example
Out[2]=2

Clip 在其第一个参数中遍历列表:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-fiqlwl
Direct link to example
Out[1]=1

或用 MatrixFunction 计算矩阵形式的 FresnelC 函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-cw18bq
Direct link to example
Out[1]=1

特殊值 (5)
在固定点的 Clip 的值:
Copy to clipboard.
In[6]:=6

✖
https://wolfram.com/xid/0girdu-nww7l
Direct link to example
Out[6]=6

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-bmqd0y
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-faguac
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-ia2x93
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-t1a62
Direct link to example
Out[2]=2

求满足 Clip[x,{-2,2}]=1 的 x 值:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-f2hrld
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-gozl6a
Direct link to example
Out[2]=2

可视化 (3)
可视化 Clip 的三参数形式:
Copy to clipboard.
In[6]:=6

✖
https://wolfram.com/xid/0girdu-m9iju8
Direct link to example
Out[6]=6

用周期函数绘制 Clip 的组合:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-w5pgcb
Direct link to example
Out[1]=1

绘制三维的 Clip:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-i75zi3
Direct link to example
Out[1]=1

函数属性 (9)
Clip 对所有实数输入有定义:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-cl7ele
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-5x3y49
Direct link to example
Out[2]=2

Copy to clipboard.
In[3]:=3

✖
https://wolfram.com/xid/0girdu-9hu8a3
Direct link to example
Out[3]=3

Clip[x] 的函数值域:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-evf2yr
Direct link to example
Out[1]=1

Clip[x,{min,max},{vmin,vmax}] 的值域:
Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-1tamxg
Direct link to example
Out[2]=2

Clip 的单参数形式是一个奇函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-4sd7by
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-um7u4g
Direct link to example
Out[2]=2

Clip 不是解析函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-h5x4l2
Direct link to example
Out[1]=1

Clip[x] 有奇点但无断点:
Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-mdtl3h
Direct link to example
Out[2]=2

Copy to clipboard.
In[3]:=3

✖
https://wolfram.com/xid/0girdu-mn5jws
Direct link to example
Out[3]=3

Copy to clipboard.
In[4]:=4

✖
https://wolfram.com/xid/0girdu-79xwu
Direct link to example
Out[4]=4

Clip[x] 为非递减:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-nlz7s
Direct link to example
Out[1]=1

Clip[x] 不是单射函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-poz8g
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-ctca0g
Direct link to example
Out[2]=2

Clip[x] 不是满射函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-cxk3a6
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-frlnsr
Direct link to example
Out[2]=2

Clip[x] 不是非负也不是非正:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-84dui
Direct link to example
Out[1]=1

Clip[x] 不是凸函数也不是凹函数:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-8kku21
Direct link to example
Out[1]=1

微分和积分 (6)
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-krpoah
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-wm35bf
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-cb5zgj
Direct link to example
Out[1]=1

使用 Integrate 计算不定积分:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-bponid
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-op9yly
Direct link to example
Out[2]=2

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-bfdh5d
Direct link to example
Out[1]=1

Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-dho6rm
Direct link to example
Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-2wgd4r
Direct link to example
Out[2]=2

应用 (1)用该函数可以解决的问题范例
可能存在的问题 (1)常见隐患和异常行为
对于复数值,Clip 没有定义:
Copy to clipboard.
In[1]:=1

✖
https://wolfram.com/xid/0girdu-f1zvc2
Direct link to example

Out[1]=1

Copy to clipboard.
In[2]:=2

✖
https://wolfram.com/xid/0girdu-n232yu
Direct link to example
Out[2]=2

Wolfram Research (2004),Clip,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Clip.html.
Copy to clipboard.
✖
Wolfram Research (2004),Clip,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Clip.html.
文本
Wolfram Research (2004),Clip,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Clip.html.
Copy to clipboard.
✖
Wolfram Research (2004),Clip,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Clip.html.
CMS
Wolfram 语言. 2004. "Clip." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Clip.html.
Copy to clipboard.
✖
Wolfram 语言. 2004. "Clip." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Clip.html.
APA
Wolfram 语言. (2004). Clip. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Clip.html 年
Copy to clipboard.
✖
Wolfram 语言. (2004). Clip. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Clip.html 年
BibTeX
Copy to clipboard.
✖
@misc{reference.wolfram_2025_clip, author="Wolfram Research", title="{Clip}", year="2004", howpublished="\url{https://reference.wolfram.com/language/ref/Clip.html}", note=[Accessed: 04-April-2025
]}
BibLaTeX
Copy to clipboard.
✖
@online{reference.wolfram_2025_clip, organization={Wolfram Research}, title={Clip}, year={2004}, url={https://reference.wolfram.com/language/ref/Clip.html}, note=[Accessed: 04-April-2025
]}