ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
d3arr12.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
11 #include "fvar.hpp"
12 
17 dmatrix operator * (const d3_array & t,const dvector& v)
18 {
19  int mmin=t.indexmin();
20  int mmax=t.indexmax();
21  dmatrix tmp(mmin,mmax);
22  for (int i=mmin;i<=mmax;i++)
23  {
24  tmp(i)=t(i)*v;
25  }
26  return tmp;
27 }
int indexmax() const
Definition: fvar.hpp:3822
Vector of double precision numbers.
Definition: dvector.h:50
dmatrix operator*(const d3_array &t, const dvector &v)
Description not yet available.
Definition: d3arr12.cpp:17
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
Definition: fvar.hpp:2819
int indexmin() const
Definition: fvar.hpp:3818
Description not yet available.
Definition: fvar.hpp:3727