Benoit Jacob bc6d78982f Bugs 157 and 377 - General tightening/testing of vectorwise ops:
* add lots of static assertions making it very explicit when all these ops
are supposed to work:
** all ops require the rhs vector to go in the right direction
** all ops already require that the lhs and rhs are of the same kind
(matrix vs vector) otherwise we'd have to do complex work
** multiplicative ops (introduced Kibeom's patch) are restricted to arrays, if only because for matrices they could be ambiguous.

* add a new test, vectorwiseop.cpp.

* these compound-assign operators used to be implemented with for loops:

   for(Index j=0; j<subVectors(); ++j)
     subVector(j).array() += other.derived().array();

This didn't seem to be needed; replaced by using expressions like operator+ and operator- did.
2011-11-18 11:10:27 -05:00
..
2011-02-22 09:31:22 -05:00
2011-11-16 09:27:38 +01:00
2010-07-23 19:00:02 +02:00
2011-02-22 09:31:22 -05:00
2011-02-22 09:31:22 -05:00
2011-11-16 09:27:38 +01:00
2011-02-22 09:31:22 -05:00
2011-02-27 17:43:10 -05:00
LU
2011-02-22 09:31:22 -05:00
2011-11-16 09:27:38 +01:00
QR
2011-02-22 09:31:22 -05:00
2011-02-22 09:31:22 -05:00
2011-11-16 09:27:38 +01:00
2010-04-21 18:21:46 +02:00
2010-06-24 23:21:58 +02:00
2011-11-16 09:27:38 +01:00
SVD
2011-02-22 09:31:22 -05:00
2011-11-16 09:27:38 +01:00