trmv_lot.cpp
Go to the documentation of this file.
1 #include "gemv_common.h"
2 
4 void trmv(const Mat &A, Vec &B, const Vec &C)
5 {
6  B.noalias() += A.transpose().triangularView<Lower>() * C;
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
A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:48
gemv_common.h
main
int main(int argc, char **argv)
Definition: trmv_lot.cpp:9
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, Vec &B, const Vec &C)
Definition: trmv_lot.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