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
i3arr8.cpp
Go to the documentation of this file.
1
5
#include "
fvar.hpp
"
6
13
i3_array
&
i3_array::operator=
(
const
i3_array
& other)
14
{
15
if
(
slicemin
() != other.
slicemin
() ||
slicemax
() != other.
slicemax
())
16
{
17
cerr <<
"Incompatible array bounds in "
18
<<
"i3_array& i3_array::operator=(const i3_array&).\n"
;
19
ad_exit
(1);
20
}
21
// Check that both matrices don't point to the same object.
22
if
(
t
!= other.
t
)
23
{
24
for
(
int
i =
slicemin
(); i <=
slicemax
(); ++i)
25
{
26
elem
(i) = other.
elem
(i);
27
}
28
}
29
return
*
this
;
30
}
36
i3_array
&
i3_array::operator=
(
int
value
)
37
{
38
for
(
int
i =
slicemin
(); i <=
slicemax
(); ++i)
39
{
40
elem
(i) =
value
;
41
}
42
return
*
this
;
43
}
i3_array::operator=
i3_array & operator=(const i3_array &other)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition:
i3arr8.cpp:13
i3_array::t
imatrix * t
Definition:
fvar.hpp:3946
ad_exit
exitptr ad_exit
Definition:
gradstrc.cpp:53
i3_array::slicemin
int slicemin() const
Definition:
fvar.hpp:4029
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
i3_array::slicemax
int slicemax() const
Definition:
fvar.hpp:4033
value
dvector value(const df1_one_vector &v)
Definition:
df11fun.cpp:69
i3_array
Description not yet available.
Definition:
fvar.hpp:3944
i3_array::elem
imatrix & elem(int i)
Definition:
fvar.hpp:4091
Generated on Wed Sep 7 2022 00:01:29 for ADMB Documentation by
1.8.5