ADMB Documentation  11.1.2397
 All Classes Files Functions Variables Typedefs Friends Defines
d3arr3.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: d3arr3.cpp 1112 2013-07-12 21:41:41Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00011 #include "fvar.hpp"
00012 
00017 double mean(const d3_array& m)
00018    {
00019      double tmp;
00020      tmp=sum(m)/size_count(m);
00021      return tmp;
00022    }