mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
13 lines
229 B
C++
13 lines
229 B
C++
|
#include "gemv_common.h"
|
||
|
|
||
|
EIGEN_DONT_INLINE
|
||
|
void trmv(const Mat &A, Vec &B, const Vec &C)
|
||
|
{
|
||
|
B.noalias() += A.transpose().triangularView<Upper>() * C;
|
||
|
}
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
return main_gemv(argc, argv, trmv);
|
||
|
}
|