\returns the matrix or vector obtained by evaluating this expression. * * Notice that in the case of a plain matrix or vector (not an expression) this function just returns * a const reference, in order to avoid a useless copy. */
| 448 | * a const reference, in order to avoid a useless copy. |
| 449 | */ |
| 450 | inline const typename internal::eval<Derived>::type eval() const |
| 451 | { return typename internal::eval<Derived>::type(derived()); } |
| 452 | |
| 453 | Scalar sum() const; |
| 454 |