ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
imat6.cpp
Go to the documentation of this file.
1 
5 #include "fvar.hpp"
6 
12 void imatrix::allocate(const imatrix& other)
13 {
14  allocate(other.rowmin(), other.rowmax());
15  for (int i = rowmin(); i <= rowmax(); ++i)
16  {
17  elem(i).allocate(other(i));
18  }
19 }
ivector & elem(int i)
Definition: imatrix.h:233
void allocate(void)
Does not allocate, but initializes imatrix members.
Definition: imat.cpp:138
Description not yet available.
Definition: imatrix.h:69
int rowmin() const
Definition: imatrix.h:146
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int rowmax() const
Definition: imatrix.h:150
void allocate(const ad_integer &ncl, const index_type &ncu)
Allocate vector of integers with dimension [_ncl to _nch].
Definition: indextyp.cpp:488