SecDec/loop/src/subexp/ExpOpt.m [ Mathematica Files ]
[ Top ] [ Mathematica Files ]
NAME
ExpOpt.m
USAGE
loaded by formfortran.m, formC.m or formContourC.m
USES
Format.m (for FortranAssign), Experimental` (for OptimizeExpression) USED BY formfortran.m, formC.m or formContourC.m
PURPOSE
Takes an optimized expression from formfortran.m, formC.m or formContourC.m, and writes it in fortran/C++ syntax to the appropriate subdirectory.
INPUTS
from formfortran.m, formC.m or formContour(P)C.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 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
formfortran.m, formC.m or formContourC.m and Format.m