5 methods = "eval evalf conjugate real_part imag_part expand derivative expl_derivative power series info print".split()
7 import sys, os, optparse
8 sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'scripts'))
11 def seq(template, N, start = 1, separator = ', '):
12 return separator.join([ template % { 'n' : n } for n in range(start, N + start) ])
15 parser = optparse.OptionParser()
16 parser.add_option("-o", dest="outfile")
17 options, args = parser.parse_args()
18 cop = yaptu.copier(globals())
19 if not options.outfile is None:
20 cop.ouf = open(options.outfile, 'wt')
27 if cop.ouf != sys.stdout:
32 if __name__== '__main__':