Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Dear All, I want to define a sparse matrix using coordinate storage format, to use in IMSL_SP_GMRES function. When I run below commands, IDL do not know imsl_f_sp_elem structure. how can I solve this? A = replicate(imsl_f_sp_elem, 15) a(*).row = [0, 1, 1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5] a(*).col = [0, 1, 2, 3, 2, 0, 3, 4, 0, 3, 4, 5, 0, 1, 5] a(*).val = [10, 10, -3, -1, 15, -2, 10, -1, -1, -5, 1, -3, -1, -2, 6] Thanks Best,