Registered Member
|
In the example below, I tried to assign/add a block matrix (using .block() method) to a regular matrix.
When the dimensions of the matrix on both sides of the assignment, Eigen does not report errors nor crash. My question: (1) is this the expected behavior of Eigen? (2) when assign/add a block matrix, should I always use .block() method on the lefthand side of the statement? Thanks.
Outputs
|
Moderator
|
Compile without -DNDEBUG to get the asserts on size-mismatches.
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]