由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - numeric recipe code amotry(), bug or not
相关主题
请教:求最值问题MATLAB Matrix Numeric Tools Help site
求助:downhill simplex minimization问个专业问题,请帮助看看
Python下面如何进行numeric analysis and statistical analysis (转载)大家能不能seriously讨论一下这个topic
请教一个numerical analysis的题目let me ask a question again
帮我看看这个C语言错误where to find C++ codes for PCA and CA?
optimization using matlab function fminconNumerical low-rankness of Hilbert matrix
求二维插值(matlab)求教一个积分int( (1/t)*exp(t), t )
extrapolation方法来简化PDE近似解计算复杂度有什么缺点吗?非线性多变量超定方程组的解法问题
相关话题的讨论汇总
话题: float话题: fac话题: amotry话题: fac2话题: ihi
进入Computation版参与讨论
1 (共1页)
a********r
发帖数: 92
1
in function amotry() for downhill simplex minimization,
why fac2=fac2=fac1-fac; instead of fac2=-fac;
then this may not be a reflection or extrapolation, because
ytry[j] = center * (1-fac) + p[ihi][j]*face - (1-fac)/ndim * p[ihi][j]
the first two terms is the extrapolation, what's the point for the 3rd term?
It will be incorrect in some case, reflection will not be reflection anymore.
float amotry(float **p, float y[], float psum[], int ndim,
float (*funk)(float []), int ihi, float fac)
Extrapo
m****n
发帖数: 51
2
Both Numerical Recipes in C and Numerical Recvipes in Fortran should be used.

anymore.

【在 a********r 的大作中提到】
: in function amotry() for downhill simplex minimization,
: why fac2=fac2=fac1-fac; instead of fac2=-fac;
: then this may not be a reflection or extrapolation, because
: ytry[j] = center * (1-fac) + p[ihi][j]*face - (1-fac)/ndim * p[ihi][j]
: the first two terms is the extrapolation, what's the point for the 3rd term?
: It will be incorrect in some case, reflection will not be reflection anymore.
: float amotry(float **p, float y[], float psum[], int ndim,
: float (*funk)(float []), int ihi, float fac)
: Extrapo

1 (共1页)
进入Computation版参与讨论
相关主题
非线性多变量超定方程组的解法问题帮我看看这个C语言错误
Need some reference in solid mechanicsoptimization using matlab function fmincon
不定积分求二维插值(matlab)
numerical recipe c++extrapolation方法来简化PDE近似解计算复杂度有什么缺点吗?
请教:求最值问题MATLAB Matrix Numeric Tools Help site
求助:downhill simplex minimization问个专业问题,请帮助看看
Python下面如何进行numeric analysis and statistical analysis (转载)大家能不能seriously讨论一下这个topic
请教一个numerical analysis的题目let me ask a question again
相关话题的讨论汇总
话题: float话题: fac话题: amotry话题: fac2话题: ihi