How can I assign values to a column of an armadillo matrix?
Let's say I have a 2x2 matrix (initialized to zeros) and I want to fill the second column with arbitrary values e.g [1; 3]
In MATLAB I would do something like:
However when I try:
A.col(1) << 1 << endr << 3 << endr;
I get en error as operator
<< is not supported by subviews.
Thanks a lot for your help!