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
d5arr1.cpp
Go to the documentation of this file.
1
5
#include "
fvar.hpp
"
6
13
d5_array
operator/
(
const
d5_array
& arr5,
const
double
d
)
14
{
15
d5_array
results;
16
results.
allocate
(arr5);
17
for
(
int
i = results.
indexmin
(); i <= results.
indexmax
(); ++i)
18
{
19
results(i) = arr5(i) /
d
;
20
}
21
return
results;
22
}
28
void
d5_array::operator/=
(
const
double
d
)
29
{
30
for
(
int
i =
indexmin
(); i <=
indexmax
(); ++i)
31
{
32
(*this)(i) /= d;
33
}
34
}
d5_array::operator/=
void operator/=(double d)
Divides all elements of d5_array by d.
Definition:
d5arr1.cpp:28
fmmc::d
dvector * d
Definition:
fvar.hpp:3649
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d5_array::indexmin
int indexmin() const
Definition:
fvar.hpp:6475
d5_array::indexmax
int indexmax() const
Definition:
fvar.hpp:6479
d5_array::allocate
void allocate(int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
Allocate d5_array with specified dimensions.
Definition:
d5arr.cpp:352
d5_array
Description not yet available.
Definition:
fvar.hpp:6331
operator/
d3_array operator/(const d3_array &m, const double d)
Author: David Fournier.
Definition:
d3arr2b.cpp:14
Generated on Wed Sep 7 2022 00:01:26 for ADMB Documentation by
1.8.5