Lazy.h
Go to the documentation of this file.
00001 // This file is part of Eigen, a lightweight C++ template library
00002 // for linear algebra.
00003 //
00004 // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
00005 //
00006 // This Source Code Form is subject to the terms of the Mozilla
00007 // Public License v. 2.0. If a copy of the MPL was not distributed
00008 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
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 } // end namespace Eigen
00070 
00071 #endif // EIGEN_LAZY_H


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 11:58:58