I am wondering what data structure would best suit for this? - Azhar.
On Wed, Jan 12, 2011 at 11:11 AM, Abdul Rahman Shariff <[email protected]>wrote: > i can tell 1 thing tht only > (((n*n)-n)/2) +n elements are unique and the "(((n*n)-n)/2)" term is the > one shoes the no of repeated elements and n represents the > diagonal elements hope this gives some usefull info (i havent gone through > any book nor do i guarantee optimal or best memory usage) > > > On Wed, Jan 12, 2011 at 9:50 AM, Azhar Hussain <[email protected]> wrote: > >> I have a symmetric matrix. I am wondering what would be the best data >> structure to store such a matrix? How many elements do I need to store for a >> nxn matrix? >> >> Thanks in advance for the help. >> >> - >> Azhar. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<algogeeks%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Ehab Abdul Rahman Shariff > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
