mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
13 lines
217 B
C++
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);
|
||
|
}
|