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
ivec3.cpp
Go to the documentation of this file.
1
5
#include "
fvar.hpp
"
6
15
ivector
ivector::operator()
(
const
ivector
& indexes)
16
{
17
ivector
values
(indexes.
indexmin
(), indexes.
indexmax
());
18
for
(
int
i =
values
.indexmin(); i <=
values
.indexmax(); ++i)
19
{
20
values
(i) =
operator()
(indexes(i));
21
}
22
return
values
;
23
}
32
lvector
lvector::operator()
(
const
ivector
& indexes)
33
{
34
lvector
values
(indexes.
indexmin
(),indexes.
indexmax
());
35
for
(
int
i =
values
.indexmin(); i <=
values
.indexmax(); ++i)
36
{
37
values
(i) =
operator()
(indexes(i));
38
}
39
return
values
;
40
}
lvector
Description not yet available.
Definition:
fvar.hpp:656
ivector
Array of integers(int) with indexes from index_min to indexmax.
Definition:
ivector.h:50
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
ivector::operator()
int & operator()(int i)
Definition:
ivector.h:198
ivector::indexmin
int indexmin() const
Definition:
ivector.h:99
ivector::indexmax
int indexmax() const
Definition:
ivector.h:104
adjson::values
values
Definition:
adjson.h:22
lvector::operator()
AD_LONG_INT & operator()(int i)
Definition:
fvar.hpp:746
Generated on Wed Sep 7 2022 00:01:29 for ADMB Documentation by
1.8.5