def pro_cv_seq(m, n, c):
 if (not (isscalar(m) and isscalar(n) and isscalar(c))):
  raise ValueError('Arguments must be scalars.')
 if ((n != floor(n)) or (m != floor(m))):
  raise ValueError('Modes must be integers.')
 if ((n - m) > 199):
  raise ValueError('Difference between n and m is too large.')
 maxL = ((n - m) + 1)
 return specfun.segv(m, n, c, 1)[1][:maxL]

def pro_cv_seq ( m , n , c ) : if ( not ( isscalar ( m ) and isscalar ( n ) and isscalar ( c ) ) ) : raise ValueError ( 'Arguments must be scalars.' ) if ( ( n != floor ( n ) ) or ( m != floor ( m ) ) ) : raise ValueError ( 'Modes must be integers.' ) if ( ( n - m ) > 199 ) : raise ValueError ( 'Difference between n and m is too large.' ) maxL = ( ( n - m ) + 1 ) return specfun . segv ( m , n , c , 1 ) [ 1 ] [ : maxL ]
characteristic values for prolate spheroidal wave functions .