cart-elc

Source code for CART-ELC
git clone git://git.laack.co/cart-elc.git
Log | Files | Refs | README | LICENSE

llt.cpp (298B)


      1 #include "gemm_common.h"
      2 #include <Eigen/Cholesky>
      3 
      4 EIGEN_DONT_INLINE
      5 void llt(const Mat &A, const Mat &B, Mat &C)
      6 {
      7   C = A;
      8   C.diagonal().array() += 1000;
      9   Eigen::internal::llt_inplace<Mat::Scalar, Lower>::blocked(C);
     10 }
     11 
     12 int main(int argc, char **argv)
     13 {
     14   return main_gemm(argc, argv, llt);
     15 }