Revision 1109 trunk/src/df1b2-separable/df1b2fnl.h

df1b2fnl.h (revision 1109)
3 3
 *
4 4
 * Author: David Fournier
5 5
 * Copyright (c) 2008-2012 Regents of the University of California
6
 * 
6
 *
7 7
 * ADModelbuilder and associated libraries and documentations are
8 8
 * provided under the general terms of the "BSD" license.
9 9
 *
10 10
 * License:
11
 * 
11
 *
12 12
 * Redistribution and use in source and binary forms, with or without
13 13
 * modification, are permitted provided that the following conditions are
14 14
 * met:
15
 * 
15
 *
16 16
 * 1. Redistributions of source code must retain the above copyright
17 17
 * notice, this list of conditions and the following disclaimer.
18
 * 
18
 *
19 19
 * 2.  Redistributions in binary form must reproduce the above copyright
20 20
 * notice, this list of conditions and the following disclaimer in the
21 21
 * documentation and/or other materials provided with the distribution.
22
 * 
22
 *
23 23
 * 3.  Neither the name of the  University of California, Otter Research,
24 24
 * nor the ADMB Foundation nor the names of its contributors may be used
25 25
 * to endorse or promote products derived from this software without
26 26
 * specific prior written permission.
27
 * 
27
 *
28 28
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29 29
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30 30
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
......
45 45

  
46 46
#include <df1b2fun.h>
47 47
#if !defined(__DF1B2FNL__)
48
#  define __DF1B2FNL__ 
48
#  define __DF1B2FNL__
49 49
#include <adrndeff.h>
50 50

  
51 51
/**
......
83 83
  virtual int nvar_calc(void)=0;
84 84

  
85 85
  static void reset(init_df1b2vector& x);
86
    
86

  
87 87
  static void allocate_all(void);
88 88
  static int nvarcalc_all(void);
89 89
};
......
92 92
 * Description not yet available.
93 93
 * \param
94 94
 */
95
class funnel_dependent_df1b2variable : public df1b2variable 
95
class funnel_dependent_df1b2variable : public df1b2variable
96 96
{
97 97
  int assign_flag;
98 98
public:
99 99
  double * get_u(void){ return df1b2variable::get_u();}
100
  void operator = (const df1b2variable&) 
100
  void operator = (const df1b2variable&)
101 101
  {
102 102
    cerr << "Cannot assign to funnel_dependent_df1b2variable" << endl;
103 103
    ad_exit(1);
104 104
  }
105
  funnel_dependent_df1b2variable(const df1b2variable&); 
105
  funnel_dependent_df1b2variable(const df1b2variable&);
106 106
  //virtual void allocate_all(init_df1b2vector&,int& ii);
107 107
};
108 108

  
......
110 110
 * Description not yet available.
111 111
 * \param
112 112
 */
113
class funnel_init_df1b2variable : public funnel_init_var, public df1b2variable 
113
class funnel_init_df1b2variable : public funnel_init_var, public df1b2variable
114 114
{
115 115
public:
116 116
  int type;
......
118 118
  double xu;
119 119
  int ind_index;
120 120
  int nvar_calc(void){return 1;}
121
  funnel_init_df1b2variable(const df1b2_init_number & x); 
122
  funnel_init_df1b2variable(const funnel_init_df1b2variable& x); 
123
  funnel_init_df1b2variable(const df1b2variable & x); 
124
  funnel_init_df1b2variable(void); 
125
  funnel_init_df1b2variable(const random_effects_bounded_vector_info&); 
121
  funnel_init_df1b2variable(const df1b2_init_number & x);
122
  funnel_init_df1b2variable(const funnel_init_df1b2variable& x);
123
  funnel_init_df1b2variable(const df1b2variable & x);
124
  funnel_init_df1b2variable(void);
125
  funnel_init_df1b2variable(const random_effects_bounded_vector_info&);
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff