aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_isInf.cpp
blob: be793081cf27e70af8f89ac2e6c1c56e99298e14 (plain)
1
2
3
4
5
Array3d v(1,2,3);
v(1) *= 0.0/0.0;
v(2) /= 0.0;
cout << v << endl << endl;
cout << isinf(v) << endl;