process_mortran: Generate fortran and registration code from mortran, geared...

View source: R/process.R

process_mortranR Documentation

Generate fortran and registration code from mortran, geared specifically towards the mortran used by Jerome Friedman at Stanford University

Description

Generate fortran and registration code from mortran, geared specifically towards the mortran used by Jerome Friedman at Stanford University

Usage

process_mortran(
  input_mortran_file,
  pkg_name = NULL,
  control = sutools_control()
)

Arguments

input_mortran_file

the input mortran file

pkg_name

the package name signalling that registration code has to be generated

control

a parameter that controls the behavior of this function

Value

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

See Also

sutools_control()

Examples

## Not run: 
process_mortran("./pcLasso.m")

## End(Not run)


bnaras/SUtools documentation built on Nov. 26, 2022, 6:07 p.m.