00001 /* 00002 * $Id$ 00003 * 00004 * Author: Anders Nielsen <anders@nielsensweb.org> 00005 * Copyright (c) 2010-2012 ADMB Foundation 00006 */ 00011 #ifndef __FACTORS_H__ 00012 #define __FACTORS_H__ 00013 class factor 00014 { 00015 int nlevels; 00016 ivector idx; 00017 dvar_vector levels; 00018 public: 00019 factor(){nlevels=0;} 00020 void allocate(const ivector& v, dvar_vector & par); 00021 dvariable operator () (int i); 00022 }; 00023 #endif
Generated on Tue Mar 8 2016 19:51:33 for ADMB Documentation by 1.8.0 |