Revision 1110 trunk/src/df1b2-separable/df1b2test.h

df1b2test.h (revision 1110)
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
......
43 43
 * Description not yet available.
44 44
 */
45 45
#if !defined(__DF1B2TEST__)
46
#  define __DF1B2TEST__ 
46
#  define __DF1B2TEST__
47 47
#if defined(__GNUC__)
48 48
//#pragma interface
49 49
#endif
......
57 57
  class df1b2function2c
58 58
  {
59 59
  public:
60
    double (*f)(double,double); 
61
    double (*df)(double,double); 
62
    double (*d2f)(double,double); 
63
    double (*d3f)(double,double); 
60
    double (*f)(double,double);
61
    double (*df)(double,double);
62
    double (*d2f)(double,double);
63
    double (*d3f)(double,double);
64 64
    adstring funname;
65 65

  
66 66
    df1b2function2c
......
74 74

  
75 75
    df1b2variable operator () (const df1b2variable& x,double y);
76 76
    df1b2variable operator () (double x,const df1b2variable& y);
77
  }; 
77
  };
78 78

  
79 79
#endif   //if !defined(__DF1B2TEST__)

Also available in: Unified diff