OrderlessPatternSequence
✖
OrderlessPatternSequence
OrderlessPatternSequence[p1,p2,…]
任意の順序で p1,p2,…にマッチする引数列を表すパターンオブジェクトである.
詳細

- OrderlessPatternSequence[]は,長さが0の列を表す.
- OrderlessPatternSequenceは,パターン内の任意の場所に現れることができるが,パターンの唯一の要素であってはならない.
例題
すべて開くすべて閉じる例 (3)基本的な使用例

https://wolfram.com/xid/0bc6zz97w6gyib2-bqdvwf


https://wolfram.com/xid/0bc6zz97w6gyib2-f6d0yy


https://wolfram.com/xid/0bc6zz97w6gyib2-tqcaa


https://wolfram.com/xid/0bc6zz97w6gyib2-el5315


https://wolfram.com/xid/0bc6zz97w6gyib2-ba5j6x

スコープ (2)標準的な使用例のスコープの概要
OrderlessPatternSequenceを使って関数の引数のいくつかの順序をなくする:

https://wolfram.com/xid/0bc6zz97w6gyib2-px7fq

https://wolfram.com/xid/0bc6zz97w6gyib2-pec2w1


https://wolfram.com/xid/0bc6zz97w6gyib2-dilli5


https://wolfram.com/xid/0bc6zz97w6gyib2-e1rova


https://wolfram.com/xid/0bc6zz97w6gyib2-etl25n


https://wolfram.com/xid/0bc6zz97w6gyib2-cbvxna

特性と関係 (1)この関数の特性および他の関数との関係
PatternSequenceは,式のパターンマッチングの最中に,式を固定順にマッチする:

https://wolfram.com/xid/0bc6zz97w6gyib2-begbju


https://wolfram.com/xid/0bc6zz97w6gyib2-5gs1ep

OrderlessPatternSequenceは式を任意順にマッチする:

https://wolfram.com/xid/0bc6zz97w6gyib2-ir2ij4


https://wolfram.com/xid/0bc6zz97w6gyib2-buskcg

考えられる問題 (1)よく起る問題と予期しない動作
OrderlessPatternSequenceはパターン列についてマッチする:

https://wolfram.com/xid/0bc6zz97w6gyib2-9f7jhv


https://wolfram.com/xid/0bc6zz97w6gyib2-fz18c5

Wolfram Research (2015), OrderlessPatternSequence, Wolfram言語関数, https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html.
テキスト
Wolfram Research (2015), OrderlessPatternSequence, Wolfram言語関数, https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html.
Wolfram Research (2015), OrderlessPatternSequence, Wolfram言語関数, https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html.
CMS
Wolfram Language. 2015. "OrderlessPatternSequence." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html.
Wolfram Language. 2015. "OrderlessPatternSequence." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html.
APA
Wolfram Language. (2015). OrderlessPatternSequence. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html
Wolfram Language. (2015). OrderlessPatternSequence. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html
BibTeX
@misc{reference.wolfram_2025_orderlesspatternsequence, author="Wolfram Research", title="{OrderlessPatternSequence}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html}", note=[Accessed: 03-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_orderlesspatternsequence, organization={Wolfram Research}, title={OrderlessPatternSequence}, year={2015}, url={https://reference.wolfram.com/language/ref/OrderlessPatternSequence.html}, note=[Accessed: 03-April-2025
]}