commit | cbbc6d940bd6ddf7d96352b4b4e3033ff4e555fe | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Tue Feb 10 18:06:05 2009 +0000 |
committer | Gael Guennebaud <g.gael@free.fr> | Tue Feb 10 18:06:05 2009 +0000 |
tree | c9e905f59b380bac934bf44dd635060cb1f2c264 | |
parent | a0cc5fba0a3dc600e858720c9fcde3a9c13e740a [diff] [blame] |
* add ei_predux_mul internal function * apply Ricard Marxer's prod() patch with fixes for the vectorized path
diff --git a/doc/snippets/MatrixBase_prod.cpp b/doc/snippets/MatrixBase_prod.cpp new file mode 100644 index 0000000..d2f27bd --- /dev/null +++ b/doc/snippets/MatrixBase_prod.cpp
@@ -0,0 +1,3 @@ +Matrix3d m = Matrix3d::Random(); +cout << "Here is the matrix m:" << endl << m << endl; +cout << "Here is the product of all the coefficients:" << endl << m.prod() << endl;