trmv_lo.cpp
Go to the documentation of this file.
1 #include "gemv_common.h"
2 
4 void trmv(const Mat &A, const Vec &B, Vec &C)
5 {
6  C.noalias() += A.triangularView<Lower>() * B;
7 }
8 
9 int main(int argc, char **argv)
10 {
11  return main_gemv(argc, argv, trmv);
12 }
B
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
Definition: bench_gemm.cpp:49
main
int main(int argc, char **argv)
Definition: trmv_lo.cpp:9
A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:48
gemv_common.h
Eigen::Lower
@ Lower
Definition: Constants.h:209
C
Matrix< Scalar, Dynamic, Dynamic > C
Definition: bench_gemm.cpp:50
trmv
EIGEN_DONT_INLINE void trmv(const Mat &A, const Vec &B, Vec &C)
Definition: trmv_lo.cpp:4
main_gemv
int main_gemv(int argc, char **argv, Func &f)
Definition: gemv_common.h:51
Eigen::Matrix< Scalar, Dynamic, Dynamic >
EIGEN_DONT_INLINE
#define EIGEN_DONT_INLINE
Definition: Macros.h:940


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:36