ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_o11.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
11 // file: fvar_ops.cpp
12 // operators involving prevariables
13 
14 #include "fvar.hpp"
15 
16 #ifdef __TURBOC__
17  #pragma hdrstop
18  #include <iostream.h>
19 #endif
20 
21 #ifdef __ZTC__
22  #include <iostream.hpp>
23 #endif
24 
25 #include <stdio.h>
26 #include <math.h>
27 
28  void df_minus_eq_pvpv(void);
29 
35 {
36  (*v).x-=(*v1.v).x;
38  &(v1.v->x));
39 }
40 
45 void df_minus_eq_pvpv(void)
46 {
49 }
Base class for dvariable.
Definition: fvar.hpp:1315
double * ind_addr1
Pointer to first independent variable.
Definition: fvar.hpp:900
#define x
void set_gradient_stack(void(*func)(void), double *dep_addr, double *ind_addr1=NULL, double mult1=0, double *ind_addr2=NULL, double mult2=0)
Description not yet available.
Definition: fvar.hpp:1045
void operator-=(const prevariable &t1)
Description not yet available.
Definition: fvar_o11.cpp:34
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double_and_int * v
pointer to the data
Definition: fvar.hpp:1333
void df_minus_eq_pvpv(void)
Description not yet available.
Definition: fvar_o11.cpp:45
grad_stack_entry * ptr
Definition: fvar.hpp:934
static _THREAD grad_stack * GRAD_STACK1
double * dep_addr
Pointer to dependent variable.
Definition: fvar.hpp:899
double x
&lt; value of the variable
Definition: fvar.hpp:195