[eigen] return type of inner product

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


hi,

I still have a FIXME in the Product.h file that I'd like to discuss:

// FIXME : maybe the "inner product" could return a Scalar
// instead of a 1x1 matrix ??
// Pro: more natural for the user
// Cons: this could be a problem if in a meta unrolled algorithm a matrix-matrix
// product ends up to a row-vector times col-vector product...

any opinion ?

note that here "inner product" denotes any row-vector times col-vector
products, and not the .dot() function which of course returns a
scalar.

gael.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/