source: ThirdParty/levmar/matlab/bt3.m@ 7b4e67

AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Exclude_Hydrogens_annealWithBondGraph ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity PythonUI_with_named_parameters StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 7b4e67 was 8ce1a9, checked in by Frederik Heber <heber@…>, 9 years ago

Merge commit '5443b10a06f0c125d0ae0500abb09901fda9666b' as 'ThirdParty/levmar'

  • Property mode set to 100644
File size: 160 bytes
Line 
1function x = bt3(p, adata)
2 n=5;
3
4 t1=p(1)-p(2);
5 t2=p(2)+p(3)-2.0;
6 t3=p(4)-1.0;
7 t4=p(5)-1.0;
8
9 for i=1:n
10 x(i)=t1*t1 + t2*t2 + t3*t3 + t4*t4;
11 end
Note: See TracBrowser for help on using the repository browser.