ReverseApplied

ReverseApplied[f]

表示 f 的一种形式,以相反的顺序接受参数,因此 ReverseApplied[f][x1,,xn] 等价于 f[xn,,x1].

ReverseApplied[f,n]

表示 f 的一种形式,在执行计算之前先反转前 n 个参数的顺序.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (2)

反转参数的顺序:

使用数字的倒序:

范围  (2)

反转函数的所有参数的顺序:

反转函数的前 n 个参数的顺序:

反转函数的最后 n 个参数的顺序:

应用  (1)

同时使用非交换积和逆序应用:

属性和关系  (5)

可组合 ReverseApply 来构建 ReverseApplied

ReverseApplied[f][] 返回 f[]

ReverseSort 相当于同时使用 Sort 和排序函数 ReverseApplied[Order]

RightComposition 等价于 ReverseApplied[Composition]

OperatorApplied[f] 相当于 CurryApplied[2]ReverseApplied[f] 的组合:

Wolfram Research (2020),ReverseApplied,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ReverseApplied.html.

文本

Wolfram Research (2020),ReverseApplied,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ReverseApplied.html.

CMS

Wolfram 语言. 2020. "ReverseApplied." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ReverseApplied.html.

APA

Wolfram 语言. (2020). ReverseApplied. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ReverseApplied.html 年

BibTeX

@misc{reference.wolfram_2024_reverseapplied, author="Wolfram Research", title="{ReverseApplied}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ReverseApplied.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_reverseapplied, organization={Wolfram Research}, title={ReverseApplied}, year={2020}, url={https://reference.wolfram.com/language/ref/ReverseApplied.html}, note=[Accessed: 22-November-2024 ]}