def bei_zeros(nt):
 if ((not isscalar(nt)) or (floor(nt) != nt) or (nt <= 0)):
  raise ValueError('nt must be positive integer scalar.')
 return specfun.klvnzo(nt, 2)

def bei_zeros ( nt ) : if ( ( not isscalar ( nt ) ) or ( floor ( nt ) != nt ) or ( nt <= 0 ) ) : raise ValueError ( 'nt must be positive integer scalar.' ) return specfun . klvnzo ( nt , 2 )
compute nt zeros of the kelvin function bei(x) .