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
nh99
model9.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
*/
7
#include <
fvar.hpp
>
8
#include <
admodel.h
>
9
10
int
operator+
(
const
int
n,
const
data_int
& v)
11
{
12
return
n+v.
val
;
13
}
14
15
int
operator+
(
const
data_int
& v,
const
int
n)
16
{
17
return
n+v.
val
;
18
}
19
20
int
operator+
(
const
data_int
& v,
const
data_int
& n)
21
{
22
return
n.
val
+ v.
val
;
23
}
24
25
data_int
&
data_int::operator=
(
const
int
xx)
26
{
27
val
=xx;
28
return
*
this
;
29
}
30
31
ad_integer::ad_integer
(
const
data_int
& _d) : d(int(*(
data_int
*)(&_d))) {}
32
/*
33
34
index_type::index_type(const data_int& _x)
35
{
36
p = new number_index(int((data_int&)(_x)));
37
}
38
*/
data_int
Description not yet available.
Definition:
admodel.h:1474
ad_integer::ad_integer
ad_integer(const int &_d, const adkludge &)
Definition:
fvar.hpp:7664
operator+
d3_array operator+(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
Definition:
d3arr2a.cpp:132
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
data_int::val
int val
Definition:
admodel.h:1477
admodel.h
Description not yet available.
data_int::operator=
data_int & operator=(const data_int &other)
Definition:
admodel.h:1490
Generated on Wed Sep 7 2022 00:01:29 for ADMB Documentation by
1.8.5