trmv_up.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<Upper>() * 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
Eigen::Upper
@ Upper
Definition: Constants.h:211
main
int main(int argc, char **argv)
Definition: trmv_up.cpp:9
trmv
EIGEN_DONT_INLINE void trmv(const Mat &A, const Vec &B, Vec &C)
Definition: trmv_up.cpp:4
A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:48
gemv_common.h
C
Matrix< Scalar, Dynamic, Dynamic > C
Definition: bench_gemm.cpp:50
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 Fri Nov 1 2024 03:43:01