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_a61.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::dvar_vector
(
const
param_init_number_vector
& _t)
18
{
19
param_init_number_vector
& t=(
param_init_number_vector
&) (_t);
20
int
i;
21
va
=NULL;
22
allocate
(t.
indexmin
(),t.
indexmax
());
23
initialize
();
24
for
( i=
indexmin
(); i<=
indexmax
(); i++)
25
{
26
(*this)(i)=t(i);
27
}
28
}
29
34
dvar_vector::dvar_vector
(
const
param_init_bounded_number_vector
& _t)
35
{
36
param_init_bounded_number_vector
& t=(
param_init_bounded_number_vector
&) (_t);
37
int
i;
38
va
=NULL;
39
allocate
(t.
indexmin
(),t.
indexmax
());
40
initialize
();
41
for
( i=
indexmin
(); i<=
indexmax
(); i++)
42
{
43
(*this)(i)=t(i);
44
}
45
}
dvar_vector::dvar_vector
dvar_vector()
Default constructor.
Definition:
fvar_arr.cpp:150
param_init_bounded_number_vector::indexmin
int indexmin() const
Definition:
admodel.h:2943
param_init_number_vector::indexmin
int indexmin() const
Definition:
admodel.h:2901
dvar_vector::allocate
void allocate(void)
Does not allocate, but initializes dvar_vector to empty.
Definition:
fvar_arr.cpp:216
admodel.h
Description not yet available.
param_init_bounded_number_vector::indexmax
int indexmax() const
Definition:
admodel.h:2944
dvar_vector::indexmin
int indexmin() const
Definition:
fvar.hpp:2287
dvar_vector::initialize
void initialize(void)
Description not yet available.
Definition:
fvar_a24.cpp:17
param_init_number_vector
Description not yet available.
Definition:
admodel.h:2873
param_init_number_vector::indexmax
int indexmax() const
Definition:
admodel.h:2902
dvar_vector::va
double_and_int * va
Definition:
fvar.hpp:2175
param_init_bounded_number_vector
Class object for init_bounded_number vector.
Definition:
admodel.h:2915
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