10 #ifndef EIGEN_SELFADJOINT_PACKED_PRODUCT_H 11 #define EIGEN_SELFADJOINT_PACKED_PRODUCT_H 18 template<
typename Scalar,
typename Index,
int StorageOrder,
int UpLo,
bool ConjLhs,
bool ConjRhs>
21 template<
typename Scalar,
typename Index,
int UpLo,
bool ConjLhs,
bool ConjRhs>
27 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
33 Map<Matrix<Scalar,Dynamic,1> >(
mat, UpLo==
Lower ? size-
i : (
i+1)) += alpha * cj(vec[
i]) * ConjRhsType(OtherMap(vec+(UpLo==
Lower ? i : 0), UpLo==
Lower ? size-i : (i+1)));
36 mat += UpLo==
Lower ? size-i : (i+1);
41 template<
typename Scalar,
typename Index,
int UpLo,
bool ConjLhs,
bool ConjRhs>
53 #endif // EIGEN_SELFADJOINT_PACKED_PRODUCT_H
static void run(Index size, Scalar *mat, const Scalar *vec, RealScalar alpha)
NumTraits< Scalar >::Real RealScalar
static void run(Index size, Scalar *mat, const Scalar *vec, RealScalar alpha)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
NumTraits< Scalar >::Real RealScalar
void run(Expr &expr, Dev &dev)