Movatterモバイル変換


[0]ホーム

URL:


WOLFRAM

Wolfram Language & System Documentation Center
ClearAttributes

ClearAttributes[symbol,attr]

removesattr from the list of attributes of the symbolsymbol.

ClearAttributes["symbol",attr]

removesattr from the attributes of the symbol named"symbol" if it exists.

ClearAttributes[s,{attr1,attr2,}]

removes several attributes at a time.

ClearAttributes[{s1,s2,},attrs]

removes attributes from several symbols at a time.

Details
Details and OptionsDetails and Options
Examples  
Basic Examples  
Scope  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

ClearAttributes

ClearAttributes[symbol,attr]

removesattr from the list of attributes of the symbolsymbol.

ClearAttributes["symbol",attr]

removesattr from the attributes of the symbol named"symbol" if it exists.

ClearAttributes[s,{attr1,attr2,}]

removes several attributes at a time.

ClearAttributes[{s1,s2,},attrs]

removes attributes from several symbols at a time.

Details

Examples

open allclose all

Basic Examples  (1)

Listable function threads over its list argument:

Clear theListable attribute:

Without theListable attribute, the function applies to the entire argument only:

Scope  (1)

Set a number of attributes for the symbolf:

Clear a particular attribute; the remaining ones are retained:

Clear several attributes:

Properties & Relations  (3)

ClearAttributes is equivalent to this assignment to the attributes:

Unprotecting a symbol is equivalent to clearing theProtected attribute:

After setting the attributeLocked, no more changes to the attributes can be made:

See Also

Attributes SetAttributes Unprotect WithCleanup

Tech Notes

Related Guides

History

Introduced in 1988(1.0)

Wolfram Research (1988), ClearAttributes, Wolfram Language function, https://reference.wolfram.com/language/ref/ClearAttributes.html.

Text

Wolfram Research (1988), ClearAttributes, Wolfram Language function, https://reference.wolfram.com/language/ref/ClearAttributes.html.

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2025_clearattributes, author="Wolfram Research", title="{ClearAttributes}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/ClearAttributes.html}", note=[Accessed: 29-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_clearattributes, organization={Wolfram Research}, title={ClearAttributes}, year={1988}, url={https://reference.wolfram.com/language/ref/ClearAttributes.html}, note=[Accessed: 29-November-2025]}

Top

[8]ページ先頭

©2009-2025 Movatter.jp