Mathematica清除函数的派生定义 [英] Mathematica clear a function's derivative definition

查看:412
本文介绍了Mathematica清除函数的派生定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mathematica中定义了函数的派生函数,而没有定义函数本身,即我有一个函数定义,如下所示:

I defined the derivative of a function in Mathematica without defining the function itself, i.e. I have a function definition that looks like this:

y'[x_] := constant * f'[x].

我无法弄清楚如何清除它。如果我使用 Clear [y'] 或ClearAll [y],我会收到一条错误消息:

I can't figure out how to clear it out. If I use Clear[y'] or `ClearAll[y'], I get an error message:


ClearAll :: ssym:y'不是符号或字符串。

ClearAll::ssym: y' is not a symbol or a string.

清除[y] ClearAll [y] y'

关于如何删除 y'

推荐答案



This should do what you want:

y'[x_] =.

请参阅 取消设置 。有关相关信息,另请参阅此问题

这篇关于Mathematica清除函数的派生定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆