f = x /. q[[1]]在Mathematica 是什么意思

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/23 21:32:49
f=x/.q[[1]]在Mathematica是什么意思f=x/.q[[1]]在Mathematica是什么意思f=x/.q[[1]]在Mathematica是什么意思斜杠点就是替换的意思x+y/.x

f = x /. q[[1]]在Mathematica 是什么意思
f = x /. q[[1]]在Mathematica 是什么意思

f = x /. q[[1]]在Mathematica 是什么意思
斜杠点就是替换的意思
x+y /.x->a 就是把x+y里面的x替换成a
回想一下,你学代数的时候,因式分解、分解因式...都有很多的公式代换,利用这个斜杠点就能帮你很快地搞定.