aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-11-18 11:10:27 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-11-18 11:10:27 -0500
commitbc6d78982fb2b8d07827246e682acdf47d0e8944 (patch)
treebe84292862f0c1fc54743a273c7c6e139a8a44c9 /doc
parentde22ad117cb5324e3e1d0700dde7466921fdf9ca (diff)
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.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions