SecDec/loop/src/subexp/ExpOptP.m [ Mathematica Files ]

[ Top ] [ Mathematica Files ]

NAME

    ExpOpt.m

USAGE

  loaded by formPfortran.m, formPC.m or formContourPC.m

USES

  Format.m (for FortranAssign), Experimental` (for OptimizeExpression)

  USED BY 
    
  formPfortran.m, formPC.m or formContourPC.m

PURPOSE

  Takes an optimized expression from formPfortran.m, formPC.m or formContourPC.m, and writes it in fortran/C++ syntax to the appropriate subdirectory.

INPUTS

  from formPfortran.m, formPC.m or formContourPC.m:   
  inlist: the optimized expression to be turned into fortran/C++ syntax
  varletter: the letter each intermediate expression in the optimization will be prefixed by
  funcname: the name of the function to be written
  outfile: where the file is to be written
  fortranstring1,2,3: strings with the necessary fortran syntax
  xstring: string with the necessary assignments for x (IBP only), in fortran format.
  Cstrings: strings with the necessary C++ syntax
  path: where to load parts.m, ExpOpt.m from
    
  RESULT
  the f*.f (or with contour deformation f*.cc and g*.cc) file is written in fortran/C++ syntax to the specified subdirectory

SEE ALSO

  formPfortran.m, formPC.m or formContourPC.m and Format.m