Eigen has one of if not the best linear algebra APIs I've ever seen. In particular, vectors are column vectors by default and you never need to touch row vectors (if I can editorialize, row vectors shouldn't exist at all), and vectors are not simply "n-by-1" matrices -- they're true vectors.
But they are nx1 matrices in Eigen, you can call the rows() and cols() methods to check that. However, the nice part is that, since Eigen knows the number of columns at compile time, it enables vector methods such as size() in addition, which lets you handle them as true vector.
But tge nice part is that these vectors can still interact well with parts of the code that expect a matrix.
Rayhem|3 years ago
vbarrielle|3 years ago
But tge nice part is that these vectors can still interact well with parts of the code that expect a matrix.
mereel|3 years ago
benibela|3 years ago