Reply to topic

First time using Eigen, 2 questions

hasuchobe
Registered Member
Posts
2
Karma
0

First time using Eigen, 2 questions

Sat Mar 16, 2013 8:17 pm
For sparse matrices... what is meant by outerstarts? I don't understand what this page is talking about.
http://eigen.tuxfamily.org/dox/Tutorial ... e_BasicOps

Second, does eigen support complex matrices? Is there an example on how to do this?

edit: Turns out all you need to do for complex operations is specify complex type from the standard library for the template.

thnx
User avatar ggael
Moderator
Posts
2194
Karma
15
OS
For a column major matrix, the nonzeros are sequentially stored as pairs (rowId,value). The outerstarts[j] tells where is the first non-zero for the j-th column. I don't know how to explain it differently. If that's still unclear you might look at this page http://netlib.org/utk/papers/templates/node92.html, where outerstarts==col_ptr.
hasuchobe
Registered Member
Posts
2
Karma
0
ggael wrote:For a column major matrix, the nonzeros are sequentially stored as pairs (rowId,value). The outerstarts[j] tells where is the first non-zero for the j-th column. I don't know how to explain it differently. If that's still unclear you might look at this page http://netlib.org/utk/papers/templates/node92.html, where outerstarts==col_ptr.


That page you linked clarified it. Thanks! Eigen is such a nice library :)

 
Reply to topic

Bookmarks



Who is online

Registered users: alake, Artmessiah, Baidu [Spider], Bing [Bot], bjoernbalazs, blue_bullet, Charblaze, dniitall, edmael, Exabot [Bot], franku, GentooSimon, Google [Bot], google01103, jensreuterberg, jgrulich, jitseniesen, ken300, koriun, Kver, La Ninje, lazyit, lucyandfatty, Majestic-12 [Bot], Mamarok, MiceAreVeryNice, odysseus-art, okias, robinh, Steve Guilford, urgo, wes33, Yahoo [Bot]