SEP Solver Library
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
base
CGStep.h
Go to the documentation of this file.
1
#ifndef CGSTEP_H
2
#define CGSTEP_H 1
3
#include "
Stepper.h
"
4
5
namespace
SEP{
6
7
class
CGStep
:
public
Stepper
{
8
9
public
:
10
CGStep
(){};
11
CGStep
(
Vector
&mod,
Vector
&data){
12
Alloc_step
(mod, data);
13
};
14
virtual
bool
Step
(
int
iter,
Vector
&m,
Vector
&g,
Vector
&rr,
Vector
&gg,
double
&res,
bool
verbose =
false
);
15
virtual
void
Alloc_step
(
Vector
&mod,
Vector
&data);
16
17
virtual
~CGStep
(){
18
}
19
20
private
:
21
Vector
s, ss;
// updates to model and gradient
22
23
};
24
25
}
26
27
#endif
Generated by
1.8.4