Reputation
22,238
Next tag badge:
173/100 score
17/20 answers
Badges
2 54 109
Newest
 Civic Duty
Impact
~333k people reached

Sep
12
comment Strange behaviour of MMA in derivatives of some standard functions
A similar thing happens with Re and Im. While those functions are obviously meant to work in the complex realm, I think an understanding of what is going on there is relevant. This discussion might help in that regard.
Sep
12
comment Strange behaviour of MMA in derivatives of some standard functions
It really doesn't matter if you agree or not - the basic fact is that D works in the complex domain and these functions are not differentiable in that context. That, quite simply, is the explanation of the behavior you see. Now, whether you would prefer different behavior and how you might implement it is a different question.
Sep
12
comment Strange behaviour of MMA in derivatives of some standard functions
The functions you explore are all non-analytic as complex functions, thus the derivative is undefined. You might explore the numerical derivative ND as defined the NumericalCalculus package.
Sep
11
comment Homotopy Visualization
I did something like here to illustrate graph isomorphism. That's much simpler, though, really. Shouldn't be to hard to grab a set of points describing the boundaries of the objects but it might be tricky to maintain the topological integrity throughout the animation.
Sep
11
comment Homotopy Visualization
I guess you mean a homotopy, actually.
Sep
10
comment How do I plot the images of oriented curves under complex transformation?
How about Show[r1, r1 /. Line[pts_] :> Arrow[pts, 2]]?
Sep
9
awarded  Nice Question
Sep
9
awarded  Nice Answer
Sep
9
revised Mobius transformations revealed
added 402 characters in body
Sep
9
comment Calculating a potential function using the finite element method
@Hugh There certainly are other ways to make a mesh. In this answer I show how to interface with a free, third party program called triangle that might do what you want. However, I'd think that converting them to the ElementMesh format that you want would be rather involved. Also, V10.0.1 is due out any day and I'm quite certain that bugs in mesh generation have been addressed, though I'm not certain if this specific issue is improved or not. Will definitely be worth checking out, though.
Sep
9
awarded  Self-Learner
Sep
9
answered Mobius transformations revealed
Sep
9
comment Mobius transformations revealed
@YvesKlett Seems like a reasonable expectation. :) I do have an implementation based on simple graphics primitives that I'll post soon.
Sep
9
asked Mobius transformations revealed
Sep
9
comment Calculating a potential function using the finite element method
@s.s.o I didn't notice the {0,0} issue - thanks!
Sep
9
comment Calculating a potential function using the finite element method
@s.s.o The value of MaxBoundaryCellMeasure is ignored in your code, which is why it alleviates the problem. Using ToElementMesh directly on reg allows one to at least reduce the value of MaxBoundaryCellMeasure somewhat before the problem starts.
Sep
9
comment Calculating a potential function using the finite element method
@Hugh Essentially, that's correct. Technically, though, it's interpolating, rather than extrapolating. :)
Sep
9
comment Calculating a potential function using the finite element method
The return value of NDSolveValue is an InterpolatingFunction, which describes how to compute values between points on the grid. That answers your question 4 and also indicates what's going on in question 5 - namely the interpolation order is too low to expect to do better. Unfortunately, I don't think it's so easy to increase that on an unstructured grid. Also, I'm not so sure how well MaxBoundaryCellMeasure works and your problem with the mes on the circle seems to be alleviated when you delete it. That option isn't even available to DiscretizeRegion.
Sep
9
revised Calculating a potential function using the finite element method
added 206 characters in body
Sep
9
revised Calculating a potential function using the finite element method
deleted 33 characters in body