📄 hpderiv.m
字号:
function fprime = hpderiv(zp,z,beta,c)
%HPDERIV Derivative of the half-plane map.
% HPDERIV(ZP,Z,BETA,C) returns the derivative at the points of ZP of
% the Schwarz-Christoffel half-plane map defined by Z, BETA, and C.
%
% See also HPPARAM, HPMAP.
% Copyright 1998 by Toby Driscoll.
% $Id: hpderiv.m 9 1998-05-10 04:55:10Z tad $
% Support old syntax
if nargin < 4
c = 1;
end
zf = z(~isinf(z));
beta = beta(~isinf(z));
zprow = zp(:).';
fprime = zeros(size(zp));
npts = length(zp(:));
terms = zprow(ones(length(beta),1),:) - zf(:,ones(npts,1));
fprime(:) = c*exp(sum(log(terms).*beta(:,ones(npts,1))));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -