Originally Posted by
ChrisW67
This has nothing to do with Qt.
I suggest you ask on an Eigen mailing list or IRC channel where someone will likely know the tool and understand enough of the mathematics to understand your question.
May be it has nothing to do with qt .... but i'm coding on qt .... and moreover very hard to get any information about eigen on QT....
So after some hours i have found the solution, so i publish it to help may be some ppl in future
On Eigen need to install ArithmeticSequence.h ( little hard because some version hasnt got it, not to add manually it)
Then you should have a command called seqN
Here for example, the column 3 of matrix called Came and the code means Sequence from cell 2 ( so line 3), on all rows of A, with increment 1, on column 13, minus second sequence ...
Came.col(3)= A(seqN(2,A.rows(),1),13) - (A(seqN(0,A.rows(),1), 13));
Came.col(3)= A(seqN(2,A.rows(),1),13) - (A(seqN(0,A.rows(),1), 13));
To copy to clipboard, switch view to plain text mode
Bookmarks