Geophysical Inversion and Modelling Library v1.5.4
Loading...
Searching...
No Matches
solver.h
1/******************************************************************************
2 * Copyright (C) 2006-2024 by the GIMLi development team *
3 * Carsten Rücker carsten@resistivity.net *
4 * Thomas Günther thomas@resistivity.net *
5 * *
6 * Licensed under the Apache License, Version 2.0 (the "License"); *
7 * you may not use this file except in compliance with the License. *
8 * You may obtain a copy of the License at *
9 * *
10 * http://www.apache.org/licenses/LICENSE-2.0 *
11 * *
12 * Unless required by applicable law or agreed to in writing, software *
13 * distributed under the License is distributed on an "AS IS" BASIS, *
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
15 * See the License for the specific language governing permissions and *
16 * limitations under the License. *
17 * *
18 ******************************************************************************/
19
20#ifndef _GIMLI_SOLVER__H
21#define _GIMLI_SOLVER__H
22
23#include "gimli.h"
24#include "matrix.h"
25#include "vectortemplates.h"
26
27namespace GIMLI{
28
29typedef RVector Vec;
30
31DLLEXPORT int solveCGLSCDWWhtrans(const MatrixBase & S, const MatrixBase & C,
32 const Vec & dWeight, const Vec & b, Vec & x,
33 const Vec & wc, const Vec & wm,
34 const Vec & tm, const Vec & td,
35 double lambda, const Vec & roughness,
36 int maxIter=200, double tol=-1.0,
37 bool verbose=false);
38
39DLLEXPORT int solveCGLSCDWWtrans(const MatrixBase & S, const MatrixBase & C,
40 const Vec & dWeight, const Vec & b, Vec & x,
41 const Vec & wc, const Vec & mc, const Vec & tm,
42 const Vec & td, double lambda, const Vec & deltaX,
43 int maxIter=200, bool verbose=false);
44
45} //namespace _GIMLI_SOLVER__H
46
47#endif
Interface class for matrices.
Definition matrix.h:137
GIMLi main namespace for the Geophyiscal Inversion and Modelling Library.
Definition baseentity.h:24
RVector x(const R3Vector &rv)
Definition pos.cpp:107