📄 eval.m
字号:
function wp = eval(M,zp,tol)%EVAL Evaluate Schwarz-Christoffel half-plane map at points.% EVAL(M,ZP) evaluates the Schwarz-Christoffel map M at the points% ZP in the upper half-plane. The default tolerance of M is used.% % EVAL(M,ZP,TOL) attempts to give an answer accurate to TOL. If TOL% is less than the accuracy of M, this is unlikely to be met.% % See also HPLMAP, EVALINV.% Copyright 1998 by Toby Driscoll.% $Id: eval.m,v 2.1 1998/05/10 04:17:24 tad Exp $p = polygon(M);n = length(p);if nargin < 3 qdata = M.qdata;else qdata = tol;endwp = NaN*zp;idx = imag(zp) > -eps;wp(idx) = hpmap(zp(idx),vertex(p),angle(p)-1,M.prevertex,M.constant,qdata);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -