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

Java sticky instances of class com.mysql.jdbc.Field aggregating -