首页 | 官方网站   微博 | 高级检索  
     


Simple compact tree storage of a multidimensional array
Authors:P.B. Visscher
Affiliation:Department of Physics and Astronomy, The University of Alabama, University, AL 35486, USA
Abstract:Algorithms are described for storing and retrieving an array having a large and variable number of indices, each of which takes on values which are usually small integers, but whose maximum size is unknown. Such arrays are extremely common in physical problems, where the indices may be quantum numbers (describing the electrons in a many-electron atom, for example) or point separations on a lattice (as in the case of lattice Green functions). Usual methods for storing such arrays are very wasteful of space, and the resulting large memory requirements are often the limiting factor in the quality of physical calculations. The “trie” structure described here is conservative of memory. We have written a set of FORTRAN subroutines which allow a user to store and retrieve array elements efficiently without a detailed understanding of the tree structure; these are described in an accompanying write-up.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号