COSC-4P80-Assignment-2/lib/eigen-3.4.0/bench/perf_monitoring/trmv_lot.cpp

13 lines
229 B
C++
Raw Permalink Normal View History

2024-10-21 16:42:03 -04:00
#include "gemv_common.h"
EIGEN_DONT_INLINE
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);
}