Converts a given general matrix, A, in a sparse matrix representation.
This is used in the Lindo API [Lindo, 2009] software.
Base data are from the cited source [p 10], with results:
Value = [3 4 6 5 7 8 1 2 9] (N values),
Column-start [0 2 5 7 9] (n+1, numbered from 0),
Row-index [0 2 1 2 3 2 3 0 1] (also N). |
• Davis,
Tim. "Sparse
Matrix". From MathWorld—A Wolfram Web Resource, created by
Eric W. Weisstein.
• Lindo, 2009,
API Manual.pdf (part),
ver. 6.0.
• 1781-11-06: Plana, Giovanni Antonio Amedeo
(1864-01-20). |