ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_ma9.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 #include "fvar.hpp"
12 
18 {
19  m = m + rowmin() - min;
20  index_max+=min-index_min;
21  index_min=min;
22 }
23 
29  {
30  int rmin = rowmin();
31  int rmax = rowmax();
32  dvar_vector* pmi = m + rmin;
33  for (int i = rmin; i <= rmax; ++i)
34  {
35  pmi->shift(min);
36  ++pmi;
37  }
38  //shape->colshift(min);
39  }
int rowmax(void) const
Definition: fvar.hpp:2564
dvar_vector & shift(int min)
Description not yet available.
Definition: fvar_arr.cpp:28
ADMB variable vector.
Definition: fvar.hpp:2172
#define min(a, b)
Definition: cbivnorm.cpp:188
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void rowshift(int min)
Description not yet available.
Definition: fvar_ma9.cpp:17
int rowmin(void) const
Definition: fvar.hpp:2560
int index_min
Definition: fvar.hpp:2482
void colshift(int min)
Description not yet available.
Definition: fvar_ma9.cpp:28
int index_max
Definition: fvar.hpp:2483
dvar_vector * m
Definition: fvar.hpp:2484