cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how to convert a compact form of a matri
how to convert a compact form of a matrix into matrix form
Oct 4, 2014 at 7:44am UTC
Muhammad Junaid Pahat
(1)
3 3
2 1 3 2 3
1 0 2
1 2 6
first line shows row and column number
first index of the second line tells the number of non-zero entries of the first row and second index tell the column number where the non zero entry is placed
for 1st row of matrix:
non-zero entries=2
column number=1
non-zero entry=3
column number=2
non-zero entry=2
covert this in the given form
0 3 3
2 0 0
0 0 6
Oct 4, 2014 at 10:22am UTC
kbw
(9488)
You explain how to do it in your description. What really is the problem?
Topic archived. No new replies allowed.