solve_sCG – a class providing a CG solver
More...
#include <mia/2d/fuzzyclustersolver_cg.hh>
|
void | add_to_solution (C2DFImage *e) |
|
| C2DSolveCG (C2DFImage &w1, C2DFImage &f1, C2DFImage &g1, double l1, double l2, double r_res, double m_res) |
|
long | get_iterations () |
|
void | get_solution (C2DFImage &gain) |
|
void | multA (std::vector< double > &x, std::vector< double > &result, long start, long ende) |
|
void | multA_float (float *x, float *result) |
|
int | solve (long max_iterations, double *firstnormr0) |
|
void | solvepar (long *max_iteration, double *normr, double *firstnormr0) |
|
| ~C2DSolveCG () |
|
solve_sCG – a class providing a CG solver
This contains basic solver functions based on CG schemes
- Author
- Stefan Burckhardt and Carsten Wolters, wolte.nosp@m.rs@m.nosp@m.is.mp.nosp@m.g.de, 2004
Definition at line 62 of file 2d/fuzzyclustersolver_cg.hh.
◆ C2DSolveCG()
constructor
- Parameters
-
w1 | |
f1 | |
g1 | |
l1 | |
l2 | |
r_res | |
m_res | |
◆ ~C2DSolveCG()
C2DSolveCG::~C2DSolveCG |
( |
| ) |
|
◆ add_to_solution()
void C2DSolveCG::add_to_solution |
( |
C2DFImage * |
e | ) |
|
◆ get_iterations()
long C2DSolveCG::get_iterations |
( |
| ) |
|
|
inline |
◆ get_solution()
void C2DSolveCG::get_solution |
( |
C2DFImage & |
gain | ) |
|
- Parameters
-
gain | Image with gain-field |
◆ multA()
void C2DSolveCG::multA |
( |
std::vector< double > & |
x, |
|
|
std::vector< double > & |
result, |
|
|
long |
start, |
|
|
long |
ende |
|
) |
| |
Multiplication of vector and matrix
TODO mit standard classe Austauschen
\param x
\param result
\param start
\param ende
◆ multA_float()
void C2DSolveCG::multA_float |
( |
float * |
x, |
|
|
float * |
result |
|
) |
| |
Multiplication
TODO mit standard classe Austauschen
\param x Pointer at
\param result Pointer at
◆ solve()
int C2DSolveCG::solve |
( |
long |
max_iterations, |
|
|
double * |
firstnormr0 |
|
) |
| |
Function to solve ...
- Parameters
-
max_iterations | Maximum number of iterations |
firstnormr0 | |
- Returns
◆ solvepar()
void C2DSolveCG::solvepar |
( |
long * |
max_iteration, |
|
|
double * |
normr, |
|
|
double * |
firstnormr0 |
|
) |
| |
function for parallel solver
- Parameters
-
max_iteration | |
normr | |
firstnormr0 | |
The documentation for this class was generated from the following file: