DuplicateFreeQ

DuplicateFreeQ[list]

如果 list 中没有重复,给出 True,否则给出 False.

DuplicateFreeQ[list,test]

test 应用于元素对,以确定它们是否应该被视为重复.

更多信息

范例

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

基本范例  (1)

确定列表是否具有重复元素:

使用 Tally 发现重复的元素:

范围  (1)

确定子列表是否具有相同的总数:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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