eigen/bench/perf_monitoring/trmv_lot.cpp

13 lines
229 B
C++
Raw Normal View History

#include "gemv_common.h"
EIGEN_DONT_INLINE
2016-12-06 06:01:52 +08:00
void trmv(const Mat &A, Vec &B, const Vec &C)
{
B.noalias() += A.transpose().triangularView<Lower>() * C;
}
int main(int argc, char **argv)
{
return main_gemv(argc, argv, trmv);
}