计算机科学 > 程序设计语言
[提交于 2013年1月3日]
标题:Tree-based Arithmetic and Compressed Representations of Giant Numbers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Can we do arithmetic in a completely different way, with a radically different data structure? Could this approach provide practical benefits, like operations on giant numbers while having an average performance similar to traditional bitstring representations? While answering these questions positively, our tree based representation described in this paper comes with a few extra benefits: it compresses giant numbers such that, for instance, the largest known prime number as well as its related perfect number are represented as trees of small sizes. The same also applies to Fermat numbers and important computations like exponentiation of two become constant time operations. At the same time, succinct representations of sparse sets, multisets and sequences become possible through bijections to our tree-represented natural numbers.
提交历史
来自:Paul Tarau[v1] 2013年1月3日 星期四 00:00:00 UTC