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
model14.cpp
Go to the documentation of this file.
1
8
#include <
admodel.h
>
9
10
void
likeprof_params::set_stepsize
(
double
x
)
11
{
12
if
( x>0)
13
{
14
stepsize
=
x
;
15
}
16
else
17
{
18
cerr <<
"Error in likeprof_params::set_stepsize(double x)"
19
" stepsize must be >0"
<<
endl
;
20
}
21
}
22
23
void
likeprof_params::set_stepnumber
(
int
n)
24
{
25
if
( n>0)
26
{
27
stepnumber
=n;
28
}
29
else
30
{
31
cerr <<
"Error in likeprof_params::set_stepnumber(int n)"
32
" stepnumber must be >0"
<<
endl
;
33
}
34
}
35
36
double
likeprof_params::get_stepsize
(
void
)
37
{
38
return
stepsize
;
39
}
40
41
int
likeprof_params::get_stepnumber
(
void
)
42
{
43
return
stepnumber
;
44
}
likeprof_params::stepsize
double stepsize
Definition:
admodel.h:2253
x
#define x
endl
prnstream & endl(prnstream &)
admodel.h
Description not yet available.
likeprof_params::stepnumber
int stepnumber
Definition:
admodel.h:2254
likeprof_params::get_stepnumber
int get_stepnumber(void)
Definition:
model14.cpp:41
likeprof_params::set_stepsize
void set_stepsize(double)
Definition:
model14.cpp:10
likeprof_params::set_stepnumber
void set_stepnumber(int)
Definition:
model14.cpp:23
likeprof_params::get_stepsize
double get_stepsize(void)
Definition:
model14.cpp:36
Generated on Wed Sep 7 2022 00:01:29 for ADMB Documentation by
1.8.5