【问题标题】:How to define a function of multiple variables in Mathematica 9.0?如何在 Mathematica 9.0 中定义多个变量的函数?
【发布时间】:2013-11-02 01:34:26
【问题描述】:

在 Mathematica 中定义一个具有一个变量的函数,方法是:f[x_]。 如何为更多变量编写函数?

【问题讨论】:

标签: wolfram-mathematica


【解决方案1】:

您可以使用逗号 "," 分隔符:

f[x_Integer, y_Integer]

Here还有更多示例可以使用默认选项或某些特殊类型等来制作函数。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-11-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多