2
0
mirror of https://gitlab.com/libeigen/eigen.git synced 2025-01-12 14:25:16 +08:00
eigen/doc/examples/Cwise_lgamma.cpp

10 lines
192 B
C++
Raw Normal View History

2016-07-12 22:47:39 +08:00
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
using namespace Eigen;
int main()
{
Array4d v(0.5,10,0,-1);
std::cout << v.lgamma() << std::endl;
2018-06-07 22:09:22 +08:00
}