AssociateTo

AssociateTo[a,keyval]

キーと値のペア keyval を加えることで,連想 a を変更する.

AssociateTo[a,{key1val1,key2val2,}]

キーと値のペア keyivaliをすべて加える.

詳細

例題

  (3)

連想を作る:

aに関連している値を変える:

キーがすでに連想に含まれていなければ,これが加えられる:

連想中のいくつかの値を変える:

1つの連想を別の連想に加える:

Wolfram Research (2014), AssociateTo, Wolfram言語関数, https://reference.wolfram.com/language/ref/AssociateTo.html.

テキスト

Wolfram Research (2014), AssociateTo, Wolfram言語関数, https://reference.wolfram.com/language/ref/AssociateTo.html.

CMS

Wolfram Language. 2014. "AssociateTo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssociateTo.html.

APA

Wolfram Language. (2014). AssociateTo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssociateTo.html

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_associateto, organization={Wolfram Research}, title={AssociateTo}, year={2014}, url={https://reference.wolfram.com/language/ref/AssociateTo.html}, note=[Accessed: 17-November-2024 ]}