SecDec/general/src/subexp/ExpOpt.m [ Mathematica Files ]

[ Top ] [ Mathematica Files ]

NAME

    ExpOpt.m

USAGE

  loaded by formfortran.m

USES

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

  USED BY 
    
  formfortran.m

PURPOSE

  Takes an optimized expression from formfortran.m, and writes it in fortran syntax to the appropriate subdirectory.

INPUTS

  from formfortran.m:   
  inlist: the optimized expression to be turned into fortran 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.
  
    
  RESULT
  the f*.f file is written in fortran syntax to the specified subdirectory

SEE ALSO

  formfortran.m, Format.m