ADMB Documentation  11.1.2528
 All Classes Files Functions Variables Typedefs Friends Defines
model4.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: model4.cpp 1919 2014-04-22 22:02:01Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 
00009 void stddev_params::copy_all_values(const dvector& x, const int& ii)
00010   {
00011     for (int i=0;i< stddev_params::num_stddev_params;i++)
00012     {
00013       (stddevptr[i])->copy_value_to_vector(x,ii);
00014     }
00015   }
00016 
00017 void stddev_params::copy_all_number_values(const dvector& x, const int& ii)
00018   {
00019     for (int i=0;i< stddev_params::num_stddev_number_params;i++)
00020     {
00021       (stddev_number_ptr[i])->copy_value_to_vector(x,ii);
00022     }
00023   }
00024 
00025 void param_stddev_number::copy_value_to_vector(const dvector& x, const int& ii)
00026   {
00027     ::copy_value_to_vector(*this,x,ii);
00028   }
00029 
00030 void param_stddev_vector::copy_value_to_vector(const dvector& x, const int& ii)
00031   {
00032     ::copy_value_to_vector(*this,x,ii);
00033   }
00034 
00035 void param_stddev_matrix::copy_value_to_vector(const dvector& x, const int& ii)
00036   {
00037     ::copy_value_to_vector(*this,x,ii);
00038   }