Sparse_array Sparse_array

Sparse array - Definition

Related Words: Diffuse, Discrete, Distributed, Niggardly

A sparse array in computing is an array where only very few indices are in practice used. Arrays are data structures used in programming languages. They map integer positions, or indices, less than the array's length, to values.

A typical implementation allocates space for the entire array, even if only a few indices are ever used. If the sparsity is known in advance, more space-efficient implementations can be used, only allocating space for the entries that are actually used.

Example: An array with length of one million, where only the indices 1, 3, 120 and 999999 are used, is sparse. It would be inefficient to allocate any space for the remaining 999996 possible array elements.

See also: sparse matrix

Example Usage of Sparse

InsureORBoomers: Online shopping is brisk this year|Stores in the snow-battered East Coast may have been Sparse this weekend, but .. http://oohja.com/x3RvB
elanlohmann: @zk I hear you. Truth is that News sites rely on services like Sapa, AFP etc and you are 100% right. Africa coverage is weak and Sparse.
YouthGrpService: Hi everyone and welcome to our Youth Group Service page! It looks a little Sparse at the moment but we will be... http://bit.ly/762u8t
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.