ADMB Documentation
-a65f1c97
Main Page
Function Reference
Classes
Source Code
Related Pages
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
linad99
fvar_a62.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 <
admodel.h
>
12
17
dvar_vector
posfun
(
const
dvar_vector
&
x
,
double
eps
,
const
prevariable
& _pen)
18
{
19
int
mmin=x.
indexmin
();
20
int
mmax=x.
indexmax
();
21
dvar_vector
tmp(mmin,mmax);
22
for
(
int
i=mmin;i<=mmax;i++)
23
{
24
tmp(i)=
posfun
(
x
(i),eps,_pen);
25
}
26
return
tmp;
27
}
prevariable
Base class for dvariable.
Definition:
fvar.hpp:1315
x
#define x
posfun
dvar_vector posfun(const dvar_vector &x, double eps, const prevariable &pen)
Description not yet available.
Definition:
fvar_a62.cpp:17
dvar_vector
ADMB variable vector.
Definition:
fvar.hpp:2172
admodel.h
Description not yet available.
dvar_vector::indexmin
int indexmin() const
Definition:
fvar.hpp:2287
eps
double eps
Definition:
ftweak.cpp:13
dvar_vector::indexmax
int indexmax() const
Definition:
fvar.hpp:2292
Generated on Wed Sep 7 2022 00:01:28 for ADMB Documentation by
1.8.5