C/C++
aa1201.txt
Associated article: Optimization & Fixed-Point Iteration
Tags: C/C++ Design
Published source code accompanying the article by Shehrzad Qureshi in which he transforms code from a C/C++ style algorithm into vectorized Matlab code, and shows the performance gains resulting from this transformation. Also see AA1201.ZIP.
Algorithm Alley by Shehrzad Qureshi Listing One function fixed_pt_iteration_1 % FIXED_PT_ITERATION_1 un-optimized fixed-point iteration num_it = 100; % # of iterations num_vars = 2; sigma_term = .125; load variables.mat; % get F, x & y axes % get starting point for fixed-pt iteration ...


