SPRSAX
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The SPRSAX function takes a row-indexed sparse array created by the SPRSIN function and multiplies it by an n-element vector to its right.
SPRSAX is based on the routine sprsax described in section 2.7 of Numerical Recipes in C: The Art of Scientific Computing (Second Edition), published by Cambridge University Press, and is used by permission.
Syntax
Result = SPRSAX( A, X [, /DOUBLE] )
Return Value
Returns a n-element vector.
Arguments
A
A row-indexed sparse array created by the SPRSIN function.
Note
If SPRSAX is complex then only the real part is used for the computation.
X
An n-element right hand vector.
Keywords
DOUBLE
Set this keyword to force the computation to be done in double-precision arithmetic.
Examples
IDL prints:
Version History
See Also
FULSTR, LINBCG, SPRSAB, SPRSIN, SPRSTP, READ_SPR, WRITE_SPR