10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MATRIX:‐<br />

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

SPARSE MATRIX<br />

An m*n (pronounced as m by n) matrix is a two‐dimensional array<br />

whose m.n elements are arranged in m rows and n columns. A matrix is denoted<br />

by capital letters such as A, B, C,….., and its elements are denoted by<br />

corresponding lower letters suffixed with row index and column index such as<br />

aij.,bij.,cij.,…..,respectively.<br />

Entries of a matrix are often denoted by a variable with two subscripts, as<br />

shown:‐<br />

Example:‐<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 120 ‐

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!