added mean() reduction

This commit is contained in:
Hauke Heibel
2009-10-29 19:56:58 +01:00
parent e513cc75c4
commit c70a603e34
3 changed files with 23 additions and 3 deletions

View File

@@ -645,8 +645,9 @@ template<typename Derived> class MatrixBase
const CwiseBinaryOp<CustomBinaryOp, Derived, OtherDerived>
binaryExpr(const MatrixBase<OtherDerived> &other, const CustomBinaryOp& func = CustomBinaryOp()) const;
Scalar sum() const;
Scalar mean() const;
Scalar trace() const;
Scalar prod() const;