Lazy.h
Go to the documentation of this file.
1 // This file is part of Eigen, a lightweight C++ template library
2 // for linear algebra.
3 //
4 // Copyright (C) 2008 Benoit Jacob <jacob.benoit.1@gmail.com>
5 //
6 // This Source Code Form is subject to the terms of the Mozilla
7 // Public License v. 2.0. If a copy of the MPL was not distributed
8 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 
10 #ifndef EIGEN_LAZY_H
11 #define EIGEN_LAZY_H
12 
13 namespace Eigen {
14 
24 template<typename Derived>
25 template<unsigned int Added>
26 inline const Flagged<Derived, Added, 0>
27 MatrixBase<Derived>::marked() const
28 {
29  return derived();
30 }
31 
41 template<typename Derived>
42 inline const Flagged<Derived, 0, EvalBeforeAssigningBit>
43 MatrixBase<Derived>::lazy() const
44 {
45  return derived();
46 }
47 
48 
51 template<typename Derived>
52 template<typename ProductDerived, typename Lhs, typename Rhs>
53 Derived& MatrixBase<Derived>::operator+=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
54  EvalBeforeAssigningBit>& other)
55 {
56  other._expression().derived().addTo(derived()); return derived();
57 }
58 
61 template<typename Derived>
62 template<typename ProductDerived, typename Lhs, typename Rhs>
63 Derived& MatrixBase<Derived>::operator-=(const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
64  EvalBeforeAssigningBit>& other)
65 {
66  other._expression().derived().subTo(derived()); return derived();
67 }
68 
69 } // end namespace Eigen
70 
71 #endif // EIGEN_LAZY_H
Derived & operator+=(const MatrixBase< OtherDerived > &other)
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: matrix.hpp:471
const unsigned int EvalBeforeAssigningBit
Derived & operator-=(const MatrixBase< OtherDerived > &other)


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:34:47