FULSTR
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The FULSTR restores a row-indexed sparse array to full storage mode. If the sparse array was created with the SPRSIN function using the THRESH keyword, any values in the original array that were below the specified threshold are replaced with zeros.
Syntax
Result = FULSTR(A)
Return Value
Returns a given array to full storage mode.
Arguments
A
A row-indexed sparse array created by the SPRSIN function.
Keywords
None.
Examples
Suppose we have converted an array to sparse storage format with the following commands:
The variable SPARSE now contains a representation of the array A in structure form. To restore the array from the sparse-format structure:
; Restore the array:
result = FULSTR(sparse)
; Print the result:
PRINT, result
IDL prints:
Note that the elements with an absolute value less than the specified threshold have been set to zero.
Version History
See Also
LINBCG, SPRSAB, SPRSAX, SPRSIN, SPRSTP, READ_SPR, WRITE_SPR