public static boolean containsNaN ( DoubleTuple tuple ) { for ( int i = 0 ; i < tuple . getSize ( ) ; i ++ ) { if ( Double . isNaN ( tuple . get ( i ) ) ) { return true ; } } return false ; }
Returns whether the given tuple contains an element that is Not A Number