def sh_chebyt(n, monic=False):
 base = sh_jacobi(n, 0.0, 0.5, monic=monic)
 if monic:
  return base
 if (n > 0):
  factor = ((4 ** n) / 2.0)
 else:
  factor = 1.0
 base._scale(factor)
 return base

def sh_chebyt ( n , monic = False ) : base = sh_jacobi ( n , 0.0 , 0.5 , monic = monic ) if monic : return base if ( n > 0 ) : factor = ( ( 4 ** n ) / 2.0 ) else : factor = 1.0 base . _scale ( factor ) return base
shifted chebyshev polynomial of the first kind .