<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Algorithm &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/algorithm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Sun, 03 May 2020 12:52:52 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Brent&#039;s method</title>
		<link>https://www.codelast.com/brents-method/</link>
					<comments>https://www.codelast.com/brents-method/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:12:26 +0000</pubDate>
				<category><![CDATA[Algorithm]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Brent]]></category>
		<category><![CDATA[least square]]></category>
		<category><![CDATA[leastsquares]]></category>
		<category><![CDATA[Powell]]></category>
		<guid isPermaLink="false">http://www.codelast.com/?p=742</guid>

					<description><![CDATA[<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Brief introduction：</span></span></span></p>
<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">In numerical analysis, <strong>Brent&#39;s method</strong> is a complicated but popular root-finding algorithm combining the bisection method, the secant method and inverse quadratic interpolation. It has the reliability of bisection but it can be as quick as some of the less reliable methods.</span></span>&#8230; <a href="https://www.codelast.com/brents-method/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Brief introduction：</span></span></span></p>
<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">In numerical analysis, <strong>Brent&#39;s method</strong> is a complicated but popular root-finding algorithm combining the bisection method, the secant method and inverse quadratic interpolation. It has the reliability of bisection but it can be as quick as some of the less reliable methods.<br />
	<span style="color:#0000ff;">在数值分析领域，Brent方法是一个复杂的、但是却很流行的寻根算法，它结合了二分法、割线法以及反向二次插值法的特点。它具有二分法的稳定性，但是它的速度却可与一些不太稳定的方法相比拟。</span></span></span></p>
<p>
<span id="more-742"></span></p>
<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Detail on Brent&#39;s method：</span></span></span></p>
<p>
	<a href="http://en.wikipedia.org/wiki/Brent%27s_method">http://en.wikipedia.org/wiki/Brent%27s_method</a></p>
<p>
	&nbsp;</p>
<p>
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Why mention Brent&#39;s method：</span></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><b>Powell&#39;s method</b>, strictly&nbsp;<b>Powell&#39;s conjugate gradient descent method<span style="color:#00f;">（Powell的共轭梯度下降法）</span></b>, is an&nbsp;<a href="http://en.wikipedia.org/wiki/Algorithm" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; " title="Algorithm">algorithm</a>&nbsp;for finding the local minimum of a function. The function need not be differentiable<b><span style="color: rgb(0, 0, 255); ">（可微）</span></b>, and no derivatives<b><span style="color: rgb(0, 0, 255); ">（导数）</span></b>&nbsp;are taken.</span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">The function must be a real-valued function of a fixed number of real-valued inputs, creating an&nbsp;<i>N</i>-dimensional hypersurface or&nbsp;<a href="http://en.wikipedia.org/wiki/Hamiltonian" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; " title="Hamiltonian">Hamiltonian</a>.<sup class="noprint Inline-Template" style="line-height: 1em; white-space: nowrap; " title="Link needs disambiguation">[<i><a href="http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Disambiguation/Fixing_links" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; " title="Wikipedia:WikiProject Disambiguation/Fixing links">disambiguation needed</a></i>]</sup>&nbsp;The caller passes in the initial point. The callers also passes in a set of initial search vectors. Typically&nbsp;<i>N</i>&nbsp;search vectors are passed in which are simply the normals aligned to each axis.</span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">The method minimises the function by a bi-directional search along each search vector, in turn. The new position can then be expressed as a linear combination of the search vectors. The new displacement vector becomes a new search vector, and is added to the end of the search vector list. Meanwhile the search vector which contributed most to the new direction, i.e. the one which was most successful, is deleted from the search vector list. The algorithm iterates an arbitrary number of times until no significant improvement is made.</span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">The method is useful for calculating the local minimum of a continuous but complex function, especially one without an underlying mathematical definition, because it is not necessary to take derivatives. The basic algorithm is simple, the complexity is in the linear searches along the search vectors, which can be achieved via<strong><span style="color:#00f;">&nbsp;<a href="http://en.wikipedia.org/wiki/Brent%27s_method" style="text-decoration: none; color: rgb(6, 69, 173); background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; " title="Brent's method">Brent&#39;s method</a></span></strong>.</span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="color:#f00;"><span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;">Extended reading：</span></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><a href="http://math.fullerton.edu/mathews/n2003/BrentMethodMod.html">http://math.fullerton.edu/mathews/n2003/BrentMethodMod.html</a></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><a href="http://mathworld.wolfram.com/BrentsMethod.html">http://mathworld.wolfram.com/BrentsMethod.html</a></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><a href="http://reference.wolfram.com/mathematica/tutorial/UnconstrainedOptimizationBrentsMethod.html">http://reference.wolfram.com/mathematica/tutorial/UnconstrainedOptimizationBrentsMethod.html</a></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	&nbsp;</p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Detail on Powell&#39;s method：</span></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><a href="http://en.wikipedia.org/wiki/Powell's_method">http://en.wikipedia.org/wiki/Powell&#39;s_method</a> </span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	&nbsp;</p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#f00;">Something more related with Powell&#39;s method：</span></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><a href="http://www.efunda.com/math/leastsquares/leastsquares.cfm#PageTop">http://www.efunda.com/math/leastsquares/leastsquares.cfm#PageTop</a></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; line-height: 1.5em; ">
	<span style="font-size:14px;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color:#fff;">NULL</span></span></span></p>
<p style="margin-top: 0.4em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; ">
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
	<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
	转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
	感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/brents-method/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
