Cwise_isInf.cpp 101 B

12345
  1. Array3d v(1,2,3);
  2. v(1) *= 0.0/0.0;
  3. v(2) /= 0.0;
  4. cout << v << endl << endl;
  5. cout << isinf(v) << endl;