예제 #1
0
EIGEN_DONT_INLINE
void gemv(const Mat &A, Vec &B, const Vec &C)
{
  B.noalias() += A.transpose() * C;
}
예제 #2
0
EIGEN_DONT_INLINE
void trmv(const Mat &A, const Vec &B, Vec &C)
{
  C.noalias() += A.triangularView<Upper>() * B;
}
예제 #3
0
EIGEN_DONT_INLINE
void trmv(const Mat &A, Vec &B, const Vec &C)
{
  B.noalias() += A.transpose().triangularView<Upper>() * C;
}