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 /*     RVAR */
17 /* ----------------------------------------------------------------------- */
18 /*     Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
19 /* ----------------------------------------------------------------------- */
rvar_(real * rx,integer * n,integer * jx)20 real rvar_(real *rx, integer *n, integer *jx)
21 {
22     /* System generated locals */
23     real ret_val;
24 
25     /* Local variables */
26     extern real rvar0_(real *, integer *, integer *), rvar1_(real *, integer *
27 	    , integer *);
28     static logical lmiss;
29     extern /* Subroutine */ int gllget_(char *, logical *, ftnlen);
30 
31     /* Parameter adjustments */
32     --rx;
33 
34     /* Function Body */
35     gllget_("LMISS", &lmiss, (ftnlen)5);
36     if (lmiss) {
37 	ret_val = rvar1_(&rx[1], n, jx);
38     } else {
39 	ret_val = rvar0_(&rx[1], n, jx);
40     }
41     return ret_val;
42 } /* rvar_ */
43 
44