⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsderiv.m

📁 computation of conformal maps to polygonally bounded regions
💻 M
字号:
function fprime = rsderiv(zp,z,beta,zb,c)
%RSDERIV Derivative of the Riemann surface map.

%   RSDERIV(ZP,Z,BETA,ZB,C) returns the derivative at the points of ZP of
%   the Schwarz-Christoffel disk map defined by Z, BETA, and C.

%   Copyright 2002 by Toby Driscoll.
%   $Id: rsderiv.m 178 2002-08-30 19:02:32Z driscoll $

% Support old syntax
if nargin < 4
  c = 1;
end

z = z(:);
beta = beta(:);
zprow = zp(:).';
fprime = zeros(size(zp));

npts = length(zp(:));
ZP = zprow(ones(length(beta),1),:);
Z = z(:,ones(npts,1));
terms = 1 - ZP./Z;
fp = c*exp(sum(log(terms).*beta(:,ones(npts,1))));

B = length(zb);
if B > 0
  ZB = zb(:,ones(1,npts));
  ZP = zprow(ones(B,1),:);
  fp = fp.*prod((ZP-ZB).*(1-ZP.*conj(ZB)),1);
end

fprime(:) = fp;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -