aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Matrix.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 11:10:17 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 11:10:17 +0000
commitd1a29d6319d6919e0c3d1c624ad45d8202be1942 (patch)
treeb9882a823c7d08819037d341f7e61971304eeadf /Eigen/src/Core/Matrix.h
parente74fbfb2bc13dee268950361a957aea73bcefc21 (diff)
-new: recursive costs system, useful to determine automatically
when to evaluate arguments and when to meta-unroll. -use it in Product to determine when to eval args. not yet used to determine when to unroll. for now, not used anywhere else but that'll follow. -fix badness of my last commit
Diffstat (limited to 'Eigen/src/Core/Matrix.h')
-rw-r--r--Eigen/src/Core/Matrix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 9ccad4e7e..fa40364c7 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -79,7 +79,8 @@ struct ei_traits<Matrix<_Scalar, _Rows, _Cols, _Flags, _MaxRows, _MaxCols> >
ColsAtCompileTime = _Cols,
MaxRowsAtCompileTime = _MaxRows,
MaxColsAtCompileTime = _MaxCols,
- Flags = _Flags
+ Flags = _Flags,
+ CoeffReadCost = NumTraits<Scalar>::ReadCost
};
};