ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_a60.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 
18  const dvector& p)
19 {
20  dvector tmp(indexmin(),indexmax());
21  tmp.fill_multinomial(rng,p);
22  *(this)=tmp;
23 }
Vector of double precision numbers.
Definition: dvector.h:50
Description not yet available.
Definition: fvar.hpp:7951
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