?? eval.m
字號(hào):
function wp = eval(M,zp,tol)
%EVAL Evaluate Schwarz-Christoffel crossratio rectified map at points.
% EVAL(M,ZP) evaluates the Schwarz-Christoffel map M at the points ZP
% in the canonical domain. 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 CRRECTMAP, EVALINV.
% Copyright 1998 by Toby Driscoll.
% $Id: eval.m 7 1998-05-10 04:37:19Z tad $
param = parameters(M.diskmap);
if nargin < 3
qdata = param.qdata;
qdatar = M.rectqdata;
else
qdata = tol;
qdatar = [];
end
p = polygon(M.diskmap);
w = vertex(p);
beta = angle(p) - 1;
pr = M.rectpolygon;
wr = vertex(pr);
betar = angle(pr) - 1;
cr = param.crossratio;
aff = param.affine;
affr = M.rectaffine;
Q = param.qlgraph;
wp = NaN*zp;
idx = logical(ones(size(zp)));
wp(idx) = crrmap(zp(idx),w,beta,wr,betar,cr,aff,affr,Q,qdata,qdatar);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -