ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_a47.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 void dvar_vector::fill_multinomial(const int& seed,const dvector& p)
18 {
19  dvector tmp(indexmin(),indexmax());
20  tmp.fill_multinomial(seed,p);
21  *(this)=tmp;
22 }
Vector of double precision numbers.
Definition: dvector.h:50
void fill_multinomial(const int &seed, const dvector &p)
Description not yet available.
Definition: fvar_a47.cpp:17
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmin() const
Definition: fvar.hpp:2287
void fill_multinomial(const int &seed, const dvector &p)
Description not yet available.
Definition: dvect11.cpp:17
int indexmax() const
Definition: fvar.hpp:2292