Skip to content
Snippets Groups Projects
Commit 835ad4b5 authored by Lisa Schätzle's avatar Lisa Schätzle
Browse files

Update CG_secondOrder.m

parent 19ca92b2
No related branches found
No related tags found
No related merge requests found
function [F, nr_of_iterations, Res] = CG_secondOrder(G, sampling, kappa, P_Omega, z, R, kmax, tol) function [F, nr_of_iterations, Res] = CG_secondOrder(G, sampling, kappa, P_Omega, z, R, kmax, tol)
% Solves the least squares problem for the splitting and/ or completion problem %% CG_SECONDORDER: Solves the least squares problem for the splitting and/ or completion problem
% in Born approximation of order 2 numerically by using the cg method. % in Born approximation of order 2 numerically by using the cg method.
% %
% INPUT: G Observed far field matrix, nxhat*nd-array. % INPUT: G Observed far field matrix, nxhat*nd-array.
...@@ -19,6 +19,8 @@ function [F, nr_of_iterations, Res] = CG_secondOrder(G, sampling, kappa, P_Omega ...@@ -19,6 +19,8 @@ function [F, nr_of_iterations, Res] = CG_secondOrder(G, sampling, kappa, P_Omega
% nr_of_iterations Number of performed CG iterations. % nr_of_iterations Number of performed CG iterations.
% Res Residuum-norms for all CG iterations, vector of length nr_of_iterations. % Res Residuum-norms for all CG iterations, vector of length nr_of_iterations.
% %
% SYNTAX: CG_secondOrder(G, sampling, kappa, P_Omega, z, R, kmax, tol)
%
% ********************************************************************************************************* % *********************************************************************************************************
% initialize some variables % initialize some variables
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment