R/process.R
process_mortran.Rd
Generate fortran and registration code from mortran, geared specifically towards the mortran used by Jerome Friedman at Stanford University
process_mortran(
input_mortran_file,
pkg_name = NULL,
control = sutools_control()
)
the input mortran file
the package name signalling that registration code has to be generated
a parameter that controls the behavior of this function
a named list of processed mortran lines (mortran
),
fortran lines (fortran
) and, if so requested and no warnings
occur, a registration c code as the third argument
appropriately named using the package name provided
if (FALSE) {
process_mortran("./pcLasso.m")
}