~maddevelopers/mg5amcnlo/laser_beam_option

« back to all changes in this revision

Viewing changes to models/EWdim6/function_library.py

  • Committer: olivier Mattelaer
  • Date: 2013-03-05 18:52:27 UTC
  • mfrom: (239.1.31 mg5_1_5_8)
  • Revision ID: olivier.mattelaer@uclouvain.be-20130305185227-h1358ux804s2wc26
Pass to 1.5.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
             arguments = ('z',),
50
50
             expression = 'cmath.asin(1./z)')
51
51
 
52
 
 
 
52
cot = Function(name = 'cot',
 
53
               arguments = ('z',),
 
54
               expression = '1./cmath.tan(z)')
 
55
 
 
56
# Heaviside theta function
 
57
 
 
58
theta_function = Function(name = 'theta_function',
 
59
             arguments = ('x','y','z'),
 
60
             expression = 'y if x else z')
53
61
 
54
62