
I can't seem to find vectors with type int (e.g. vector<int>). Was that on purpose or did I miss something?
Thanks!


Jul 29, 2014 at 10:26 AM
Edited Jul 29, 2014 at 10:28 AM

Yes, this is intentional. Vector<int> would not technically be a vector in the mathematical sense of vector fields, as integers lack the multiplicative inverse. Quite a few of the linear algebra routines would not work properly.
But I take it you have a use case for using integer vectors?
Maybe something outside the field of linear algebra?
It would certainly be possible to make integer vectors work  just not for things like matrix decompositions or solving linear equation systems.
Thanks,
Christoph



Oh ok. I was trying to implement the PageRank Algorithm using the Matrix/Vector classes in the Math.net Numerics library. I think I figured it out though.
Thanks for answering!

