diff options
author | 2008-08-21 13:17:21 +0000 | |
---|---|---|
committer | 2008-08-21 13:17:21 +0000 | |
commit | f729fc1d70e69d547bd5bd48678823dd9580bb7e (patch) | |
tree | 8bda3fea98536ed0a0ae7f8597eadd3c01175e3b /Eigen/src/Core/util/ForwardDeclarations.h | |
parent | 591d497b848844dbae9ac3f38ad2d45241a05470 (diff) |
* Add the possibility to customize the output of matrices, e.g.:
IoFormat OctaveFmt(4, AlignCols, ", ", ";\n", "", "", "[", "]");
cout << mat.format(OctaveFmt);
The first "4" is the precision.
Documentation missing.
* Some compilation fixes
Diffstat (limited to 'Eigen/src/Core/util/ForwardDeclarations.h')
-rw-r--r-- | Eigen/src/Core/util/ForwardDeclarations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index 694aa245d..459b2bd82 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -59,6 +59,7 @@ template<typename MatrixType, unsigned int Mode> class Extract; template<typename ExpressionType> class Cwise; template<typename ExpressionType, int Direction> class PartialRedux; template<typename MatrixType, typename BinaryOp, int Direction> class PartialReduxExpr; +template<typename ExpressionType> class WithFormat; template<typename Lhs, typename Rhs> struct ei_product_mode; template<typename Lhs, typename Rhs, int ProductMode = ei_product_mode<Lhs,Rhs>::value> struct ProductReturnType; @@ -89,6 +90,8 @@ template<typename Scalar> struct ei_scalar_max_op; template<typename Scalar> struct ei_scalar_random_op; template<typename Scalar> struct ei_scalar_add_op; +struct IoFormat; + template<typename Scalar> void ei_cache_friendly_product( int _rows, int _cols, int depth, |