Add boolean not operator (!) array support

This commit is contained in:
Deanna Hood
2015-03-17 08:29:57 +10:00
parent 85da0c2281
commit 1c78d6f2a6
4 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Array3d v(1,2,3);
v(1) *= 0.0/0.0;
v(2) /= 0.0;
cout << v << endl << endl;
cout << !isFinite(v) << endl;