Sparse matrix: Difference between revisions

Content deleted Content added
Corrected row_index on 4x6 matrix example
Tags: Reverted possible vandalism
No edit summary
Line 87:
V = [ 10 20 30 40 50 60 70 80 ]
COL_INDEX = [ 0 1 1 3 2 3 4 5 ]
ROW_INDEX = [ 0 02 14 17 2 2 2 8 3]
 
The whole is stored as 21 entries: 8 in {{math|V}}, 8 in {{math|COL_INDEX}}, and 5 in {{math|ROW_INDEX}}.