46,891 reputation
169187
bio website uoregon.edu/~noeckel
location
age
visits member for 2 years, 9 months
seen 2 hours ago

Oct
1
reviewed Close Problem with FOR Loop in MATHEMATICA
Sep
30
awarded  Explainer
Sep
30
comment How to get `Series` to recognize user-defined function has pole
You reference to Gamma is confusing because it doesn't actually do what you seem to be asking for in the question. E.g., Gamma[1/3] doesn't evaluate even though the argument is numeric. Obviously your question wants that to evaluate, too. So I don't know what the real goal is.
Sep
30
answered How to get `Series` to recognize user-defined function has pole
Sep
30
awarded  function-construction
Sep
29
revised What is the recommended way to define numeric function with special cases?
deleted 1 character in body
Sep
29
comment What is the recommended way to define numeric function with special cases?
@RunnyKine OK thanks, I edited that in as well...
Sep
29
comment What is the recommended way to define numeric function with special cases?
@MichaelE2 Thanks, I added that info.
Sep
29
revised What is the recommended way to define numeric function with special cases?
Mention fixed bug
Sep
29
answered What is the recommended way to define numeric function with special cases?
Sep
29
comment What is the recommended way to define numeric function with special cases?
@LeonidShifrin and @Daniel Thanks for explanation! I would by default also prefer Piecewise, but was thinking there must also be examples where If could be better (e.g. if one really wants to prevent even symbolic evaluation of one alternative under all circumstances).
Sep
29
reviewed Reopen How to build a bvh player in Mathematica?
Sep
28
reviewed Close How to compute the Lyapunov dimension of a time series
Sep
28
comment What is the recommended way to define numeric function with special cases?
I really think the question needs to be made more precise. First of all, the definitions in the example are contradictory. Second, what do you want to do with the function?
Sep
28
comment What is the recommended way to define numeric function with special cases?
@LeonidShifrin Do you really think If is inferior when it concerns purely numeric functions? I wonder why that would be the case. Of course it's not usually equally aesthetic, but is there another reason you're thinking about? I guess the question doesn't really define the functions as purely numeric, so you're right if one admits that symbolic simplifications could still be performed. Thinking about it, it would be best if the question were made more specific.
Sep
28
comment Smoothing a single rectangular pulse in NDSolve
Closely related: A: NDSolve for PDE with discontinuous initial/terminal condition
Sep
27
answered Function to Expand exponentials
Sep
27
revised Orthogonal vector in two dimensions
Clarified hat vector
Sep
27
comment Orthogonal vector in two dimensions
I think it's OK to leave this as a valid question - but only after changing the wording to clarify what "hat vector" means here.
Sep
27
comment Fitting ellipse to 5 given points on the plane
@MarkMcClure Looks like your assumption is correct (of course I already upvoted your answer).