Scilab Function
Last update : 28/10/2005

cauchy - Cauchy integral regarding Residuals

Calling Sequence

W = cauchy(z,p,modus)

Parameters

Description

We are calculating the ring integral of du/(u-p) along the curve specified in vector z. The function cauchy requires the function meshgrid in my library. "meshgrid" could be replaced by the transpose of the function resuld "ndgrid".

This function is useful, when you have to decide, whether a point p is inside or outside a closed curve z. If the point p is outside, then the cauchy integral is zero, otherwise it differs from zero (depending on the direction and the number of turnarounds.

Examples

zcurve=bezier(); //Draw a closed curve
x=0.1:0.1:0.9; y=x;
[X,Y]=meshgrid(x,y);
PZ=X + %i .*Y;
W=cauchy(zcurve,PZ);

See Also

meshgrid ,  

Authors

Dr. Andreas Geissler geisslea@web.de

Used Function

meshgrid