How can i do matrix with STL?

R

RJPO

I need help, im using STL for vector but i need a matrix like
container, How can i do?
 
V

Victor Bazarov

RJPO said:
I need help, im using STL for vector but i need a matrix like
container, How can i do?

vector<vector<??> >

Also, use Google to search for alternative solutions.

V
 
K

Kristo

RJPO said:
I need help, im using STL for vector but i need a matrix like
container, How can i do?

You can take a look at the C++ FAQ. There are a couple of topics in
there that deal with a Matrix class and good ways to implement it.

Kristo
 
F

Fei Liu

RJPO said:
I need help, im using STL for vector but i need a matrix like
container, How can i do?

std::valarray, blitz++, and boost::multi-array are your friends
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top