11 #ifndef EIGEN2_VECTORBLOCK_H 12 #define EIGEN2_VECTORBLOCK_H 17 template<
typename Derived>
18 inline VectorBlock<Derived>
19 MatrixBase<Derived>::start(Index size)
22 return VectorBlock<Derived>(derived(), 0, size);
26 template<typename Derived>
27 inline const VectorBlock<const Derived>
28 MatrixBase<Derived>::start(Index size)
const 31 return VectorBlock<const Derived>(derived(), 0, size);
35 template<typename Derived>
36 inline VectorBlock<Derived>
37 MatrixBase<Derived>::end(Index size)
40 return VectorBlock<Derived>(derived(), this->size() - size, size);
44 template<typename Derived>
45 inline const VectorBlock<const Derived>
46 MatrixBase<Derived>::end(Index size)
const 49 return VectorBlock<const Derived>(derived(), this->size() - size, size);
53 template<typename Derived>
55 inline VectorBlock<Derived,Size>
56 MatrixBase<Derived>::start()
59 return VectorBlock<Derived,Size>(derived(), 0);
63 template<typename Derived>
65 inline const VectorBlock<const Derived,Size>
66 MatrixBase<Derived>::start()
const 69 return VectorBlock<const Derived,Size>(derived(), 0);
73 template<typename Derived>
75 inline VectorBlock<Derived,Size>
76 MatrixBase<Derived>::end()
79 return VectorBlock<Derived, Size>(derived(), size() - Size);
83 template<typename Derived>
85 inline const VectorBlock<const Derived,Size>
86 MatrixBase<Derived>::end()
const 89 return VectorBlock<const Derived, Size>(derived(), size() - Size);
94 #endif // EIGEN2_VECTORBLOCK_H
iterative scaling algorithm to equilibrate rows and column norms in matrices
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)