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
f3arr19.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
#ifndef OPT_LIB
13
18
const
dvar_matrix
&
dvar3_array::operator[]
(
int
i)
const
19
{
20
if
(i<
slicemin
())
21
{
22
cerr <<
"matrix bound exceeded -- row index too low in "
23
"3d_array::operator[]"
24
<<
"value was"
<< i;
25
ad_exit
(21);
26
}
27
if
(i>
slicemax
())
28
{
29
cerr <<
"matrix bound exceeded -- row index too high in "
30
"3d_array::operator[]"
31
<<
"value was"
<< i;
32
ad_exit
(22);
33
}
34
return
t
[i];
35
}
36
#endif
dvar3_array::slicemin
int slicemin() const
Definition:
fvar.hpp:4274
dvar3_array::slicemax
int slicemax() const
Definition:
fvar.hpp:4275
ad_exit
exitptr ad_exit
Definition:
gradstrc.cpp:53
dvar3_array::t
dvar_matrix * t
Definition:
fvar.hpp:4199
dvar3_array::operator[]
const dvar_matrix & operator[](int i) const
Definition:
fvar.hpp:4358
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvar_matrix
Class definition of matrix with derivitive information .
Definition:
fvar.hpp:2480
Generated on Wed Sep 7 2022 00:01:27 for ADMB Documentation by
1.8.5