1 /* -- translated by f2c (version 20100827).
2 You must link the resulting object file with libf2c:
3 on Microsoft Windows system, link with libf2c.lib;
4 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5 or, if you install libf2c.a in a standard place, with -lf2c -lm
6 -- in that order, at the end of the command line, as in
7 cc *.o -lf2c -lm
8 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9
10 http://www.netlib.org/f2c/libf2c.zip
11 */
12
13 #include "libtinyf2c.h"
14
15 /* ----------------------------------------------------------------------- */
16 /* RMLT */
17 /* ----------------------------------------------------------------------- */
18 /* Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
19 /* ----------------------------------------------------------------------- */
rmlt_(real * rx,integer * n,integer * jx,real * rr)20 /* Subroutine */ int rmlt_(real *rx, integer *n, integer *jx, real *rr)
21 {
22 extern /* Subroutine */ int rmlt0_(real *, integer *, integer *, real *),
23 rmlt1_(real *, integer *, integer *, real *);
24 static logical lmiss;
25 extern /* Subroutine */ int gllget_(char *, logical *, ftnlen);
26
27 /* Parameter adjustments */
28 --rx;
29
30 /* Function Body */
31 gllget_("LMISS", &lmiss, (ftnlen)5);
32 if (lmiss) {
33 rmlt1_(&rx[1], n, jx, rr);
34 } else {
35 rmlt0_(&rx[1], n, jx, rr);
36 }
37 return 0;
38 } /* rmlt_ */
39
40