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_a56.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
dvar_vector
&
dvar_vector::operator*=
(
const
double
x
)
18
{
19
for
(
int
i=
indexmin
(); i<=
indexmax
(); i++)
20
{
21
elem
(i)*=
x
;
22
}
23
return
(*
this
);
24
}
25
30
dvar_vector
&
dvar_vector::operator*=
(
const
prevariable
&
x
)
31
{
32
for
(
int
i=
indexmin
(); i<=
indexmax
(); i++)
33
{
34
elem
(i)*=
x
;
35
}
36
return
(*
this
);
37
}
prevariable
Base class for dvariable.
Definition:
fvar.hpp:1315
x
#define x
dvar_vector::elem
prevariable elem(int i)
Definition:
fvar.hpp:2221
dvar_vector
ADMB variable vector.
Definition:
fvar.hpp:2172
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvar_vector::indexmin
int indexmin() const
Definition:
fvar.hpp:2287
dvar_vector::operator*=
dvar_vector & operator*=(const prevariable &d)
Description not yet available.
Definition:
fvar_a56.cpp:30
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