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

13 lines
217 B
C++

#include "gemv_common.h"
EIGEN_DONT_INLINE
void trmv(const Mat &A, const Vec &B, Vec &C)
{
C.noalias() += A.triangularView<Upper>() * B;
}
int main(int argc, char **argv)
{
return main_gemv(argc, argv, trmv);
}