c++ - How do you make a matrix out of vectors in eigen? -


i have 4 column vectors. need append them make 4 four matrix. there constructor or that?

you can append them using comma initializer syntax:

m << v1, v2, v3, v4; 

the matrix m mus have been resized first.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -