diff --git a/src/CG_secondOrder.m b/src/CG_secondOrder.m index d1540276bfc1b6bf7e3923480cae955ca8d7a740..867992a149cbef71893aba015fd27b0da243e4fb 100644 --- a/src/CG_secondOrder.m +++ b/src/CG_secondOrder.m @@ -1,6 +1,6 @@ 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. % % 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 % nr_of_iterations Number of performed CG 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