* do the ActualPacketAccesBit change as discussed on list

* add comment in Product.h about CanVectorizeInner
* fix typo in test/product.cpp
This commit is contained in:
Benoit Jacob
2008-07-04 12:43:55 +00:00
parent 8463b7d3f4
commit a9d319d44f
7 changed files with 40 additions and 17 deletions

View File

@@ -25,12 +25,8 @@
#ifndef EIGEN_IO_H
#define EIGEN_IO_H
/** \relates MatrixBase
*
* Outputs the matrix, laid out as an array as usual, to the given stream.
*/
template<typename Derived>
std::ostream & operator <<
std::ostream & ei_print_matrix
(std::ostream & s,
const MatrixBase<Derived> & m)
{
@@ -45,4 +41,16 @@ std::ostream & operator <<
return s;
}
/** \relates MatrixBase
*
* Outputs the matrix, laid out as an array as usual, to the given stream.
*/
template<typename Derived>
std::ostream & operator <<
(std::ostream & s,
const MatrixBase<Derived> & m)
{
return ei_print_matrix(s, m.eval());
}
#endif // EIGEN_IO_H