Compress

Compress[expr]

以字符串形式给出 expr 的压缩表示.

更多信息和选项

范例

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

基本范例  (3)

的压缩表示,采用100位精度:

导入一个图像:

存放这幅图像所用的字节数:

这幅图像压缩后的字节数:

压缩一个常规表达式:

下例中压缩了将近50倍:

属性和关系  (1)

压缩数字列表,并绘制其大小:

压缩一个有重复值的列表,并绘制其大小:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_compress, organization={Wolfram Research}, title={Compress}, year={2007}, url={https://reference.wolfram.com/language/ref/Compress.html}, note=[Accessed: 18-November-2024 ]}