move CommaInitializer out of MatrixBase and documment it (because of .finished())

This commit is contained in:
Gael Guennebaud
2008-09-13 18:51:51 +00:00
parent a62bd110a2
commit 8473a77f2f
4 changed files with 34 additions and 23 deletions

View File

@@ -91,9 +91,8 @@ MatrixBase<Derived>::redux(const BinaryOp& func) const
const bool unroll = SizeAtCompileTime * CoeffReadCost
+ (SizeAtCompileTime-1) * ei_functor_traits<BinaryOp>::Cost
<= EIGEN_UNROLLING_LIMIT;
return ei_redux_impl<BinaryOp, Derived, 0,
unroll ? int(SizeAtCompileTime) : Dynamic>
::run(derived(), func);
return ei_redux_impl<BinaryOp, Derived, 0, unroll ? int(SizeAtCompileTime) : Dynamic>
::run(derived(), func);
}
/** \returns the minimum of all coefficients of *this