jaxvacua.util.check_nan#
- check_nan(x)#
Trueiff any element ofxisNaN.- Parameters:
x (
Union[Array,ndarray,bool,number,bool,int,float,complex]) – Array on which to check forNaN.- Returns:
bool –
Trueif any element ofxisNaN, elseFalse.- Return type:
bool