hpimapfun.m
来自「computation of conformal maps to polygon」· M 代码 · 共 16 行
M
16 行
function zdot = hpimapfun(wp,yp,flag,scale,z,beta,c);
% Used by HPINVMAP for solution of an ODE.
% Copyright 1998 by Toby Driscoll.
% $Id: hpimapfun.m 103 2001-02-21 17:08:53Z driscoll $
lenyp = length(yp);
lenzp = lenyp/2;
% Don't allow points in lower half-plane. This really messes up the
% derivative calculation.
zp = yp(1:lenzp) + i*max(0,yp(lenzp+1:lenyp));
f = scale./hpderiv(zp,z,beta,c);
zdot = [real(f);imag(f)];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?