ADMB Documentation  11.1.2532
 All Classes Files Functions Variables Typedefs Friends Defines
dmat18.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: dmat18.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 dmatrix dmatrix::operator()(const ivector& t)
00018 {
00019   dmatrix tmp(t.indexmin(), t.indexmax(), t.indexmin(), t.indexmax());
00020 
00021   for (int i=t.indexmin(); i <= t.indexmax(); i++)
00022   {
00023     tmp(i) = (*this)(t(i))(t);
00024   }
00025   return(tmp);
00026 }