Cwise_lgamma.cpp 179 Bytes
Newer Older
1
2
3
4
5
6
7
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
int main() {
  Eigen::Array4d v(0.5, 10, 0, -1);
  std::cout << v.lgamma() << std::endl;
}