Hi Everyone
I am currently writing a program in C++ which uses a very big matrix, I have been told to try and store the matrix in disc and try to retrieve only the chunks of the matrix I will be needing and keep swapping them around. The problem is I do not know how to do this in C++ anyone with a suggestion please help.
qinise4 0 Newbie Poster
Recommended Answers
Jump to Post>>is it possible to use mmap for this.
Sure it's possible, but is it the best solution? mmap is a general one-size-fits-all solution for large data structures that are paged. It is most likely that your application can take advantage of the structure of your matrix and its usage …
Jump to PostA popular way to handle large matrix is to divide the matrix into multiple chunks and work that way. Try to see if thats possible. Or post the actual problem here and surely someone can help you figure out a proper solution.
All 7 Replies
drkybelk 0 Junior Poster in Training
qinise4 0 Newbie Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
mrnutty 761 Senior Poster
qinise4 0 Newbie Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
qinise4 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.