This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to add matrix with vector as diagonal matrix?

Tags: None
(comma "," separated)
sergeik
Registered Member
Posts
6
Karma
0
Hi,
how to add a matrix with a vector as a diagonal matrix?
Dee33
Registered Member
Posts
54
Karma
0
OS
Use asDiagonal() to get a diagonal matrix from a vector
http://eigen.tuxfamily.org/dox-devel/QuickRefPage.html


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]