22 static void run(Index rows, Index cols, Scalar* mat, Index stride,
const Scalar* u,
const Scalar* v, Scalar alpha)
24 typedef Map<const Matrix<Scalar,Dynamic,1> > OtherMap;
25 typedef typename conj_expr_if<ConjLhs,OtherMap>::type ConjRhsType;
28 for (Index i=0; i<cols; ++i)
29 Map<Matrix<Scalar,Dynamic,1> >(mat+stride*i,rows) += alpha * cj(v[i]) * ConjRhsType(OtherMap(u,rows));
36 static void run(Index rows, Index cols, Scalar* mat, Index stride,
const Scalar* u,
const Scalar* v, Scalar alpha)
38 general_rank1_update<Scalar,Index,ColMajor,ConjRhs,ConjRhs>::run(rows,cols,mat,stride,u,v,alpha);