10 #ifndef EIGEN_GENERAL_RANK1UPDATE_H 11 #define EIGEN_GENERAL_RANK1UPDATE_H 16 template<
typename Scalar,
typename Index,
int StorageOrder,
bool ConjLhs,
bool ConjRhs>
19 template<
typename Scalar,
typename Index,
bool ConjLhs,
bool ConjRhs>
24 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
29 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*
i,rows) += alpha * cj(v[i]) * ConjRhsType(OtherMap(u,rows));
33 template<
typename Scalar,
typename Index,
bool ConjLhs,
bool ConjRhs>
38 general_rank1_update<Scalar,Index,ColMajor,ConjRhs,ConjRhs>::run(rows,cols,mat,stride,u,v,alpha);
44 #endif // EIGEN_GENERAL_RANK1UPDATE_H
static void run(Index rows, Index cols, Scalar *mat, Index stride, const Scalar *u, const Scalar *v, Scalar alpha)
static void run(Index rows, Index cols, Scalar *mat, Index stride, const Scalar *u, const Scalar *v, Scalar alpha)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Array< int, Dynamic, 1 > v