Revision 1974 trunk/src/linad99/fvar.hpp

fvar.hpp (revision 1974)
145 145
  #define  NO_DERIVS
146 146
#endif
147 147

  
148
// C language function prototypes
149
extern "C"
150
{
151
   typedef int (*fptr) (const char *format, ...);
152
   extern fptr ad_printf;
153
   typedef void (*exitptr) (int);
154
   extern exitptr ad_exit;
148
#include "ad_exit.h"
155 149

  
156
   void spdll_exit(int);
157
}
158

  
159 150
/**
160 151
 * Description not yet available.
161 152
 * \param
......
620 611
  void initialize();
621 612
};
622 613

  
623
/**
624
 * Description not yet available.
625
 * \param
626
 */
627
class preivector
628
{
629
   ivector *p;
630
   int lb;
631
   int ub;
632
   inline preivector(ivector * _p, int _lb, int _ub)
633
   {
634
      p = _p;
635
      lb = _lb, ub = _ub;
636
   }
637
   friend class ivector;
638
};
639

  
640 614
#include <ivector.h>
641 615

  
642 616
/**
......
1952 1926
 * Description not yet available.
1953 1927
 * \param
1954 1928
 */
1955
class predvector
1956
{
1957
   dvector *p;
1958
   int lb;
1959
   int ub;
1960
   inline predvector(dvector * _p, int _lb, int _ub)
1961
   {
1962
      p = _p;
1963
      lb = _lb, ub = _ub;
1964
   }
1965
   friend class dvector;
1966
};
1967

  
1968
/**
1969
 * Description not yet available.
1970
 * \param
1971
 */
1972 1929
class predvar_vector
1973 1930
{
1974 1931
   dvar_vector *p;
......
8576 8533
ivector sgn(const dvector &);
8577 8534
ivector sgn(const dvar_vector &);
8578 8535

  
8579
int allocated(const ivector & v);
8580 8536
int allocated(const lvector & v);
8581 8537
int allocated(const dvector & v);
8582 8538
int allocated(const dvar_vector & v);

Also available in: Unified diff