10 #ifndef EIGEN_RANK2UPDATE_H 11 #define EIGEN_RANK2UPDATE_H 18 template<
typename Scalar,
typename Index,
int UpLo>
23 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
26 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i+(UpLo==
Lower ? i : 0), UpLo==
Lower ? size-i : (i+1)) +=
36 template<
typename Scalar,
typename Index,
int UpLo>
41 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
45 Map<Matrix<Scalar,Dynamic,1> >(mat+offset, UpLo==
Lower ? size-i : (i+1)) +=
50 offset += UpLo==
Lower ? size-i : (i+1);
57 #endif // EIGEN_RANK2UPDATE_H const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
static constexpr size_t size(Tuple< Args... > &)
Provides access to the number of elements in a tuple as a compile-time constant expression.
static void run(Index size, Scalar *mat, const Scalar *u, const Scalar *v, Scalar alpha)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
static void run(Index size, Scalar *mat, Index stride, const Scalar *u, const Scalar *v, Scalar alpha)