Results 1 to 2 of 2

Thread: IMSL Functions: C vs Fortran

  1. #1
    Junior Member
    Join Date
    May 2019
    Posts
    6

    Question IMSL Functions: C vs Fortran

    I saw both IMSL C and Fortran Library documentation here

    But apparently several functions in the Fortran library are not present in the C library.
    Example:

    | Fortran | C |
    | LINRG_INT | function name ? |
    | LINCG_INT | function name ? |
    | UMACH_INT | function name ? |
    | IVPRK_INT | function name ? |
    | EVCCG_INT | function name ? |
    | EVLCG_INT | function name ? |

    and others....

    Question 1:
    Considering all the functions of the Fortran library, would each of these functions correspond to one of the C library functions?

    Question 2:
    If yes, Could you give me an example of correspondence using any item from the list above?

    Thank you,

  2. #2
    Senior Member mecej4's Avatar
    Join Date
    Dec 2009
    Posts
    132
    I think that you have misunderstood the conventions in the IMSL Fortran library. LINRG_INT is not the name of a Fortran subprogram; it is the interface to the subprogram LINRG (which is a generic name that may be resolved into a call to LINRG, DLINRG, S_LINRG or D_LINRG).

    For questions such as these, I can't think of a reason not to consult the published and easily accessible IMSL documentation, which is also well-written and nicely formatted.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •