Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef EIGEN_LAZY_H
00011 #define EIGEN_LAZY_H
00012
00013 namespace Eigen {
00014
00024 template<typename Derived>
00025 template<unsigned int Added>
00026 inline const Flagged<Derived, Added, 0>
00027 MatrixBase<Derived>::marked() const
00028 {
00029 return derived();
00030 }
00031
00041 template<typename Derived>
00042 inline const Flagged<Derived, 0, EvalBeforeAssigningBit>
00043 MatrixBase<Derived>::lazy() const
00044 {
00045 return derived();
00046 }
00047
00048
00051 template<typename Derived>
00052 template<typename ProductDerived, typename Lhs, typename Rhs>
00053 Derived& MatrixBase<Derived>::operator+=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
00054 EvalBeforeAssigningBit>& other)
00055 {
00056 other._expression().derived().addTo(derived()); return derived();
00057 }
00058
00061 template<typename Derived>
00062 template<typename ProductDerived, typename Lhs, typename Rhs>
00063 Derived& MatrixBase<Derived>::operator-=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
00064 EvalBeforeAssigningBit>& other)
00065 {
00066 other._expression().derived().subTo(derived()); return derived();
00067 }
00068
00069 }
00070
00071 #endif // EIGEN_LAZY_H