ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
factors.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: Anders Nielsen <anders@nielsensweb.org>
5  * Copyright (c) 2010-2012 ADMB Foundation
6  */
11 #ifndef __FACTORS_H__
12 #define __FACTORS_H__
13 class factor
14 {
15  int nlevels;
18 public:
20  void allocate(const ivector& v, dvar_vector & par);
21  dvariable operator () (int i);
22 };
23 #endif
ivector idx
Definition: factors.h:16
void allocate(const ivector &v, dvar_vector &par)
Definition: factors.cpp:85
ADMB variable vector.
Definition: fvar.hpp:2172
dvar_vector levels
Definition: factors.h:17
Definition: factors.h:13
Array of integers(int) with indexes from index_min to indexmax.
Definition: ivector.h:50
factor()
Definition: factors.h:19
dvariable operator()(int i)
Definition: factors.cpp:123
int nlevels
Definition: factors.h:15
Fundamental data type for reverse mode automatic differentiation.
Definition: fvar.hpp:1518